Im trying make a chain of trapezoids following a curbs curve. The input parameters for the trapezoids is a range of width (W) and a range of angles (a) and a height (H) wich should be kept for all trapezoids.
On a straight line, similar trapezoids should alternate like in IMG1
When curvature gets higher. the trapezoids should get slim to handle the curvature. IMG2
The only problem I facing here is that the ends of the trapezoids do not match which is crucial for my application. IMG3
I tried to Use Anemone To use the end Points as start points for the following trapezoid. This doesn’t solve the problem because failiure adds up and The trapezoid chain wont follow the curve anymore.
Is there any other approach to reach a chain of trapezoids within a certain range of angles and widths to discretize a nurbs curve?
Thanks for any Input.
Curve to Trapezoid_MK.gh (19.9 KB)