4n7 Posted April 29, 2020 Share Posted April 29, 2020 (edited) I'm trying to roll a sweep node 90 degress but it never lines up, I've tried a bunch of options in roll, yaw, pitch but can't get it to look right or line up. What's the best tool to use for this? I think what I'm asking is how to smooth the transition or lose the m style for a round shape, i see lots of posts with an older version of sweep, not sure how to get $PCT or a ramp into the 'roll' section Thanks in advance SweepCurve.hiplc Edited April 29, 2020 by 4n7 update Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 30, 2020 Share Posted April 30, 2020 (edited) hopefully I've understood what you want, so you want the middle joint to be perfectly lined up right ? (ignoring the 'slight' angle at each ends) if so, simply centre your cross section first vu_SweepCurve.hiplc actually, maybe I don't know exactly what you want...furgedd it LOL. Edited April 30, 2020 by Noobini 1 Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 30, 2020 Share Posted April 30, 2020 (edited) how about 2nd chance, change your track curve to NURBS, both ends would be perfectly lined up, the divisions however are a bit out and the ends...you may not care about this...or remesh...or whatever, dunno. Edited April 30, 2020 by Noobini 1 Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 30, 2020 Share Posted April 30, 2020 (edited) ahhh...got it, took me 3 goes !!! this one both ends would perfectly line up AND with nice uniform divisions vu_SweepCurve2.hiplc (secret sauce: Extrapolate End Tangents in orientaslongcurve) Edited April 30, 2020 by Noobini 1 Quote Link to comment Share on other sites More sharing options...
Aizatulin Posted April 30, 2020 Share Posted April 30, 2020 Another problem is, that mirror is destroying the smoothness, but you can also set a custom roll attribute to keep the smoothness at the end. "Extrapolate End Tangents" is also available in the sweep node, but it seems that they are using "orientalongcurve" internally. SweepCurve_.hipnc 1 Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 30, 2020 Share Posted April 30, 2020 (edited) well...guess what ? the secret sauce is IN the sweep as well....you go find it !!! LOL. i just saw it 1 sec after aizatulin !!! Edited April 30, 2020 by Noobini 2 Quote Link to comment Share on other sites More sharing options...
4n7 Posted April 30, 2020 Author Share Posted April 30, 2020 Thank you both, this exactly what I was after, after searching I saw orientalongcurve was part of the new sweep node, I just have no idea how to implent it, this is exactly what I was after so thank you, I now have a smooth banked curve I'm using the attribute wrangle from @Aizatulin float u = float(@ptnum) / (@numpt - 1); @roll = chramp('roll', u); This works perfectly, many thanks 1 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.