pygfx.geometries.octahedron_geometry
- pygfx.geometries.octahedron_geometry(radius=1.0, subdivisions=0)
Generate a octahedron.
Creates an octahedron that is centered around the local origin. It has its vertices lie on the surface of a sphere of the given radius. Its faces are optionally subdivided if subdivisions>0.
- Parameters:
- Returns:
octahedron – A geometry object representing the desired octahedron. Mathematically, it consists of a set of open orientable manifolds.
- Return type: