LineMesh

Model ElementThe LineMesh element connects a number of vertices in space with straight lines. It is similar to the Outline element except it does not require markers. You can pass coordinates to the LineMesh geometry.

LineMesh

Attribute Summary

Name Property Modifiable by command? Designable?
rm Reference(Marker) No Yes
lines Int()
vertex Double([], count=0) Yes
color String()
hidden Bool() No

Usage

lm = LineMesh(rm=global_ref,
lines=2,
vertex= ( -2.7755576E-17, 0, 0, -5E-2, -2.5E-1, 0,
-2.7755576E-17, 0, 0, 5E-2, 2.5E-1, 0)
)

Attributes

rm
Reference(Marker)
The reference marker in which the vertex coordinates are expressed.
lines
Int()
Specifies the number of line segments used to represents the LineMesh entity.
vertex
Double([], count=0)
Specifies the three coordinates for each of the vertex. Note that each line requires two vertices and each vertex requires three coordinates.
color
String()
The color of the graphic for H3D animation. Specified as RGB (Red : Green : Blue).
hidden
Boolean
Specifies weather the graphics is being written to the H3D file or not.
• True implies that the graphic is hidden and is not written to the H3D file.
• False implies that the graphic is not hidden and is written to the H3D file.
This attribute is optional. When not specified, it defaults to False.