Assembly
How the printed parts, servos, hardware and harness go together, in build order. Every part is
generated by the code-CAD in cad/ (python -m cad.build; the STLs for a slicer from
python -m cad.export), and the hardware each part takes is listed per part in
description/cad_model.yaml. Nothing here has been built yet: this is the design’s build
order, to be checked on the first robot. Read safety.md first.

The design in one paragraph
Section titled “The design in one paragraph”Every joint is one servo and up to three printed features, drawn round the servo as built
(cad/sts.py, from Feetech’s drawings): a sleeve round the servo’s case on one link, open
at both faces, with tabs over the case’s tapped holes (M2 pan head screws into its top and bottom
faces); a drive plate on the other link, four M3 button heads into the servo’s horn; and,
where the joint is carried on both sides, a follower plate on the servo’s second horn, which
turns on a boss of the case: the servo is its own far-side bearing. Both plates stand off their
horns on a hub, so they clear the tabs’ screw heads, the case’s label covers and, on the
follower side, the bus plugs and their leads as they turn over the case. Hips, knees, ankles,
shoulder roll, elbows and neck pitch are carried on both sides; the yaw joints, shoulder pitch,
wrist and gripper hang off the servo’s own bearings. The clip-on shells hook into slots in the
frame and take one or two M2 screws into heat-set inserts on bosses that reach out from the
frame to them.
Every screw and insert is drawn where it goes (cad/hardware.py), and python -m cad.check
checks them with the parts: each screw clears its part’s hole and reaches only into what it
screws into, no head touches a part that turns past it, and each screw head has a clear way out
for a driver. The parts list counts are the drawn ones.
Before printing
Section titled “Before printing”The servo is drawn from Feetech’s product drawings (STS3250 and STS3215), with the heights they
leave out measured off an open model of the STS3215; the plugs are the 5264 housing’s catalogue
size and how far they stand out of the case is estimated. On one STS3250 and one STS3215, check
these and correct them in description/actuators.yaml (shape) and cad/sts.py before
printing anything:
| What | Drawn | Where it is set |
|---|---|---|
| The shaft from the case’s end beside it; the case’s length and width | 10.1 mm; 45.22 x 24.72 mm | actuators.yaml shaft_offset, box |
| The case’s depth beside the shaft; the drive horn’s face above it | 29.0 mm; 4.86 mm | actuators.yaml axial |
| The raised end and the label covers (top and bottom) | 1.75 and 1.3 mm proud; covers to 2.9 and 3.1 mm | cad/sts.py HIGH_Z, *_LABEL |
| The face holes: x from the shaft, 20.5 mm apart across | top 8.3 and 28.9 mm, bottom 8.4 and 32.9 mm | cad/sts.py TOP_HOLES, BOTTOM_HOLES |
| The follower horn’s face below the case, its screw head | 3.55 mm; 0.45 mm proud of it | cad/sts.py REAR_Z, REAR_HEAD |
| The horns’ screw holes | 4 x M3 on a 14 mm circle, square to the case | cad/sts.py HORN_HOLES |
| The plugs in the bottom face: where, and how far out with their leads bent along the case | 11.5-16.5 mm from the shaft; 4.7 mm out, leads to 6.8 mm | cad/sts.py PLUG, LEAD |
| The face holes’ depth: an M2 x 5 through a 2.2 mm tab reaches 2.8 mm in | at least 3 mm | cad/servo.py TAB_T |
A 25-tooth spline lets a horn go on within 7.2° of square; turn it to the tooth that brings its holes nearest the plate’s and take up the rest with the servo’s zero offset at calibration.
Then python -m cad.build && python -m cad.check && python tools/build_urdf.py and print one
sleeve and its two plates (the knee’s) to test the fit before the rest.
Printing
Section titled “Printing”| Material | Parts | Notes |
|---|---|---|
| Nylon-carbon (PA6-CF or PAHT-CF), printed dry | pelvis, hip roll and pitch brackets, thighs, shins, ankle brackets, feet | the leg’s loads; dry the filament first and print with a hardened steel nozzle (0.6 mm recommended) |
| PETG, white | torso frame, shoulder brackets and yokes, upper arms, forearms, neck yoke, head frame; the shells but those in black | |
| PETG, black | palms and jaws; the hip girdle, the abdomen’s bands, the head’s face panel and side pods | |
| TPU 95A | foot soles, the four finger pads (finger_pad.stl) |
glued on |
The STLs are generated, not kept in the repository: python -m cad.export writes one per part to
outputs/stl/ (the right side’s as their own files; the finger pad once, printed four times) and
removes any left from parts since renamed or dropped, and the BOM’s Made parts sheet lists each with
its quantity, material, mass and size. Rerun it after pulling a change to cad/.
Print plates flat and sleeves standing on a side wall; the torso shells and the head’s back piece upright.
python -m cad.export writes each STL already turned that way: standing on the face that puts
the most of it on the bed. Every part fits a 220 mm bed (python -m cad.build checks it). Masses are for solid walls, as
the parts are drawn at wall thickness: print the frame solid (100% infill, or enough perimeters to
fill the walls), as the stress check assumes.
The stress check (python -m cad.fea, below) takes the material’s strength between layers
(25 MPa), the weak direction, everywhere, so the print orientation does not change its result.
Preparation
Section titled “Preparation”- Set the shells’ M2 x 3 heat-set inserts into their bosses (35).
- On the bench, one servo at a time on a bus adapter and the 12 V supply, give each servo its ID
(robot.yaml
servo_ids: the left leg 11-16, the right 21-26, waist and neck 31-33, the left arm 41-46, the right 51-56, in chain order; the buses), write it on the case, set its limits and centre it. Set the two neck servos’ torque limit to 30% (robot.yamltorque_limit): the neck yoke is sized for that, not for their full stall torque. - Fit both horns to each servo that has a follower plate, the drive horn square to the case at its centre position, and check the follower horn turns freely under its screw.
- Cut and label the bus leads (below).
Build order
Section titled “Build order”Each step’s parts and the hardware it takes (both sides where there are two). The servos go into their sleeves before the next part’s plates are screwed on. Where a drive plate lies under another servo’s sleeve (the hip roll bracket’s, the torso’s floor), screw it to its horn before that servo goes in: the driver reaches its screws through holes cut for it. A 2 mm hex key reaches every M3 button head; a #0 cross-head driver every M2 pan head.
Every M3 button head into a servo horn (the M3 x 6, x 8 and x 12) takes a drop of medium-strength (blue, removable) threadlocker: the metal horns shake screws loose. Snug them to about 0.5-0.6 N·m with the 2 mm key, no more. Keep threadlocker off the M2 case screws and away from the plastics: some threadlockers craze some plastics (PC, ABS).

