Skip to main content

split_solid_by_face_surface

Function split_solid_by_face_surface 

Source
pub fn split_solid_by_face_surface(
    solid: &BrepSolid,
    surface: &NurbsSurface,
) -> Result<Vec<BrepSolid>, String>
Expand description

Split solid by the analytic carrier of a selected face surface (Golovanov §6.4). The face may be a plane, cylinder, cone, or sphere; the carrier is extended to fully span the body. Returns the two pieces ([below, above] for a plane, [inside, outside] otherwise). Errors on non-analytic / general-revolution faces, or when the carrier does not cleanly divide the body.