open3d.geometry.create_mesh_octahedron

open3d.geometry.create_mesh_octahedron(radius=1.0)

Factory function to create a octahedron. The centroid of the mesh will be placed at (0, 0, 0) and the vertices have a distance of radius to the center.

Parameters

radius (float, optional, default=1.0) – Distance from centroid to mesh vetices.

Returns

open3d.geometry.TriangleMesh