Skip to main content

transform_passes

Function transform_passes 

Source
pub fn transform_passes(
    path: &Toolpath,
    placement: &Placement,
    chord: f64,
    runner: &mut Runner<'_>,
) -> Result<Vec<Pass>, CamError>
Expand description

Extract CUT geometry only, discard old leads/links and re-link later. Every reflected pass reverses traversal, retaining the source material side. Arcs become bounded chords before reflection; therefore reflected arc sense and traversal reversal are both represented in the resulting ordered points. Cycles, multi-axis/lathe/manual/control motions refuse rather than disappear.