: Illustrator: Centering two groups according to an object in one of the groups I think that the easiest way for me to ask this question is by illustrating it. So, as a simplified example, say
I think that the easiest way for me to ask this question is by illustrating it.
So, as a simplified example, say I wanted to create a watch vector:
I have created the hands (which is a group of thee objects - an ellipse and two rounded rectangles) and the frame (simply a stroked ellipse):
Now I want to center the two, but if I use the normal align functions, my hands will obviously not be put in the right place, because the center of the entire group will be used, not the center of the ellipse within the group:
So I'm wondering if there is a way of centring the group according to an object in that group. At the moment, the only method I can think of is using rulers and snapping, which is fine when the image is as simple as this, but much harder when working with a more complicated image.
I would be surprised if there was a way of doing this within illustrator, so I am also asking if there are any scripts which would allow me to do this.
Thanks, and please say if my question is not clear enough.
More posts by @Hamm6457569
2 Comments
Sorted by latest first Latest Oldest Best
In addition to Joooja's answer, here are two other methods.
Smart guides method:
Just the fastest ever, if you have a simple artwork. Just select the center of the big circle use move it to center point of small one.
Key object method, for more complicated artworks:
Click the Direct-Selection tool, hold down Shift, and select the two anchor points you want to align: center of big circle then center of small circle. The key object is blue outlined
In the Align panel or Control panel, select "Align on key object"
Align... that's it
You can draw a box that is bigger than you object around what you consider to be the center. Add it to your group and align.
You can now define whatever you like as the center.
Image 1: The center of gravity of a star (COG) is not at the center of its bounding box. But by grouping it with a box that's bigger than a star at the centered COG allows you to align like you want
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.