How to reset center of rotation

Post questions on how to use or achieve an effect in Inkscape.
Stefano1337
Posts: 6
Joined: Mon Jun 30, 2008 7:34 am

How to reset center of rotation

Postby Stefano1337 » Mon Jun 30, 2008 7:38 am

Hi

I want to arrange some objects in a circle using rotation. What i do is, i move the center of rotation down and rotate the objects so that they form a circle, i then want to rotate the objects back to their normal position, but i can't accurately re-center the center of rotation.

some help would be appreciated :>

-stefano

llogg
Posts: 443
Joined: Tue Mar 11, 2008 7:30 am

Re: How to reset center of rotation

Postby llogg » Mon Jun 30, 2008 12:19 pm

I'm not sure why you want to do this because it sounds like you're simply doing something and then undoing it. But to move the center of rotation back to the center of the object hold shift and left click the center of rotation. If you click and hold it will be trickier than simply clicking.
edited to add: This is true in 0.45 for Windows. Not sure about linux or 0.46 versions.

Wed
Posts: 30
Joined: Tue Nov 18, 2008 10:55 am

Re: How to reset center of rotation

Postby Wed » Mon Dec 22, 2008 2:14 pm

Yep it works in Linux version 0.46.
However, the center of an object is not the center of a triangle. I will open a new thread about that.

llogg
Posts: 443
Joined: Tue Mar 11, 2008 7:30 am

Re: How to reset center of rotation

Postby llogg » Tue Dec 23, 2008 5:17 am

I'm glad somebody resurrected this question because now I finally understand what the OP was trying to do. He wanted to rotate the objects from an off-center rotation point, then recenter the rotation on each object and rotate them back to their original orientation on the page. The difference between position and orientation is what threw me.

Stefano1337
Posts: 6
Joined: Mon Jun 30, 2008 7:34 am

Re: How to reset center of rotation

Postby Stefano1337 » Fri Feb 27, 2009 6:42 pm

sorry to dig up such an old thread again, i just wanted to express my thanks :-)
i had a little brainwave later on: grouping two objects and rotating the group not only solves the original-problem, but also speeds up the process two fold :-)

HobekaStoo
Posts: 1
Joined: Fri Sep 07, 2012 9:06 pm

Re: How to reset center of rotation

Postby HobekaStoo » Fri Sep 07, 2012 9:42 pm

If the center position is somewhere other than where is should be by default try holding down the SHIFT key and clicking the center position and it will reset back to the objects center.

If anyone knows a way to select an object and reset it's center position without clicking on the center handle first that would be useful.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How to reset center of rotation

Postby brynn » Sat Sep 08, 2012 1:23 pm

Welcome to the forum!

I guess you could use Snap to center of bounding box or center of object. Both are new features since this topic was posted. However, the center of bounding box isn't neccesarily always the same as the rotation center. I'm not sure how object's center differs from rotation center. If they are they same, then you could use snapping to center of object.

But if faster and/or easier than the original technique is what you're looking for, then snapping probably isn't the answer either.

stephenls
Posts: 2
Joined: Wed Nov 11, 2015 8:50 pm

Re: How to reset center of rotation

Postby stephenls » Wed Nov 11, 2015 8:59 pm

I realise this question was posted a long time ago, but for the benefit of those who arrive here courtesy of google:
I've found that you can reset the rotation centre with the XML Editor (Edit > XML Editor). Find inkscape:transform-center-x and inkscape:transform-center-y, and set them both to zero. These attributes will disappear from the editor after they've been reset. The object's rotation centre should now be in the set to the middle of the object.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: How to reset center of rotation

Postby brynn » Thu Nov 12, 2015 8:00 am

Why bother going to the XML Editor, when Shift-click is so easy?

Saskia
Posts: 1
Joined: Wed Apr 10, 2019 7:55 am

Re: How to reset center of rotation

Postby Saskia » Wed Apr 10, 2019 8:12 am

brynn wrote:Why bother going to the XML Editor, when Shift-click is so easy?

Shift-click is only easy when you can actually find the "+"!

This newby managed to get an object launched into another galaxy when I rotated it: no idea where the + might be. When I expanded the view to include original position and where it rotated to, I saw two very, very tiny specks on either side of the window...
stephenls wrote:I realise this question was posted a long time ago, but for the benefit of those who arrive here courtesy of google:
I've found that you can reset the rotation centre with the XML Editor (Edit > XML Editor). Find inkscape:transform-center-x and inkscape:transform-center-y, and set them both to zero. These attributes will disappear from the editor after they've been reset. The object's rotation centre should now be in the set to the middle of the object.

This is exactly how I got here, and also what solved the problem. Thank you!


Return to “Help with using Inkscape”