pub struct TessellateFacesParameters {
pub faces: Vec<String>,
pub tessellation_type: Option<TessellationType>,
pub max_facet_width: Option<f64>,
pub allowed_facet_faults_level: Option<AllowedFacetFaultsLevel>,
}Expand description
Parameters for the tessellate faces query.
Tessellates a chosen set of faces: each face becomes its own STL file, named after the face id. A face listed more than once is tessellated only once.
Supported only for Parasolid models.
Fields§
§faces: Vec<String>Ids of the faces to tessellate, as entities returns them. Each face is
tessellated into its own STL file, named after the face id. A face
requested more than once is tessellated only once. Must not be empty
tessellation_type: Option<TessellationType>Defines the tessellation strategy. Defaults to chordTol when omitted
max_facet_width: Option<f64>Maximum facet width for tessellationType=maxFacetWidth. If omitted, it is derived from the size of the face
allowed_facet_faults_level: Option<AllowedFacetFaultsLevel>Level of faults allowed in the tessellation. Used in quality checks.
Defaults to mild when omitted
Trait Implementations§
Source§impl Clone for TessellateFacesParameters
impl Clone for TessellateFacesParameters
Source§impl Debug for TessellateFacesParameters
impl Debug for TessellateFacesParameters
Source§impl<'de> Deserialize<'de> for TessellateFacesParameters
impl<'de> Deserialize<'de> for TessellateFacesParameters
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 TessellateFacesParameters
impl Freeze for TessellateFacesParameters
impl RefUnwindSafe for TessellateFacesParameters
impl Send for TessellateFacesParameters
impl Sync for TessellateFacesParameters
impl Unpin for TessellateFacesParameters
impl UnsafeUnpin for TessellateFacesParameters
impl UnwindSafe for TessellateFacesParameters
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