open3d.geometry.create_mesh_cone

open3d.geometry.create_mesh_cone(radius=1.0, height=2.0, resolution=20, split=1)

Factory function to create a cone mesh

Parameters
  • radius (float, optional, default=1.0) – The radius of the cone.

  • height (float, optional, default=2.0) – The height of the cone. The axis of the cone will be from (0, 0, 0) to (0, 0, height).

  • resolution (int, optional, default=20) – The circle will be split into resolution segments

  • split (int, optional, default=1) – The height will be split into split segments.

Returns

open3d.geometry.TriangleMesh