Dividing a 3D model into sections based on proximity to specified points

Feel free to ask any question here
Post Reply
jmrs14
Posts: 1
Joined: Wed Aug 10, 2022 1:37 pm

Dividing a 3D model into sections based on proximity to specified points

Post by jmrs14 »

Hi,

I'm a complete novice when it comes to CC, and I was wondering if anyone knew/if it's possible to get CC to divide a 3D model into sections based on proximity to set points? For example, if I had a model of a building and I wanted to divide it into areas based on which set point that part of the building is closest to.

I've tried looking for the answer online but no luck so far.

Any help would be greatly appreciated.

Cheers!
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Dividing a 3D model into sections based on proximity to specified points

Post by daniel »

Ah, you can maybe use the 'Tools > Distances > Closest Point Set' tool?

If you have a cloud with one or several 'set points', and another cloud representing your building (you can sample points on your building model if it's a mesh), then you'll get for each building point it's closest 'set point'. It's not easy to visualize the result, but at least you can export both clouds as ASCII/CSV files and do something externally...
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Dividing a 3D model into sections based on proximity to specified points

Post by daniel »

Of course, if you are able to do something in Python for instance (with CloudCompy) you could generate a color or a different scalar value for each set point.
Daniel, CloudCompare admin
Post Reply