pub struct OperationRule {Show 16 fields
pub name: String,
pub strategy: String,
pub role: String,
pub tool: ToolRule,
pub stepover: f64,
pub step_down: f64,
pub stock_to_leave: StockToLeave,
pub finishing_passes: u32,
pub roughing_passes: u32,
pub lead: f64,
pub ramp: RampKind,
pub extension: f64,
pub zig_zag: bool,
pub tip_offset: f64,
pub break_through: f64,
pub tolerance: f64,
}Fields§
§name: String§strategy: StringStrategy kind name: face, pocket2D, contour2D, slot,
chamfer2D, drill.
role: Stringface, rough, finish, drill, chamfer (orders the program).
tool: ToolRule§stepover: f64Stepover as a fraction of the tool diameter.
step_down: f64Step down as a fraction of the tool diameter (0: one level).
stock_to_leave: StockToLeave§finishing_passes: u32§roughing_passes: u32§lead: f64Lead arc radius as a fraction of the tool diameter (0: none).
ramp: RampKind§extension: f64Facing: extension past the stock, zig-zag.
zig_zag: bool§tip_offset: f64Chamfer tip offset below the chamfer’s lower edge.
break_through: f64Extra outside-profile depth when the part reaches the stock bottom.
tolerance: f64Trait Implementations§
Source§impl Clone for OperationRule
impl Clone for OperationRule
Source§impl Debug for OperationRule
impl Debug for OperationRule
Source§impl<'de> Deserialize<'de> for OperationRule
impl<'de> Deserialize<'de> for OperationRule
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 OperationRule
impl PartialEq for OperationRule
Source§impl Serialize for OperationRule
impl Serialize for OperationRule
impl StructuralPartialEq for OperationRule
Auto Trait Implementations§
impl Forget for OperationRule
impl Freeze for OperationRule
impl Move for OperationRule
impl RefUnwindSafe for OperationRule
impl Send for OperationRule
impl Sync for OperationRule
impl Unpin for OperationRule
impl UnsafeUnpin for OperationRule
impl UnwindSafe for OperationRule
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