{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "shpigford-nurb--fit-printed-part-to-real-object",
 "repo": "Shpigford/nurb",
 "repo_url": "https://github.com/Shpigford/nurb",
 "repo_slug": "shpigford-nurb",
 "title": "Fit a printed part to a real object you measured",
 "page_title": "How to fit a printed part to a real object you measured with Nurb",
 "summary": "Scan or measure a real object, record its dimensions, and compare the design to a target mesh.",
 "who": "A repair technician or maker who needs a part to fit an existing object, such as a broken housing or a downloaded model.",
 "problem": "An AI or designer may guess dimensions that matter for a fit, and a wrong guess only shows up after printing.",
 "outcome": "A part whose key dimensions come from real measurements, with a deviation report showing added or missing material.",
 "steps": [
  "Install Nurb with `uv tool install nurb` or `pip install nurb`.",
  "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.",
  "Add a target mesh to the part's card, then run `nurb compare` to get the deviation report in both directions.",
  "Adjust the part with the sliders or in its file until `nurb compare` shows acceptable deviation."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/shpigford-nurb/fit-printed-part-to-real-object/",
 "md": "https://dedupedai.com/use-cases/shpigford-nurb/fit-printed-part-to-real-object/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/shpigford-nurb--fit-printed-part-to-real-object.json",
 "api_version": "v1"
}
