Colored Point Clouds loose color if some points are deleted

Being able to trim a point cloud is crucial when working with large pointclouds, but Rhino discards all that color information once one or more points are deleted.

So PLEASE make a fix for this in V5, as we still need to work with pointclouds for a few more years until V6 is released.

And maybe you can use the same procedure to handle vertex colored meshes, that also loos all vertex color information if one or more vertices or polygons are deleted.

Thanks!

Hi Jørgen,

Below is my draft script for trimming pointclouds with a rectangle frame. It keeps everything inside the frame. Currently it works only in the XY plane (trimming from Top view) because I haven’t had time to “universalize” it more yet. (End of semester here, I have one more class to teach tomorrow, then two weeks of craziness until Christmas break)

My objective for the future is to first allow trimming in any orthographic view, then perhaps in an oblique view and eventually with an arbitrary curve. Arbitrary curve will probably be much slower in execution because of the in-out checking necessary I think - seems a good candidate for learning how to setup an octree…

Trimming your 35 megapoint file in half took about 60 seconds here on my work workstation (i7) should be even faster with my home machine…

TrimColorPointCloudRect.py (2.5 KB)

–Mitch