pub struct ScanStrategyEffect {
pub rotation_angle_deg: f64,
pub texture_coefficient: f64,
pub residual_stress_factor: f64,
pub relative_density: f64,
}Expand description
Effect of scan strategy on texture and residual stress.
Fields§
§rotation_angle_deg: f64Rotation angle between consecutive layers (degrees).
texture_coefficient: f64Estimated texture coefficient (0 = random, 1 = fully textured).
residual_stress_factor: f64Residual stress scaling factor relative to unidirectional scanning.
relative_density: f64Estimated relative density achievable with this strategy.
Implementations§
Source§impl ScanStrategyEffect
impl ScanStrategyEffect
Sourcepub fn unidirectional() -> Self
pub fn unidirectional() -> Self
Effects for unidirectional (0° rotation) scanning.
Sourcepub fn rotating_67() -> Self
pub fn rotating_67() -> Self
Effects for 67° rotation (common in SLM).
Sourcepub fn alternating_90() -> Self
pub fn alternating_90() -> Self
Effects for 90° alternating scanning.
Sourcepub fn unique_orientations_in_n_layers(&self, n_layers: usize) -> usize
pub fn unique_orientations_in_n_layers(&self, n_layers: usize) -> usize
Estimate the number of unique scan orientations in N layers.
Trait Implementations§
Source§impl Clone for ScanStrategyEffect
impl Clone for ScanStrategyEffect
Source§fn clone(&self) -> ScanStrategyEffect
fn clone(&self) -> ScanStrategyEffect
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 moreAuto Trait Implementations§
impl Freeze for ScanStrategyEffect
impl RefUnwindSafe for ScanStrategyEffect
impl Send for ScanStrategyEffect
impl Sync for ScanStrategyEffect
impl Unpin for ScanStrategyEffect
impl UnsafeUnpin for ScanStrategyEffect
impl UnwindSafe for ScanStrategyEffect
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