open3d.geometry.create_mesh_cylinder¶
-
open3d.geometry.
create_mesh_cylinder
(radius=1.0, height=2.0, resolution=20, split=4)¶ Factory function to create a cylinder mesh.
- Parameters
radius (float, optional, default=1.0) – The radius of the cylinder.
height (float, optional, default=2.0) – The height of the cylinder. The axis of the cylinder will be from (0, 0, -height/2) to (0, 0, height/2).
resolution (int, optional, default=20) – The circle will be split into
resolution
segmentssplit (int, optional, default=4) – The
height
will be split intosplit
segments.
- Returns
open3d.geometry.TriangleMesh