Skip to main content

revolve_profile_brep_named

Function revolve_profile_brep_named 

Source
pub fn revolve_profile_brep_named(
    input: &[NurbsCurve],
    axis_point: Vec3,
    axis_direction: Vec3,
    angle: f64,
    side_names: &[Option<String>],
    cap_names: &[Option<String>],
) -> Result<BrepSolid, String>
Expand description

Revolve with caller-supplied names. side_names is aligned with the INPUT curves; the kernel carries it through winding normalization and axis-curve skips, which the caller cannot reconstruct from the emitted face order. cap_names is [start_cap, end_cap] for partial revolutions. Empty slices leave faces unnamed.