Jump to content

two_questions


3__

Recommended Posts

firstly, is there a quick way to dissolve edges by length?

one should be able to type something like this in the group

field of a dissolve sop (rough pseudo-code):

if(dist(thepoint.pos, thenextpoint.pos) > 1)then(edge(thepoint, thenextpoint))

however I haven't found a function for returning an edge...

secondly, Is there a way to sort points based on the usual xyz sort

rules and a second closest-proximity-to-previous-point rule?

thanks,

-cpb

Link to comment
Share on other sites

I think the only way to do this would be to turn all the edges into seperate polys and then measure them with the measure sop then use the expression field in the delete sop to zap the ones you don't want, and then join it all back up again. The joining it up again might be the tricky bit, depending on the situation.

Unfortunately Houdini isn't very procedural when it comes to edges.... :angry:

Link to comment
Share on other sites

...

Unfortunately Houdini isn't very procedural when it comes to edges.... 

indeed. this time I've found a completely different workaround

(edges were degenerates made by the add sob, so measure didn't

work). but one day I may *really* need to dissolve edges by length

and I may not have other apps handy with their edge functions and arrays...

-cpb

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