Pin exactly where a 3D model needs work. Your AI gets a report that names the part, the face and the coordinates, fixes it, and shows you before and after. You accept or send it back.
Refine3D is a review harness for Blender models. "Make the heel connect at the back" is easy to say and hard for an AI to act on: which part, where on it, and did the fix land or just move the problem? Refine3D turns a review into something an AI can work from, and turns every fix into something you can check in seconds.
- Pins, not paragraphs. Click the model where something is wrong and say what should change. The pin rides on that part through every later version.
- Versions with the same eyes. Every version is captured from the same 7 cameras, with a 3D preview, a turntable, the triangle count and a list of what changed, so two versions can be compared fairly.
- A report an AI can act on. For each pin: the object, the face, the coordinates, a close-up, a wireframe close-up, an in-context picture, your drawing or reference, and a playbook for that kind of fix.
- Proof, not promises. After a fix, every pin shows before and after from the same camera, plus a heatmap of everything that changed, including changes nobody asked for.
- It checks, and it learns. Automatic checks pin floating parts, holes and bad scale by themselves. What you accept becomes a recipe; what you send back becomes a lesson the next fix is given.
It runs on your computer: Python and your own Blender. Nothing is uploaded.
The picture above is a hockey skate built from a concept sheet. Its first build was reviewed with 19 pins; 29 versions and 75 pins later it looks like the picture on the right. The showcase walks through it with the real pins and their before and after pictures.
- How it works
- Quick start
- The guide: every step, with pictures
- What a version holds
- Automatic checks
- Works with SkillBlend
- How it improves
- Fix runs
- More tools
- Privacy and safety
- Tests
- Licence and credit
flowchart LR
A[Your model<br/>.blend, FBX, OBJ, GLB...] --> B[Save a version<br/>7 shots, 3D preview,<br/>stats, checks]
B --> C[Pin what's wrong<br/>in Blender or the panel]
C --> D[Report<br/>part, face, coordinates,<br/>close-ups, playbook]
D --> E[Fix<br/>you, or your AI]
E --> F[Save the next version<br/>before / after per pin,<br/>change heatmap]
F --> G{You decide}
G -- looks good --> H[Done<br/>saved as a recipe]
G -- not yet --> C
There are three ways in, and they share one data folder:
| Way in | For | What you do there |
|---|---|---|
| Blender add-on | you, while modelling | Sidebar (N) → Refine3D. Add pin: click the surface, say what's wrong. Save version: captures the scene as it is, unsaved changes included. Pins show as numbered rings in the viewport and follow their parts. |
| Review panel | you, reviewing | refine3d serve --app opens it in your browser. Click a shot or the 3D model to pin, compare versions with a slider, see what changed, accept a fix or send it back. |
| Command line + skill | your AI assistant | refine3d report, capture, address... The Refine3D skill teaches an assistant the whole loop. There is also an MCP server. |
You need: Python 3.12 or newer (no packages to install) and Blender. Refine3D is developed and tested on Windows 11 with Blender 5.3; macOS, Linux and Blender 4.x are untested. The review panel's 3D view needs an internet connection the first time, because it loads three.js from a CDN.
git clone https://github.com/1337VIPER/refine3d.git
cd refine3d
./refine3d add path/to/your_model.blend --front +X # on Windows: refine3d.cmd add ...
./refine3d capture your-model --note "first look"
./refine3d serve --app # the review panel, in your browserIf Blender isn't found, set the REFINE3D_BLENDER environment variable to the Blender program. --front is the side the model faces (+X, -X, +Y or -Y). Files that aren't .blend (FBX, OBJ, glTF/GLB, STL, PLY, USD, Alembic) are imported into a .refine3d.blend copy next to the original.
Then, once:
- Blender add-on:
./refine3d addonbuildsdist/refine3d_addon.zip. In Blender: Edit → Preferences → Add-ons → ⌄ → Install from Disk…, pick the zip, tick Refine3D. - Your AI assistant:
./refine3d skillinstalls the skill for Claude Code../refine3d skill --for agentsinstalls it in~/.agents/skills, which OpenAI Codex, Cursor, Gemini CLI, GitHub Copilot and Windsurf read. Add--project DIRto install it for one project only. - MCP server (optional):
claude mcp add refine3d --scope user -- python -s <this folder>/mcp_server.pygives Claude Code the same commands as native tools.
refine3d add radio.blend --script radio.py --front +X # --script: the Python file that builds it, if there is one
refine3d capture radio --note "first look" # r001: shots, stats, checks
# ... you pin problems in Blender or the panel ...
refine3d report radio # what your AI reads
# ... the fix: edit the build script and rebuild, or edit the .blend ...
refine3d capture radio --note "round muzzle" --who claude # r002: before / after for every pin
refine3d address radio P5 "muzzle is now a 24-segment tube" --who claude
# ... you accept or reopen in the panel or in Blender ...refine3d help lists every command. The guide goes through each step with pictures.
In data/models/<model>/revs/rNNN/ (set REFINE3D_DATA to keep the data somewhere else):
shots/<view>.png: 7 renders (two 3/4 views, front, back, left, right, top) with material colours, cavity and outlines, or plain clay.shots/<view>.pick.gz: for every 4×4 pixels, the 3D position, normal, object and face. This is what turns a click on a picture into a point on the model.shots/<view>_diff.pngand_collateral.png: what changed since the previous version, rendered from that version's own cameras, and what changed outside the pinned areas.pins/Pn.png,Pn_wire.png,Pn_ctx.png: each active pin's close-up (with a cutaway when something is in the way), the same with mesh edges, and the pin marked on the view that sees it best.preview.glb: the full-resolution model for the panel's 3D view, Draco-compressed.rev.json: triangle count, n-gons, open and non-manifold edges, zero-area faces, per-part statistics, cameras.model.blend: a copy of the file as captured (refine3d set <model> keep_blend=falseturns that off).
Pins live in pins.json with their thread. A pin is stored on its part, in that part's own coordinates, and snaps to the nearest surface on each new version, so the report can say "the surface moved 4 mm here".
Every capture runs the check plug-ins in checks/. Each finding becomes a check pin on the exact spot. It closes itself when a later capture passes, and stays closed if you mark it "won't fix".
| Check | On by default | Finds |
|---|---|---|
| Floating parts | yes | parts that touch nothing |
| Non-manifold edges | yes | edges shared by more than two faces |
| Duplicate parts | yes | the same part twice in the same place |
| Negative / unapplied scale | yes | mirrored objects (and, optionally, unapplied scale) |
| Triangle budget | yes, once you set one | a model over its budget (refine3d checks budget <model> 30000) |
| N-gons, zero-area faces, UV health, weights health | no | switch on per model: refine3d checks set <model> ngons on |
| SkillBlend style | no | parts that don't follow your own modelling style (see below) |
A check is one Python file with a CHECK dictionary and a run(ctx, params) function that returns findings; blender/refine3d_checks.py documents what ctx gives you. A fix can't be marked done while the latest capture made a check worse.
SkillBlend learns how you model from your own .blend files (your bevel sizes, modifier order, naming, topology, materials) and writes a skill your AI follows. Refine3D is the other half: SkillBlend teaches the AI your style before it builds, and Refine3D shows you what it built and gets it fixed.
They connect through one check. Point Refine3D at a skill SkillBlend built, and its style checker runs on every version; anything off-style arrives as a pin on the part concerned, like any other review note:
refine3d checks set <model> skillblend_style on skill=~/.claude/skills/my-styleThe test of improvement is your decisions, never the AI's opinion of its own work.
- Recipes. A fix you accept is stored with what was done.
- Misses. A pin you reopen, reply to after a fix, or pin again nearby records what was tried and what you said. The AI owes a written reflection for each (
refine3d lesson pending). - Playbooks. Pins are sorted into kinds of work from your own words (clipping, openings, bevels and shading, joins and gaps, shape and proportion, stitching...). Each kind has a playbook: the steps that work, the things that failed first reviews before, and the closest fixes you accepted. The report prints it with every pin.
- Skill levels.
refine3d skillsshows, per kind of work, how often fixes pass first time and what would raise the level. - Learned checks.
refine3d minefinds themes in your pins. A new check written for one is switched on only after a replay test on your stored versions: it must find the problem where you pinned it, stay quiet where you accepted the fix, and raise few findings elsewhere. - An independent review.
refine3d criticwrites a brief for a reviewer that never saw the fixing work. A fix can't be marked done without a pass.
docs/craft-loop.md has the details and the measurements behind them.
With Claude Code installed, the panel's Fix pins button can run the whole loop for you: it starts Claude Code in the background on the model's folder, and you watch a small crew work the pin until the fix arrives for review.
This is off by default, on purpose. A fix run edits your build scripts and runs Blender on your computer without asking each time. To allow it, start Refine3D with the environment variable REFINE3D_FIX_PERMISSION=bypassPermissions, and keep the model's folder under version control or backed up. Without it, hand your AI the report yourself (refine3d report <model>, or Edit → Copy pin notes in the panel): that works with any assistant.
- Draw on the mesh. Draw on a shot or in 3D to say exactly where and what shape: a hole, a recess, a raised pad, a groove, a panel, a path. The drawing is measured (size in mm, the clean shape it reads as), the report carries one call that builds it (
blender/shapekit.py), and the fix can't be marked done until it's built. - Reference match.
refine3d ref <model> concept.png --view frontscores the model's silhouette against your concept art on every version, with an overlay of what's missing and what's extra. - Look before you capture.
refine3d lookshows a build from each pin's own camera in seconds, without making a version. - Showroom.
refine3d showroom <model>renders a version with its real materials in a studio set, as a turntable. - Sync with Blender. One Sync button, in the panel and in Blender, captures your changes or loads a newer version into your file (the old file is kept as a backup).
- Several sessions at once. Pins can be claimed, so two assistants don't fix the same thing.
- Ship and rig.
refine3d shipchains your own build and bake scripts behind gates (checks, triangle budget, holes in the game mesh), andrefine3d rigruns your own rig check-and-export script. Refine3D doesn't include those scripts; seerefinekit/ship.pyandrefinekit/rig.pyfor what they expect.
- Everything stays on your computer. The server listens on
127.0.0.1only and checks the Host and Origin of every request. Your models and pictures are never sent anywhere. - Your files are read, not changed, by captures. Sync is the one thing that writes to your
.blend, and it keeps the old file as a backup. - The 3D view loads three.js from a CDN (jsDelivr). Everything else in the panel is local.
- Fix runs are opt-in (see above).
- Publishing is never part of a fix. Nothing in Refine3D uploads or publishes a model.
python -s tests/run_all.py --quick # no Blender needed
python -s tests/run_all.py # everything; needs BlenderRefine3D is by 1337VIPER. It is licensed under the Apache License 2.0 with the Commons Clause (LICENSE, NOTICE). In plain words:
- You may use it, including for paid and commercial work, change it, and share it.
- You must keep the copyright notice, the licence and the NOTICE file with every copy or changed version, and say what you changed.
- You may not sell it. That includes a renamed or remade version, and a paid product or service whose value comes mostly from Refine3D.
The licence covers the code, the text and the pictures in this repository. The plain-words list above is a summary, not the licence; where they differ, LICENSE decides. Because of the Commons Clause, Refine3D is source-available rather than "open source" in the official sense.

