Line rotated and Random problem

Hi guys!
I have two questions:
I want to have perpendicular lines on a curve, which I did, but when extruding them, some of them are rotated on their axis. How can I correct that?


some squares are perfectly perpendicular but others are rotated

The same lines I need the length to be random, how can I make a random component affect the whole data tree? Or do I necessarily need to have many random components with several line components?



Line torsion and random problem.gh (36.3 KB)

Here’s one possible solution:

Line torsion and random problem_re.gh (35.9 KB)

-Kevin

1 Like

In the end, there was no need to use Line SDL, thanks for the help, Kevin!