pub struct MeshSolidResult {
pub brep_blob: Vec<u8>,
pub face_colors: Vec<[f32; 3]>,
pub mesh: TriMesh,
pub bounds_mm: Option<([f32; 3], [f32; 3])>,
pub health: ShapeHealth,
pub closed: bool,
pub summary: Vec<String>,
}Expand description
A mesh body turned into a B-rep by the kernel: the shape, its mesh, the checker’s verdict, and what the conversion found.
Fields§
§brep_blob: Vec<u8>Native-format snapshot of the shape.
face_colors: Vec<[f32; 3]>Per-face colours in the shape’s face order: the mesh’s colour on every face when it had one colour, else empty.
mesh: TriMeshRender mesh of the shape, with its kernel faces and edges.
bounds_mm: Option<([f32; 3], [f32; 3])>Axis-aligned bounds in millimetres.
health: ShapeHealthThe checker’s findings on the shape.
closed: boolEvery piece of the mesh closed and became a solid; otherwise the shape is the open shell(s) the mesh makes.
summary: Vec<String>What the conversion did and where the mesh does not close, a phrase each (“12 triangles into 6 faces”, “3 hole edges”).
Trait Implementations§
Source§impl Clone for MeshSolidResult
impl Clone for MeshSolidResult
Source§impl Debug for MeshSolidResult
impl Debug for MeshSolidResult
Auto Trait Implementations§
impl Freeze for MeshSolidResult
impl RefUnwindSafe for MeshSolidResult
impl Send for MeshSolidResult
impl Sync for MeshSolidResult
impl Unpin for MeshSolidResult
impl UnsafeUnpin for MeshSolidResult
impl UnwindSafe for MeshSolidResult
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