Jump to content

Group Not "Connected" Point Clouds Parts


dpap

Recommended Posts

you can connect points by distance within some radius using attribwrangle and simple pointcloud loop with H13 new functions for geometry creation, you can either slightly alter Connect Adjacent Pieces SOP or just do very simple version (as in the included file)

then just use Connectivity SOP and Partition SOP to get groups of connected point islands and Add SOP to keep just original points

look at the file

Group Not Connected Point Clouds Parts_fix.hipnc

  • Like 2
Link to comment
Share on other sites

Thank you guys! Both methods are delicious! :)

 

A little off topic:

 

The "Connect points by distance"  made me wonder if it's possible to to use it in order to create a triangulated mesh out  of points like these..

 

Maybe if using "poly" instead of "polyline" and 3 points instead of 2,  in the "addvertex" function..

 

If that is possible we clould say bye bye to the 2dtriangulate node which is slow and  after using it you need to unflatten the mesh and delete some of the primitives (via measure sop).....

Link to comment
Share on other sites

well, connect_points_by_distance is just some simple node made of wrangle that I did just to literally connect closest points, it's like a simplification of Connect Adjecent Pieces, which uses wrangle nodes inside as well

and since it connect points by simple lines, polyline will not make closed triangle just double line in this case

and there is nothing preventing lines from crossing each other or creating messy connections which would result in incorrect topology etc.

but anyway you are free to experiment or make your own node that may do something like you want 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...