sand3d is a Python library for writing 3D objects as short programs (profiles, solids, joints, assemblies) on top of Blender's `bpy`, designed so an LLM can write them. Parts, edges and faces are named rather than located by computed coordinates, the whole API fits in about 3,600 tokens of prompt, and the same program builds the same mesh every time. It exports GLB, URDF, USD, IFC, OBJ and STL from one call. The tradeoff: it depends on Blender, it is three weeks old, and it is a modelling DSL, not a parametric CAD kernel. Apache-2.0, about 2.2k stars.
You want an agent to generate articulated 3D models or URDF robot assets from text.
You need precise engineering CAD with constraints and tolerances; use CadQuery or a real CAD tool.
# Install via npm / pnpm / bun: pnpm add sand3d # or npm install sand3d
Inferred from package · always double-check against the official README below.