New Voxels, BREP solids & image relief

Describe a part.
Get a printable model.

A browser-native parametric CAD studio with a programmatic API built for AI agents. Write JavaScript or OpenSCAD, watch it render live, export print-ready GLB / STL / OBJ / 3MF. No signup, no installs.

0 installs 4 engines 100% in-browser GLB · STL · 3MF export
partwright · mounting-bracket
// parametric bracket
const { Manifold } = api;

const base = Manifold.cube([40,30,4], true);
const wall = Manifold.cube([40,4,24])
  .translate([0,13,12]);
const bore = Manifold.cylinder(10,4,4,48);

return base.add(wall)
  .subtract(bore.translate([0,0,4]));
Ready · 1 component

How it works

01

Write or prompt

Type code in the editor, or let an AI agent drive it. Both engines (manifold-js, OpenSCAD) work the same way.

02

Render live

Geometry compiles in WebAssembly and renders in a Three.js viewport with cross-sections and on-demand multi-angle snapshots.

03

Verify & export

Sessions track every iteration with thumbnails and stats. Export GLB, STL, OBJ, or 3MF when ready.

What you can build

Browse the full catalog →

Built for AI agents

Hand the keyboard to your agent.

Most CAD tools assume a human at the mouse. Partwright is built around a programmatic API so an agent can model, verify, iterate, and hand you a gallery for review — no clicks required.

  • window.partwright console API for sessions, runs, validation, exports
  • Geometry stats published as JSON in #geometry-data for verification
  • Headless renderViews/renderView API for all-angle visual verification
  • Session notes record [REQUIREMENT], [DECISION], [FEEDBACK] for resume
Read the agent instructions →
Try this prompt with Claude / ChatGPT
Read the AI agent instructions at https://www.partwrightstudio.com/ai.md to understand how to use this tool.

Then navigate to https://www.partwrightstudio.com/editor and use the window.partwright console API to:

1. Create a session called "Standard Lego Brick"
2. Build a standard 2x4 Lego brick (approximately 31.8mm x 15.8mm x 11.4mm with studs on top and hollow underside with tubes)
3. Save each major step as a version (e.g. v1 - base block, v2 - add studs, v3 - hollow underside with tubes)
4. Use assertions to verify each version is a valid manifold with maxComponents: 1
5. Give me a share link (partwright.getShareLink()) when done so I can open the design

Your recent sessions

Built on open foundations

manifold-3d Three.js CodeMirror OpenSCAD WASM Cloudflare Pages

No backend, no analytics, no outbound network requests. Everything runs in your browser, and you can verify the source on GitHub.