Loböle

Parametric CAD that scripts and agents drive like you do.

Loböle models solids on OpenCASCADE, assembles them, draws them, runs FEM on them and posts G-code for them. The GUI, Python scripts and AI agents all go through one command layer, so anything you can click can also be scripted.

# let an agent use it
uv tool install lobole
claude mcp add lobole -- lobole-mcp
An OM615 diesel engine modelled in Loböle, with its injection pump

An OM615 diesel, every part down to the bearing shells, built by an agent with Opus 5.5.

One command layer for the GUI, scripts and agents

Every GUI command is reachable over JSON-RPC, the Python SDK or the MCP server. A terminal panel runs an agent inside the window, next to the viewport it is editing.

MCP server · Python SDK · JSON-RPC

# headless, no GPU
docker run --rm -p 8437:8437 \
  ghcr.io/eliasaronson/lobole-headless

lobole-remote 8437 add_feature \
  '{"feature": {"type": "Box",
    "name": "Box 1", "on": "Top",
    "width": 2, "depth": 2, "height": 2}}'

What is in it

Version 0.3. Expect rough edges, and issues are welcome.

Parametric modeling
A constraint sketcher, features that survive upstream edits (stable topological naming), variables and expressions, configurations, sheet metal and bent tube.
Assemblies
Mates, sub-assemblies, motion studies with clash checks, exploded views, a BOM and standard fasteners.
Drawings
Sheets with projected views, dimensions and tables, out to SVG and PDF.
Simulation
Static and modal FEM, and topology optimization, on the part itself.
Manufacturing
2.5D, 3-axis and 4th-axis milling posted for Mach3, LinuxCNC or GRBL, each file verified by simulating it. Checks for 3D printing.
Versioning
History, named versions, branches and merges, backed by git.
Interchange
STEP, IGES, STL, OBJ, PLY, glTF and BREP in. STEP, STL, BREP, glTF, OBJ, PLY, DXF, SVG and PDF out.

CAM has cut real parts on one machine only, a 6090 CNC router on Mach3. Simulate and dry-run every file before cutting.

Install

Pick your system. Builds are on the v0.3.0 release.

All downloads · Build from source · Documentation