Creating a line from points within a specific threshold

   872   3   2
User Avatar
Member
3 posts
Joined: Sept. 2013
Offline
Hi,

I have a simulation of points that have some spacing between each other. I would like to create one(or multiple) line from only those very close to each other (based on a user defined threshold). What would be the easiest way to achieve that?

Thank you!
Cheers,
Cristian
Edited by Malkuth - May 27, 2020 10:20:22

Attachments:
Capture.JPG (11.2 KB)

User Avatar
Member
377 posts
Joined: April 2017
Offline
Connect Adjacent Pieces SOP in “Adjacent Points” mode will handle this.
MOPs (Motion Operators for Houdini): http://www.motionoperators.com [www.motionoperators.com]
User Avatar
Member
3 posts
Joined: Sept. 2013
Offline
Hi Toadstorm,

Thank you for your reply, unfortunately the ‘Connect Adjacent Pieces SOP’ will do the job but the ‘line’ is made of many primitives. So now instead of many points I have many primitives Any way to merge the primitives together then?

Cheers,
Cristian

Attachments:
primitives_witthout_overlay.JPG (31.9 KB)
primitives.JPG (37.4 KB)

User Avatar
Member
682 posts
Joined: Sept. 2013
Online
Hi Christian,

try the polypath node for joining somehow connected primitives.
Edited by Konstantin Magnus - May 28, 2020 03:31:22
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
  • Quick Links