tr3D%u

Option Description
tr3D%u -color [#RGB | #RRGGBB | #RRRGGGBBB | #RRRRGGGGBBBB | %f %f %f] get/set triangulation wireframe color
tr3D%u -copy creates and returns a copy of the triangulation
tr3D%u -destroy destroy a 3D triangulation
tr3D%u -flipNormals flip the surface normals for display
tr3D%u -highlightTexture [text2D%u] get/set highlight texture
tr3D%u -holes give the list of virtual vertices with which we associate a hole
tr3D%u -kind returns the name of the object kind associated with a given object
tr3D%u -loadOption [moduleName=%s] [true|false] when no parameters is provided, returns the list of modules. If one module name is provided then returns a boolean indicating if the module should be read. If 2 parameters are provided then set the selection mode of a module for reading
tr3D%u -material [%f %f %f %f %f %f %f %f %f %f %f %f %f | %f %f %f %f %f %f %f %f %f %f | #RGB | #RRGGBB | #RRRGGGBBB | #RRRRGGGGBBBB | [ambient %f %f %f [%f]] [diffuse %f %f %f [%f]] [specular %f %f %f [%f]] [shininess %f]] [emission %b %f %f %f [%f]]] get/set triangulation material
tr3D%u -name [filename=%s] set/get mesh file name
tr3D%u -nbVertices get the number of vertices
tr3D%u -newZone %s creates a zone given its name and select the new zone and returns its reference
tr3D%u -render [hide | wireframe | flat | solid | wireframesolid | hiddenlines | transparency | wireframetransparency] get/set triangulation render mode
tr3D%u -renderOption get the list of possible rendering modes for a triangulation
tr3D%u -save [filename=%s] save a 3D triangulation (using given filename)
tr3D%u -saveAsGHS3D %s saves the triangulation with the GHS3D file format
tr3D%u -saveAsTrian %s saves the triangulation with the Trian file format
tr3D%u -saveOption [moduleName=%s] [true|false] when no parameters is provided, returns the list of modules. If one module name is provided then returns a boolean indicating if the module should be saved or not. If 2 parameters are provided then set the selection mode of a module for writing
tr3D%u -scale %f scales the model by given factor
tr3D%u -scene return triangulation scene
tr3D%u -select [ v%u | e%u | t%u | z%u ] set/get model selected component
tr3D%u -selectedMaterial [%f %f %f %f %f %f %f %f %f %f %f %f %f | %f %f %f %f %f %f %f %f %f %f | #RGB | #RRGGBB | #RRRGGGBBB | #RRRRGGGGBBBB | [ambient %f %f %f [%f]] [diffuse %f %f %f [%f]] [specular %f %f %f [%f]] [shininess %f]] [emission %b %f %f %f [%f]]] get/set the selection material used to display selected items
tr3D%u -selectedZone returns the selected zone. If there is no selected zone returns "none"
tr3D%u -selectionMode cam%u get/set selection/grab mode
tr3D%u -texture1D [text1D%u] get/set a given 1D texture
tr3D%u -texture1DOption [ use [true | false] | | interpolation [nearest|linear] | extrapolation [ clamp | repeat ] | mode [ spherical | coordinates | planar | camera ] | sparam [ %f %f %f %f ] | tparam [ %f %f %f %f ] ] get/set texture display properties
tr3D%u -texture2D [text2D%u] get/set a given 2D texture
tr3D%u -texture2DOption [ replaceLighting [true | false] | use [true | false] | useHighlightTexture [true | false] | interpolation [nearest|linear] | extrapolation [ clamp | repeat ] | mode [ spherical | coordinates | planar | camera ] | sparam [ %f %f %f %f ] | tparam [ %f %f %f %f ] ] get/set texture display properties
tr3D%u -translate %f %f %f translates the triangulation by given vector
tr3D%u -volume returns triangulation volume
tr3D%u -zones get this triangulation zones list