pub struct DeformBodyArgs {
pub bodies: Vec<BodyRef>,
pub deform: Deform,
pub origin: [f64; 3],
pub axis: [f64; 3],
pub toward: [f64; 3],
pub start: f64,
pub end: f64,
pub amount: f64,
}Fields§
§bodies: Vec<BodyRef>The bodies to deform: solids, or a face of each sheet.
deform: DeformTaper, pinch, shear, twist or bend.
origin: [f64; 3]A point of the axis, from which the zone is measured.
axis: [f64; 3]The axis’s direction.
toward: [f64; 3]Where a bend curves towards, a pinch scales along, a shear moves towards: a direction across the axis.
start: f64Where the zone starts and ends along the axis.
end: f64§amount: f64The taper’s or the pinch’s factor at the zone’s end, the shear’s offset there, or the twist’s or the bend’s angle in degrees.
Trait Implementations§
Source§impl Clone for DeformBodyArgs
impl Clone for DeformBodyArgs
Source§fn clone(&self) -> DeformBodyArgs
fn clone(&self) -> DeformBodyArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeformBodyArgs
impl Debug for DeformBodyArgs
Source§impl<'de> Deserialize<'de> for DeformBodyArgs
impl<'de> Deserialize<'de> for DeformBodyArgs
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 PartialEq for DeformBodyArgs
impl PartialEq for DeformBodyArgs
Source§impl Serialize for DeformBodyArgs
impl Serialize for DeformBodyArgs
Source§impl StepArgs for DeformBodyArgs
impl StepArgs for DeformBodyArgs
Source§const KIND: &'static str = <DeformBody as ::geop_core_editor::part_operation::PartOperation>::KIND
const KIND: &'static str = <DeformBody as ::geop_core_editor::part_operation::PartOperation>::KIND
The kind of the operation they are for (see
Operation::KIND).impl StructuralPartialEq for DeformBodyArgs
Auto Trait Implementations§
impl Freeze for DeformBodyArgs
impl RefUnwindSafe for DeformBodyArgs
impl Send for DeformBodyArgs
impl Sync for DeformBodyArgs
impl Unpin for DeformBodyArgs
impl UnsafeUnpin for DeformBodyArgs
impl UnwindSafe for DeformBodyArgs
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