Skip navigation
skunkwerk
Currently Being Moderated

drawing a line perpendicular to a path

Apr 24, 2010 5:34 PM

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!

 
Replies
  • Currently Being Moderated
    Apr 24, 2010 5:46 PM   in reply to skunkwerk

    Bit of a pain, but here goes:

     

    1. Use the Pen tool and click on the point where you want your normal segment. See those two control handles coming from the line? The line they define is tangent to your curve.

    2. Use the Pen tool and click exactly on one handle. Now you have one free point where one handle is.

    3. Use the Direct Select tool (white arrow) and click again on the point on the curve.

    4. Switch to the Pen tool and click exactly on the other control handle. Now you have two free points.

    5. Selects the two point and go to Object > Path > Join.

    6. With the segment still selected, switch to the Rotate tool and click on the point where the curve meets the segment.

    7. Now hold Shift as you drag to rotate 90°.

    8. Oh dear, there’s still that extra point you added to the curve. Let’s fix that. Select the new segment and Edit > Cut.

    9. Undo repeatedly until you are back before step 1 (before the extra point was added).

    10. Edit > Paste in Front.

    11. Invent a new lexicon of curse words for 22 year old Adobe Illustrator, now at version 15 and still not the equal of programs half its age, selling for a fraction of its price.

    Screen shot 2010-04-24 at 5.43.45 PM.PNG

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 8, 2013 6:50 PM   in reply to Scott Falkner

    This is a ridiculous issue. I have to create this:

     

    bricks.PNG

    It's a brick-like pattern for a bit of geological strata. The vertical lines need to be perpendicular to the horizontal, wavy strata. Going through this process for every single vertical line is untenable.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 8, 2013 6:58 PM   in reply to ndthl123

    Just turn on smart guides (View Menu) and then hold the shift key down while you drag with the Line tool.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 8, 2013 10:39 PM   in reply to [scott w]

    Shift only snaps it to vertical, horizontal or NE/NW/SE/SW, not actually perpendicular to the origin line at that particular point. For example a line for a stratum that is at a slight angle...

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 9, 2013 7:17 AM   in reply to ndthl123

    RIdiculous, isn't it? Welcome to Illustrator.

     

    For a single instance of constructing a perpendicular to a curve, you can streamline the above suggestions a bit by:

     

    SmartGuides on. (SmartGuides is the only reasonably reliable snapping function in Illustrator.)

     

    1. Select the curved path. Copy.

    2. Add Anchor Point Tool (the 'plusPen'): Click the curved segment where you want the point of tangency. Do not deselect the path.

    3. LineTool: Mousedown on one of the Direction Lines ('curve handles') of the added Anchor Point (SmartGuides snap to) and drag to the AnchorPoint (SmartGuides snap to).

    4. DoubleClick the Rotate Tool and rotate 90° (or click the end of the Line [at the tangency anchorPoint] with the Rotate Tool to set the center of transformation there,  and then shiftDrag the opposite endPoint ).

    5. If you don't want the added anchorPoint when you're done, delete the original curved path and then Paste In Front.

     

    But for your fill pattern, you should build yourself a Pattern Swatch or a Brush, so you don't have to draw each perpendicular manually.

     

    JET

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 9, 2013 8:03 AM   in reply to skunkwerk

    The free plugin "SubScribe" has a "line perpendicular from path" tool, that can do this.  Works in CS3 to CS6

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points