DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to fit a printed part to a real object you measured with Nurb

Scan or measure a real object, record its dimensions, and compare the design to a target mesh.

Short answer: Install Nurb with uv tool install nurb or pip install nurb; then Scan the real object with your phone, or download a model, then run nurb scan to measure it in mm; Record the dimensions that matter in measurements.toml, noting how each one was obtained. All steps.

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

  1. Install Nurb with uv tool install nurb or pip install nurb.
  2. Scan the real object with your phone, or download a model, then run nurb scan to measure it in mm.
  3. Record the dimensions that matter in measurements.toml, noting how each one was obtained.
  4. Add a target mesh to the part's card, then run nurb compare to get the deviation report in both directions.
  5. Adjust the part with the sliders or in its file until nurb compare shows 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer