GlennimusPrime Posted April 11, 2023 Share Posted April 11, 2023 (edited) How can I aim all end point normals away from the next closest connected neighbour point on a curve? Kind of like this: Edited May 9, 2023 by GlennimusPrime Quote Link to comment Share on other sites More sharing options...
animatrix Posted April 11, 2023 Share Posted April 11, 2023 First isolate the end points using a point wrangle: if ( neighbourcount ( 0, @ptnum ) == 1 ) i@group_ends = 1; Then use that group in another point wrangle: int pts [ ] = neighbours ( 0, @ptnum ); vector p = point ( 0, "P", pts [ 0 ] ); @N = normalize ( @P - p ); 1 Quote Link to comment Share on other sites More sharing options...
GlennimusPrime Posted April 12, 2023 Author Share Posted April 12, 2023 This is great, thanks so much! 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.