Sweep node folded/twisted face help

   511   2   1
User Avatar
Member
6 posts
Joined: 11月 2024
Offline
Hi I am having an issue when sweeping across a Houdini curve you can see the problem in the image. One of the faces is folded in half and I can't figure out how to fix it.

Image Not Found


Image Not Found


This is for a pipe tool project to create industrial environment assets. My goal is to create pipes that run in parallel. I've tried swapping between different custom up vectors but all that seems to do is swap which face is folded. This issue only occurs if the pipes travel in multiple planes. It looks like the normals get twisted. Is there some way to fix this? I am very new to Houdini this is my first solo tool project. If there's a really obvious solution I'm missing I'd love to hear it

Attachments:
Screenshot 2024-11-26 143722.png (1.1 MB)

User Avatar
Member
2129 posts
Joined: 9月 2015
Offline
It's twisting because your points twist.
Each face(polygon) are made of the 4 points - so if you turn 2 of those points it would naturally twist.
If you want a turn in direction you could add corner square polygon that would allow you to continue the change of direction.

If I missed something in what you are trying to do, just to let you know, two of your images don't have the proper links and are not showing; you could also post a hip file which makes it easier for many to see what you're trying to do and offer different solutions.
Edited by BabaJ - 2024年11月26日 16:00:51

Attachments:
Twist.hiplc (94.8 KB)

User Avatar
Member
6 posts
Joined: 11月 2024
Offline
BabaJ
It's twisting because your points twist.
Each face(polygon) are made of the 4 points - so if you turn 2 of those points it would naturally twist.
If you want a turn in direction you could add corner square polygon that would allow you to continue the change of direction.

If I missed something in what you are trying to do, just to let you know, two of your images don't have the proper links and are not showing; you could also post a hip file which makes it easier for many to see what you're trying to do and offer different solutions.

Ah yes thank you!! I have resampled the curve to add an extra point between the corners to help maintain the normal flow and now it's working perfectly. Thank you so much for your help!
  • Quick Links