Hi Community ,

I have a set of many rectangles, all of the same with but with different heights.

I now would like to draw lines through the center of each rectangle with a length according to their sizes.

So far so good.

I would now like to rotate every single line in a way that the shortest line has an angle of -45 degrees and the longest line has 0 degrees. So kind of a range between -45 and 0 .

Anyone who could help me with this ?

Would be much appreciated !

Thanks in advance !

GK