Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to Adobe Illustrator and I wanted to accomplish this task. How do I remove the inner lines in my drawings? I tried with all the pathfinders effect but it keeps removing my tangent lines (the lines connecting both my circles).

cicles tangent

It works like a charm as I followed the selected's answer guide:

Here it is.


share|improve this question
up vote 1 down vote accepted

Pathfinder won't find anything with just lines -- it only works with the area that a path is enclosing. You'll want to connect your tangent lines and make them into a solid shape, a rectangle in this case.

Use the white arrow tool to select the right-end anchors of both lines (click on the first, shift-click on the second) and then Object > Path > Join (or Ctrl/Opt + J). Do so again for the two right-end anchors to end up with a rectangle-like shape.

Select this shape and both circles and choose the first Pathfinder option 'Unite'.

share|improve this answer
perfect! Thanks for the very good answer – Nicholas TJ Mar 12 '13 at 11:52

There's a script for that, which has the added advantage of giving you perfect connecting tangent lines.

It's called Metaball by the awesome Sato Hiroyuki - you can download it as part of a big bundle of mostly useful Illustrator scripts from his page here.

It turns a selection of circles into singular blobs by following tangent lines. Here's an example from that page - you can also input a value for the curve, and if you input 100, it gives perfectly straight lines like in your example.

enter image description here

Because it creates closed path shapes, you can select the paths it creates along with the circles, use Unite (the first of the Pathfinder window options), and it just works perfectly.

enter image description here

If you're working with tangents, also check out Common Tangents and Tangents From A Point from the same script bundle. Here's two examples from that site:

enter image description here

enter image description here

share|improve this answer
wow, i'm impressed. – Nicholas TJ Mar 13 '13 at 20:12
unfortunately the script is not there anymore :/ – andreas Sep 27 '15 at 19:32
the scripts are still available here – Cai Mar 31 at 14:09

I am crazy late in answering this, but this might be of use to somebody anyway.

I make three shapes, two circles and one adjusted square. Note the delightful colours, just to make it clear what shapes I have made:

enter image description here

Select all with the selction tool, then click the shape builder:

enter image description here

Start in the outer half of one of the circles and "pull" over to the other end:

enter image description here


enter image description here

share|improve this answer
nice color used in the example :) – Nicholas TJ Apr 28 '14 at 17:47
Hehehe - thanks. It took of course hours to get them right :) – Benteh Apr 28 '14 at 18:50

While most of the answers posted online are almost correct and give visually desired effect, I needed something 100% precise. Check out the references at the end to see animated geometrical construction of tangents.

For starters make sure to disable "Align to Pixel Grid" and "Align New Objects to Pixel Grid" in Transform Pane. You would probably have to zoom in few times to make sure anchors are placed in the intersections (as Illustrator sucks at it big time). Also, if the circles are not nicely aligned to each other, you will probably have to make some additional steps like: duplicate, rotate to horizontal position, draw stuff, rotate back again.

It takes some time and practise to draw tangent. The first part is creating a tangent through a point:

  1. Draw a line AB through the center of two circles A and B
  2. Add a point C in the middle of the line AB (fast method: Object > Path > Add Anchor Points)
  3. Draw a circle from point C with a radius of AC - you get two points: D and E
  4. Draw a line BE or BD - those are tangents of circle A and point B

The second part is using the created tangent to make a circle-circle tanget:

  1. Mark points F and G in intersections of AB line and both circles
  2. Draw a circle from point F with a radius of BG (its a same sized circle as B), getting a point H on the AB line (inside circle A)
  3. Draw a circle from point A with a radius of AH, getting points I and J on the intersections of this circle and the big circle C
  4. Draw a line from point A through I or J - make them stretch out to reach out of the circle (just use Scale Tool in point A with ALT or SHIFT) - getting points K and L
  5. Now you only have to draw a line BI and move it by point I to K or a line BJ and move it by point J to L

Final illustration for above steps:

circle-point and circle-circle tangents

References (with animations):

share|improve this answer
nice stuff, I'm a fan of perfection, will try this out later – Nicholas TJ Jul 22 '15 at 9:11
Hi Leszek, welcome to GDSE and thanks for your very thorough answer. If you have any questions, please see the help center or ping one of us in the Graphic Design Chat once your reputation is sufficient (20). Keep contributing and enjoy the site! – Vincent Jul 22 '15 at 9:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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