Hi everyone,
I’m working on a Grasshopper definition to prepare the fabrication process for a curved log. The goal is to straighten it using 5° wedges placed at strategic cuts. I have a polyline representing the center axis of the log (generated using the Cockroach plugin), and I’ve created a simplified version of this polyline with fewer, longer segments to make fabrication more manageable.
The idea is to divide the log based on its curvature, calculate the required rotation angle between segments, and place 5° wedges accordingly. I’ve already estimated the angular change between segments and I’m approximating the number of cuts so the total rotation is a multiple of 5°.
Here’s where I’m stuck:
I need to align the cutting planes toward the concave side of the curve (the inner side of the bend), but I want these planes to be oriented based on the full original centerline, not the reduced/segmented version.
I’m having trouble getting the planes to consistently face the concave side, and I’d also appreciate any tips on accurately calculating the rotation angles between segments.
I’ve attached the Grasshopper file for reference.
Thanks in advance for any help!
Cut_CurveLog_2.gh (9.5 MB)