GitHub radar

Build 3D models with code your AI agent can write for you

sand3d is a Python library for 3D modeling, built specifically for AI models. With it, an agent describes a part in short code instead of clicking around a 3D program by hand.

01Sandflow-ai/sand3d 776Python

A Python library for creating 3D objects as code, running on top of the free Blender program. The code stays short enough for an AI to write and read easily.

When it helps

Useful for game assets, 3D-printable parts, or robot simulation models when you work through an AI agent. Not a fit if you just want a 3D model from a single picture with no coding.

Pros

  • A part takes 2 to 6 times fewer tokens than other code-3D tools
  • The whole command vocabulary fits in one agent prompt
  • Parts and edges are reached by name, not raw numbers
  • The same code always produces the exact same result

Cons

  • Needs Python 3.11 or 3.13 — version 3.12 won't work
  • No ready-made shapes like 'chair' or 'table' — you write those yourself
  • You still need to write code and read the documentation

How to set it up — step by step

  1. 1Check you have Python 3.11 or 3.13 (not 3.12) — no graphics card needed.
  2. 2Open your AI agent (such as Claude Code) in your project folder.
  3. 3Send the agent the text from the block below.
  4. 4Wait for the agent to install sand3d and write a program for a simple part following the README example.
  5. 5Open the exported GLB file and look at the finished 3D model.
  6. 6If you like the result, ask the agent to write code for your own part.

Text for your agent

Copy this and send it to your agent — Claude Code, Codex, any of them:

Install sand3d from https://github.com/Sandflow-ai/sand3d — via pip install sand3d (you need Python 3.11 or 3.13 with Blender's bpy module, not 3.12), write a program for a simple part following the README's example, export it to GLB, and show me the result.

Runs on a regular laptop — no GPU needed. You only need Python 3.11 or 3.13 with Blender's bpy module (it will not install on Python 3.12, and Intel Macs have their own limits).

Open on GitHub