TL;DR
Procedura is an agentic framework that enables Large Language Models (LLMs) to generate complex 3D models as editable, part-structured programs rather than static, "soft" meshes. By treating 3D modeling as a procedural assembly task governed by mechanical "mates," it produces high-precision, articulated assets that outperform state-of-the-art native generators in both geometric sharpness and functional utility.
What Problem Does This Paper Address?
Current "native" 3D generators (like those based on diffusion or autoregressive mesh generation) have become remarkably good at capturing the general silhouette of an object from a single image or prompt. However, they suffer from three major drawbacks for engineering and production use:
- Lack of Precision: They produce "soft" meshes where edges should be sharp, making them unsuitable for machined or mechanical parts.
- No Structure: They output a single "blob" of triangles with no concept of individual parts (e.g., a wheel vs. a chassis).
- Zero Editability: You cannot easily change the diameter of a bolt or the length of a robotic arm; you have to sculpt the raw mesh.
While LLMs can write code (like OpenSCAD) to define 3D shapes, they often struggle with complex assemblies, producing "toy-like" models with floating parts or incorrect placements because they try to generate the entire script in a single, blind pass.
Methods
Procedura introduces an agentic workflow that mimics how a human engineer might work in CAD software. The process is broken down into three main stages:
- Assembly-Graph Planning: Instead of writing code immediately, the agent first plans the object as a graph of named parts and typed mates. Mates are mechanical constraints—like a "peg-in-socket" or a "bolt pattern"—that define exactly how two parts should connect.
- Mate-Driven Building: The agent builds the program part-by-part. Crucially, it doesn't "guess" the coordinates for placement. Instead, it defines the geometry and the mate frames, and the system mathematically solves for the rigid transform that aligns them. Each step is guarded by a verification stack:
- Compile Check: Does the code actually run?
- Mate Check: Do the parts actually touch where they should without overlapping?
- Connectivity Check: Is the part physically attached to the rest of the model?
- Decoupled-Critic Refinement: Once a draft is finished, a separate "vision critic" (a different LLM instance) reviews renders of the model against the original reference and suggests specific fixes (e.g., "the winch is too small").
The framework uses Constructive Solid Geometry (CSG), where shapes are built from mathematical primitives like cylinders and cubes. This ensures that edges remain perfectly sharp at any resolution.
Datasets
The authors evaluated Procedura on two main benchmarks:
- P3D-Bench: An existing benchmark for parametric 3D generation containing 203 cases.
- MechBench-36: A new, more rigorous benchmark introduced in this paper. It consists of 36 complex, many-part mechanical objects (rovers, excavators, engines) designed to stress-test an agent's ability to handle part counts, placement, and connectivity.
Key Insights and Ideas
- Mates > Coordinates: The "aha moment" is that LLMs are bad at spatial coordinate estimation but excellent at logical relationships. By using typed mates (see Figure 4), the system offloads the difficult math of placement to a deterministic solver, preventing the "drift" that usually ruins long-form 3D code generation.
- Decoupling the Critic: The authors found that a model that critiques its own work often fails to see its own errors. Using a separate, single-turn vision call for the critic significantly improved the quality of refinements.
- Span-Based Connectivity: Traditional volume-based checks often miss thin, detached panels. Procedura uses a "span-based" gate that measures the bounding box of disconnected components to ensure the model is printable and physically sound.
Key Results
Procedura sets a new state-of-the-art for agentic 3D modeling:
- Superior Quality: On MechBench-36, it achieved a judge score of 0.828, outperforming top native generators like TRELLIS.2 (0.810) and prior code agents like Adam CAD (0.799).
- Extreme Sharpness: It produced 3x more sharp-edge length than any other code-emitting method.
- Functional Assets: Unlike static meshes, Procedura's outputs are "sim-ready." 14 out of 18 tested objects cleared a battery of physics tests in Isaac Sim, including joint actuation and mobility tests.
- Native Decomposition: Because the model is built part-by-part, it comes with a perfect semantic breakdown for free. You can click on a "wheel" or "turret" and edit it individually.
Limitations and Future Work
Despite its success, the authors note several areas for improvement:
- Vision Occlusion: The agent only "sees" through renders. If a part is hidden inside a chassis, the agent can't verify its placement. Future versions might use depth maps or direct mesh queries.
- Organic Shapes: CSG is perfect for machines but struggles with organic, freeform surfaces (like animals or plants), which are better handled by neural fields.
- Mate Vocabulary: The current system is limited to rigid and basic kinematic joints. Expanding this to flexible parts or more complex mechanical linkages is a clear next step.
Summary updated