Skip to main content

hub_from_section

Function hub_from_section 

Source
pub fn hub_from_section(
    section: &GearSection,
    outside: f64,
    length: f64,
) -> Result<BrepSolid, KernelRefusal>
Expand description

Cut a counter-clockwise section through a cylinder of outside diameter and length: a hub. The section’s faces keep their role names, the cylinder’s are OD, F and B (all in face.name).