From the Machine Elements section of the action bar,
click Gears.
The rack or pinion gear appears in the tree, under the Machine Elements node
of the current mechanism .
Optional:
Modify the default name of the element.
Tip:
Click outside the field to update the name of the element in
the tree.
In the Location section, specify the position of the rack and the
pinion:
In the Revolute joint for pinion field, select a revolute
joint corresponding to the attachment point of the pinion on the body.
In the Prismatic joint for rack field, select a prismatic
joint corresponding to the attachment point of the rack on the body.
In the Transmission section, define the gear:
From Definition by, select an option:
Option
Description
Speed ratio
Defines the transmission by a constant transmission ratio.
Transfer function
Defines the transmission by a function.
From Input with respect to, select an option:
Option
Description
Pinion
Provides the inputs with respect to the pinion.
Rack
Provides the inputs with respect to the rack.
Define the speed ratio. To do so:
If you selected Speed ratio and
Pinion, enter the value for the Speed ratio
pinion/rack (angle per length).
If you selected Speed ratio and
Rack, enter the value for the Speed ratio
rack/pinion (length per angle).
Define functions. To do so:
If you selected Transfer function and
Pinion, select a function for the Rack
position (length as a function of angle).
If you selected Transfer function and
Rack, select a function for the Pinion
angle (angle as a function of length).
Define the position and offsets of the joint.
From Define relative to, select how to define the position
and offsets of the joint in the assembly.
Note:
Define relative to only appears if you selected
Speed ratio as the Definition by.
Option
Description
Initial assembly position
Defines automatically the position of the joints based on the relative
position of the assembly.
Note:
The option is selected by default
for both manual and automatic joints,
and machine elements.
State offsets
Defines the position of each joint based on specific offset values.
Depending on the joint type, you can enter position or angle values.
Optional:
If you selected State offsets, enter an offset value for
each joint.
Make sure to enter values that comply with the corresponding offset formula of the
joint.
The app verifies and solves the joint constraints during the initial state solve. For more
information, see About the Initial State Solve.
Notes:
If you select Initial assembly position, during the initial
state solve, the app
automatically updates the position of the joints according to the relative position
of the assembly.
If you select State offsets, during the initial state
solve, the app
updates the position of the joints according to the specified offset values.
Following the initial state solve, the app
automatically performs a mechanism solve to update the position of the bodies and joints
included in the mechanism and according to the selected option. For more
information, see About the Mechanism Solve.
Optional:
If you selected Speed ratio from Definition
by, and State offsets from Define relative
to, specify the offset values in the Offsets
section:
Enter the offset value for the pinion as the Pinion angle
offset.
Enter the offset value for the rack as the Rack position
offset.