Parametric Modeling

Write code, see 3D models update in real time. Extract any variable into an interactive slider.

Parametric Modeling

Code-Driven Design

daz-cad uses a JavaScript API inspired by CadQuery. You write code that describes your 3D model, and the live preview updates instantly as you type. No clicking through menus or dragging handles — just clean, readable code that produces precise geometry.

// A simple parametric box with rounded edges
const width = 40;    // slider: 10..100
const height = 20;   // slider: 5..50
const radius = 3;    // slider: 0..10

let result = box(width, width, height)
    .edges("|Z").fillet(radius);

Interactive Sliders

Any variable with a // slider: min..max comment is automatically extracted into an interactive slider in the properties panel. Drag the slider and watch your model update in real time — perfect for dialing in dimensions.

Monaco Editor

The built-in code editor is powered by Monaco — the same editor engine behind VS Code. You get syntax highlighting, autocomplete, error checking, and all the editing features you'd expect from a professional IDE.

Try Parametric Modeling in the browser editor

Open Editor