Skip to main content

swept_disk_along_loop

Function swept_disk_along_loop 

Source
pub fn swept_disk_along_loop(
    pieces: &[PathPiece],
    radius: f64,
    inner_radius: Option<f64>,
    fillet_radius: Option<f64>,
    chord: f64,
) -> Result<TriMesh, GeomError>
Expand description

swept_disk_along_pieces round a loop (#248): the last piece ends where the first starts, that joint is mitred, filleted or tangent like any other, and the walls close on the first station without caps. A frame that comes back turned is twisted back uniformly over the loop’s clear length (see the module notes and PipePlan::twist).