2

I am trying to think of a way to make this shape in Illustrator, is it a shape that encloses two circular gears (below is the hand drawn, non geometric shape I have now):

enter image description here

This is as far as I have gotten, but I can't seem to think of how to make the "angle" between the two circles into a rounded angle:

enter image description here

How can this be made in a symmetrical and geometric way?

2

4 Answers 4

11

It's not so easy to do this in Illustrator without doing some manual operations or tweaks. Scott has covered possible ways in another answer he linked to and Joojaa has provided another possible method. These are both fine obviously. However, these edits are still a bit manual.

I know you asked how to do this in Illustrator, however I think it's worth mentioning other software too. Edit The following can also be done in Illustrator using Offset path effects as was correctly pointed out by joojaa.

You could set it up using non-destructive Live Path Effects. It's super easy,and being non-destructive, the effects are adjustable.

Anway, this is for Inkscape.

First make your interlinking circles, then duplicate them and do a boolean union operation.

Then to this add an Offset Live path effect, click and drag on the control to make it extend beyond the area you want the final outline to appear.

enter image description here

Then, add a second Offset LPE, this time set the Join to "rounded", and click and drag the control inwards to the desired size.

enter image description here

Everything is still fully editable, indeed both LPE effects are editable and you can click and drag the control points until your heart is content.

enter image description here

It's even possible to use a Live Path Boolean Union effects, with multiple shapes, and then you can click and drag the circles to see them interact.

enter image description here

In Illustrator:

Convert the two circles to a Compound Path by selecting them and going in the top of the screen's menu

Object > Compound Path > Make.

Then select the compound path and create a first Offset Path:

Appearance Panel > FX > Path > Offset Path > Offset 40px

(do not do this through the Object Menu atop the screen! It would create another type of Offset Path with an identical name but different properties and invisible in the Appearance Panel)

Then create a second Offset Path:

Appearance Panel > FX > Path > Offset Path > Offset -35px Joins: Round

enter image description here

1
  • Comments are not for extended discussion; this conversation has been moved to chat.
    – curious
    Apr 23, 2022 at 16:53
4

I dont really see what the problem is but maybe you have a workflow problem. Im having a incomplete pricture of what your fudamental problem is so i will roll this back to basics.

But before we begin. You should immediately stop thinking of illustrator as a application that gives you some magic tools that solves your problems. Illustrator has some functions like that, but in general you can never rely on them untill you have a lot more experience. So the first frame chage in your mind to make is to not try to do anything other then what you would do if you were drawing with pen and paper.

  1. So first things first make life easy on you in this case enable the grid, and put gridsnap on. So do:

    • View -> Show Grid
    • View -> Snap to Grid
    • Then adjust grid size to fit your expectation in Edit -> Preferences Guides and Grid...

    This will make your life easier in this case.

  2. Next draw he circles with ellipse tool.

    Now the trick is that the ellipse tool draws a circle from the center if you hold ctrl + alt down while dragging. Alternatively you can alt + mouse click on center and type the size.

    enter image description here

    (sorry no animated capture on this computer)

  3. Draw two lines or a connecting box from the smaller cirlce out

    enter image description here

  4. Use shapebuilder or even better Window -> Pathfinder to join the items

    enter image description here

  5. Use direct selection tool to select the connecting points. And drag the round circle handle out (or type value into control toolbar) Done.

    enter image description here

Now it is far better form a mechanical standpoint to draw this shape instead:

enter image description here

4
  • Thanks. I followed your steps but the rounded corners handle didn’t work so I will try again. The last image is not what I need because the shape needs to be tight around the two circles Apr 22, 2022 at 9:36
  • @MicroMachine maybe you want to use a offset instead?
    – joojaa
    Apr 22, 2022 at 9:37
  • @MicroMachine not that drawing a real in volute shape in illustrator without scripts is nearly impossible
    – joojaa
    Apr 22, 2022 at 9:48
  • @MicroMachine is it possible that your problems is caused by having the "realtime dragging" option or "show shape widgets" enabled. Both features which essentially make illustrator unnecceserily hard to use.
    – joojaa
    Apr 22, 2022 at 10:08
3

I have been using Metaball-Arc and Metaball scripts by Hiroyuki Sato for years and love them. I would suggest trying out these scripts if you haven't already. They work very well and are much easier than the alternative solutions I have seen.

https://shanfan.github.io/Illustrator-Scripts-Archive/

To use the script, do the following:

  1. Download and unzip script files from link
  2. Create two circles and select them in Illustrator enter image description here
  3. Go to File>Scripts>Other Script... enter image description here
  4. Locate and run the Metaball.js script enter image description here
  5. I just use the default value of 50 in the Script Prompt enter image description here
  6. Your result will look like this: enter image description here
  7. Merge the objects enter image description here
2
  • 1
    It's moved to chat now.. but I did suggest this in comments :) I added it back. :)
    – Scott
    Apr 22, 2022 at 22:02
  • @Scott, nice! I love those scripts. Didn't see your comment! Apr 22, 2022 at 22:08
2

