Skip to main content

sweep_profile_along_chain_with_stations

Function sweep_profile_along_chain_with_stations 

Source
pub fn sweep_profile_along_chain_with_stations(
    profile: &[NurbsCurve],
    chain: &[NurbsCurve],
    segment_names: &[String],
    stations: usize,
    corner_advice: &str,
) -> Result<BrepSolid, String>
Expand description

sweep_profile_along_chain with an explicit STATION budget and no twist — the entry a caller with a long, smooth chain uses when the default 32 stations would under-sample it (a wire-harness bundle along a many-anchor spline: three pieces per span, so a handful of spans already starves each piece of stations). The budget is spread over the chain by arc length exactly as the twisted builder’s law spreads its own; the 1024-station cap and the tangent-continuity refusal apply unchanged.