Page 1 of 1

How to center a object in the middle of another one?

Posted: Wed Jul 04, 2012 7:07 am
by Asterix
How to center a object in the middle of another one?

Thanks

Re: How to center a object in the middle of another one?

Posted: Wed Jul 04, 2012 8:35 am
by slowtiger
If you use the grid when creating both objects this is easy. If both objects are already created, it gets more complicated, since the grid only works for one layer (not layer independent). But you can easily create 2 crossing lines on a third layer and use this as a reference for both objects.

Re: How to center a object in the middle of another one?

Posted: Wed Jul 04, 2012 8:42 am
by VĂ­ctor Paredes
Genete wrote a script to align closed shapes. It's old and I don't know if it's working in current version, but you could try it.
viewtopic.php?t=8917

Re: How to center a object in the middle of another one?

Posted: Sun Jul 08, 2012 5:04 am
by jezjones29
If the objects are on the same layer (vector), then I would simply select all the points (G) of the first object, then click on the Translate Points (T) tool and set the position of X and Y to 0, then do the same to the other object/s. This should align them all, then I can move the layer.

It they are on different layers, then I would set all the layers to X:0 and Y:0 and group them, and move the group.