Skip to content

Make multi-part Physical Engineering demos reproducible - #61

Open
tonyloehr wants to merge 2 commits into
mainfrom
codex/repeatable-assembly-demos
Open

tonyloehr wants to merge 2 commits into
mainfrom
codex/repeatable-assembly-demos

Conversation

@tonyloehr

@tonyloehr tonyloehr commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Physical Engineering can now build a complete assembly from an editable recipe and reproduce it from the delivered source. The same workflow exports named STEP components, print meshes, a colored GLB, an offline interactive viewer, a board guide, and a formatted Excel and CSV bill of materials. The package includes a guarded 65 mm quadcopter and a tabletop sensor enclosure.

Codex Desktop walkthrough

This 4-minute, 15-second recording starts with an empty output folder. In a fresh Codex Desktop chat, the installed Physical Engineering plugin builds the Whoop 65, verifies the exported files, and rebuilds both the aircraft and a tabletop sensor enclosure. The recording includes live Codex footage, close-ups of the generated assets, locally generated AI narration, English subtitles, and 11 chapters.

physical-engineering-in-codex.mp4
Jump to What to watch
0:00 Invoke Physical Engineering in Codex, confirm the empty folder, read the installed workflow and submit the brief.
0:43 Follow the editable recipe into the assembly STEP, component hierarchy and handoff guide.
1:28 Orbit the quad, inspect the underside and exploded stack, then examine the printable frame, dock, canopy and latch coupons.
2:13 Inspect the flight controller, camera and board integration guide.
2:37 Read quantities, specifications and sources in the Aircraft and Bench sheets and the CSV.
3:03 Read the exported-geometry measurements, run the handoff rebuild and compare its manifest.
3:50 Inspect the sensor enclosure and compare both rebuilds in Codex.

Plugin impact

assembly-init, assembly-build and assembly-verify operate on local design and delivery directories. whoop-demo builds the reference aircraft. The builder executes the selected Python CAD source with the existing pinned runtime. Setup downloads dependencies once. A prepared build and viewer operate offline. This change adds no external services, credentials or runtime dependencies.

Rebuild results

Design Independent checks Reproduced result
Whoop 65 37/37 13 component STEP exports and five print meshes. All four rotors have 0.80 mm nominal guard clearance. The workbook covers 20 aircraft and 14 bench line items.
Sensor enclosure 19/19 Three component STEP exports and two print meshes. PCB-to-lid clearance measures 6.20 mm. The workbook covers five installed and three bench line items.

Both designs rebuilt in clean directories from their delivered source. The display geometry, viewer, rendered preview, print meshes and BOMs matched byte for byte. Exported STEP geometry passed independent readback. The aircraft's two purchased boards are mechanical reference models. Prototype fit, electrical performance and flight remain untested. Reproduction commands, manifests and measurements

Verification

  • Marketplace validation and cold copied-package startup passed locally.
  • The local Physical Engineering suite passed 135 Node and 113 Python tests.
  • A fresh Codex session built and verified the Whoop handoff using the installed 0.3.0-preview.2 plugin.
  • Offline desktop and mobile browser checks exercised all four viewer modes, orbit and zoom.

All 13 GitHub checks passed on a6b3f1e, including the full Physical Engineering suite on Node 22.19, 24 and 26 and the dependency audit. The Autodesk Fusion check passed on retry.

Hosted CAD runs previously exceeded the 20-minute child-process limit. The longer deadlines accommodate the expanded regression suite across the three sequential Node versions.

Maintainer merge requirements

  • Applicable CLA verified
  • CDE code owner approved the latest changes
  • Required test and security checks pass for the changes being merged
  • Execution, file access, off-machine data flows, dependencies, and secrets reviewed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant