concepts.math.cad.mesh_utils.np2open3d_pcd#

np2open3d_pcd(points, colors=None)[source]#

Generate an Open3D point cloud from numpy arrays.

Parameters:
  • points (ndarray) – the points to add to the point cloud.

  • colors (ndarray | None) – the colors to add to the point cloud.

Returns:

An Open3D point cloud.

Return type:

open3d.geometry.PointCloud