pub struct ShellArgs {
pub solid: ElementReference<NamedModel, Solid>,
pub faces: Vec<ElementReference<NamedModel, Face>>,
pub thickness: NumericInput,
pub other_faces: Vec<ElementReference<NamedModel, Face>>,
pub other_thickness: NumericInput,
pub outward: bool,
}Fields§
§solid: ElementReference<NamedModel, Solid>The solid to hollow.
faces: Vec<ElementReference<NamedModel, Face>>The faces of it to take away, leaving openings.
thickness: NumericInputHow thick the walls are, measured inward from the solid’s faces: a number, or a formula of the part’s parameters.
other_faces: Vec<ElementReference<NamedModel, Face>>Faces whose walls are other_thickness thick instead.
other_thickness: NumericInputHow thick the walls of other_faces are.
outward: boolWhether the walls grow outward from the faces instead: the solid becomes the hollow.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShellArgs
impl<'de> Deserialize<'de> for ShellArgs
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 ShellArgs
impl StepArgs for ShellArgs
Source§const KIND: &'static str = <Shell as ::geop_core_editor::part_operation::PartOperation>::KIND
const KIND: &'static str = <Shell as ::geop_core_editor::part_operation::PartOperation>::KIND
The kind of the operation they are for (see
Operation::KIND).impl StructuralPartialEq for ShellArgs
Auto Trait Implementations§
impl Freeze for ShellArgs
impl RefUnwindSafe for ShellArgs
impl Send for ShellArgs
impl Sync for ShellArgs
impl Unpin for ShellArgs
impl UnsafeUnpin for ShellArgs
impl UnwindSafe for ShellArgs
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