Skip to main content

volume

Function volume 

Source
pub fn volume(part: &NamedModel, solid: SolidId, resolution: usize) -> f64
Expand description

The volume solid of part encloses, from its mesh as drawn at resolution (see rasterize): negative if its faces point in. Its triangles’ corners are f32, as STL stores them: a test’s measuring stick, not a kernel comparison.