• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

drawing a line perpendicular to a path

New Here ,
Apr 24, 2010 Apr 24, 2010

Copy link to clipboard

Copied

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!

Views

28.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Apr 24, 2010 Apr 24, 2010

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 08, 2013 Jan 08, 2013

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 08, 2013 Jan 08, 2013

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 08, 2013 Jan 08, 2013

Copy link to clipboard

Copied

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...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 09, 2013 Jan 09, 2013

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 09, 2013 Jan 09, 2013

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines