Sandflow Releases sand3d, an Open-Source Python Library for AI Agents to Build Articulated 3D Assets
Sandflow released the open-source Python library sand3d, allowing LLMs and AI coding agents to create 3D assets with dimensions, components, and mechanical joints using relatively short programs. The developer demonstrates building an articulated washing machine in 38 lines of code. The API contains approximately 3,600 tokens and supports export to GLB, URDF, USD, OBJ, and STL.
sand3d encapsulates modeling vocabulary and joint relationships for language models in a short programming interface, demonstrating a workflow for AI agents to generate structured, editable 3D assets.
🧊 An AI agent can now build a complete 3D washing machine with moving parts in just 38 lines of code. No complicated Blender scripting required.
Sandflow has released sand3d, an open-source Python library designed specifically for LLMs and AI coding agents.
Instead of forcing an AI to write hundreds of lines of Blender Python, sand3d provides a compact modeling vocabulary for creating geometry, assembling objects, and defining mechanical movement.
And the results are actual 3D assets, not just rendered images.
🔧 What can sand3d create?
▪️ 3D geometry with precise dimensions, profiles, holes, and curved surfaces.
▪️ Complex assemblies made from individually named components.
▪️ Mechanical joints, hinges, sliders, and rotating parts.
▪️ Parametric objects that can be modified by changing a few values.
▪️ Exportable models for games, CAD workflows, and robotics simulators.
🧺 A complete washing machine in 38 lines
The developers demonstrate a washing machine with:
▪️ A cabinet and internal rotating drum.
▪️ A hinged door with glass and handle.
▪️ A sliding detergent drawer.
▪️ A rotating control dial.
The assembly includes four defined joints, so its components can move independently.
You can inspect the object in an interactive viewer and manipulate individual joints.
⚡ Up to 6× fewer tokens
Sandflow compared its code against other procedural modeling systems.
Median token-count ratios:
▪️ Blender Python: 4.0× as many tokens.
▪️ CadQuery: 2.3×.
▪️ FeatureScript: 6.0×.
▪️ Articraft SDK: 2.0×.
These are developer-reported comparisons on selected CAD and articulated objects, not a universal measure of model-generation performance.
🧠 The entire API fits into approximately 3,600 tokens.
That's one of the most interesting details.
An AI agent can receive the complete API reference in its context, then use a relatively small vocabulary to construct objects programmatically.
Parts, faces, and edges are referenced by name rather than manually calculating every coordinate.
The process is deterministic: running the same program produces the same mesh.
📦 Export to real 3D workflows
▪️ GLB: Meshes, materials, and joint metadata for viewers and game engines.
▪️ URDF: Articulated structures with joint limits for MuJoCo, Isaac, ROS, and other robotics tools.
▪️ USD: Structured scenes for OpenUSD workflows.
▪️ OBJ / STL: Static geometry for conventional 3D tools and fabrication.
🚀 Open source and ready to install
pip install sand3d
The library runs on Blender's bpy engine and supports Python 3.11 and 3.13. Python 3.12 is currently unsupported.
Sandflow also provides a collection of approximately 100,000 programmatically described 3D assets, with datasets available on Hugging Face.
Everything is released under Apache 2.0.
One important distinction: sand3d isn't a generative AI model itself. It's a modeling toolkit that lets language models produce executable 3D programs.
And that's potentially even more useful for certain workflows.
Instead of generating a mesh that's difficult to modify, an agent can create structured, editable geometry with explicit components and mechanical relationships.
A promising direction for AI-assisted CAD, game assets, robotics, and procedural 3D production.
💻 github.com/Sandflow-ai/sand3d
#3DModeling #AIagents #OpenSource #Blender
Source: CuteGuy☣️ · x.com
