Is there an extension where you select an object, type in an x y and it moves the center of the object to that spot?
Or maybe an extension that gives you the x y coordinate for the center?
I currently get by with guides and snapping to center and reading the x y of that.
Edit: Oh I just found a tip: hovering over a guideline gives you one of the coordinates (so that's a little faster).
Any "center of object" extensions/functions in inkscape?
Re: Any "center of object" extensions/functions in inkscape?

Inkscape identifies the location of an object by the coordinates of the bottom left hand corner. In the selector control bar it gives you these coordinates along with the width and height. In 0.48.3 you can enter simple calculations in spinboxes. You probably see where i'm going with this...

Copy the width value, then, in the x spinbox, first enter your desired value for the x-coordinate of the center, then a dash (- for minus), paste your width then a slash(/ for division) and then a 2. So you are entering "Xcenter - width/2". Do the same for the y except paste the height, of course! I have done this often, so I know it works; it's just a question of which version is the earliest with this very useful feature! it's not instant, true, but OTOH it's faster than calling an extension!
Last edited by druban on Sat Aug 25, 2012 4:43 pm, edited 1 time in total.
Your mind is what you think it is.
Re: Any "center of object" extensions/functions in inkscape?
druban wrote:You can try this in your version of Inkscape but I think it's only in 0.48.3 and up. (…) In 0.48.3 you can enter simple calculations in spinboxes. You probably see where i'm going with this... :)
No - this expression evaluator in spinboxes for now is only available in unstable development builds (it will be part of the next major version Inkscape 0.49).
(druban - you are disappointing me! ;-) 0.48.3.1 has nothing to do with development snapshot builds - will this never end?
Remember: new features are only in the development builds (based on trunk), bug-fix releases of stable versions are just that: they contain fixes for known bugs, but no new features.)
Re: Any "center of object" extensions/functions in inkscape?
Ah, yes, of course.
Sorry, ~suv! Let me explain - I run 0.48.3 and the development build side by side, but before 0.48.3 it was 0.47 (skipping 48.1 and 48.2) because I can draw with my tablet in those, and the development builds have some nice features that I like to use, snapping, LPEs etc. Sometimes it gets confusing and in this case i thought that maybe this was one of those features that I get all excited about and then you pop up and say, "Well, actually, we've had that since 0.46... Are you just discovering it?"
Of course I could check in each version for the feature before answering a poster's question, were I not so lazy!
I am training my cat right now to recite this to me every morning so I never forget it!
So anyway, in answer to the original poster's question - No, not currently. You will have to find a compiled version of the development builds in order to use this feature! Lots of links in this forum to that location if you want to try it out.
Good news - Yes, it will end! Bad news - it will immediately be replaced by something indistinguishably similar!

Of course I could check in each version for the feature before answering a poster's question, were I not so lazy!
~suv wrote:Remember: new features are only in the development builds (based on trunk), bug-fix releases of stable versions are just that: they contain fixes for known bugs, but no new features.)
I am training my cat right now to recite this to me every morning so I never forget it!
So anyway, in answer to the original poster's question - No, not currently. You will have to find a compiled version of the development builds in order to use this feature! Lots of links in this forum to that location if you want to try it out.
~suv wrote:will this never end?
Good news - Yes, it will end! Bad news - it will immediately be replaced by something indistinguishably similar!
Your mind is what you think it is.
Re: Any "center of object" extensions/functions in inkscape?
druban wrote:Of course I could check in each version for the feature before answering a poster's question, were I not so lazy!
Quick tip (helps myself when I'm uncertain about which version the currently open Inkscape window actually is):
If the new 'Measure tool' is in the toolbox to the left, you are using the development build.
(Now don't tell me you use Inkscape with the toolbox hidden ;-) )
Re: Any "center of object" extensions/functions in inkscape?
~suv wrote:(Now don't tell me you use Inkscape with the toolbox hidden)

Your mind is what you think it is.