pub enum AxisMode {
Normal {
lead_deg: f64,
tilt_deg: f64,
},
Point {
point: Point3,
away: bool,
},
Line {
origin: Point3,
direction: Point3,
away: bool,
},
FixedFromVertical {
angle_deg: f64,
azimuth_deg: f64,
},
}Expand description
How a multi-axis finishing pass orients the tool axis at each contact
(lane C10b; the geometric evaluation lives in multiaxis::orientation).
Variants§
Normal
The surface normal rotated by lead_deg about the binormal (forward
positive) and tilt_deg about the tangent (left positive).
Point
Along the line from point through the contact (away: true) or the
reverse (the tool points at point).
Line
Perpendicular to the line through origin with direction, through
the contact point, away from (away: true) or toward the line.
FixedFromVertical
Constant: angle_deg from +Z toward the azimuth azimuth_deg (from +X).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AxisMode
impl<'de> Deserialize<'de> for AxisMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AxisMode
Auto Trait Implementations§
impl Forget for AxisMode
impl Freeze for AxisMode
impl Move for AxisMode
impl RefUnwindSafe for AxisMode
impl Send for AxisMode
impl Sync for AxisMode
impl Unpin for AxisMode
impl UnsafeUnpin for AxisMode
impl UnwindSafe for AxisMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more