pub struct BeamLattice {
pub min_length: f32,
pub precision: f32,
pub clipping_mode: ClippingMode,
pub beams: Vec<Beam>,
pub beam_sets: Vec<BeamSet>,
}Expand description
Beam lattice structure for lightweight, high-strength geometry.
The Beam Lattice extension allows representing cylindrical beams between vertices as an alternative to solid triangle meshes. This is particularly useful for lightweight structures, scaffolding, and lattice infill patterns.
Each beam is a cylinder connecting two vertices with potentially different radii at each end (creating tapered beams).
Fields§
§min_length: f32Minimum beam length threshold (beams shorter than this may be ignored).
precision: f32Precision for beam representation (implementation-defined).
clipping_mode: ClippingModeHow beams should be clipped by the mesh boundary.
beams: Vec<Beam>The list of beams in this lattice.
beam_sets: Vec<BeamSet>Named groups of beams for organization and material assignment.
Trait Implementations§
Source§impl Clone for BeamLattice
impl Clone for BeamLattice
Source§fn clone(&self) -> BeamLattice
fn clone(&self) -> BeamLattice
Returns a duplicate of the value. Read more
1.0.0 · 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 BeamLattice
impl Debug for BeamLattice
Source§impl Default for BeamLattice
impl Default for BeamLattice
Source§fn default() -> BeamLattice
fn default() -> BeamLattice
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BeamLattice
impl<'de> Deserialize<'de> for BeamLattice
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 BeamLattice
impl PartialEq for BeamLattice
Source§impl Serialize for BeamLattice
impl Serialize for BeamLattice
impl StructuralPartialEq for BeamLattice
Auto Trait Implementations§
impl Freeze for BeamLattice
impl RefUnwindSafe for BeamLattice
impl Send for BeamLattice
impl Sync for BeamLattice
impl Unpin for BeamLattice
impl UnwindSafe for BeamLattice
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more