pub struct HoleArgs {
pub face: Option<PlaneRef>,
pub points: Vec<HoleCentre>,
pub kind: HoleKind,
pub standard: Standard,
pub end: Extent,
pub drill_point: bool,
pub thread_length: Option<f64>,
}Fields§
§face: Option<PlaneRef>The planar face to drill into; none, for a step that has not picked it.
points: Vec<HoleCentre>Where the holes go.
kind: HoleKind§standard: Standard§end: ExtentHow deep: blind, measured from the face to the end of the drill’s full diameter; up to where it comes out of the solid again; or through all of it.
drill_point: boolA blind hole ends in a drill’s 118° point rather than flat.
thread_length: Option<f64>How far a tapped hole is threaded from the face: all the way, if none.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HoleArgs
impl<'de> Deserialize<'de> for HoleArgs
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 StepArgs for HoleArgs
impl StepArgs for HoleArgs
Source§const KIND: &'static str = <Hole as ::geop_core_editor::part_operation::PartOperation>::KIND
const KIND: &'static str = <Hole as ::geop_core_editor::part_operation::PartOperation>::KIND
The kind of the operation they are for (see
Operation::KIND).impl StructuralPartialEq for HoleArgs
Auto Trait Implementations§
impl Freeze for HoleArgs
impl RefUnwindSafe for HoleArgs
impl Send for HoleArgs
impl Sync for HoleArgs
impl Unpin for HoleArgs
impl UnsafeUnpin for HoleArgs
impl UnwindSafe for HoleArgs
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