Gray Matter
WorkshopMechanism CAD
WPILib 2027 is still in alpha: these pages change as the APIs settle.
LESSON 03

Mechanism CAD

The course runs on a real arm or a real flywheel on a bench. This page has the 3D models, the parts lists, and the build notes for both. Teams attending in person can skip it, and so can a team that already has a mechanism with a TalonFX on it.

5 minutes

Both builds start from the same base: 1x2 aluminum tube, T-slot extrusion, and a two-stage WCP rotation gearbox. The two parts lists share most of their rows, so parts from one build can be recycled into the other.

The two models

Drag to orbit either model, and scroll to zoom. The buttons underneath jump to a fixed angle.

Flywheel Mechanism

The gearbox output carries a compliant wheel on each end of the shaft. There is no encoder on this build. The TalonFX has a rotor sensor of its own.

Arm Mechanism

A 9 inch aluminum tube on the gearbox output, with a through-bore CANcoder reading the joint angle. That encoder is the main thing the flywheel list does not have.

FileOpens inUse it to
.stlPrusaSlicer, Cura, Bambu StudioSlice and print a part as drawn.
.stpFusion 360, SolidWorks, OnshapeChange a dimension before you print.
OnshapeA browser, nothing installedMeasure a part or check a fit.

Bill of materials

Both lists are complete down to the CAN terminating resistor. Open Show Details to sort, filter by vendor, or print a shopping list for whoever orders parts.

All new, the arm comes to about $860 and the flywheel to about $800. Most of that is CTRE hardware. Tick Recycle CTRE Parts and 3D Print for $5 Total and the arm lands near $170.

Most rows come from West Coast Products, with the extrusion and T-nuts at Tnutz and the collars, resistor and Wago nuts at AndyMark. The Kraken ships from CTRE, and the arm hub from ThriftyBot.

Arm Mechanism - Bill of Materials

Total Items
28
Full Price
$866.22
With 3D Print $5 + CTRE Recycled
$174.77

Shooter Mechanism - Bill of Materials

Total Items
28
Full Price
$807.23
With 3D Print $5 + CTRE Recycled
$237.75

Printing the parts

Seven rows on the arm list are marked printable, including the gearbox and its gears. A printed gearbox also needs the four flanged bearings and the long #10-32 screws further down the list, which the bought kit already includes.

Assembly notes

  • Slide all eleven T-nuts into the extrusion before the end cap goes on. Adding one later means pulling the cap.
  • Build the gearbox on the bench first. It should turn by hand with no gear noise before it bolts to anything. While the gears are in your hand, write the tooth counts on a strip of tape and stick it to the extrusion.
  • Set the hex collar clamps so nothing rubs the CANcoder.
  • Wire the CAN chain with the terminating resistor at the far end from the CANivore. The two-slot lever nuts hold it.
  • The mechanism never connects to a battery directly. Cut the alligator clips off the SB50 adapter cable and seat its leads in the WAGO lever nuts. The battery's own SB50 connector plugs into that adapter.

Check your work

Run this with the battery unplugged.

Check

Before Workshop 1

  • Arm: it turns a full circle by hand without touching the bench, with no binding and nothing rubbing the encoder.
  • Flywheel: it spins freely by hand.
  • One CAN chain runs from the CANivore through every device and ends in the resistor.
  • The SB50 adapter leads are seated in the lever nuts, polarity checked, with no bare copper showing.