Skip to main content

flat_mill_region_prisms

Function flat_mill_region_prisms 

Source
pub fn flat_mill_region_prisms(
    moves: &[MillMove],
    radius: f64,
    bottom: f64,
    top: f64,
) -> Result<Vec<BrepSolid>, KernelRefusal>
Expand description

The region an upright flat-bottomed cutter of radius covers as its axis runs moves (all at one level), extruded from bottom to top: one prism for each connected part of the region (its holes through it). The moves’ order does not matter.