pub enum Output {
Solid(Combine),
Faces {
up_to: Option<SolidRef>,
},
}Expand description
What a step sweeping a profile makes of it: a solid — kept as a new
body, or combined with another solid as Combine says — or faces
standing on their own, swept from its curves: the area’s outline, or a
chain of curves enclosing nothing. Faces going as far as a solid (see
Extent) go as far as the solid named up_to — or, if none, every
solid of the model — and leave it as it is.
Variants§
Implementations§
Source§impl Output
impl Output
Sourcepub fn new_for(before: &NamedModel) -> Self
pub fn new_for(before: &NamedModel) -> Self
The default for a step after before: a solid, joined to the newest
solid if there is one (see Combine::new_for).
Sourcepub fn shape(&self, sketch: &Sketch) -> GeopResult<Shape>
pub fn shape(&self, sketch: &Sketch) -> GeopResult<Shape>
What of sketch it sweeps: as faces, what the sketch draws — its
areas, or the one chain of curves enclosing nothing (see
Sketch::shape); as a solid, its areas, each a lump of it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Output
impl<'de> Deserialize<'de> for Output
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
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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