The orientation of a
Wire is given by the succession of its lines (see figure above). This orientation is relevant to define contact tools, since the material of the tool must be on the right hand side when following the list of Curves.
The orientation is also relevant when meshing a
Side, since the
Wire must be defined “area to the left”. If the
Wire is made of only one
Curve, the orientation of the
Wire is set to the one of this
Curve. If the
Wire is made of two
Curves, the first
Curve defines the
Wire can be defined by specifying all its
Curves at once, but it is always possible to add more
Curves with the
push() member function:
wire = wirset.add( Wire(number, [curve1, curve2, curve3, ...]) ) wire.push(curve4) wire.push([curve5, curve6,...])
| || List of
Wireis used as a contact tool, the succession of
Curvesshould have a continuous normal.
Wiremust be defined “area to the left”, and the Wire orientation if defined by the succession of its curves.
wire.reverse()inverts the order of definition of the wire, which also inverts the orientation of its normal.
Wire, which is sometimes used in 3D contact, read