pretr3D%u

Option Description
pretr3D%u -color [#RGB | #RRGGBB | #RRRGGGBBB | #RRRRGGGGBBBB | %f %f %f] get/set triangulation wireframe color
pretr3D%u -copy creates and returns a copy of the triangulation
pretr3D%u -destroy destroy a 3D triangulation
pretr3D%u -flipNormals flip the surface normals for display
pretr3D%u -forceConstraint [%u] get the number of force Constraint. If a rank number n is provided then the name of the nth force constraint is returned. If the "delete" keyword is added this force constraint is deleted
pretr3D%u -highlightTexture [text2D%u] get/set highlight texture
pretr3D%u -holes give the list of virtual vertices with which we associate a hole
pretr3D%u -kind returns the name of the object kind associated with a given object
pretr3D%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
pretr3D%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
pretr3D%u -name [filename=%s] set/get mesh file name
pretr3D%u -nbVertices get the number of vertices
pretr3D%u -newZone %s creates a zone given its name and select the new zone and returns its reference
pretr3D%u -positionConstraint [%u] [delete] without any parameters get the number of force Constraint. If a rank number n is provided then the name of the nth force constraint is returned. If the "delete" keyword is added this position constraint is deleted
pretr3D%u -rangeInformation [%u] change the range Information for a precomputed triangulation
pretr3D%u -render [hide | wireframe | flat | solid | wireframesolid | hiddenlines | transparency | wireframetransparency] get/set triangulation render mode
pretr3D%u -renderOption get the list of possible rendering modes for a triangulation
pretr3D%u -save [filename=%s] save a 3D triangulation (using given filename)
pretr3D%u -saveAsGHS3D %s saves the triangulation with the GHS3D file format
pretr3D%u -saveAsPreTr [filename=%s] save precomputed triangulation
pretr3D%u -saveAsTrian %s saves the triangulation with the Trian file format
pretr3D%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
pretr3D%u -saveTransformation [filename=%s] save global transformation and external forces applied
pretr3D%u -scale %f scales the model by given factor
pretr3D%u -scene return triangulation scene
pretr3D%u -select [ v%u | e%u | t%u | z%u ] set/get model selected component
pretr3D%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
pretr3D%u -selectedZone returns the selected zone. If there is no selected zone returns "none"
pretr3D%u -selectionMode cam%u get/set selection/grab mode
pretr3D%u -setDisplacementBoundary [boundary=%f] set maximum boundary of displacement applied
pretr3D%u -setForceBoundary [boundary=%f] set maximum boundary of external forces applied
pretr3D%u -setRestPosition [%u] set the rest position for the computations
pretr3D%u -texture1D [text1D%u] get/set a given 1D texture
pretr3D%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
pretr3D%u -texture2D [text2D%u] get/set a given 2D texture
pretr3D%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
pretr3D%u -translate %f %f %f translates the triangulation by given vector
pretr3D%u -volume returns triangulation volume
pretr3D%u -zones get this triangulation zones list