Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Apologies for resuscitating an old thread but the solution given here (Kurt), as much as very attractive at first, is not correct... and I want to help people avoiding falling in the trap as I nearly did.
Averaging the path give a center weighted by vertices and not an absolute geometric center of the shape itself.
As shown on the picture, the shape is a circle with more points (vertices) on the left side. The averaged path solution gives a center that moves on the side with more vertices.
As of now, I still do not have a solution that work in Illustrator.
X.
Copy link to clipboard
Copied
xtassin schrieb:
As of now, I still do not have a solution that work in Illustrator.
Get the Subscribe plugin from Astute Graphics (it's free)
Use the Line perpendicular from path tool
Draw two lines into the center of the circle
The center is where the lines meet.
Copy link to clipboard
Copied
X,
The solution by Kurt implies a path with no unnecessary Anchor Points.
In the sample shown in your post #21, you actually have the centre already (for the case of a circle).
For other cases, such as polygons, have you tried the suggestion in post #18 to use the circle as a centre/centring template?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
To Kurt Gold's solution, I would add steps 7 and 8 in order to group the center point with the shape as follows:
1. Select the object
2. Copy and Paste in Front
3. Select > Object > Direction Handles
4. Cmd+X (Cut); do not deselect
5. Object > Path > Average: choose both axes
6. View > Guides > Make Guides
7. Cmd+A (select all)
8. Cmd+G (Group)
Copy link to clipboard
Copied
It's much easier than all that....
Select the object and use the Attributes Panel and tick the button to show center point.
That will show the center point of any shape regardless of what it's edges look like.
Copy link to clipboard
Copied
Scott you are usually right on but in this case you have missed the mark.
If you use the attributes panel to show the center mark it does so for the bounding box and not the object.
As illustrated here
With Kurts brilliant method which should be coded and placed in the control panel a a command you get the
the center of the object as well as with James' genius script. As Illustrated here:
Copy link to clipboard
Copied
I'm "simply" trying to add 9 shapes around a circle and I thought I could simply add a 9 point star/polygon to find the nine spots for the nine objects around the edge of the circle, boy, was I wrong. I have tried a few methods but then I gave up, googled and found this thread.
Instead of starting a new thread about the same thing I thought I would simply reply here.
Scotts method was way, way off. The other method using average attribute while being good it is still off center! I cannot believe how difficult something this "simple" can be so difficult. Here is an image showcasing how center still isn't perfectly centered(Scotts method result in top left corner):
http://img153.imagevenue.com/img.php?image=72261_offcenter_122_420lo.jpg
So I'm wondering is there any way to find the perfect center????
Copy link to clipboard
Copied
LordZarak,
In your case you may, Smart Guides being your friends:
1) Create the circle and copy the value in the W field of the Transform palette/panel,
2) Create a 9 point polygon, inserting the value from 1) and adding / and 2 in the Radius box to get the same size as the circle (or just use half the value),
3) Drag 2) by its top Anchor Point to snap to the top Anchor Point of 1), Smart Guides say anchor when you are there.
Copy link to clipboard
Copied
The other method using average attribute while being good it is still off center!
How so?
1. Polygon Tool: Click (don't drag). Enter 9 for number of sides; 3 in (or whatever) for radius.
2. Copy. Paste In Front.
3. Select>Object>DirectionHandles.
4. Edit>Cut. (Leaving just the anchors as stray points).
5. Object>Path>Average. That's the geometric center. If you don't believe it:
6. EllipseTool: Press and hold the Alt and Shift keys. Mousedown on the stack of stray points and drag upward, snapping to the top anchorPoint of the polygon.
JET
Copy link to clipboard
Copied
You don't need the polygon at all.
You could
a. create an elliptical raster with 9 dividers. When you're done arranging stuff, delete the dividers
b. use the script "Circle" from here http://park12.wakwak.com/~shp/lc/et/en_aics_script.html and create a cricle with 9 points.
Copy link to clipboard
Copied
Brilliant!!! And it's working. Thank you!