How to use Codex to print a measured badge case
Codex CLI generated a badge enclosure from caliper readings and geometry checks; its team corrected printer setup and reported a successful screw-aligned fit.
Suggested prompt
Suggested prompt written by Agents In Use, not the source author. Replace bracketed inputs and review tool permissions first.
Generate a CadQuery enclosure for this badge from confirmed caliper readings and reference photos. Identify missing measurements instead of guessing them. Check orientation, dimensions, tolerances, and every screw hole, returning precise failures for retries. Produce STEP and STL previews, then pause for my printer-profile review and physical assembly check.
Reach people exploring AI agents
See placements →What happened
The team printed and assembled the badge enclosure and reported aligned screws; geometric feedback and physical setup corrections were part of the process.
Reported by Evan Johnstone, Justin Badua, Matthew Lones, and Aaryan Biradar — DevpostHow the agent did it
- The team measured the badge with calipers using image callouts to identify required dimensions.
- Codex CLI generated CadQuery geometry and iterated on exact checker failures inside an isolated workspace.
- People corrected printer setup, printed the enclosure, and checked screw alignment and assembly.
Where a person stepped in
The team supplied real dimensions, inspected previews and orientation, configured the actual printer and material, and judged the assembled case.
The CADEX team used a Hack the North badge case to demonstrate an agent-assisted path from a photograph to a fabricated part. The system first asked people for the dimensions it needed, showing callouts on their reference images rather than assuming that a picture supplied accurate measurements.
Confirmed caliper readings went to Codex CLI in an isolated workspace. The agent wrote parametric CadQuery code and ran tools to inspect the geometry. A checker tested dimensions, hole positions, and other constraints, returning specific failures for another attempt. Three-dimensional previews and drawings came from the generated model.
The human boundary remained visible during fabrication. Early geometry could be mirrored or place features incorrectly even with correct measurements. The team also generated printer files for the wrong machine before correcting the setup, and encountered filament-loading problems. Automated CAD checks did not remove those physical tasks.
The badge enclosure was printed and assembled in the demonstration; the team reported that the screws aligned. Other venue repairs were explored, but this account’s verified physical result is the badge case. The workflow combines measurement, tool-visible failures, and real assembly checks instead of equating a plausible render with a usable object.
Prompt
Suggested prompt (written by Agents In Use, not the author's)
Source: Devpost · Evan Johnstone, Justin Badua, Matthew Lones, and Aaryan Biradar
Frequently asked questions
Were dimensions guessed from photos?
No. The system requested additional human caliper measurements.
What drove the agent’s retries?
Specific geometry, dimension, and hole-placement failures from a checker.
Did valid CAD guarantee an easy print?
No. Wrong printer profiles and filament handling still required correction.
More details
About this account
The team measured the badge with calipers using image callouts to identify required dimensions. Codex CLI generated CadQuery geometry and iterated on exact checker failures inside an isolated workspace.
Opened original team account and linked htn2026 repository. Physical success is the badge enclosure; replacement handles and other concepts are not separate counted outcomes. Printer and material corrections were human tasks. Suggested prompt written by Agents In Use; no original task prompt was published in the verified account.
Credit: Evan Johnstone, Justin Badua, Matthew Lones, and Aaryan Biradar — Devpost
Source published 19 Sept 2026
Source checked 14 Oct 2026
Tools and topics
Codex CLI · CadQuery · calipers · Three.js · 3D printer
measured CAD · geometry checks · fabrication
Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.