pub struct Solid3dCutEdges {
pub object_id: Uuid,
pub edge_ids: Vec<Uuid>,
pub cut_type: CutTypeV2,
pub tolerance: LengthUnit,
pub strategy: CutStrategy,
pub extra_face_ids: Vec<Uuid>,
pub use_legacy: bool,
pub version: EdgeCutVersion,
}Expand description
Cut the list of given edges with the given cut parameters.
Fields§
§object_id: UuidWhich object is being cut.
edge_ids: Vec<Uuid>Which edges you want to cut.
cut_type: CutTypeV2The cut type and information required to perform the cut.
tolerance: LengthUnitThe maximum acceptable surface gap computed between the cut surfaces. Must be positive (i.e. greater than zero).
strategy: CutStrategyWhich cutting algorithm to use.
extra_face_ids: Vec<Uuid>What IDs should the resulting faces have?
If you’ve only passed one edge ID, its ID will
be the command ID used to send this command, and this
field should be empty.
If you’ve passed n IDs (to cut n edges), then
this should be length n-1, and the first edge will use
the command ID used to send this command.
use_legacy: boolIf true, use the legacy CSG algorithm.
version: EdgeCutVersionWhich version of the edge cut algorithm to use.
Implementations§
Source§impl Solid3dCutEdges
impl Solid3dCutEdges
Sourcepub fn builder() -> Solid3dCutEdgesBuilder
pub fn builder() -> Solid3dCutEdgesBuilder
Create an instance of Solid3dCutEdges using the builder syntax
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for Solid3dCutEdges
impl<'arbitrary> Arbitrary<'arbitrary> for Solid3dCutEdges
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Unstructured this type
needs to construct itself. Read moreSource§impl Clone for Solid3dCutEdges
impl Clone for Solid3dCutEdges
Source§fn clone(&self) -> Solid3dCutEdges
fn clone(&self) -> Solid3dCutEdges
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Solid3dCutEdges
impl Debug for Solid3dCutEdges
Source§impl<'de> Deserialize<'de> for Solid3dCutEdges
impl<'de> Deserialize<'de> for Solid3dCutEdges
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>,
Source§impl JsonSchema for Solid3dCutEdges
impl JsonSchema for Solid3dCutEdges
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl ModelingCmdVariant for Solid3dCutEdges
impl ModelingCmdVariant for Solid3dCutEdges
Source§impl PartialEq for Solid3dCutEdges
impl PartialEq for Solid3dCutEdges
Source§fn eq(&self, other: &Solid3dCutEdges) -> bool
fn eq(&self, other: &Solid3dCutEdges) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for Solid3dCutEdges
impl Serialize for Solid3dCutEdges
impl StructuralPartialEq for Solid3dCutEdges
Source§impl TS for Solid3dCutEdges
impl TS for Solid3dCutEdges
Source§type WithoutGenerics = Solid3dCutEdges
type WithoutGenerics = Solid3dCutEdges
WithoutGenerics should just be Self.
If the type does have generic parameters, then all generic parameters must be replaced with
a dummy type, e.g ts_rs::Dummy or (). The only requirement for these dummy types is that
EXPORT_TO must be None. Read moreSource§type OptionInnerType = Solid3dCutEdges
type OptionInnerType = Solid3dCutEdges
std::option::Option<T>, then this associated type is set to T.
All other implementations of TS should set this type to Self instead.Source§fn docs() -> Option<String>
fn docs() -> Option<String>
TS is derived, docs are
automatically read from your doc comments or #[doc = ".."] attributesSource§fn decl_concrete(cfg: &Config) -> String
fn decl_concrete(cfg: &Config) -> String
TS::decl().
If this type is not generic, then this function is equivalent to TS::decl().Source§fn decl(cfg: &Config) -> String
fn decl(cfg: &Config) -> String
type User = { user_id: number, ... }.
This function will panic if the type has no declaration. Read moreSource§fn inline(cfg: &Config) -> String
fn inline(cfg: &Config) -> String
{ user_id: number }.
This function will panic if the type cannot be inlined.Source§fn inline_flattened(cfg: &Config) -> String
fn inline_flattened(cfg: &Config) -> String
Source§fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_generics(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn output_path() -> Option<PathBuf>
fn output_path() -> Option<PathBuf>
T should be exported, relative to the output directory.
The returned path does not include any base directory. Read moreSource§fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
fn visit_dependencies(v: &mut impl TypeVisitor)where
Self: 'static,
Source§fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
fn dependencies(cfg: &Config) -> Vec<Dependency>where
Self: 'static,
Source§fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export_all. Read moreSource§fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
fn export_all(cfg: &Config) -> Result<(), ExportError>where
Self: 'static,
TS::export. Read moreSource§fn export_to_string(cfg: &Config) -> Result<String, ExportError>where
Self: 'static,
fn export_to_string(cfg: &Config) -> Result<String, ExportError>where
Self: 'static,
Auto Trait Implementations§
impl Freeze for Solid3dCutEdges
impl RefUnwindSafe for Solid3dCutEdges
impl Send for Solid3dCutEdges
impl Sync for Solid3dCutEdges
impl Unpin for Solid3dCutEdges
impl UnsafeUnpin for Solid3dCutEdges
impl UnwindSafe for Solid3dCutEdges
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more