Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to convert one shape into another?

Enthusiast ,
Aug 31, 2023 Aug 31, 2023

In InDesign, there is a friendly command to convert many regular shapes into one another but not so in Illustrator? Suppose, for example, I draw a circle with the Ellipse tool but then I need to draw a polyon that has the exact "size" as the circle? In French, we say "une forme INSCRITE" like "un hexagone inscrit", meaning one shape fitted into another. We used to do this with compass on paper in high school technical drawing classes...

 

I know the Effect command to convert Rectangles and Ellipses but that's not very useful...

Been scratching my head for a while. I manage but you would think Illustrator would make such conversion trivial by now...

TOPICS
Performance
6.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Enthusiast ,
Aug 31, 2023 Aug 31, 2023

I just drew a Triangle by clicking on the "center" of the circle and drawing outward, with the Smart Guides active, it eventually intersects with the circle and that gives me all the precision needed BUT it should be a simple "one-click" command somewhere,,, Think of my poor students learning Illustrator for the first time... 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 31, 2023 Aug 31, 2023

Did you try to change poligon property in property panels? 

Screenshot 2023-08-31 214052.jpg

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 31, 2023 Aug 31, 2023

Yes, that's trivial but the Properties panel does not offer any way to convert a "circle" into a "polygon"? See? Thanks for offering your help 🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 31, 2023 Aug 31, 2023

Are you talking about something like this?

 

circle1.png

 

Or something like this?

 

circle3.png

 

Or something else?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 31, 2023 Aug 31, 2023

Top one.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 31, 2023 Aug 31, 2023

Really top one?

 

Just asking as InDesign works like bottom one.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 31, 2023 Aug 31, 2023

That conversion feature in InDesign is dangerous.

https://youtu.be/wGxyYdkjfOQ 

 

There's only one native method to create geometrically perfect stars in InDesign and it's not by entering the values in a dialog box. How to create editable stars in Illustrator: https://youtu.be/JpOTxABIzwk About this channel: My name is Monika Gause and on this channel I'll be showing tipps and
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 31, 2023 Aug 31, 2023

Thank you for your reply, dear Monika. I'll keep an eye out for "converting a shape into a star" in InDesign!
But, as far as InDesign is concerned, I would be ready to bet big bucks that a conversion from one "basic" shape like a rectangle to another "basic" shape like a cercle or vice-versa, ot a circle to a polyone WITHOUT points like a star, is so straightforward, geometrically, that I would trust InDesign's engineers code blindfolded...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 31, 2023 Aug 31, 2023

Polygon has the same issues as a star.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 31, 2023 Aug 31, 2023

Roger,

 

As I (mis)understand it, it is quite easy to obtain the desired creation and positioning of the inscribed regular polygons and stars.

 

You can, Smart Guides/double Aligning being your friends:

 

1) Create the circle;

2) Create a regular polygon or star with a radius equalling half the W(idth)/H(eight) of the circle;

3A) For any regular polygon or star ClickDrag the polygon/star choose the Anchor Point of an (outer) point that corresponds to one of the 4 Anchor Points of the circle, and ClickDrag the polygon/star by that to snap to the corresponding Anchor Point of the circle;

3B) As an alternative for a regular polygon or star with an even number of (outer) points, Select both the regular polygon/star and the circle, then use Center Align both vertically and horizontally with the circle as key object.

 

The image below shows the outcome for a hexagon, a pentagon and a star with 5 points; the hexagon was made with 3B) but could just as well have been made with 3A using either side Anchor Point of the circle; the pentagon was made with 3A) using the top Anchor Point of the circle; the star with 5 points was made with 3A) using the bottom Anchor Point of the circle; in all cases Round Joins are used to avoid Miter Joins sticking out so the exact fits are obvious.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 01, 2023 Sep 01, 2023

Using the "radius equalling half the W(idth)/H(eight) of the circle" is a smart geometry fallback BUT it falls short of a "one button" conversion 😞     Have a heart, Mr Illustrator!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 01, 2023 Sep 01, 2023

Indeed, Roger.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 01, 2023 Sep 01, 2023

Here you can download an action that does it with one click.

 

Polygon inside Circle

 

Instruction:

 

- Download and unzip the file
- Import the action set in the Actions palette
- Select one or a couple of filled (ungrouped) circles
- Run the action

 

After that you can change the number of sides of the polygons in the Transform palette.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 08, 2023 Sep 08, 2023

Where is the "Actions" palette in Illustrator?
Nothing visible under the Window menu that I can see.
I'm familiar with the Actions palette in Photoshop but, in Illustrator? 

I confess that is news to me.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 08, 2023 Sep 08, 2023

You don't see this?

DougARoberts_0-1694174067648.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 08, 2023 Sep 08, 2023

Got it! It's under "Scripts d'Action" in the French UI!
Capture d’écran 2023-09-08 075652.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 08, 2023 Sep 08, 2023

Managed to load and execute your Script through the Action palette.

I drew a circle and your script converted it to a "Inscribed triangle" -- neat!!!!

Is there a way to change the number of sides from 3 to 5, 6, 7 or whatever?

RogerBreton_0-1694174650683.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 08, 2023 Sep 08, 2023

As already mentioned above, after running the action you can change the number of polygon sides in the Transform palette (see Polygon Properties section).

 

You can also change them with an on-object widget (to a certain degree).

 

polygon_widget_001.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 08, 2023 Sep 08, 2023

Liebe Kurt,

 

Where does this "Convert Shape" command comes from?
(Sorry for the French UI)

 

RogerBreton_0-1694199199672.png

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 08, 2023 Sep 08, 2023

En français c'est Objet > Forme > Convertir en forme

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 08, 2023 Sep 08, 2023

Es ist die first time I see this command?
I just tried it now.

I made a new document.

I drew a circle. Select it.

Then I pulled the Object > Form aber die "Convertir en forme" submenu entry is grayed out?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 08, 2023 Sep 08, 2023

Ah! I think I am getting it!
It does work on a "circle".

So I created a closed path.

Select it. Object > Shape > Convert to shape.

And it made a "Polygone" out of the shape?
...
If I draw a Circle, I first have to "Decompose shape" and then I can access the "Convert shape" command.

But all I get at this point is an "Ellipse" -- not a Polygon 😞

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 08, 2023 Sep 08, 2023
LATEST

I took a closer look at your Script.

I notice you do a "Transform Each" where you apply a scale of 70.71%?
You have the "Transform Object" checkbox checked.... OK

And then, you call the "Simplify" command where you have the "Convert to straight lines" chekcd.
So that results into a "square polygon"... 

Very good use of these built-in commands.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines