Skip to main content

sweep_profile_round_corners

Function sweep_profile_round_corners 

Source
pub fn sweep_profile_round_corners(
    section: &[NurbsCurve],
    path: &[Vec3],
) -> Result<BrepSolid, KernelRefusal>
Expand description

The solid section sweeps along the straight runs through path, turned about each corner.

section is a closed loop of curves (or one closed curve) in the plane through path[0] square to the first run. Consecutive runs may turn by any angle short of a half turn; runs in one line simply continue.

Refuses a path of fewer than two points or with a run of no length, a corner that turns straight back, and whatever the extrudes, the revolves or the union refuse.