pub struct Machine {
pub id: MachineId,
pub name: String,
pub kind: MachineKind,
pub travel: Option<TravelLimits>,
pub spindle: SpindleLimits,
pub feed: FeedLimits,
pub post: Option<String>,
pub tool_change_seconds: f64,
pub collision: MachineModel,
}Expand description
A machine tool the setup is posted for.
Fields§
§id: MachineId§name: String§kind: MachineKind§travel: Option<TravelLimits>Linear travel limits in machine coordinates (None: unlimited).
spindle: SpindleLimits§feed: FeedLimits§post: Option<String>Identifier of the post-processor script this machine uses.
tool_change_seconds: f64Seconds a tool change takes, for cycle-time estimates.
collision: MachineModelCollision geometry: solids attached to the chain’s links (lane C10c/C17).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Machine
impl<'de> Deserialize<'de> for Machine
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 Machine
Auto Trait Implementations§
impl Forget for Machine
impl Freeze for Machine
impl RefUnwindSafe for Machine
impl Send for Machine
impl Sync for Machine
impl Unpin for Machine
impl UnsafeUnpin for Machine
impl UnwindSafe for Machine
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