| Step | Parts | Hardware |
|---|---|---|
| 1 | pelvis, with the waist and both hip roll servos | 20 x M2 x 5 pan head (cases) |
| 2 | hip roll brackets, with the hip pitch servos | 16 x M2 x 5; 16 x M3 x 8 button head (horns) |
| 3 | hip pitch brackets | 24 x M3 x 8 |
| 4 | thighs, with the hip yaw and knee servos | 24 x M2 x 5 |
| 5 | shins, with the ankle pitch servos | 16 x M2 x 5; 16 x M3 x 8 |
| 6 | ankle brackets, with the ankle roll servos | 16 x M2 x 5; 16 x M3 x 8 |
| 7 | feet and soles | 8 x M3 x 8 (drive horns), 8 x M3 x 6 (follower horns); soles glued |
| 8 | torso frame, with the shoulder pitch and neck yaw servos, the computer (on end, its ports to one side), the battery, the e-stop (its head through the round bezel in the back from outside, its base onto it from inside the torso, then the contact block clipped on) and the boards in the bay behind the computer, the pack on the chest plate (above); the eye bolts’ nuts up into the slots under the bosses on the back plate’s corners, and the eye bolts screwed into them from outside until their eyes stand upright, a drop of threadlocker on each; onto the waist horn | 20 x M2 x 5, 4 x M3 x 12 (the waist horn, through the hub), 4 x M2.5 x 6 (computer), 16 x M2.5 x 8 (boards), 2 M6 eye bolts and 2 M6 nuts, 2 hook-and-loop straps, 12.7 x 200 mm (battery) |
| 9 | shoulder brackets, with the shoulder roll servos | 8 x M2 x 5; 8 x M3 x 6 |
| 10 | shoulder yokes | 8 x M3 x 6, 16 x M3 x 8 |
| 11 | upper arms, with the shoulder yaw and elbow servos | 32 x M2 x 5 |
| 12 | forearms, with the wrist servos | 16 x M2 x 5; 8 x M3 x 6, 8 x M3 x 8 |
| 13 | palms and jaws, with the gripper servos | 16 x M2 x 5; 16 x M3 x 6; the 4 printed finger pads glued to the jaws’ faces, near the tips |
| 14 | neck yoke | 12 x M3 x 6 |
| 15 | head frame, with the neck pitch servo and the camera | 8 x M2 x 5, 2 x M2 x 6 (camera) |
| — | calibrate: hung from a stand by a rope through the eye bolts, every joint zeroed and run through its range at low torque | |
| 16 | the limb shells (shoulder caps, upper-arm bands, forearm guards, hand caps; the thighs and shins, front then back pieces; hip pods, toe and heel caps) and the hip girdle | 27 x M2 x 6 |
| 17 | the abdomen’s bands (front, back), then the chest plate (front, back): the eye bolts out first, then back in through the holes in its back, their eyes upright | 5 x M2 x 6 |
| 18 | the head’s face (its dark panel glued into the opening, screwed down through the top), back (the side pods glued into their rings) | 3 x M2 x 6 |
In all: 27 servos, 192 M2 x 5 pan head screws (the cases; the STS3215s’ can be their own PA2.0 self-tappers), 60 M3 x 6, 104 M3 x 8 and 4 M3 x 12 button head screws (the horns), 35 M2 x 3 heat-set inserts and 37 M2 x 6 screws (shells, camera), 4 M2.5 x 6 and 16 M2.5 x 8 screws (computer, boards) and 2 hook-and-loop straps (the BOM’s hardware line), and 2 M6 eye bolts with their nuts.
The electronics, as the steps reach them (the wiring itself is electrical/README.md):
- Step 1: the IMU on foam tape on the inside of the pelvis’s back wall, behind the waist servo (reach it from below); note the axes printed on its board as it sits, for the software to turn them into the pelvis’s (x forward, z up). Plug its cable in now and leave it hanging up, out of the way of the legs.
- Step 8, before the torso goes onto the waist horn: in the bay behind the middle plate, the three bus adapters and the power board, each on its four standoffs with four M2.5 x 8 screws, their parts facing back (low on the left the left leg’s adapter, its servo sockets outward; low on the right the right leg’s; above the left one the upper body’s, its sockets inward; above the right one the power board, its headers inward). Solder the power board first, on the bench. Plug the USB leads into the adapters (right-angle heads, the leads turned back between the boards and the middle plate) and the leg leads into the leg adapters, and run the legs’ 12 V pairs, the two leg leads, the waist’s lead and the IMU’s cable down through the floor’s opening, each with its loop round the waist’s axis. Then the e-stop’s two wires to the relay’s coil.
- Step 8, once the torso is on: the computer, then the USB leads out through the left side frame’s window and forward along its outside to the computer’s ports; the boost regulator on foam tape on the left side frame’s outside, behind the ports, set to 19 V on the bench first, its lead to the computer’s jack; the IMU’s cable out through the right side frame’s window, forward, and back in through its front corner to the computer’s 40-pin header on its bottom edge (pin 1 end: read it off the board). Last, the pack on the chest plate’s ledge, between its lips, its BMS on its front, its leads out of its right end and back through the plate’s hole; the two straps round the lips’ front edges; the XT60 plugged in only for power-up.
- Step 15: the camera’s ribbon down through the neck yoke into the torso, to the computer’s CAM1 connector on its top edge (the one nearer the ports).
Every board, the pack and every cable are drawn in the CAD (cad/electronics.py,
python -m cad.wiring) and the clearance check holds them clear of the frame, the shells and
each other through every pose: the wiring.
Wiring
Section titled “Wiring”Each bus is a daisy chain of three-wire leads (ground, 12 V, data) with 5264-type three-pin plugs; each servo has two sockets side by side in its case’s bottom face, beside the shaft, reached through the sleeve’s open face. A plugged lead bends along the case’s bottom face to the sleeve’s far end; the follower plates stand off far enough to turn over it. The legs’ chains start at their bus adapters and the arms’, the neck’s and the waist’s at the power board’s headers, all in the bay behind the computer; the legs’ 12 V pairs run beside their first leads.
The electronics’ cables (the pack’s lead, the USB leads, the IMU’s cable, the boost regulator’s leads, the e-stop’s wires, the camera’s ribbon, the legs’ 12 V pairs) are held by 10 mm hook-and-loop ties, each through a printed strap loop on the frame: a bridge the tie threads under, then round the cables lying on it.
Each lead lies along the frame in printed clips: a U-channel standing on the frame, open away from it, the lead pressed in flat past two lips (two leads can share one). A lead crosses each joint on the joint’s axis, where the joint twists it rather than stretching it, and leaves a service loop in the gap the shells leave there; the clips at each end of a stretch, next to the joint, anchor the loop, and one about every 35 mm holds the stretch between (46 on the left half and the middle, mirrored on the right). Where a lead must pass a frame wall (the shoulder bracket’s and the shoulder yoke’s) the wall has a slot its plug passes through, so every lead goes in after the frame is built: lay each chain from its start out to its last servo, plugging in as you go and pressing the lead into its clips, each joint at mid-range with its loop slack. The paired cable-tie slots either side of some joints take a small cable tie where a loop wants one more. Some lead runs show on the frame where the shells leave it bare; none hangs loose.
Lay the chains in this order, each from its start: the two legs (from their adapters, before the shins’ shells), the waist, the neck (the camera’s ribbon with it), then the arms. Use the leads at the lengths below: the servos come with 215 mm leads, which cover the 100-200 mm runs; the 300 and 400 mm ones are bought (the BOM’s servo-cables line).
python -m cad.wiring routes the leads through the frame and places the clips and slots
(description/harness_routes.yaml, read by cad/frame.py); rerun it when the frame, servos or
shells move. python -m cad.harness gives each lead’s length (its route plus 10% to lay it in
the clips, plus the loop for every joint it crosses) and rounds it to a stock length:
| Chain (each side) | Leads |
|---|---|
| Leg: adapter, hip roll, hip pitch, hip yaw, knee, ankle pitch, ankle roll | 300, 200, 400, 100, 200, 150 mm |
| Arm: power board, shoulder pitch, roll, yaw, elbow, wrist, gripper | 100, 300, 400, 100, 150, 200 mm |
| Neck: power board, neck yaw, neck pitch | 100, 400 mm |
| Waist: power board, waist yaw | 300 mm |
In all 27 leads: 7 x 100, 4 x 150, 6 x 200, 5 x 300 and 5 x 400 mm, and for each leg about 0.3 m of 18 AWG pair from the power board, beside its first lead, to the hip roll servo.
The electronics’ cables, as routed (each with its loops; buy or cut them about 100 mm longer): the pack’s lead to the power board 0.23 m (an XT60 extension), the boost regulator’s input 0.11 m and output 0.05 m, the USB leads 0.07-0.14 m (0.3 m leads, the spare coiled behind the boards), the IMU’s cable 0.42 m (with the last 70 mm inside the computer’s outline, to the header’s far end at most), the camera’s ribbon 0.30 m, the e-stop’s wires 0.08 m.
Check, before the shells go on: with the pack out and the robot on the 12 V bench supply (2 A limit), every servo answers at its ID on its bus; then move every joint through its range by hand, slowly, and watch that no lead pulls tight, catches on a plate or rubs a horn; then the first power-up in electrical/README.md.
Stress check
Section titled “Stress check”python -m cad.fea loads each printed part where its servos and the next link meet it (a landing
on one foot at three body weights, a sideways fall, a hand catching half the body weight, the head
dropped, and each servo’s stall torque) and reports its peak stress against the printed material’s
strength between layers, for a safety factor of at least 2.2. Every part reaches it; the results
are in decisions (2026-11-26). The thicker plates the check asked for take longer
screws: M3 x 8 through the legs’ plates and the shoulder yokes, M3 x 12 through the torso’s hub on
the waist horn; the arms’ thinner plates keep M3 x 6.
Shells
Section titled “Shells”Each shell hooks into its frame slots at one end, then takes its screws at the other: the
abdomen’s bands at the bottom of the side frames and the floor’s deep front, the chest plate at
the side frames’ tops and the top plate, the limb shells on their servo
sleeves’ end walls (the hand caps on the palm’s back plate), the head’s face down through its top into the roof plate
and its back at the head frame’s spine. The shoulder caps reach down over the roll servo’s
front and back outside the roll yoke’s plates, with arcs cut where the plates swing.
Every shell comes off with one screwdriver, and none carries load. python -m cad.check moves
every joint through its range and fails if any part or shell meets another, or a shell cuts
into the frame it covers.
This page is generated from docs/assembly.md in the repository.