# AI use cases for Design OS 3D Blender (jangtrinh/design-os-3d-blender)

Repo: [jangtrinh/design-os-3d-blender](https://github.com/jangtrinh/design-os-3d-blender) | Use cases: 4 | Page: https://dedupedai.com/use-cases/jangtrinh-design-os-3d-blender/

An AI agent skill and Python toolkit that generates parametric mechanical parts in headless Blender (bpy), exports glTF and STL files, and builds interactive Three.js CAD viewers.

This file holds every use case of this repo. Each one starts with a "## " heading and ends with its URL.

- Generate a parametric gear and bracket as STL and glTF: https://dedupedai.com/use-cases/jangtrinh-design-os-3d-blender/generate-gear-and-bracket-stl/
- Build a browser CAD viewer with exploded-view scrubbing: https://dedupedai.com/use-cases/jangtrinh-design-os-3d-blender/build-exploded-cad-viewer-page/
- Audit an exported mesh for non-manifold edges and dimensions: https://dedupedai.com/use-cases/jangtrinh-design-os-3d-blender/audit-mesh-for-print-readiness/
- Generate an enclosure or drone frame from a JSON spec: https://dedupedai.com/use-cases/jangtrinh-design-os-3d-blender/generate-enclosure-from-json-spec/

## How to generate a parametric gear and bracket as STL and glTF with Design OS 3D Blender

Repo: [jangtrinh/design-os-3d-blender](https://github.com/jangtrinh/design-os-3d-blender) | Difficulty: Intermediate | Time: 90 minutes | Basis: From the README

Turn a plain-English spec into a headless Blender part script with STL and glTF exports.

**Who it is for:** A maker or engineer who needs a printable gear and mounting bracket and wants the geometry to come from code rather than a diffusion model.

**The problem:** Text-to-3D tools often output melted, non-manifold meshes that fail in slicers and cannot be machined.

**The outcome:** A reproducible Python part script and JSON spec for the gear and bracket, plus exported STL and glTF files.

### Steps

1. Clone the repo: `git clone https://github.com/jangtrinh/design-os-3d-blender.git`
2. Change into the project: `cd design-os-3d-blender`
3. Check the install: `python3 scripts/self_check.py`
4. Open the project in your AI coding agent and send the agent_prompt below.
5. Confirm the STL and glTF files exist in your output folder and that the script can be rerun.

### Prompt to paste into your agent

```text
Using the design-os-3d-blender repo, write a parametric 24-tooth helical gear and mounting bracket for headless Blender, with the spec stored as JSON, and export glTF and STL files to <output folder>. Expected output: a Python part script, a JSON spec, and the exported files. Verify the mesh has zero non-manifold edges before reporting done.
```

### Caveat

The README shows the gear example but does not list gear tooth parameters, so check the generated tooth count and dimensions against your print spec before printing.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/jangtrinh-design-os-3d-blender/generate-gear-and-bracket-stl/

## How to build a browser CAD viewer with exploded-view scrubbing with Design OS 3D Blender

Repo: [jangtrinh/design-os-3d-blender](https://github.com/jangtrinh/design-os-3d-blender) | Difficulty: Intermediate | Time: 60 minutes | Basis: From the README

Create a self-contained Three.js page with orbit controls, wireframe toggle, and exploded scrub.

**Who it is for:** A product designer or small team that wants to share a mechanical assembly in a browser so reviewers can inspect hidden faces.

**The problem:** Static screenshots cannot show hidden faces or how the parts of an assembly separate.

**The outcome:** A self-contained HTML page that loads the part and lets viewers orbit, toggle wireframe, scrub an exploded view, and switch orthographic camera presets.

### Steps

1. Clone the repo: `git clone https://github.com/jangtrinh/design-os-3d-blender.git`
2. Change into the project: `cd design-os-3d-blender`
3. Check the install: `python3 scripts/self_check.py`
4. Send the agent_prompt below to your AI coding agent from inside the project.
5. Open the generated HTML file in a browser and test the wireframe toggle and exploded scrub.

### Prompt to paste into your agent

```text
In the design-os-3d-blender repo, build a self-contained Three.js CAD viewer HTML page for the exported assembly at <model file>, with orbit controls, a wireframe toggle, an exploded-view scrub, and orthographic camera presets. Expected output: one HTML file that runs with no network calls. Verify that the wireframe toggle and exploded scrub both change the view when opened in a browser.
```

### Caveat

The README lists a 60fps WebGL render check as the viewer gate, but it does not say how that check is run, so test frame rate on your own machine.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/jangtrinh-design-os-3d-blender/build-exploded-cad-viewer-page/

## How to audit an exported mesh for non-manifold edges and dimensions with Design OS 3D Blender

Repo: [jangtrinh/design-os-3d-blender](https://github.com/jangtrinh/design-os-3d-blender) | Difficulty: Advanced | Time: 60 minutes | Basis: From the README

Check an existing STL or glTF for non-manifold edges, zero-area faces, and bounding-box tolerances.

**Who it is for:** A person about to send a part to a printer or CNC shop who wants a quick check that the mesh is clean and the size is right.

**The problem:** A mesh with holes or wrong units can fail in the slicer after the print is already queued.

**The outcome:** A written audit that reports non-manifold edges, zero-area faces, and whether the bounding box matches the target dimensions.

### Steps

1. Clone the repo: `git clone https://github.com/jangtrinh/design-os-3d-blender.git`
2. Change into the project: `cd design-os-3d-blender`
3. Check the install: `python3 scripts/self_check.py`
4. Send the agent_prompt below to your AI coding agent, naming the file to audit.
5. Compare the reported bounding box with your target dimensions before you slice the file.

### Prompt to paste into your agent

```text
Using the design-os-3d-blender repo, audit the mesh at <file path> for non-manifold edges, zero-area faces, and bounding-box dimensional tolerances against a target of <width x depth x height mm>. Expected output: a short report listing each check as pass or fail with the measured values. Verify the reported bounding box matches the file by reading the dimensions yourself before accepting the report.
```

### Caveat

The README names the mesh audit checks but does not list a standalone audit command, so the agent must follow SKILL.md routing and you should confirm the checks ran.

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/jangtrinh-design-os-3d-blender/audit-mesh-for-print-readiness/

## How to generate an enclosure or drone frame from a JSON spec with Design OS 3D Blender

Repo: [jangtrinh/design-os-3d-blender](https://github.com/jangtrinh/design-os-3d-blender) | Difficulty: Intermediate | Time: 90 minutes | Basis: From the README

Edit a declarative JSON part spec and regenerate the housing with the same script every time.

**Who it is for:** A hobbyist or engineer iterating on a housing or drone frame who wants repeatable builds when a dimension changes.

**The problem:** Re-modeling a housing by hand after each dimension change is slow and easy to get wrong.

**The 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

1. Clone the repo: `git clone https://github.com/jangtrinh/design-os-3d-blender.git`
2. Change into the project: `cd design-os-3d-blender`
3. Check the install: `python3 scripts/self_check.py`
4. Send the agent_prompt below to your AI coding agent to write the enclosure spec and script.
5. Change one value in the JSON spec, rerun the script, and check that only that dimension changed.

### Prompt to paste into your agent

```text
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.
```

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

Disclaimer: Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk. Full text: https://dedupedai.com/disclaimer/

URL: https://dedupedai.com/use-cases/jangtrinh-design-os-3d-blender/generate-enclosure-from-json-spec/
