Exact B-Rep, not triangles
Shapes are mathematical boundaries — faces, edges, vertices — so booleans are precise, measurements are real, and you can export to STEP.
Exact B-Rep geometry, type-safe at compile time, browser-native via WASM.
import { box, cut, cylinder, fillet, edgeFinder, exportSTEP, unwrap } from 'brepjs/quick';
const drilled = unwrap(cut(box(30, 20, 10), cylinder(5, 15, { at: [15, 10, -2] })));
const part = unwrap(fillet(drilled, edgeFinder().inDirection('Z').findAll(drilled), 1.5));
const step = unwrap(exportSTEP(part));Drill a hole, fillet the vertical edges, export to STEP. The full code-CAD loop in five lines. Want to see it run? Hover the snippet above and click Open in Playground.