Skip to main content

figure8_profile

Function figure8_profile 

Source
pub fn figure8_profile<S: Scalar>(
    part: &mut Part<S>,
    name: &str,
) -> GeopResult<SolidId>
Expand description

Build the figure-8-with-2-holes solid: outer_polygon extruded by one unit along +z, with hole_polygons cut all the way through. Returns the new solid.

Named as the operation figure8(name), after the outline’s corners p0.. and sides c0.. and the holes’ h0p0.., h1c0.. (see ExtrudeNames).