#[non_exhaustive]pub enum MachineKind {
Mill3,
Mill4 {
rotary: RotaryAxis,
},
Mill5 {
kinematics: Kinematics,
},
Lathe,
MillTurn {
c_axis: RotaryAxis,
y_axis: bool,
},
}Expand description
Machine family and, for multi-axis mills, the rotary arrangement.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Mill3
Three linear axes.
Mill4
Three linear axes plus one rotary (wrap/indexing).
Fields
§
rotary: RotaryAxisMill5
Five-axis mill with the given kinematic arrangement.
Fields
§
kinematics: KinematicsLathe
Two-axis lathe (X/Z), optional C and live tooling later.
MillTurn
Lathe with a C axis (and optionally Y) for live-tool milling (lane C11b).
c_axis must be named C, point along +Z and sit on the spindle axis.
Trait Implementations§
Source§impl Clone for MachineKind
impl Clone for MachineKind
Source§impl Debug for MachineKind
impl Debug for MachineKind
Source§impl Default for MachineKind
impl Default for MachineKind
Source§impl<'de> Deserialize<'de> for MachineKind
impl<'de> Deserialize<'de> for MachineKind
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
Source§impl PartialEq for MachineKind
impl PartialEq for MachineKind
Source§impl Serialize for MachineKind
impl Serialize for MachineKind
impl StructuralPartialEq for MachineKind
Auto Trait Implementations§
impl Forget for MachineKind
impl Freeze for MachineKind
impl RefUnwindSafe for MachineKind
impl Send for MachineKind
impl Sync for MachineKind
impl Unpin for MachineKind
impl UnsafeUnpin for MachineKind
impl UnwindSafe for MachineKind
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