Specifications
160
Segments do not have any particular shape associated with them. By default a segment is originated in its
Center of Mass (CoM), but it is possible to move the CoM away from the origin of the segment's reference
frame. The mass properties are defined by means of a mass and an inertia tensor. The segments in the
picture above visualize their mass properties by ellisoids.
Another important property of a segment is that it can have nodes, so-called AnyRefNodes, assigned to it.
The connections between the segment and the AnyRefNodes are rigid, so the nodes move with the segment.
The nodes are visualized by the heads of the pins sticking out from the ellipsoids.
A basic definition of a segment could go like this:
AnySeg Potato = {
Mass = 1;
Jii = {0.01, 0.001, 0.01};
AnyDrawSeg drw = {};
};
Notice that the AnyDrawSeg is just an empty pair of braces signifying that we are using the standard
settings. This will produce the following image:
The AnyDrawSeg always represents segments as ellipsoids with axis ratios corresponding to the inertia
properties. But the AnyDrawSeg class has multiple settings that can be used to control the appearence of
the segment:










