Jump to content
Sign in to follow this  

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?




Share this post

Link to post
Share on other sites
Posted (edited)

can you upload your splines ? Would prefer to run my logic thru your splines than my mock up that doesn't match your scene exactly.


Edited by Noobini

Share this post

Link to post
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".

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this