Gear
Model ElementGear defines a gear constraint between two bodies.
Class Name
Gear
Description
The gear is modeled as an algebraic relationship between input and output displacements between two joints. The inputs and outputs may be either rotational or translational. This allows spur, helical, bevel, and rack-and-pinion gear sets to be modeled. Friction, backlash, and manufacturing inaccuracies in tooth profiles are not modeled.
Attribute Summary
Name | Property | Modifiable by command? | Designable? |
---|---|---|---|
id | Int () | ||
label | Str () | Yes | |
joints | Reference ("Joint", count=2) | Yes | |
cv | Reference ("Marker") | Yes | Yes |
active | Bool () | Yes |
Usage
Gear (joints=[objJoint1, objJoint2], cv=objMarker, optional_attributes):
Attributes
- joints
- List containing two JOINT objects.
- cv
- Reference to an existing Marker.
- id
- Integer
- label
- String
- active
- Bool
Example
- Define a GEAR with the minimum number of
attributes.
gear = Gear (joints=[joint1, joint22], cv=marker1101)
- Define a GEAR and specify all of its
attributes.
gear1101 = Gear (id=1101, label="Gear-1101", joints=[joint1, joint22], cv=marker1101)
Comments
- See Properties for an explanation about what properties are, why they are used, and how you can extend these.
- For a more detailed explanation about Gear, see Constraint: Gear.