SolidCraft: Open Source Parametric CAD in Rust with MCP

A look at SolidCraft's constraint solver, feature timeline and MCP server, and how far its own validation numbers can be trusted.

Binary Buddies · 5 min read · 7 views

Most CAD that an AI agent can drive produces a mesh or a script's output: a result you can look at but not meaningfully edit. If an agent builds a bracket and the hole needs to move 2 mm, you regenerate and hope. A parametric model keeps the intent (sketches, constraints, named dimensions, an ordered feature history), so the edit is a changed number and a rebuild. That only helps if the agent works through the same history a human would.

SolidCraft is an open source parametric 3D CAD application written in pure Rust. It runs on the desktop and in the browser, and it ships a built-in MCP server so agents can model through it. This article goes through what the repository documents: the install paths, the constraint solver, the timeline, the parameter system, and the project's own account of how far the geometry can be trusted. The README is candid that the project is early, and that matters for who should use it.

What you install, and what is not signed

Packaging is broad. On Windows there is an installer, ARM64 and 32-bit builds, a portable zip, and WinGet: winget install bherbruck.SolidCraft. On macOS it is a disk image for Apple silicon and Intel. On Linux you get an AppImage, .deb, .rpm, Flatpak, or sudo snap install solidcraft, with ARM64 builds of the AppImage, .deb and .rpm. There is also a browser version with no install.

The downloads are not signed yet. On Windows, SmartScreen will warn and you have to choose More info, then Run anyway. On macOS you right-click SolidCraft in Applications and choose Open the first time. Checksums are on the releases page. For anything going onto managed machines, the unsigned state is the first thing your IT policy will object to, so check it before you promise a rollout.

Why the timeline matters for agents

SolidCraft's features live on a parametric timeline: extrude, revolve, sweep, loft, fillet/chamfer, shell, draft, holes, threads, patterns, mirror, split, combine, move and construction geometry. The timeline rebuilds incrementally, and features can be edited, suppressed, renamed, reordered and deleted. Those operations are what make an agent's work reviewable, because each step is an object a person can open and change.

The README's showcase is SELENE, a scientific rover built entirely through the MCP server by @0xlillith. It is described as 3,323 editable timeline steps that rebuild with no errors, and the editable model is available to download. That is a demonstration that long agent-driven sessions can stay consistent, not a benchmark. Before designing a workflow around it, read the developer guide in the SolidCraft book and confirm the MCP tool names and how an agent authenticates and sequences calls.

The sketch solver

The constraint solver is the project's own, and the README describes a two-stage design. Points that the constraints fix relative to known geometry are placed exactly by construction, using loci intersections and rigid-cluster decomposition, citing Owen 1991 and Fudos-Hoffmann 1997. Whatever remains goes to Levenberg-Marquardt, and the rank of its Jacobian gives the remaining degrees of freedom.

The practical consequences are visible in the interface:

  • Over-constraining edits are rejected rather than silently producing a conflicting sketch.
  • Fully constrained geometry turns black, so you can see what is still free.
  • Dragging solves the sketch every frame, but the model rebuilds only once, when the drag ends.
  • Typing a dimension on a selected line and pressing Enter commits as one undo step.

The constraint set is wide: coincident, point on curve, horizontal/vertical, parallel, perpendicular, tangent, curvature (G2), equal, concentric, collinear, midpoint, symmetry and fix, plus linear, aligned, radius, diameter, angle, arc sweep, arc length and slot length dimensions. Rejecting over-constraint up front is the behaviour that saves you from the worst kind of sketch bug, where a model rebuilds but one dimension is quietly ignored.

Parameters, expressions and configurations

Dimensions are driven by parameters with unit-aware expressions, and the README gives 2 * width + 5 mm and angle / 2 as examples. Configurations add ordered rules, feature suppression and per-row body materials and appearances. That is the part that turns one model into a family of parts.

The Raspberry Pi 4 case in the README shows the loop. The design starts from an empty file with a sketch dimensioned from the board's parameters. Then come extrude, fillet and shell, with the rim rounded in one pick. An M2.5 standoff is patterned on the 58 × 49 mm hole rectangle, followed by port cut-outs, vent slots and 'Pi 4' engraved in DejaVu Sans Bold. A PETG material is defined in the design, with its mass shown in Properties. Changing height from 24 to 32 mm in Parameters rebuilds the whole thing. For an agent, the useful consequence is that a request like 'make it 8 mm taller' maps to one parameter edit rather than a regeneration.

Profiles, face attachments and repair

Sketches can sit on origin planes, offset planes or planar faces and support lines, rectangles, circles, arcs, polygons, slots, ellipses, fit and control splines, conics and text. Profiles are found automatically, including regions split by lines and holes inside outlines.

The fragile part of any parametric system is what happens when upstream geometry changes under a sketch attached to a face. SolidCraft's answer is that new face attachments retain supported construction identities and chosen occurrences, and when a source goes missing, an explicit plane repair workflow is exposed. Associative offsets keep their identity in supported cases, and linked extrusions follow the current boundary. Breaking the association freezes the boundary and leaves existing extrusions usable. The README is also explicit about the limits: partial or ambiguous boundaries do not qualify for retained source identities.

Assemblies and output

Beyond single parts, the README lists assemblies with nested components and occurrences, joints, motion studies, contact sets, interference checks and material-aware mass properties. Recorded body transfers preserve modelling history and world placement.

For drawings there is current-view DXF export under File, Export Current View as DXF. Hidden edges can be omitted or dashed, and the export includes shown body placements and the current camera. That is a view export, not a full drawing environment, so do not read it as a replacement for a drawing workflow with annotations and sheets.

How much to trust the geometry

The status line is blunt: early but usable for simple parts. The evidence offered is that 75 of 76 public reference parts match their analytic or FreeCAD-computed volume, area, centre of mass and bounding box, as documented in docs/oracle.md. The remaining one is a tracked bug.

The README then qualifies its own number: these checks do not establish complete geometric or workflow equivalence. That is the correct reading. Matching volume, area, centre of mass and bounding box catches gross kernel errors, but it will not catch a bad face, a fillet that fails on a different part, or a boolean that behaves badly at a tangent edge. Run your own parts through the same comparison before trusting it with anything you will manufacture.

Where it does not fit

Treat SolidCraft as a project to evaluate, not a drop-in replacement for an established CAD package. The maintainers call it early and usable for simple parts, and they say the oracle checks do not prove complete equivalence. Supported geometry and current limitations live in ROADMAP.md, and known bugs are in GitHub issues; read both before committing a real project to it.

Other things to weigh:

  • The unsigned installers will not pass a strict corporate software policy as they stand.
  • Files, assemblies and workflows you already have elsewhere will need migration work, so check which import formats are supported first.
  • Agent-driven modelling gives you an editable history, but a 3,000-step timeline is still something a human has to review. The README shows that it can be built, not that it will be easy to maintain.
  • If you need a vendor, a support contract or certified output today, an open source project with a Discord and a contributing guide is a different arrangement.

Where it does fit is experimentation: a hackable parametric CAD whose solver and feature history you can read, and an agent interface that works on the same timeline a human edits.

  • #MCP server
  • #Open Source
  • #Rust
  • #SolidCraft
  • #constraint solver
  • #parametric CAD

Comments

Add a comment
Sign in with Google to join the conversation