Jump to content

Bend/twist sop with Copy node


Recommended Posts

Hi, 

 

This might be a very noob question, but I am still in learning of Houdini and I am stuck at this one point. 

 

Basically I got a ring of points that I want to copy a bent geometry to. However the twist/ bend sop only bend in one direction, so the same thing happens when I copy it over. 

My goal is to get them all to bend out from the circle and with a bend going downwards. Any suggestions on how I can do it? 

 

I have attached some images that might help explain what I want. 

 

Thanks.. 

 

 

 

 

post-12936-0-08462300-1438462679_thumb.p

post-12936-0-32865800-1438462704_thumb.p

post-12936-0-99917100-1438462778_thumb.p

Link to comment
Share on other sites

What about something like this.

 

Create a stamp variable for $PT, I called mine point_num. Then add a transform after the bend so you can rotate the resulting bend to the correct value based upon the point number of the circle? I linked the stamp expression to the circle division count so if you increase the divisions in the circle, the stamp will take that into account.

180+stamp("../copy1","point_num",0) * (360/ch("../circle1/divs"))

ap_bend_tube_around_circle.hipnc

post-12295-0-72349600-1438466171_thumb.j

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