pub struct ThreeMfBambuReport {
pub objects: usize,
pub parts: usize,
pub triangles: usize,
pub vertices: usize,
pub degenerate_triangles: usize,
pub materials: usize,
pub first_filament: usize,
pub filaments: usize,
pub painted_triangles: usize,
pub unassigned_colors: usize,
pub bytes: usize,
}Expand description
What one Bambu-shaped package contains.
Fields§
§objects: usizeMultipart objects: groups of touching solids, one <build> item each.
parts: usizeParts: solids that kept at least one triangle.
triangles: usizeTriangles written, across every part.
vertices: usizeVertices written after welding, across every part.
degenerate_triangles: usizeTriangles dropped because welding collapsed two of their corners.
materials: usizeDistinct colours, as <base> entries.
first_filament: usizeThe filament number the first colour takes: 1 when every triangle is coloured, else 2, with filament 1 kept for the uncoloured triangles.
filaments: usizeDistinct filament numbers used, by parts or by painting.
painted_triangles: usizeTriangles painted because their filament differs from their part’s.
unassigned_colors: usizeDistinct colours past the filament limit, written as base materials only. A part in one of them prints with filament 1.
bytes: usizeTotal package length in bytes.
Trait Implementations§
Source§impl Clone for ThreeMfBambuReport
impl Clone for ThreeMfBambuReport
impl Copy for ThreeMfBambuReport
Source§impl Debug for ThreeMfBambuReport
impl Debug for ThreeMfBambuReport
Source§impl Default for ThreeMfBambuReport
impl Default for ThreeMfBambuReport
impl Eq for ThreeMfBambuReport
Source§impl PartialEq for ThreeMfBambuReport
impl PartialEq for ThreeMfBambuReport
impl StructuralPartialEq for ThreeMfBambuReport
Auto Trait Implementations§
impl Forget for ThreeMfBambuReport
impl Freeze for ThreeMfBambuReport
impl Move for ThreeMfBambuReport
impl RefUnwindSafe for ThreeMfBambuReport
impl Send for ThreeMfBambuReport
impl Sync for ThreeMfBambuReport
impl Unpin for ThreeMfBambuReport
impl UnsafeUnpin for ThreeMfBambuReport
impl UnwindSafe for ThreeMfBambuReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.