Jump to content
hopbin9

Deleting points to break up a primitive.

Recommended Posts

Hi, got a problem.

I have a Circle SOP (arc type is open) set as a polygon and I want to delete every N'th point so that I have a dashed line circle.

So I Group every N'th point, but when I Blast SOP that group it deletes the points but it's still all one connected primitive with some missing points.

I want to delete the points and break it up into multiple primitives so it looks like a dashed line.

I can't seem to figure it out.

Thanks,

Share this post


Link to post
Share on other sites

In a dissolve node you can write p0, p1, etc and delete segments.

It doesn't quite do what you want though and I'm thinking you could somehow split up your curve so that each segment is a curve.

Share this post


Link to post
Share on other sites

In fact, if you make a circle line and use

0e1 0e3 0e5

as the group input in the dissolve node you can do it. There must be a more procedural way with this weird syntax though... Perhaps a little python string writing thing...

Edited by Macha

Share this post


Link to post
Share on other sites

Maybe like so:

`pythonexprs("' '.join(['0e'+str(a*2) for a in range(100000)])")

Edited by Macha

Share this post


Link to post
Share on other sites

Is there a more general solution to this when you are deleting points in an irregular manner? I have a bunch of curves crisscrossing an area, have selected some points via a group, and want to delete them, breaking the curves at that point, but they just connect from their nearest remaining points.

Edited by Dispel

Share this post


Link to post
Share on other sites

Checking in 6 years later to say that the way i found to do this was:

to find a way to group the edge (i used by length) and
use a dissolve sop on that edge

delete and blast wernt working, makes me think i need to go back and learn what these guys do under the hood a bit better. 

Share this post


Link to post
Share on other sites
Posted (edited)
On 1/19/2012 at 12:14 PM, hopbin9 said:

Hi, got a problem.

I have a Circle SOP (arc type is open) set as a polygon and I want to delete every N'th point so that I have a dashed line circle.

So I Group every N'th point, but when I Blast SOP that group it deletes the points but it's still all one connected primitive with some missing points.

I want to delete the points and break it up into multiple primitives so it looks like a dashed line.

I can't seem to figure it out.

Thanks,

nah...it's all in the add,

add to delete geo then reconstruct ....hint every 2 !! c'mon you can do it.

oh sheesh, this thread is older than father time...why did i even bother with it ? NFI.

Edited by Noobini

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

×