Sweep doesn't create a round tube

   2200   3   1
User Avatar
Member
2 posts
Joined: July 2020
Offline
How could I use Sweep node with this curve(curve photo)? For some reason it doesn't do the job(sweep result photo).
If I use PolyWire is ok, but I would like to use the second input of the Sweep.

Would you please explain me why Sweep don't like this shape of backbone curves or similar, or what could cause
this kind of results?


*The curve says Polygons, in node info

**For the Sweep surface shape I selected the round tube, nothing else changed

***Is it possible that the primitive order and my point order on the curve
could cause it?
(I refer to the 1-0-2-3...-27 of the prims and 0-1-2-3...-27 of the points)
(but a simple circle with random point order and random prim order works well)

Attachments:
curve.png (303.0 KB)
sweep result.png (353.1 KB)

User Avatar
Member
447 posts
Joined: April 2018
Offline
Try using an Orientation Along Curve SOP after your curve, before feeding it into the Sweep.
User Avatar
Member
719 posts
Joined: Sept. 2013
Offline
Or use the attribute delete-node to remove normals beforehand.
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
2 posts
Joined: July 2020
Offline
Thank you, to both you. Both methods work.

I guess the orientation of the normals needs to be along the curve or at "default" for the Sweep node.

*If after these methods the corners of the curve are disconnected, add a Polypath node in order to have one long primitive instead of many(for anyone coming from the future with the same problem)
  • Quick Links