Who it is forA repair technician or maker who needs a part to fit an existing object, such as a broken housing or a downloaded model.
The problemAn AI or designer may guess dimensions that matter for a fit, and a wrong guess only shows up after printing.
The outcomeA part whose key dimensions come from real measurements, with a deviation report showing added or missing material.
What you need first
- An AI subscription you already pay for, such as one that works with your agent or terminal
- A Mac (the app is provided for Apple silicon and Intel) or a terminal with uv or pip available
- A 3D printer and a slicer such as OrcaSlicer or Bambu Studio, if you want print time and filament estimates
Steps
- Install Nurb with
uv tool install nurborpip install nurb. - Scan the real object with your phone, or download a model, then run
nurb scanto measure it in mm. - Record the dimensions that matter in measurements.toml, noting how each one was obtained.
- Add a target mesh to the part's card, then run
nurb compareto get the deviation report in both directions. - Adjust the part with the sliders or in its file until
nurb compareshows acceptable deviation.
Prompt for your agent
Using the nurb repo (Shpigford/nurb), measure the scan file <target scan file path> with `nurb scan` and compare the part <target part name> with `nurb compare`. Expected output: a deviation report in both directions. Verify that every dimension the part needs is present in measurements.toml, since the README says asking for a missing one raises an error instead of guessing.
Caveat. The README notes that no geometry check can catch a wrong guess, so the fit is only proven when the printed part meets the real object.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Shpigford/nurb and "Fit a printed part to a real object you measured"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer