cad
parametric cad, in your drive, with an agent-native sdk. thats vibeCAD.
parts
a part is a .part.md file with typed frontmatter + a geometry body written in jsx-like sdk calls. example:
---
kind: part
name: motor-bracket
material: aluminum-6061
---
# motor bracket
<Part>
<Extrude profile={Rectangle({ w: 80, h: 40 })} depth={6} />
<Hole pos={[20, 20, 0]} diameter={5} depth={6} />
<Fillet edges="all" radius={2} />
</Part>
that compiles to a b-rep (opencascade under the hood) and you get a real 3d preview in the editor.
constraints
the sdk is declarative. you can reference values from the frontmatter or other files:
<Extrude
profile={Rectangle({ w: params.w, h: params.h })}
depth={params.thickness}
/>
change params.w and the whole part rebuilds. change it in an agent, same thing. this is the unlock — agents can drive parametric cad because its just typed code.
import / export
- import: drag in a .step, .stl, .iges, .dxf file. we convert to a
.part.mdwrapper that references the imported geometry. - export:
part → exportor via agent withcad.export(part, 'step').
simulation
vibeSIM runs embedded in the editor. click simulate on a part and pick a physics domain. for full closed-loop training see agents → scheduling and the memo on the landing page.
limits
current kernel is opencascade via wasm. reliable for most mechanical work. very large assemblies (>500 parts) are supported but slower than native tools. we are actively improving perf fr.