Skip to main content
Gareth_Williams
Inspiring
July 29, 2026
Answered

Making Rounded Diamonds?

  • July 29, 2026
  • 45 replies
  • 386 views

Hi everybody, I am trying to make these weird rounded diamond shapes out of another shape consisting of a tube and a circle. I want to blend the ends of the tube smoothly with the edges of the circle with straight lines to make a new shape. As illustrated. I hope that makes sense! 

When making the grey shape to merge with the original red shape, with snap to point and smart guides on, you can kind of do it by eye, but you have to guess exactly where on the circle circumference to put the point to get a smooth blend. As you can see if you zoom in, the bottom right side of the new shape is not quite right. Is there a better more reliable of doing this than just going by eye and guess work?

 

    Correct answer Jacob Bugge

    Gareth,

     

    Just to go vintage with the whole solution, based on the Common Tangents script answer by Kurt with addition of another script from the same collection and rounding up in a way that has been with us for decades (see comments below):

     

    1 ) Starting with the paths,

    2 ) Select both, then apply Common Tangents,

    3 ) Select all, then apply Join Reasonably,

    4 ) Apply Pathfinder>Unite (different wording over time).

     

     

    Click to get closer, Click again to get closer still

    You can find the scripts in the free set of scripts by 佐藤浩之 (Satō Hiroyuki), either here or here,

    https://github.com/shspage/illustrator-scripts/tree/master/etc

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

     

    Comments:

     

    The description and images are based on the two closed paths in 1). If there are open paths or two smaller circles instead of the long path with rounded ends, it becomes a bit more complicated, as follows:

     

    2 ) If there are two small circles together with the large one, there will be superfluous Common Tangents which should be removed so only the four relevant ones remain (quite easy).

     

    3 ) If there are any other open paths than the four Common Tangents, the Join Reasonably will lead to a mess instead of the orderly creation of the octagon including them,

     

    45 replies

    Gareth_Williams
    Inspiring
    August 26, 2026

    Ok, I’ve done it with the four step method. This method is much quicker. Hiroyuki Sato needs a lot of credit for this. These scripts are a piece of genius! It saves so much time. Thanks again to everybody who helped!

     

    Jacob Bugge
    Community Expert
    Community Expert
    August 26, 2026

    For my part you are welcome, Gareth, and thank you again for a very inspiring challenge.

    Gareth_Williams
    Inspiring
    August 21, 2026

    Hi everybody, I’m following Jacob Bugge’s 4 step method, which looks fantastic, but run into problems. I’ve downloaded the folder “Shanfan-Illustrator-Scripts-Archive-418b0e0” from https://shanfan.github.io/Illustrator-Scripts-Archive/

    opened the zip folder but what do you do next? Thanks again for your help.

     

    Jacob Bugge
    Community Expert
    Community Expert
    August 21, 2026

    Gareth,

     

    It looks different to what I (mis)remember from long ago, but I believe you can just use the Jsx folder.

     

    Even with my profound lack of scripting knowledge I believe Jsx is for contemporary/moderately old versions and Js is for really old ones; I have no clue what _doc is for (other than maybe trying to getting into trouble).

     

    And as I (mis)remember, you can simply change the extension between .Js and Jsx.

     

    Any of the other responders can give the right answer with certainty.

     

    Failing that I believe you can use this older page by by 佐藤浩之 (Satō Hiroyuki), which I just found it again, and it contains both the Common Tangents and the Join Reasonably, with descriptions,

     

    http://shspage.com/aijs/en/

     

    And you can just download the zipped Archive at the top of the page and Unzip, then change the extension of each from Jx to Jsx.

     

    Gareth_Williams
    Inspiring
    August 21, 2026

    Sounds good! The JSX folder contains a file called “Common Tangents.jsx” What should I do with that file?

    Thanks again.

    Ton Frederiks
    Community Expert
    Community Expert
    August 7, 2026

    @Gareth_Williams and ​@Jacob Bugge If it must be build from separate elements, I like the simple 4 step solution from Jacob 7 days ago witht the scripts from Satō Hiroyuki.

    If the diamond has to be build from 3 circles, you may want to add a PathFinder Divide before using the last PathFinder Unite.

    Jacob Bugge
    Community Expert
    Community Expert
    August 7, 2026

    I agree Ton, and it is my favourite even though the 2 step solution by Kurt 8 days ago is even simpler, still preferring Pathfinder to Shape Builder, even with a bit more effort.

     

    Ton Frederiks
    Community Expert
    Community Expert
    August 8, 2026

    Yes, Jacob, Kurt’s one is simple too, but needs some fiddling withe the Shape Builder tool. Even quicker; an Action, but I found that I had to include Select All multiple times to avoid incomplete fills.

    Gareth_Williams
    Inspiring
    August 4, 2026

    I started with Carlos’s method as it was posted first. I have run into trouble at the very last step.

    If you select the tangent lines FE and GH, the line AB and the small circle C1 (in green) and rotate 180º you get this!

    Can you just select the two tangent lines and line AB and reflect it from the end of the line AB which is at the centre of Circle C2? 

    Thanks again.

    CarlosCanto
    Community Expert
    Community Expert
    August 4, 2026

    @Gareth_Williams that looks great! ok you need to set the rotation point at the center of the big circle (anchor b). At the moment you’re rotating around the selection.

    reflecting at center of C2 works as well, the reflection point is the same as the rotation point

    Gareth_Williams
    Inspiring
    August 5, 2026

    I’ve done it now.

    I’m just having problems uniting the whole shape with the shape builder tool. I can’t get the top section between the two circles to go grey when I roll the shape builder pointer over it. I’m almost there!

     

    Gareth_Williams
    Inspiring
    August 1, 2026

    Wow! There is some good stuff here! I will try to follow the steps illustrated next week and update the thread with news the outcome, or any difficulties or questions I might have. Thanks!

    Jacob Bugge
    Community Expert
    Community Expert
    August 1, 2026

    Thank you for a very inspiring challenge, Gareth.

     

    This thread is pleasant and rich, just like many of the threads in the old days.

     

    I for one am looking forward to its continuing.

     

    Jacob Bugge
    Community Expert
    Community Expert
    July 31, 2026

     

    Lovely drawings, Carlos.

     

    And now we are talking.

     

    Ever since I met Illy (job description Adobe Illustrator) in the previous Millennium, she has always been very helpful, and she has much drawing skills than I. So I have adapted to her ways.

     

    Here is a 13 step way (curiously the same number as yours), each step shown separately, with different part colours and using the following Tools along with Object>Path>Add Anchor Points, the Join Reasonably script, and Pathfinder>Unite:

     

    Circle

    Rounded rectangle

    Line Segment

    Rotate

    Reflect

     

    Click to get closer, Click again to get closer still

    CarlosCanto
    Community Expert
    Community Expert
    July 31, 2026

    thanks Jacob, nice method of yours as well

     

    how did you go from 9 to 10, did you re do the previous steps or is it the green angle translated to the purple angle?

    CarlosCanto
    Community Expert
    Community Expert
    July 31, 2026

    this is probably not practical but for the geometry lovers, here’s how to draw tangents by hand

     

     

    Jacob Bugge
    Community Expert
    Jacob BuggeCommunity ExpertCorrect answer
    Community Expert
    July 30, 2026

    Gareth,

     

    Just to go vintage with the whole solution, based on the Common Tangents script answer by Kurt with addition of another script from the same collection and rounding up in a way that has been with us for decades (see comments below):

     

    1 ) Starting with the paths,

    2 ) Select both, then apply Common Tangents,

    3 ) Select all, then apply Join Reasonably,

    4 ) Apply Pathfinder>Unite (different wording over time).

     

     

    Click to get closer, Click again to get closer still

    You can find the scripts in the free set of scripts by 佐藤浩之 (Satō Hiroyuki), either here or here,

    https://github.com/shspage/illustrator-scripts/tree/master/etc

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

     

    Comments:

     

    The description and images are based on the two closed paths in 1). If there are open paths or two smaller circles instead of the long path with rounded ends, it becomes a bit more complicated, as follows:

     

    2 ) If there are two small circles together with the large one, there will be superfluous Common Tangents which should be removed so only the four relevant ones remain (quite easy).

     

    3 ) If there are any other open paths than the four Common Tangents, the Join Reasonably will lead to a mess instead of the orderly creation of the octagon including them,

     

    Ton Frederiks
    Community Expert
    Community Expert
    July 30, 2026

    @Gareth_Williams Or you could start with a diamond shape and round the corners with the round corner widgets.

     

    Gareth_Williams
    Inspiring
    July 30, 2026

    Thanks Ton, that looks fantastic but the problem is, my shapes start with a central circle and a pair of smaller surrounding circles defined by something else in the illustration. I’ll keep investigating and we’ll see how it goes! Thanks again.

    Gareth_Williams
    Inspiring
    July 30, 2026

    Smart guides are not helping to find the tangents. When you put the first point down how would it know that’s what you are trying to do? I’m basically just dragging the eight anchor points of the grey shape around on the path of the red shape until it looks smooth by eye. All smart guides is doing is keeping the points on the path of the red shape. It takes a long time and it not always right in the end! It might be time to experiment with Hiroyuki Sato's script called "Common Tangents”!

    Gareth_Williams
    Inspiring
    July 30, 2026

    Smart guides might help if the tube and circle shapes are separate. I’ll try that next!