4

Take a look on the image. I have a line with two segments (on the left). How to make smooth connection between them keeping one segment untouched (right side)? I know two methods but they are not so easy. I need a method that takes one or two actions.

Update: It seems we need a plugin for this, as there is no good answer.

enter image description here

4
  • For complex cases where you want the smooth curve to be 100% exact, you might find this useful: Create a smooth connection (blend) between open paths in Illustrator Feb 18, 2013 at 12:47
  • I didi mention that there are third-party plug ins for this in my answer.
    – Scott
    Feb 19, 2013 at 11:32
  • 1
    Re. "we need a plugin for this, as there is no good answer" - Unless there's something you've not mentioned, the method I suggested does exactly what you asked for with just click-shift-c-click/drag (if you've got smart guides on and the pen tool active from having finished drawing - and you only need the first click some of the time). There might be something in Vectorscribe that is only one click, but what do you need to do that can't be done without plugins? You also never said what the two methods you knew were. Feb 19, 2013 at 13:06
  • To say there is "no good answer" is not right. You have several excellent answers here.
    – Billy Kerr
    Apr 5, 2017 at 8:42

5 Answers 5

8

Unless I've missed something, there's an easier way that still keeps the line 100% perfectly straight.

Three simple steps, needing just two clicks and at most three common keyboard shortcuts:

  • 1- Use the pen tool (p) to select the path end point closest to the segment you want to stay straight. This makes sure the direction of the path is pointing towards the segment you want to keep straight. So in your example, if you drew it left-to-right, use the pen tool to select the left hand end point - which (invisibly, unless like in my screenshot example below you have arrowheads or a brush on the path stroke) turns the direction of the path around. You don't need to do anything else with the pen tool, just select the end point then move on to step two.

enter image description here

  • 2- Turn on smart guides if they're not on already (cmd-U, or under the View menu)
  • 3- Using the convert anchor point tool (shift-c), drag on the corner keeping your cursor over the straight line segment. The smart guides will help you stay precisely on the line, keeping that part perfectly straight.

enter image description here

Tip: Make sure the only visible piece of bright green Smart Guide noise is a tiny green cross telling you you're perfectly over the line (as in the screenshot above). Illustrator smart guides love nothing more than matching your points up against completely random-seeming unexpected things.


The significance of step one is, if the path was other wrong way round, you'd be controlling the wrong handle, so either the path would bend the wrong way, or your cursor would be opposite to the straight path so you wouldn't be able to use the smart guides to stay perfectly on course.

enter image description here

Note how the green X above (cursor position) is in the exact equivalent position to in the previous image - but with the path the other way round, the result is very different.


If you want, you can then tidy up and get rid of that redundant extra handle that is sitting on top of the straight path segment. You don't need to, but it might make the shape easier to work with, depending on what you're trying to do.

To do so, use the white arrow (direct selection tool, A), and drag that handle back onto the corner . The smart guides will help you drop it precisely on the corner.

The other handle might go crazy when you're near the corner, but when you have it precisely on the corner, it'll calm down. Alternatively, holding down alt while dragging one handle tells the other handle to just stay where it is.

0
2
  • Destroy (delete) the horizontal segment leaving the anchors.
  • Option/Alt drag from the top anchor of the angled segment to pull out a handle.
  • Click once with the pen tool where the remaining stray anchor from the horizontal remains. (Switch to outline mode so you can see it.)

enter image description here

There are third-party plug ins which make this a single click-drag operation, but Illustrator doesn't provide any comparable method itself.

2
  • This is not accurate method. The vertex in not laying on the parent line.
    – yakunins
    Feb 18, 2013 at 13:44
  • There was no mention of that requirement. However, simply turn on smart guides and you can match the angle. In addition, if you know the angle, you can add construction guides in the preferences. You may want to fully disclose all requirements in the future. It will aide in receiving answers you want.
    – Scott
    Feb 18, 2013 at 14:10
1

I would suggest the following method:

  1. Select the diagonal segment with a white arrow and copy it into the clipboard.
  2. Paste the segment in place with Ctrl+F, Ctrl+B or Ctrl+Shift+V.
  3. Scale the pasted segment up and right holding Shift. This will retain the angle and the position of the lower point.
  4. If the Smart Guides are off, turn them on with Ctrl+U.
  5. Now pick Convert Anchor Point Tool, click on your corner point and drag along the pasted segment letting the handle stick to the pasted segment - this will ensure the smoothness of the connection.
  6. Delete the pasted segment.
1
  • This tricky method I used for a long time. And still using it :( Moreover, "Convert Anchor Point Tool" creates two vertices and one of those should be deleted.
    – yakunins
    Feb 18, 2013 at 13:46
0

I just copied/extended the line and moved it to the top anchor point then converted this into a path. Now you are able to ALT+drag with the path tool and use the created guide as a constraint

0

Get also a smooth connection to the other line:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.