Object group origin (anchor) point ?

Post questions on how to use or achieve an effect in Inkscape.
frpr
Posts: 4
Joined: Tue Nov 09, 2010 5:40 am

Object group origin (anchor) point ?

Postby frpr » Mon Jun 27, 2011 4:16 pm

Hello, can I do this in Inkscape?
I have a group of objects, I can say it is a symbol. Now I would like to snap multiple different symbols to the grid, like the symbols in AutoCAD. The problem is where is the snap point of the group.
Can I define my own origin of the symbol? In the other words, can I define object group origin (anchor) point?

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

Re: Object group origin (anchor) point ?

Postby brynn » Mon Jun 27, 2011 6:29 pm

Image
Welcome to InkscapeForum!

There's not really an Inkscape equivalent to "origin" or "anchor". But it sounds like you're looking for Snapping. There are many things that snap and that are targets for snapping. Depending on the version of Inkscape you're using and/or your canvas setup, the Snap control bar might be along the right side of the window, or along the top of the canvas. Note that the control bar might be hidden, if so, go to View menu > Show/Hide to reveal it. The top or leftmost button must be engaged, to enable snapping, then after that, you can choose what you want to snap and snap to what. Here are some of the possibilities -- nodes, paths, bounding box, grid, guides, page, centers, corners.

You might also need to enable snapping or adjust the strength (distance) of the snap from Document Properties > Snap tab. Also, here's where the info on snapping is in the Guide: http://tavmjong.free.fr/INKSCAPE/MANUAL ... pping.html although it may have changed since, if you're using a development version.

If this doesn't answer your question, just reply back with clarification, and we'll try again :D

User avatar
tomh
Posts: 218
Joined: Sat Feb 14, 2009 10:14 pm

Re: Object group origin (anchor) point ?

Postby tomh » Tue Jun 28, 2011 12:39 am

Just to say that you can snap to the center of rotation ( http://tavmjong.free.fr/INKSCAPE/MANUAL ... tionCenter ); which you can move relative to the object so you can use that as the snapping target to achieve what you want.

frpr
Posts: 4
Joined: Tue Nov 09, 2010 5:40 am

Re: Object group origin (anchor) point ?

Postby frpr » Thu Jun 30, 2011 3:39 pm

Thank you for answers. But it seems that the coordinates of the "snapping" point of the group are not saved with the group. Any time I want make a copy of the group I need move the "snapping" point first and than move and snap it to the grid.
Just I'm looking for a way how to simply place multiple different "symbols" (group of objects) and snap them to the grid. Like the way in the AutoCAD.

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

Re: Object group origin (anchor) point ?

Postby brynn » Thu Jun 30, 2011 11:28 pm

I guess I'm not really clear what you're asking. I'm not familiar with AutoCAD.

If you enable snapping of nodes to the grid, then nodes will snap. If you enable bounding box snapping, then the bounding box will snap to the grid (or bounding box corners or centers or centers of rotation. As I said, many things will snap. You just have to choose something that is common to all your objects. If the "symbol" is a group, then it sounds like snapping of bounding box might be better than nodes.

I'm not sure what point it is that you are moving -- is it the rotation center, as tomh suggested? If you copy a group, it should copy the rotation center as it is in the original. You shouldn't have to move it for every copy.

I think I might try snapping the bounding box or some part of the bounding box. But again, I'm not entirely clear what you're asking, since I'm not familiar with AutoCAD.

brendanwilding
Posts: 1
Joined: Tue Jul 19, 2011 10:38 am

Re: Object group origin (anchor) point ?

Postby brendanwilding » Tue Jul 19, 2011 10:49 am

brynn wrote:I guess I'm not really clear what you're asking.


I think what @frpr is asking is a way of "permanent" snapping. ie. if I align two objects by their right edge but then move one of the objects to the right then they are no longer right aligned - permanent snapping would leave the two objects still right aligned. This would then apply to all your other snapping abilities ie rotate, scale , position etc. It would be GREAT if inkscape implemented this (maybe it already does?). I don't know if the SVG standards support it. It would be very powerful to link objects in this way and many high$ do it (autocad, 3dsmax etc).

This is a feature I would love; 'linking objects' by rotation and/or scale and/or alignment and/or position, having a 'multiplier' for this (ie. have something stuck at 10%, or make it a negative scale, or user defined), and enable this for groups layers etc.

btw. I'm very new to inkscape but LOVE it


Return to “Help with using Inkscape”