The questioner wanted "a geometric way" solution instead of eyeballing. Unfortunately the problem is loosely defined.See the next image:

enter image description here

The question contains 2 circles on the same Y-coordinate - the purple one and the red one in my illustration. Then there's a horizontal line (blue) from the top point C of the red circle to the purple circle point X.

The questioner seems to want a curve AB (orange) between the purple circle and the line CX so that the curve is tangential with the purple circle in A and with the line in point B somewhere between C and X. The places of A and B were not defined and the exact wanted type of curve AB is also undefined.

There's already an answer which suggests rounding corner X with the corner widget. Tangency points A and B will take their places as the widget wants and depending on what's the rounding radius. Actually there's only one possible circular arc and point pair AB if the radius of the arc is given beforehand. In legacy Illustrator and freeware the arc can be constructed exactly also without the corner widget. One can use elementary geometry, but that's tricky when compared to the corner widget.

Another approach is to draw manually a 2 node Bezier curve with the pen. The tangency is not a problem. One can turn the handles on the tangent lines. The tangent line in point A can be got by rotating 90 degrees a radius of the purple circle. Points A and B can be selected freely because AB will be a Bezier curve, not an arc:

enter image description here

Point A was selected arbitarily. A new anchor was inserted to it on the circle. The yellow radius and its 90 degrees rotated copy (green) were drawn to A. The yellow curve was drawn with the pen by dragging the handles along the green line and line XC (=cyan to allow the handles to be seen). The handles snap during the drawing if one has Smart Guides and Snap to Point ON, no other snaps!

I'm afraid this is not what's wanted. The tangency is achieved, but the result has too much variation possibilities which essentially is the same as the questioner has already tried.

The 3rd idea is to declare that AB is a circular arc, but its endpoint B is decided beforehand. It can be anywhere between X and C, even the same as point C. The next image is used to describe the construction:

enter image description here

The horizontal distance between point B and the center of the purple circle is declared to be = P.

If P and the radiuses R1 and R2 are known as numbers one can calculate the radius of the arc (=R3) from the Pythagorean triangle equation. Then it can be used with the corner widget or as well to draw the wanted arc (actually the full circle) as a plane geometry construction.

The rectangular triangle to be used is the cyan one in the next image:

enter image description here

The Pythagorean theorem binds together P and the radiuses. The starting equation and the solved arc radius R3 are shown in the next image:

enter image description here

We can try it for ex. to draw the case where R1 = 30 millimeters, R2 = 20 millimeters and P = 40 millimeters. Substituting R1, R2 and P to the formula gives R3 = 55 millimeters. It's an integer. If there were decimals, one must NOT truncate them. We draw circles with diameters 60, 40 and 110 millimeters. To place the 110 mm circle (green) we insert a high enough 40 mm (=P) wide rectangle one corner in the center of the 30 mm circle. The center of the green circle snaps to the right vertical side of the rectangle and its bottom node snaps to the line XC:

enter image description here

One can stretch the rectangle downwards, draw the copies of the circle and the line XC also to the bottom side and collect the final shape with the Shape Builder tool. The result:

enter image description here

NOTE: The placement and the size of the green circle does not depend on how far to the right the red circle was placed from the center of the purple circle. As said point B can well be the same as C. Here's a small horizontal zone left between B and C.

The 4th idea is to show that my former clause "freeware doesn't have a corner widget" was false. A free CAD program DesignSpark Mechanical has it. It has recently got also constraint based sketching which also could be used, but the corner rounding tool is enough for this job.

Here's a horizontal line and 2 circles on it. The grid snapping is not used, so the items are not aligned with the grid. But the drawn parts snap to each other. The horizontal lines are inserted to the top and bottom of the smaller circle. The vertical line is the wanted ending of the forthcoming rounding.

enter image description here

The rounding tool is applied. One clicks to the big circle and the wanted ending point of the rounding. The old lines vanish automatically; they are rounded:

enter image description here

One can wipe off the unnecessary splinters with the trim tool:

enter image description here

The program is freeware. It has limitations which can be removed by paying. One of them is exporting drawings. But as a workaround one can print the scene as PDF and open the image as vector in Illustrator for color and line type selection.

BTW. Although limited, the program still is a CAD program with very useful 3D capabilities. I would try to draw there as much as possible of the job.

3
  • Oh, a nice geometry lesson ;)
    – Billy Kerr
    Apr 22, 2022 at 15:21
  • You can also use offsets to figure the intesection point where circle must be.
    – joojaa
    Apr 22, 2022 at 16:12
  • Yes. An alternative way to find the right centerpoint to the green circle is to draw to the same center with the purple circle a new one with radius R1+R3 and see where it cuts the right side of the black rectangle in my construction. The circle can be drawn without calculating its radius, one can say the wanted radius R3 like in your corner widget suggestion. The green circle can be drawn from the found centrpoint (hold Alt+Shift) and let to snap with line XC. The tangency point A will be right automatically. That's the tricky way when there's no corner widget available, but R3 can be set.
    – user82991
    Apr 22, 2022 at 17:06

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.