Skip to main content

travel_lines

Function travel_lines 

Source
pub fn travel_lines(
    machine: &dyn Machine,
    pose: &[f64],
) -> Vec<(usize, Vec<[f64; 3]>)>
Expand description

Each axis’s travel as a line in the scene: where the tool goes (Machine::scene_point) as that axis alone runs from its min to its max with the others at pose. Axes that do not move the tool in the scene (no mapping, or less than a millimetre) and limits that are not numbers have none; the lines come with the index of their axis.