Izat Posted February 7, 2019 Share Posted February 7, 2019 Hey guys! I tryed to make a parralel offset of curve so it moves evenly compared to it's original apperiance. I couldn't do it without sweep node. Because I needed not only normal pointing to proper direction but also needed it's magnitude to push points with proper strength. For this I used "Angle fix" option in sweep node. Other method gave me a proper normal, but it was normalized. How would you do it with other methods? curve_parallel_offset.hipnc Quote Link to comment Share on other sites More sharing options...
Atom Posted February 7, 2019 Share Posted February 7, 2019 Check out the node PolyExpand2D, it might help in certain situations. 1 Quote Link to comment Share on other sites More sharing options...
Izat Posted February 7, 2019 Author Share Posted February 7, 2019 Hi Atom. Thanks for the reply. Yes, I'm aware of Polyexpand node. In fact I liked it a lot, but it didn't give me the effect i wanted, although it gave another good result (attached the image). If it used on an open curve, it expands a curve in all directions, not thw way I wanted. But anyway I'll check it one more time, I may missed something about it. Quote Link to comment Share on other sites More sharing options...
AntoineSfx Posted February 8, 2019 Share Posted February 8, 2019 Use Sweep SOP with the curve as backbone and a Line SOP in the x direction, Enumerate SOP the line points, then after the sweep, delete SOP the points which you don't want (group: @index==0), then Add SOP / by group You'll still have to handle somehow the case where the curvature of the curve is less than the length of the line, you'll maybe have to read some differential geometry.. 1 Quote Link to comment Share on other sites More sharing options...
Izat Posted February 8, 2019 Author Share Posted February 8, 2019 Hey Antoine. Thanks for the tips. Enumerate sop is totally new for me. Nice to be aware of it. Differential geometry? Hmmm. Have to check it soon. I tryed to make it work and put it in same scene file, attached it. You can check it in spare time if everything is right. curve_parallel_offset.hipnc 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.