pub struct Operation {Show 16 fields
pub id: OperationId,
pub name: String,
pub setup: SetupId,
pub tool: ToolId,
pub enabled: bool,
pub targets: TargetSelection,
pub strategy: Strategy,
pub tolerance: f64,
pub stock_to_leave: StockToLeave,
pub feeds: Option<FeedsSpeeds>,
pub heights: Option<Heights>,
pub linking: LinkingParams,
pub tool_axis: Option<Point3>,
pub live_tool: Option<bool>,
pub post_properties: BTreeMap<String, String>,
pub polish: PolishParams,
}Expand description
One machining operation inside a setup.
Fields§
§id: OperationId§name: String§setup: SetupId§tool: ToolId§enabled: boolDisabled operations are kept but neither generated nor posted.
targets: TargetSelection§strategy: Strategy§tolerance: f64Machining tolerance (chordal deviation of the path from the exact surface).
stock_to_leave: StockToLeave§feeds: Option<FeedsSpeeds>Overrides the tool’s defaults when set.
heights: Option<Heights>Overrides the setup’s heights when set.
linking: LinkingParams§tool_axis: Option<Point3>Fixed tool orientation for 3+2 work, in SETUP machine coordinates (None: +Z).
live_tool: Option<bool>None selects live tooling automatically for milling on a mill-turn machine.
post_properties: BTreeMap<String, String>Post-processor properties specific to this operation (free-form, ordered).
polish: PolishParamsFeed optimisation and smoothing applied after generation (lane C18); off by default.
Implementations§
Source§impl Operation
impl Operation
Sourcepub const ENUM_CHOICES: &'static [EnumChoice]
pub const ENUM_CHOICES: &'static [EnumChoice]
Enum-valued fields of an operation’s JSON outside strategy.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Operation
impl<'de> Deserialize<'de> for Operation
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 Operation
Auto Trait Implementations§
impl Forget for Operation
impl Freeze for Operation
impl Move for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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