open3d.geometry.create_mesh_box

open3d.geometry.create_mesh_box(width=1.0, height=1.0, depth=1.0)

Factory function to create a box. The left bottom corner on the front will be placed at (0, 0, 0).

Parameters
  • width (float, optional, default=1.0) – x-directional length.

  • height (float, optional, default=1.0) – y-directional length.

  • depth (float, optional, default=1.0) – z-directional length.

Returns

open3d.geometry.TriangleMesh