# 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.

Agent: Codex (via CADEX Codex CLI geometry agent)
Tools: Codex CLI, CadQuery, calipers, Three.js, 3D printer
Category: Hardware
Date: 2026-09-19

Outcome: The team printed and assembled the badge enclosure and reported aligned screws; geometric feedback and physical setup corrections were part of the process.

## Steps

1. The team measured the badge with calipers using image callouts to identify required dimensions.
2. Codex CLI generated CadQuery geometry and iterated on exact checker failures inside an isolated workspace.
3. People corrected printer setup, printed the enclosure, and checked screw alignment and assembly.

Human oversight: The team supplied real dimensions, inspected previews and orientation, configured the actual printer and material, and judged the assembled case.

Source: [Evan Johnstone, Justin Badua, Matthew Lones, and Aaryan Biradar — Devpost](https://devpost.com/software/cadex)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-print-a-measured-badge-case/
