main
Drew Owens Fix contralateral leg-frame and torso-shell CAD bug, regenerate single-solid STLs/GLB/Bambu/MJCF/USD/clearance, and ali… 9a64946

Microgoose Mechanical CAD and Slicing (mechanical/)

Parametric 15-DoF mechanical CAD assembly, OCCT solid interference checks, service access and cable bundle reviews, headless Bambu Studio build plates, and the annotated multi-layer 3D hero GLB for Microgoose.

Subsystem Overview

  • Actuation (15x ROBOTIS XL330-M288-T):
    • Left Leg (J1, IDs 1..5): left_hip_yaw (1), left_hip_roll (2), left_hip_pitch (3), left_knee_pitch (4), and left_ankle_pitch (5) driving a flat Z = 0.0 mm curved webbed goose foot (left_foot_sole.stl, 84.0 x 50.0 mm stance footprint with ventral traction grooves).
    • Right Leg (J2, IDs 6..10): Symmetric 5-DoF right leg (right_hip_yaw 6 through right_ankle_pitch 10) driving right_foot_sole.stl.
    • S-Neck, Cranium, and Hinged Beak (J3, IDs 11..14 + ID 15): neck_pitch (11), head_pitch (12), head_yaw (13), and head_roll (14) routed through the sculpted neck_s_curve_lower.stl channel into head_shell.stl (Z_top = 284.0 mm), which houses the forward VL53L5CX 8x8 ToF optical window, the head BMI270 IMU pocket, the fixed upper orange bill (beak_upper.stl), and the 15th-DoF XL330-driven hinged lower mandible (beak_lower.stl, 0 to 38 deg honking gape).
  • Torso Spine Bay and Mezzanine:
    • torso_core_cradle.stl seats the populated 70.0 x 70.0 x 1.6 mm microgoose-spine rev A board at Z = 148.0..149.6 mm on its 64.0 x 64.0 mm MP1..MP4 MachinePinLargeShort corner grid.
    • radxa_mezzanine_carrier.stl holds the Radxa Zero 3W (65.0 x 30.0 mm) on four M2.5 brass heat-set inserts at Z = 160.2..165.0 mm, beneath torso_dorsal_hatch.stl (Z = 171.8..175.2 mm, providing over 22 mm vertical clearance above the Spine board top plus two 6.8 mm hex-driver ports and an SWD/LED inspection window).
    • battery_sled.stl cradles the underslung NP-F550 2S 7.4 V 2600 mAh pack (104 g, Z = 122.25..142.75 mm) with a rear thumb-latch to keep the standing center of mass low (Z = 136.8 mm).
  • Physical 3D Cable Bundles (6 bundles, 22 conductors):
    • Individual B-spline swept conductors connect J1 (leg_left_dxl), J2 (leg_right_dxl), J3 (neck_head_dxl), J4 (radxa_host_link), J5 (head_sensor_i2c), and MC1..MC3 (battery_vbat_feed) with minimum bend radius >= 4.3x wire OD and full joint range-of-motion slack.
  • Stage 1 BAM Pendulum Rig:
    • bam_pendulum_base.stl, bam_pendulum_arm.stl, and step/bam_pendulum_rig.step provide a bench stand with a calibrated L = 110.0 mm arm (Z_pivot = 145.0 mm) and M4 proof-mass mount (50 g, 100 g, 180 g) matching rl/bam/xl330_bam_params.json.

Key Scripts and Artifacts

  • build_microgoose_cad.py: CadQuery/OCCT parametric builder. Imports kicad/microgoose-spine.step via --board-step, runs pairwise AABB and exact BRepAlgoAPI_Common solid intersection checks across all 802 board sub-solids and 65 robot solids, and writes:
    • stl/*.stl (23 printable parts) and step/*.step (28 STEP files including microgoose_full_assembly.step and bam_pendulum_rig.step)
    • interference-report.json (0 unexpected solid collisions, < 0.01 mm^3 threshold)
    • board-source-review.json (SHA-256 board provenance and aligned connector coordinates)
    • kinematics_mass_props.json (0.5575 kg total mass, local CoM, and principal inertia for all 16 MJCF links)
  • build_reviews.py: Generates assembly-access.json, wiring-review.json, and wiring.json bound to exact STEP SHA-256 digests.
  • slice_bambu_plates.py: Shelf-packs all 23 single-solid printable parts onto 3 flat Z = 0.0 mm plates (stl/plates/*.stl), slices headlessly with Bambu Studio (Bambu Lab H2D 0.4 nozzle), and writes bambu_slice_report.json (416.5 g total filament, 14h 35m across 3 plates).
  • build_hero_glb.py: Merges the copper-accurate docs/3d/microgoose-spine.glb with the 15-DoF robot CAD, adomLayer toggles (Chassis Shells, Actuators & Legs, Electronics & Battery, Wiring Loom, and VL53L5CX 8x8 ToF FoV), hover tooltips, and 22 physicalConductorId wire root nodes into docs/3d/microgoose-hero.glb, and renders the four 1920x1200 #0d1317 studio views in screenshots/mech_*.png.

Rebuild and Verification Commands

# 1. Rebuild parametric CAD with populated KiCad 10 STEP and verify 0 OCCT collisions
python3 mechanical/build_microgoose_cad.py \
  --board-step kicad/microgoose-spine.step

# 2. Generate and lint fastener access and 6-bundle cable reviews
python3 mechanical/build_reviews.py
adom-aiflow-mechanical lint mechanical/assembly-access.json
adom-aiflow-wiring lint mechanical/wiring-review.json

# 3. Rebuild copper-accurate Hero GLB, render studio PNGs, and audit wire roots
MUJOCO_GL=egl python3 mechanical/build_hero_glb.py
adom-aiflow-wiring audit-glb docs/3d/microgoose-hero.glb

# 4. Run strict house-style prose check
prose-lint --strict mechanical/README.md