Jump to content

Select all ptnum 0 then ptnum 1 etc


Recommended Posts

I am trying to Sort some points on the primitives I have.

As you see from the image I need to Sort the points to first grab all of the first ones on each prim (0,6,11,16,21,etc).

Then once I reach the spiral segment length (10 in this case), append the next segment of the spiral.

 

One way I can see is using Sort by proximity to a point but I don't know how to make this point dynamic. But I am struggling to reference origin pt coordinates (0) into the Sort node.

Alternatively, it's a Point Wrangle with some VEX code & some counters.

Are there any off-the-shelf tools that can do this that I am missing?

 

Thanks!

image.png.a5abfdad970e59da4899abc3a4ac298a.png

Link to comment
Share on other sites

Have you tried using the Add node?

You can enable Point 0 and use its position (via point(...) expression in Sort) if your origin isn't static. Once you have sorted by proximity, you can use another Add node, in the Polygons tab > By Group, Add "Groups of N points".

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