Point cloud import add-on

Feel free to contribute to the Python add-on and/or use it.

The add-on allows you to define the color mode of point sets to be RGBA or BGRA without having to use a script. Additional features are the ability to offset the cloud from origin as well as scale it, and define the point size in pixels.

VC 4.2 introduced new API for point clouds, such as getters and setters for point positions and color. First version of add-on simply aims to help you avoid scripting and quickly fix color issues with the points, such as points appear blue instead of red and vice-versa.

NB! The add-on uses the import geometry command, so the file formats supported by your VC-based product will dictate what can be imported, such as XYZ, PTS and XYZRGB.

Other comments:

  • If someone already has a LAS importer, let me know, so I don’t waste my time making one or use converter like las2txt.
  • PIL and point cloud API can be used to import images as point clouds. Based on some initial tests, I would say it is better to use the Picture Frame component in the eCat right now to avoid Gaussian blur/noise when the 3D camera gets too close to the image.
1 Like