Very cool, you demonstration's a good one but I suspect there are all sorts of other applications for such a tool. I have a making-slides-in-inkscape program that also creeps along because of invoking inkscape many times to get positions of things... on my todo list is a patch to add a switch for inkscape to dump x,y,w,h for everything - hopefully that would help you too?
Cheers -Terry
On Thu, 29 Nov 2007 11:23:42 -0500 "Rob Antonishen" <rob.antonishen@...155...> wrote:
Woo-Hoo
Thanks to Kurt I was able to pull together an extension. It is ungainly slow because of the whole "calling another instance of Inkscape" deal , but it does work. This provides an option of restacking the selected objects in a direction (left to right, right to left, top to bottom, or bottom to top) as well as the point of each object to compare (top left, bottom middle, etc).
Attached are before and after samples, as well as the extension. It registers as "Effects->Modify Path->Restack"
I am running on Inkscape 0.46dev+devel, built Apr 28 2007, so ymmv if running .45
-Rob A>