pub struct SweepArgs {
pub profile: SketchRef,
pub path: Option<PathRef>,
pub orientation: Orientation,
pub twist: f64,
pub end_scale: f64,
pub rails: Vec<PathRef>,
pub output: Output,
}Fields§
§profile: SketchRefThe sketch to sweep.
path: Option<PathRef>What it is swept along: a sketch’s or a 3-D sketch’s one chain of curves, or one loop, or an edge.
orientation: OrientationWhether the profile turns with the path or keeps facing one way.
twist: f64How far the profile turns about the path from start to end, in degrees, counter-clockwise in its sketch.
end_scale: f64The profile’s size at the end, as a multiple of its size where drawn.
rails: Vec<PathRef>What guides the profile — one or two, each a path as the sweep’s own is.
output: OutputA solid, kept as a new body or combined with another, or faces.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SweepArgs
impl<'de> Deserialize<'de> for SweepArgs
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
Source§impl StepArgs for SweepArgs
impl StepArgs for SweepArgs
Source§const KIND: &'static str = <Sweep as ::geop_core_editor::part_operation::PartOperation>::KIND
const KIND: &'static str = <Sweep as ::geop_core_editor::part_operation::PartOperation>::KIND
The kind of the operation they are for (see
Operation::KIND).impl StructuralPartialEq for SweepArgs
Auto Trait Implementations§
impl Freeze for SweepArgs
impl RefUnwindSafe for SweepArgs
impl Send for SweepArgs
impl Sync for SweepArgs
impl Unpin for SweepArgs
impl UnsafeUnpin for SweepArgs
impl UnwindSafe for SweepArgs
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