Skip to main content

sweep_solid_parts

Function sweep_solid_parts 

Source
pub fn sweep_solid_parts(
    tool: &SolidTool,
    motion: &SolidMotion,
) -> Result<Vec<BrepSolid>, KernelRefusal>
Expand description

The sweep of tool along motion as parts whose union it is (a caller cuts a workpiece by all of them). One part where the whole sweep passes once. A convex polyhedron whose sweep folds over itself (a face facing away from a screw’s or turn’s axis grazes along a line inside it, and the faces beyond that line are swept over again) is split by the plane through the axis and that line: each half grazes that face only along its cut edge, and is swept whole. The halves’ walls share cylinders about the axis.