CloudCompare-PythonRuntime icon indicating copy to clipboard operation
CloudCompare-PythonRuntime copied to clipboard

Missing point cloud associated with mesh and polyline

Open mariolino007 opened this issue 8 months ago • 2 comments

Hi Thomas, creating mesh and polyline does not automatically generate the linked point cloud, so it is not possible to save objects, a workaround is to clone the mesh and polyline and then the linked cloud also appears. Thanks Mario

mariolino007 avatar Mar 25 '25 15:03 mariolino007

Do you have an example for this ? so that's its easier for me to fix and check its fixed ?

tmontaigu avatar Apr 02 '25 17:04 tmontaigu

this mesh:

https://tmontaigu.github.io/CloudCompare-PythonRuntime/examples.html#using-ccmesh

The point cloud is not available after mesh creation, but only after cloning; without the point cloud it is impossible to save in a bin file. The same applies to polylines

Image

Image

mariolino007 avatar Apr 05 '25 17:04 mariolino007

After checking, I believe this is completely normal, you should do mesh.addChild(vertices) to have the cloud appear

tmontaigu avatar May 21 '25 21:05 tmontaigu

works perfectly thanks for your help !!!!!

mariolino007 avatar May 22 '25 12:05 mariolino007