| Home | Trees | Indices | Help |
|---|
|
|
record.RecordBase --+
|
record.Record --+
|
common.BasicObject --+
|
elements_base.CommonElement --+
|
elements_base.ElementWithNode --+
|
CommonJoint --+
|
CommonJoint2Nodes --+
|
RevoluteHinge
A pivot hinge between two nodes. The rotation will occur around the node 1, the axis being defined by set_rotation_axis.
If an offset is applied on a clamped node 1, the center of rotation of the joint will move but the node will stay where it is. If an offset is applied on the node 2, the node will move, modifying its initial position due to the constraint.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
|
orientation_matrix1 and the orientation_matrix2
to the same value, that's why a matrix is expected. Example:
joint.set_rotation_axis(two=(0., 1., 0.),
three=(1., 0., 0.))
It will make the joint rotate along the x axis of
the joint reference frame. In that example, the two keyword
is needed to build the orientation matrix, it confirms that the second
axis of the joint reference frame is also the second axis of the joint
orientation matrix. Another example for rotating along the y
axis:
joint.set_rotation_axis(one=(1., 0., 0.),
three=(0., 1., 0.))
You can still use that method if both orientation matrix are the same
and you know them. If both orientation matrix are not the same, use
set_orientation_matrix1 and
set_orientation_matrix2 instead.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Thu Aug 30 11:45:46 2007 | http://epydoc.sourceforge.net |