pub struct StepSource {
pub file: Arc<StepFile>,
pub unit_mm: f64,
pub shells: Vec<(u64, [[f64; 4]; 3])>,
}Expand description
品の STEP(crate::detail::Detail::step)
Fields§
§file: Arc<StepFile>読んだ STEP(殻から辿れる実体だけ。StepFile::subset)。部品ごとに読み直さない
unit_mm: f64長さの単位の倍率(mm へ)
shells: Vec<(u64, [[f64; 4]; 3])>殻の実体の番号と、STEP の座標から部品の座標 [mm] への変換(3 行 4 列、回転 × 単位の倍率と移動)
Trait Implementations§
Source§impl Clone for StepSource
impl Clone for StepSource
Auto Trait Implementations§
impl Freeze for StepSource
impl RefUnwindSafe for StepSource
impl Send for StepSource
impl Sync for StepSource
impl Unpin for StepSource
impl UnsafeUnpin for StepSource
impl UnwindSafe for StepSource
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