pub struct SweepStationReport {
pub budget: StationBudget,
pub tolerance: f64,
pub spine_deviation: f64,
pub frame_deviation: f64,
pub frame_slide: f64,
pub wall_deviation: f64,
pub reach: f64,
pub built_volume: f64,
pub ideal_volume: f64,
pub volume_residual: f64,
pub crude_bound: bool,
}Expand description
The measured bound a station sweep carries.
Fields§
§budget: StationBudget§tolerance: f64The centre-track deviation the run was refined to, mm.
spine_deviation: f64The worst distance from the true path to the loft’s centre track, mm —
the number read against tolerance, and the one refinement drives:
the cubic’s error falls as h⁴ inside a segment and as h² at a G1
joint’s curvature jump.
frame_deviation: f64The worst deviation of the loft’s frame axes from the transported frame ACROSS the path’s tangent, per unit of section reach: the part that can stand the wall off the kinematic sweep. Reported, not driven.
frame_slide: f64The worst deviation of the frame axes ALONG the path’s tangent, per
unit reach: the section SLIDING along the wall it lies in. At a G1
joint the frame’s rate of turn jumps and one cubic through the frames
overshoots along the tangent by a term first order in the spacing
(2.3e-3 on the rounded-rectangle ring at 1e-4, where the across part
reads 3.5e-5); a slide δ moves the wall off itself only at second
order, δ²κ / (2(1 − reach·κ)), which is what wall_deviation adds.
wall_deviation: f64spine + reach × frame + (reach × slide)²·κ / (2(1 − reach·κ)): the
worst distance any wall point stands off the kinematic sweep’s wall, mm
— for a section square to the path, untwisted, unscaled and unrolled,
whose wall contains the path’s tangent; otherwise, or where
reach·κ ≥ 1, spine + reach × (frame + slide).
reach: f64The section’s reach from its anchor, mm (a control-hull bound).
built_volume: f64The built solid’s volume, by quadrature over the loft’s own interpolants.
ideal_volume: f64The kinematic sweep’s volume: A·L for a section centred on the path,
with the section’s first-moment terms and the carried anchor’s own
motion otherwise (Simpson over each span’s quarter points).
volume_residual: f64|built − ideal|, mm³: the Pappus residual, measured.
crude_bound: boolTrue when volume_residual is the crude lateral area × wall deviation bound instead of the quadrature (a seam-shifted ring).
Implementations§
Source§impl SweepStationReport
impl SweepStationReport
Sourcepub fn approximation(&self, body: impl Into<String>) -> Approximation
pub fn approximation(&self, body: impl Into<String>) -> Approximation
The report as the typed approximation a feature result carries
(sweep.stations).
Trait Implementations§
Source§impl Clone for SweepStationReport
impl Clone for SweepStationReport
Source§fn clone(&self) -> SweepStationReport
fn clone(&self) -> SweepStationReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more