Spur gears provide the most compact and rigid torque reduction in FRC mechanisms. Most commercial FRC gears use 20 Diametral Pitch (DP) with a 14.5-degree or 20-degree pressure angle.
Diametral Pitch Definition
Diametral Pitch (DP) represents the number of gear teeth per inch of pitch diameter (DP=N/PD). In 20 DP gearing, each tooth corresponds to 0.050 inch of pitch diameter.
If you machine bearing bores at the exact theoretical center distance, manufacturing tolerances on gear teeth, bearing play, and plate thermal expansion will cause the gear teeth to bind tightly, drastically increasing motor current draw.
Always add an empirical tolerance adder to the center distance:
A layout sketch captures the critical geometry of the gearbox before any solid 3D geometry is modeled. It establishes the gear pitch circles, motor pilot clearances, and primary bearing coordinates.
In your Onshape Document, create a new Part Studio tab called Exercise 1 Gearbox and follow the step-by-step layout progression in the carousel below:
Begin by creating the layout sketch for the gearbox. Draw the pitch circles for the 60T and 12T gears. Set the pitch circles tangent to constrain the center-to-center distance between the gears. Constrain the centers of the two gears to be vertical.
Add the outline of the motor, a 2.5” diameter circle, around the 12T gear that the motor is attached to. The layout sketch is now finished and fully defined.
Begin by creating the layout sketch for the gearbox. Draw the pitch circles for the 60T and 12T gears. Set the pitch circles tangent to constrain the center-to-center distance between the gears. Constrain the centers of the two gears to be vertical.
Add the outline of the motor, a 2.5” diameter circle, around the 12T gear that the motor is attached to. The layout sketch is now finished and fully defined.
Once the layout sketch is complete, model the individual mechanical parts. The plate geometry, bearing bores, standoffs, and shafts all reference the layout sketch dimensions so modifications update parametrically.
Navigate through the step-by-step Part Studio carousel:
Finished Part Studio showing front motor plate, rear plate, standoffs, and output shaft.
Create a new sketch for the motor plate. Using the layout as reference, draw a 1.125” hole for the bearing and a 1.25” hole for the motor pilot boss. Note that depending on CNC tooling tolerances, bearing holes may require a nominal 1.125” bore.
Add two mounting holes for the motor on a 2” bolt circle. Draw and dimension a 2” construction circle, then place the clearance holes horizontally constrained.
Add four #10-32 standoff bolt holes for connecting the two plates. Use a center rectangle with construction lines so only two dimensions fully constrain all four holes.
Using centerpoint arcs, lines, and the sketch mirror tool, draw the outline for the plate around the holes and motor outline. Mirror across the right plane.
Extrude the motor plate to 1/4” (0.250”) thickness using 6061-T6 aluminum.
Use the Robot Spacer Featurescript to add a #10 free fit, 3/8” outer diameter, 3/4” length standoff spacer between the plates.
Create the outer plate sketch on the outer face of the spacer. Use the Use (Project) tool to capture holes and edges of the motor plate, then add a rounded contour.
Extrude the outer plate to 1/4” thickness.
Use the Robot Shaft Featurescript to model the 1/2” hex output shaft with retaining bolt tapped holes and snap ring grooves.
Finished part studio. Assign Aluminum 6061 material to plates and spacers, and organize features cleanly in the Feature Tree.
Finished Part Studio showing front motor plate, rear plate, standoffs, and output shaft.
Create a new sketch for the motor plate. Using the layout as reference, draw a 1.125” hole for the bearing and a 1.25” hole for the motor pilot boss. Note that depending on CNC tooling tolerances, bearing holes may require a nominal 1.125” bore.
Add two mounting holes for the motor on a 2” bolt circle. Draw and dimension a 2” construction circle, then place the clearance holes horizontally constrained.
Add four #10-32 standoff bolt holes for connecting the two plates. Use a center rectangle with construction lines so only two dimensions fully constrain all four holes.
Using centerpoint arcs, lines, and the sketch mirror tool, draw the outline for the plate around the holes and motor outline. Mirror across the right plane.
Extrude the motor plate to 1/4” (0.250”) thickness using 6061-T6 aluminum.
Use the Robot Spacer Featurescript to add a #10 free fit, 3/8” outer diameter, 3/4” length standoff spacer between the plates.
Create the outer plate sketch on the outer face of the spacer. Use the Use (Project) tool to capture holes and edges of the motor plate, then add a rounded contour.
Extrude the outer plate to 1/4” thickness.
Use the Robot Shaft Featurescript to model the 1/2” hex output shaft with retaining bolt tapped holes and snap ring grooves.
Finished part studio. Assign Aluminum 6061 material to plates and spacers, and organize features cleanly in the Feature Tree.
The final step is mating all modeled components with commercial-off-the-shelf (COTS) parts from the FRCDesignLib library.
Mate Inference Locking
When mating the motor pinion to the motor shaft, hold the Shift key to lock visible mate connectors on the target cylindrical face before clicking.
Follow the step-by-step Assembly carousel:
Final gearbox assembly showing bearings, spacers, gears, motor, and retaining fasteners.
Insert the part studio into the assembly and fix the motor plate. Group mate the two plates together and mate the spacer to the motor plate. Use the Replicate tool to copy the spacer and its mate to all four corners.
Assemble the flanged 1/2” hex bearings and shaft using components from FRCDesignLib. Ensure bearing flanges seat against the outer plate faces.
Assemble the motor and motor pinion gear. Use mate inference locking (hold Shift) to seat the pinion securely on the motor shaft.
Assemble the shaft spacer and 20 DP gear from FRCDesignLib. Note how configurable parts allow changing tooth counts parametrically without replacing the CAD instance.
Insert shaft retention bolts and washers from FRCDesignLib into both ends of the hex shaft.
Add motor mounting bolts, standoff bolts, and locknuts using FRCDesignLib hardware.
Finished assembly. Group components into logical folders in the Instances tree. Total assembly instance count should equal 19, weighing approximately 2.3 lbs.
Final gearbox assembly showing bearings, spacers, gears, motor, and retaining fasteners.
Insert the part studio into the assembly and fix the motor plate. Group mate the two plates together and mate the spacer to the motor plate. Use the Replicate tool to copy the spacer and its mate to all four corners.
Assemble the flanged 1/2” hex bearings and shaft using components from FRCDesignLib. Ensure bearing flanges seat against the outer plate faces.
Assemble the motor and motor pinion gear. Use mate inference locking (hold Shift) to seat the pinion securely on the motor shaft.
Assemble the shaft spacer and 20 DP gear from FRCDesignLib. Note how configurable parts allow changing tooth counts parametrically without replacing the CAD instance.
Insert shaft retention bolts and washers from FRCDesignLib into both ends of the hex shaft.
Add motor mounting bolts, standoff bolts, and locknuts using FRCDesignLib hardware.
Finished assembly. Group components into logical folders in the Instances tree. Total assembly instance count should equal 19, weighing approximately 2.3 lbs.
Center Distance Verification: Verify that the distance between the motor shaft center and output shaft center in the layout sketch measures (12+60)/40+0.003"=1.803".
Clearance Check: Measure clearance between the 60T gear outer diameter and adjacent #10 standoff bolts. Confirm at least 0.060” radial clearance.
Parametric Test: In the layout sketch, edit the driven gear pitch circle from 60T (3.000") to 50T (2.500"). Verify that the outer plate, bearing bores, and assembly automatically update without broken mate references.