tmontaigu / CloudCompare-PythonRuntime

Python plugin for CloudCompare
55 stars 15 forks source link

get normals and color from pointcloud #89

Open mariolino007 opened 10 months ago

mariolino007 commented 10 months ago

hello, is there a function to import normal and RGB colour values from a point cloud thank you very much !!

tmontaigu commented 10 months ago

Hello,

To get the colors value you have the colors method that returns a numpy array

point_cloud.colors()

For normals its not yet possible to extract them,

It should however be possible to add the function exportNormalToSF, so that normals appears as scalar field which you can then retrieve