algorithmic modeling for Rhino
Hello, I have a pattern I'd like to send for fabrication. For the purpose of getting a clean cut, I need to move all the curve seams to the middle of the longest line in each closed curve. At first I used the adjust curve seam component, but all the curves get a different result. Next, I thought I'd explode all the closed curves, compare lengths of the resulting segments, find the longest one, then find the midpoint of it, then join the lines back together. I'm guessing I need to use lists to do this but I'm not sure how to proceed. Any ideas would be greatly appreciated.
Thanks!
Tags:
hey woodduck, would you mind attaching yours? my recreation is coming up wrong. thank you in advance!
Hi Woodduck.
Thanks for the post. I had the same problem. I wanted to find a way to move the crv seam to a specific point on a curve to enable me to do the nesting and tool pathing quicker. But I had a home or zero point that I wanted to use as a reference. So finally I got it to where it gave me the correct point but your script helped me to move the seam.
Here is my file. it works for 98% of all curve.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by