Back to Independent Builds

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
The guided slider-crank benchmark reference open in AgentSCAD, with three editable parameters alongside the 3D model.

Assembly verification lab

Inspect source motion, removal order, and sampled tool access on the guided reference.Open verification lab ↗
Benchmark prompt
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

Guided slider-crank close-up with an orange connecting rod between the crank disk and the slider guideRequirements viewGeometry viewVerification viewDelivery view55° pose
Guided slider-crankBenchmark reference · diagram annotations are illustrative
User + agent

Interpret the request

Extract dimensions, part selectors, and joint constraints. Clarify ambiguous requirements before generation.

  • Dimensions
  • Part selectors
  • Joint constraints

Part request → requirements

Agent + OpenSCAD

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

Deterministic checks

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

User inspection

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

  1. 01Clarification when a part request has multiple plausible interpretations
  2. 02Editable OpenSCAD source and per-part STL delivery
  3. 03Independent measurement of joint fits and sampled rigid motion
  4. 04Frozen removal orders and sampled cylindrical tool access

How it works

  1. 01Interpret

    Extract dimensions, constraints, part selectors, and intended joints from the request.

  2. 02Compile & Mesh

    Render editable OpenSCAD and check the resulting STL meshes with trimesh, including watertightness.

  3. 03Verify Assembly

    Check source poses and joint fits, compare removal orders, and sample the cylindrical probe approach.

  4. 04Deliver

    Expose editable OpenSCAD, separate STL meshes, and version-bound reports for inspection.

Build notes

Note 01

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.
Note 02

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.

Native benchmark matrix13 families · 0 gate failuresNative benchmark self-check
Evaluation
November 22 matrix and later product-row refreshes documented in the changelog
Product task 49 poses · PASSRigid motion and source-pose verification
Evaluation
Four-part product reference at 0°, 40°, …, 320°
Native slider reference5.96 × 10⁻⁸ mmRod length spread across poses
Evaluation
Four-part slider reference at measured crank radius 8.000000 mm
Product task 50/55 collisions0.5 mm-radius +Z tool access
Evaluation
11 sampled positions from 20 mm to 0.3 mm gap
Native guided slider benchmarkPASS · guide_front blockValid and blocked removal orders
Evaluation
Six-part guided reference at 0° with separate part exports
Native V8 contract v60.350 mm / 2.000 mmBore gap / minimum head gap
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.
Next project09AI-BIPersonal / Conversational BI / Agent Systems

Project image

Interactive demo