pub struct SolidBuildResult {
pub brep_blob: Vec<u8>,
pub mesh: TriMesh,
pub bounds_mm: Option<([f32; 3], [f32; 3])>,
pub preview: Option<Box<FeaturePreview>>,
pub probes: Vec<Result<ProbeAnswer, String>>,
pub projections: Vec<Result<Vec<ProjectedEdge>, String>>,
pub warnings: Vec<OpWarning>,
pub probe_warnings: Vec<OpWarning>,
pub projection_warnings: Vec<OpWarning>,
}Expand description
Result of executing a body’s solid-op chain.
Fields§
§brep_blob: Vec<u8>Native-format shape snapshot of the final solid (for later re-tessellation, persistence, and downstream booleans).
mesh: TriMeshRender mesh of the final solid.
bounds_mm: Option<([f32; 3], [f32; 3])>Axis-aligned bounds in millimetres.
preview: Option<Box<FeaturePreview>>What the feature being edited does, when the build was asked for it.
probes: Vec<Result<ProbeAnswer, String>>The answers to the chain’s probes, in the order they were asked.
projections: Vec<Result<Vec<ProjectedEdge>, String>>The curves the chain’s projections came to, in the order they were asked.
warnings: Vec<OpWarning>What an op built but should be told: a reference whose name was lost, found again by where it was picked. In op order.
probe_warnings: Vec<OpWarning>The same for the probes, by their order in probes: a face or edge
found by where it was picked after its name was lost.
projection_warnings: Vec<OpWarning>The same for the projections, by their order in projections.
Trait Implementations§
Source§impl Clone for SolidBuildResult
impl Clone for SolidBuildResult
Source§impl Debug for SolidBuildResult
impl Debug for SolidBuildResult
Source§impl Default for SolidBuildResult
impl Default for SolidBuildResult
Source§impl<'de> Deserialize<'de> for SolidBuildResult
impl<'de> Deserialize<'de> for SolidBuildResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for SolidBuildResult
impl Freeze for SolidBuildResult
impl Move for SolidBuildResult
impl RefUnwindSafe for SolidBuildResult
impl Send for SolidBuildResult
impl Sync for SolidBuildResult
impl Unpin for SolidBuildResult
impl UnsafeUnpin for SolidBuildResult
impl UnwindSafe for SolidBuildResult
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