Jump to content

Connect points by logical distance


Recommended Posts

Hello, everyone! I need to connect all points from one scattered geometry with other one by distance. In example file i'm trying to find closest point and connect both of them by curve, using add sop. But for several points on first geometry pcopen vex function finds the same point on another geometry. I need some logic in vex code to avoid that. For example, if first point on first geo gets closest point on another geo then next point will get next point, which ordered by distance. Thanks. I hope for your help.

Connect_Points.hipnc

Capture1.PNG

Capture2.PNG

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...