docs/jupyter/geometry/python_interface.ipynb
For the C++ interface, see here.
For installing Open3D Python package, see here.
For installing from source, see here.
This tutorial shows how to import the open3d module and use it to load and inspect a point cloud.
import open3d as o3d
Note:
Depending on the environment, the name of the Python library may not be open3d.so. Regardless of the file name, import open3d should work.
sample_pcd_data = o3d.data.PCDPointCloud()
pcd = o3d.io.read_point_cloud(sample_pcd_data.path)
print(pcd)
This imports the read_point_cloud function from the open3d module. It reads a point cloud file and returns an instance of the PointCloud class. print(pcd) prints some brief information about the point cloud.
help(open3d) prints a description of the open3d module.
help(o3d)
help(open3d.PointCloud) provides a description of the PointCloud class.
help(o3d.geometry.PointCloud)
help(open3d.read_point_cloud) provides a description of the input arguments and return type of the read_point_cloud function.
help(o3d.io.read_point_cloud)