Model ElementThe
Triamesh element allows you to represent a geometric figure using a
series of nodes and faces.
Attribute Summary
Name |
Property |
Modifiable by
command? |
Designable? |
rm |
Reference (Marker) |
NO |
NO |
nodes |
Double (count=0) |
faces |
Int
(count=0) |
refinement_level |
Int
() |
material_inside |
Bool
() |
color |
String() |
Usage
nodes = [[0,0,0],[1,1,1],[-1,1,1]]
faces = [[0,1,2]]
Triamesh(rm=rm,nodes=nodes,faces=faces)
Attributes
- rm
- Reference(Marker)
- The marker is used as a coordinate system for the triamesh graphic.
- nodes
- Int()
- The list of nodes that define the Triamesh.
- faces
- Int()
- List of faces that define the Triamesh.
- refinement_level
- Int()
- Specifies the level of detail of the sphere entity. Default is 10.
- coils
- Int()
- Specifies the number of coils to represent the Spring
graphic.
- material_inside
- Bool()
- Specifies if the graphic has material inside or outside.
material_inside is a boolean flag (TRUE/FALSE).
- TRUE means the geometry is solid. In other words, it is filled with material
and its exterior is devoid of material. Consequently, the surface normals of
the geometry point outward.
- FALSE means the converse: The exterior of the geometry is filled with material
and the interior is devoid of material. In this case, the surface normals of
the geometry point inward.
- color
- String()
- The color of the graphic for H3D animation. Specified as RGB (Red : Green :
Blue).
Comments
- See Properties for an explanation about what properties are, why they
are used, and how you can extend these.