pub struct ParasolidImportReport {
pub solids: Vec<BrepSolid>,
pub names: Vec<String>,
pub appearances: Vec<BodyAppearance>,
pub application: Option<String>,
pub modeller_version: String,
pub stated_resolution_mm: Option<f64>,
pub fitted_curves: usize,
pub unverified_curves: usize,
pub diagnostics: KernelDiagnostics,
}Expand description
What import_parasolid_report returns.
Fields§
§solids: Vec<BrepSolid>The solids, in file order.
names: Vec<String>Each solid’s name (the body’s name attribute), parallel to solids;
empty when the file gives none.
appearances: Vec<BodyAppearance>Each solid’s colours, parallel to solids.
application: Option<String>The writer (APPL in the header) and kernel version.
modeller_version: String§stated_resolution_mm: Option<f64>The file’s linear resolution in mm (the body’s res_linear).
fitted_curves: usizeEdges whose 3D curve was fitted (intersection curves and SP-curves, which STEP has no entity for).
unverified_curves: usizeOf those, the intersection curves fitted through their chart alone where no point between chart points could be solved (a surface with no distance the reader computes, such as a blend boundary, or a tangency): their fit is not checked against the true curve.
diagnostics: KernelDiagnosticsMeasurements and warnings from the STEP lane, merged over every body.
Trait Implementations§
Source§impl Clone for ParasolidImportReport
impl Clone for ParasolidImportReport
Auto Trait Implementations§
impl !RefUnwindSafe for ParasolidImportReport
impl !Sync for ParasolidImportReport
impl Forget for ParasolidImportReport
impl Freeze for ParasolidImportReportwhere
*const u8 is !null: Freeze,
PhantomData<BrepSolid>: Freeze,
PhantomData<String>: Freeze,
PhantomData<BodyAppearance>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<DiagnosticEvent>: Freeze,
*const LeafNode<String, u64> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, u64)>>: Freeze,
*const LeafNode<String, f64> is !null: Freeze,
PhantomData<Box<(String, f64)>>: Freeze,
impl Move for ParasolidImportReport
impl Send for ParasolidImportReportwhere
RawVecInner: Send,
Cell<Option<(FaceSetIdentity, MassProperties)>>: Send,
Cell<bool>: Send,
BoxRaw<[(f64, Vec3)]>: Send,
BoxRaw<[SeedBlock]>: Send,
Arc<[f64]>: Send,
Arc<[Vec3]>: Send,
Arc<[CellBox]>: Send,
Arc<[CellTreeNode]>: Send,
Arc<Mutex<HashMap<(u32, u32), Vec3, FxBuildHasher>>>: Send,
Arc<Mutex<HashMap<usize, Option<CellBox>, FxBuildHasher>>>: Send,
Arc<SurfacePatches>: Send,
NodeRef<Owned, String, u64, LeafOrInternal>: Send,
BoxRaw<(String, u64)>: Send,
NodeRef<Owned, String, f64, LeafOrInternal>: Send,
BoxRaw<(String, f64)>: Send,
impl Unpin for ParasolidImportReportwhere
*const u8 is !null: Unpin,
Box<[(f64, Vec3)]>: Unpin,
Box<[SeedBlock]>: Unpin,
Arc<[f64]>: Unpin,
Arc<[Vec3]>: Unpin,
Arc<[CellBox]>: Unpin,
Arc<[CellTreeNode]>: Unpin,
Arc<Mutex<HashMap<(u32, u32), Vec3, FxBuildHasher>>>: Unpin,
Arc<Mutex<HashMap<usize, Option<CellBox>, FxBuildHasher>>>: Unpin,
Arc<SurfacePatches>: Unpin,
*const LeafNode<String, u64> is !null: Unpin,
Box<(String, u64)>: Unpin,
*const LeafNode<String, f64> is !null: Unpin,
Box<(String, f64)>: Unpin,
impl UnsafeUnpin for ParasolidImportReportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<BrepSolid>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<BodyAppearance>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DiagnosticEvent>: UnsafeUnpin,
*const LeafNode<String, u64> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, u64)>>: UnsafeUnpin,
*const LeafNode<String, f64> is !null: UnsafeUnpin,
PhantomData<Box<(String, f64)>>: UnsafeUnpin,
impl UnwindSafe for ParasolidImportReportwhere
RawVecInner: UnwindSafe,
BoxRaw<[(f64, Vec3)]>: UnwindSafe,
BoxRaw<[SeedBlock]>: UnwindSafe,
Arc<[f64]>: UnwindSafe,
Arc<[Vec3]>: UnwindSafe,
Arc<[CellBox]>: UnwindSafe,
Arc<[CellTreeNode]>: UnwindSafe,
Arc<Mutex<HashMap<(u32, u32), Vec3, FxBuildHasher>>>: UnwindSafe,
Arc<Mutex<HashMap<usize, Option<CellBox>, FxBuildHasher>>>: UnwindSafe,
Arc<SurfacePatches>: UnwindSafe,
BTreeMap<String, u64>: UnwindSafe,
BTreeMap<String, f64>: UnwindSafe,
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