pub struct OptionsStep {
pub profile_segments: usize,
pub profile_tol: f64,
pub mech_detail: Option<Details>,
}Fields§
§profile_segments: usize非球面の断面を補間する区間の数の最小(トロイダル面の網の細かさにも使う)
profile_tol: f64非球面の断面の補間の許容差 mm: 区間の中点で補間の曲線と面のサグの差がこれ以下になるまで区間を倍にする
(上限 MAX_PROFILE_SEGMENTS 区間)
mech_detail: Option<Details>機構部品を、取った品の STEP の立体で書くときの読み手(crate::detail。None・無い部品は簡易外形)
Trait Implementations§
Source§impl Clone for OptionsStep
impl Clone for OptionsStep
Source§impl Debug for OptionsStep
impl Debug for OptionsStep
Auto Trait Implementations§
impl !RefUnwindSafe for OptionsStep
impl !UnwindSafe for OptionsStep
impl Freeze for OptionsStep
impl Send for OptionsStep
impl Sync for OptionsStep
impl Unpin for OptionsStep
impl UnsafeUnpin for OptionsStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more