hello,
I'm trying to set up a relationship between a point and a set of louvers. So, as the the point gets closer to the louvers (in x,y and z), the louver rotates by opening out. I've made some progress but I'm having trouble setting a boundary for the rotation so it stays within 0 and 90 degrees. The degree should be a function of how close the point is to the edge of the circle. You can download the g.h file at - https://www.yousendit.com/download/bVlBZUNpZ2dqY3BjR0E9PQ the formula i'm using in the function variable is : ((x-a)/(b-a))*(d-c) tx = ((S max - Sx) / (S max - Smin)) * (T max / T min + T min) It seems to work but it's not precise. the two issues are 1. setting a boundary so the rotation stays between 0 and 90 degrees. 2. closing the loft at each floor instead of it spiralling upwards. ( i tried extracting the first set of curves by inserting a subset function and it worked, but i'm sure there's a better way than inserting 10 of them) thanks for your time, t p.s. David, great job with the grasshopper
