{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "jangtrinh-design-os-3d-blender--generate-enclosure-from-json-spec",
 "repo": "jangtrinh/design-os-3d-blender",
 "repo_url": "https://github.com/jangtrinh/design-os-3d-blender",
 "repo_slug": "jangtrinh-design-os-3d-blender",
 "title": "Generate an enclosure or drone frame from a JSON spec",
 "page_title": "How to generate an enclosure or drone frame from a JSON spec with Design OS 3D Blender",
 "summary": "Edit a declarative JSON part spec and regenerate the housing with the same script every time.",
 "who": "A hobbyist or engineer iterating on a housing or drone frame who wants repeatable builds when a dimension changes.",
 "problem": "Re-modeling a housing by hand after each dimension change is slow and easy to get wrong.",
 "outcome": "A JSON spec and a Python part script that regenerate the enclosure with the new dimensions and export matching STL and glTF files.",
 "steps": [
  "Clone the repo: `git clone https://github.com/jangtrinh/design-os-3d-blender.git`",
  "Change into the project: `cd design-os-3d-blender`",
  "Check the install: `python3 scripts/self_check.py`",
  "Send the agent_prompt below to your AI coding agent to write the enclosure spec and script.",
  "Change one value in the JSON spec, rerun the script, and check that only that dimension changed."
 ],
 "agent_prompt": "In the design-os-3d-blender repo, write a JSON part spec and a headless bpy script for an electronics enclosure with inner dimensions <width x depth x height mm>, then export STL and glTF to <output folder>. Expected output: the JSON spec, the Python script, and the two exported files. Verify by changing one dimension in the spec and confirming the regenerated bounding box matches the new value.",
 "agents": [
  "claude-code",
  "codex",
  "gemini-cli",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "90 minutes",
 "basis": "readme",
 "caveat": "The README lists enclosures and drone frames as supported outputs but does not give a worked example for them, so expect to check the first build by hand.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Blender 5.2 with headless bpy access (named in the repo description)",
  "Python 3 to run scripts/self_check.py",
  "Git, to clone the repository",
  "An AI coding agent such as Claude Code, Codex, Gemini CLI, or Cursor"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/jangtrinh-design-os-3d-blender/generate-enclosure-from-json-spec/",
 "md": "https://dedupedai.com/use-cases/jangtrinh-design-os-3d-blender/generate-enclosure-from-json-spec/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/jangtrinh-design-os-3d-blender--generate-enclosure-from-json-spec.json",
 "api_version": "v1"
}
