jim c Posted July 9, 2011 Share Posted July 9, 2011 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. Quote Link to comment Share on other sites More sharing options...
jim c Posted July 9, 2011 Author Share Posted July 9, 2011 Never mind - for whatever reason I was using single quotes not back ticks. Figured it out. Quote Link to comment Share on other sites More sharing options...
anim Posted July 9, 2011 Share Posted July 9, 2011 (edited) 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 July 9, 2011 by anim Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.