08
AgentSCAD
Personal / AI Agents / Parametric CAD
Editable mechanical CAD with geometry and assembly verification.
- Native families
- 13
- Product source poses
- 9
- Probe collisions
- 0/55
Assembly verification lab
Build a single-cylinder slider-crank with an 8 mm crank and a 28 mm rod, plus an eccentric retaining key and a front guide. A correct removal takes the guide before the key; the wrong order must be blocked by the guide. All six parts must export separately.AgentSCAD
From request to checked CAD
Requirements viewGeometry viewVerification viewDelivery view55° poseInterpret the request
Extract dimensions, part selectors, and joint constraints. Clarify ambiguous requirements before generation.
- Dimensions
- Part selectors
- Joint constraints
Part request → requirements
Render the CAD source
Compile the request into editable OpenSCAD and render separate STL meshes. Check watertightness with trimesh.
- Parametric OpenSCAD
- STL meshes
- Watertightness and manifoldness
OpenSCAD → STL mesh
Measure the assembly
Compare nine source poses, test both removal orders, and measure clearance along the sampled +Z approach.
- Nine-pose motion
- Valid and blocked removal
- 11 tool-access samples
Mesh → check report
Deliver the artifacts
Package editable OpenSCAD, per-part STL meshes, and the version-bound evidence for user inspection.
- OpenSCAD source
- Per-part STL
- Verification report
Artifacts → user inspection
Ambiguous request
Ask the user to clarify, then resume interpretation.
Critical check fails
Repair once, re-render and recheck. If it still fails, send it to human review.
In brief
An open-source workspace that compiles part and assembly requests into editable OpenSCAD, then measures rendered meshes for fit, motion, and service access.
v0.6 workspace with November 27 product updates for nine-pose inspection and sampled tool access.
AgentSCAD keeps the parametric source alongside the rendered geometry so users can inspect a part, adjust its dimensions, and rebuild it.
Generated CAD code needs deterministic rendering and validation before it can be treated as a useful engineering artifact.
What it includes
- 01Clarification when a part request has multiple plausible interpretations
- 02Editable OpenSCAD source and per-part STL delivery
- 03Independent measurement of joint fits and sampled rigid motion
- 04Frozen removal orders and sampled cylindrical tool access
How it works
- 01Interpret
Extract dimensions, constraints, part selectors, and intended joints from the request.
- 02Compile & Mesh
Render editable OpenSCAD and check the resulting STL meshes with trimesh, including watertightness.
- 03Verify Assembly
Check source poses and joint fits, compare removal orders, and sample the cylindrical probe approach.
- 04Deliver
Expose editable OpenSCAD, separate STL meshes, and version-bound reports for inspection.
Build notes
Measure the rendered geometry
Source pose checks- Context
- A declared joint or angle parameter can exist even when the mesh ignores it.
- Approach
- Re-render source poses and compare complete surfaces to the independently derived rigid poses.
- What it enables
- The product reference passes and the static and wrong-radius submissions fail.
Test access and removal independently
Service access- Context
- A slider can travel inside its guide while the same guide blocks withdrawal.
- Approach
- Freeze the valid and invalid removal orders and separately sample a cylindrical +Z approach to the removable guide.
- What it enables
- The guide blocks slider-first withdrawal. The probe clears all sampled positions in the tool-access reference.
Results
These results come from separate experiments and model configurations. They should be interpreted individually, not as the performance of one combined final model.
- Evaluation
- November 22 matrix and later product-row refreshes documented in the changelog
- Evaluation
- Four-part product reference at 0°, 40°, …, 320°
- Evaluation
- Four-part slider reference at measured crank radius 8.000000 mm
- Evaluation
- 11 sampled positions from 20 mm to 0.3 mm gap
- Evaluation
- Six-part guided reference at 0° with separate part exports
- Evaluation
- 18-instance closed-bore V8 reference
The lab uses the six-part guided model to illustrate the published checks. The product nine-pose result comes from a separate four-part fixture.
Compatibility
- Published evidence covers sampled geometry and specific artifact versions. Continuous clearance, retention under load, tolerances, and physical acceptance remain open.
- The browser replays source kinematics and declared paths. Collision verdicts come from the offline benchmarks.
- The reference documents per-part STL and editable OpenSCAD delivery. 3MF bundle export is unverified.