pub enum RibExtrusion {
ParallelToSketch,
NormalToSketch,
}Expand description
Which way a rib grows out of its sketch — SolidWorks’ Extrusion Direction control, and the same two choices it offers.
The two are not variants of one construction: they SWAP which axis carries the thickness and which carries the growth, which is why a rib built in the wrong one lies down where it should stand up.
Variants§
ParallelToSketch
Parallel to Sketch (SolidWorks’ default, and what everyone means by a rib or a gusset): the material grows PARALLEL to the sketch plane and the thickness is applied NORMAL to it. A line drawn between two walls becomes a thin fin standing ON the sketch plane, growing across it until it lands on the part.
NormalToSketch
Normal to Sketch: the material grows NORMAL to the sketch plane and the thickness is applied IN it. The chain is thickened inside its own plane and that ribbon is driven off the plane — walls hanging under a sketch.
Trait Implementations§
Source§impl Clone for RibExtrusion
impl Clone for RibExtrusion
Source§fn clone(&self) -> RibExtrusion
fn clone(&self) -> RibExtrusion
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for RibExtrusion
Source§impl Debug for RibExtrusion
impl Debug for RibExtrusion
Source§impl Default for RibExtrusion
impl Default for RibExtrusion
Source§fn default() -> RibExtrusion
fn default() -> RibExtrusion
Source§impl<'de> Deserialize<'de> for RibExtrusion
impl<'de> Deserialize<'de> for RibExtrusion
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>,
impl Eq for RibExtrusion
Source§impl PartialEq for RibExtrusion
impl PartialEq for RibExtrusion
Source§impl Serialize for RibExtrusion
impl Serialize for RibExtrusion
impl StructuralPartialEq for RibExtrusion
Auto Trait Implementations§
impl Freeze for RibExtrusion
impl RefUnwindSafe for RibExtrusion
impl Send for RibExtrusion
impl Sync for RibExtrusion
impl Unpin for RibExtrusion
impl UnsafeUnpin for RibExtrusion
impl UnwindSafe for RibExtrusion
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.