Measure a model
measureExact volume, surface area, centre of mass and connected-body count, plus an estimate of the filament a print would consume and what it would cost. Use it to answer "how heavy / how much material / how much filament / how much will this cost" — nothing else reports those, and they cannot be derived from a bounding box. Also checks a model is ONE body — two bodies where you expected one means operands that never touched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scad | No | OpenSCAD source, as an alternative to `nodes` (supply exactly one). Interpreted by the same engine the editor’s .scad import uses; BOSL2/MCAD includes resolve. minkowski() and resize() are not supported here — use hull() or offset(). | |
| nodes | No | Parametric node tree. mm, Z-up, rotations in DEGREES (a rotation.* binding: radians). Read owlcad://schema/primitives for every primitive, modifier and generator and its parameter ranges (unknown params are dropped silently), and owlcad://schema/conventions for the placement arithmetic, which is where most models go wrong. | |
| infill | No | Infill density 0–1 (default 0.15). | |
| shellMm | No | Solid skin thickness in mm (default 1.2). | |
| projectId | No | Id of one of your saved projects, as an alternative to `nodes`/`scad` (supply exactly one). | |
| materialId | No | Filament to cost it against (default "pla"). Ids come from the owlcad://materials resource. | |
| smoothness | No | Curve quality for shapes that left their segment count automatic. Defaults to "standard", which is the editor default — pass "high" to match a project authored at high smoothness, "draft" for a cheaper check. |