drawing a line perpendicular to a path
Hi,
I have a curved path I imported into Illustrator, and I'd like to draw a line perpendicular to the curve at a particular point. I've searched google and this forum, but can't find any description of how to do it. Corel Draw has a button that lets you do this, so I'm hoping something similar exists in Illustrator...
i'm currently just calculating the angle at the point I want using the derivative, finding the angle, and then adding 90 degrees to it. But I need the line to be placed at a particular point, and the X/Y properties of the line are based on the ruler which isn't even in the center of the document (I want to position it relative to the artboard). As in, I just want to set the position of one endpoint of the line...
any suggestions?
thanks!
