Skip to main content

swept_disk_along_loop

Function swept_disk_along_loop 

Source
pub fn swept_disk_along_loop(
    pieces: &[PathPiece],
    radius: Scalar,
    inner_radius: Option<Scalar>,
    fillet_radius: Option<Scalar>,
    chord: Scalar,
) -> GeomResult<TriMesh>
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).