Script that takes 3 inputs and generates object
I posted this on reddit, but nobody answered there. I'd like to create a worksheet that contains rectangles and a script that shears them. The user should be able to do the following with the script:
Choose the polygon to shear by entering its name.
Choose the invariant side of the polygon by entering its end points.
Choose the shear factor with a slider (so that he can see the effect of different shear factors in real time and choose the appropriate value).
Press enter to output the transformed polygon (which can then be manipulated further).