pub struct Depths {
pub top: Option<f64>,
pub bottom: Option<f64>,
pub step_down: f64,
pub finishing_step_down: f64,
pub finishing_passes: u32,
pub depth_first: bool,
}Expand description
Depth control shared by 2.5D and roughing strategies. Heights are MACHINE Z
unless relative_to_stock is set.
Fields§
§top: Option<f64>Top of cut (None: stock top).
bottom: Option<f64>Bottom of cut (None: model bottom / selected floor).
step_down: f64Maximum roughing step-down (0: one depth).
finishing_step_down: f64Finishing step-down applied to the last finishing_passes depths.
finishing_passes: u32§depth_first: boolOrder: every depth of one region before moving on (true) or every
region at one depth before the next depth (false).
Implementations§
Trait Implementations§
impl Copy for Depths
Source§impl<'de> Deserialize<'de> for Depths
impl<'de> Deserialize<'de> for Depths
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 Depths
Auto Trait Implementations§
impl Forget for Depths
impl Freeze for Depths
impl Move for Depths
impl RefUnwindSafe for Depths
impl Send for Depths
impl Sync for Depths
impl Unpin for Depths
impl UnsafeUnpin for Depths
impl UnwindSafe for Depths
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