Rotate lines

Hi guys,

Im having soe trouble with rotating a couple of lines. I want to rotate half of the lines to one direction and the other half in the opposite direction.

rotate lines_pp_01.gh (1.6 KB)

Thank you very much!

Here are a couple of ways based on what your sketch shows:
rotate lines_pp_01.gh (19.5 KB)

rant alert:
bear in mind your sketch shows a specific scenario (half of your geometry to the ‘left’, the other half to the ‘right’, of a point, in this case rhino’s origin) - that makes it easy to solve here, but ‘half of all curves’ does not need to obey the symmetry of their placement or order, meaning this solution doesn’t work for a more arbitrary collection of lines.

Best

1 Like

thank you very much!!
muhc appreciated!