Jump to content

procedural dissolve problem


jim c

Recommended Posts

Let's say I've got a polygon with N sides. I'd like to convert this to a line segment with the last edge deleted so it's no longer a closed curve. Currently I'm using the Ends SOP to unroll it, then a dissovle SOP to delete the last edge. Here's the tricky part that I don't get how to do:

In the dissolve SOP I need to specify the edge like so: p0-(N-1), hardcoding it so it's something like "p0-8". Is there any way I could insert the "8" part of the string through expressions? I've tried a couple things but they don't work and I must be screwing up the syntax somewhere.

Link to comment
Share on other sites

if you set Ends SOP to Open instead of Unroll it automatically deletes the last edge

or if you are dissolving with Dissolve SOP, you don't need to unroll before

or if you have it already unrolled, just delete the very last point with delete SOP

Edited by anim
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...