Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for professional graphic designers and non-designers trying to do their own graphic design. It's 100% free, no registration required.

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.

success

share|improve this question
add comment

2 Answers

up vote 0 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
add comment

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
add comment

Your Answer

 
discard

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.