bobbybob Posted December 18, 2020 Share Posted December 18, 2020 Hi Is it possible to loop geometry (like a tube) on a closed curve (like a circle) When I use path deform the start and end of the tube continues in a "straight line", at the "end/start" of the guiding curve. I would like to create a "loop" where the tube continues it's deformation around and around. loop.hip Quote Link to comment Share on other sites More sharing options...
Aizatulin Posted December 18, 2020 Share Posted December 18, 2020 Hi, probably it is not possible with the path deformer, but with the new "orientation along curve" node you can create your own basic path deformer with a few lines of VEX. If you want to loop, you can apply %1 on the (curve)u parameter. Here is an example. loop_path.hipnc 1 1 Quote Link to comment Share on other sites More sharing options...
vinyvince Posted December 18, 2020 Share Posted December 18, 2020 1 hour ago, Aizatulin said: Hi, probably it is not possible with the path deformer, but with the new "orientation along curve" node you can create your own basic path deformer with a few lines of VEX. If you want to loop, you can apply %1 on the (curve)u parameter. Here is an example. loop_path.hipnc I havze to do a Vex similar solution but not the same reason. One thing i found counter intuitive to maybe not possible is to be sure the geo will deform on all the curve lenght. So if i give 20 curves with different lenght, i will also adjust to fit. I can't make it with the path deform, quite a relatively complex node if you dive inside but well with few line sof vex, i get what 50 nodes didn't and faster 1 Quote Link to comment Share on other sites More sharing options...
Aizatulin Posted December 19, 2020 Share Posted December 19, 2020 I like the new path defomer (at least there is one), it offers a lot of functionality, but sometimes there are little things, which are missing and it is hard reimplement them into the existing one. On the other side, VEX combined with low level operators is always a good fall back if you need flexibility. Quote Link to comment Share on other sites More sharing options...
smuseus Posted December 29, 2020 Share Posted December 29, 2020 I wish SideFX could go all the way with their tools, clearly they had looping in mind when creating the Path Deform SOP, this is from the docs: Quote Copy Up Control to End | This will set the up vectors at both the start and end of the curve to be as close as possible to the Curve Up Control. This is useful when the curve is meant to be a loop. Quote Link to comment Share on other sites More sharing options...
stheos Posted December 29, 2020 Share Posted December 29, 2020 The curve you are feeding into the path deform is not closed. If it was closed it would shade as a polygon. If you remove, the 'ends' and 'fuse' nodes it works as you would expect. You could also put an 'ends' node after the fuse with the option 'Close Straight' in 'Close U' to close it again. 1 Quote Link to comment Share on other sites More sharing options...
smuseus Posted December 30, 2020 Share Posted December 30, 2020 (edited) @stheos, thanks, you're right. The distinction between a closed and open curve here is unclear, since the 'fuse' does connect the curve end to end. I find it at least non-obvious, it's not in the docs and it cause me quite some time problem-searching. Edited December 30, 2020 by smuseus typo 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.