Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inkscape: persistent alignment

Tags:

svg

inkscape

I know how to use alignment/distribution with inkscape.

But they only work once. It does not persist.

Example:

three-green-objects

As soon as I change the size of one of the objects, and the alignment gets lost.

Is there a way to persist the alignment?

Example: If I change the size of the circle, its center should still be centered.

If Inkscape can't do that. Is there an other tool which can do this?

like image 682
guettli Avatar asked Nov 15 '19 16:11

guettli


People also ask

How many text alignments are there in Inkscape?

When the text is Flow into Frame, I would expect there are 9 options for the text alignment (See the attachment image), but in-fact, there is currently 3 in Inkscape. Is there any thing I can do? Maybe, a feature request? Or a custom plugin/add-on to support those 9 text alignments.

Is there an Inkscape equivalent for the live path effects?

There's no equivalent in Inkscape but the live path effects might fall into the category. The alignment tools are only concerned with placement. The shapes are not glued together. Editing one shape will not modify another (except for clones and LPEs). There are strategies to preserve alignment when manipulating shapes .

What is the proposed design change for Inkscape?

Proposed design change for inkscape to tidy up the align, distribute dialog and the grid arrange dialog.

How do I split a path in Inkscape?

Inkscape v0.46 and earlier allowed only two paths to be used. The path Exclusion operation. Division ( Ctrl+/ ): Division of two paths. The first path is split by the second path. Two or more new paths are created. The path Division operation.


3 Answers

There is no such thing as persistent alignment in Inkscape AFAIK.

One thing you can do is resize objects around their center (holding shift while resizing).

Another option (my preferred) is to enable snapping to midpoints, centers of objects and centers of rotation, and to use guides. This way you can quickly snap objects back in place after modification.

like image 70
Juancho Avatar answered Oct 18 '22 23:10

Juancho


Your question relates to the more general issue of transformation anchors, regardless of whether there are alignment requirements or not.

The currently available simple method, holding shift while resizing, always uses the center of the object as the anchor, which may or may not be what you want (in your example, you may want to keep centered alignment in the vertical direction, but left alignment for each object in the horizontal direction).

There is a proposal for selecting the transformation anchor. As per official documentation, The anchors let you decide the transformation center to use when entering a numerical value for a transformation (let it be from the toolbar or in the Object->Transform... dialog). The interface would let you select the center for the transformation. Then, you would have 3 (vertical) x 3 (horizontal) = 9 possible anchors. AFAIK, this is not available yet.

enter image description here

like image 3
sancho.s ReinstateMonicaCellio Avatar answered Oct 18 '22 23:10

sancho.s ReinstateMonicaCellio


In order to change the size of any vectorial component and persist its transformation center you have three options:

  1. holding shift + mouse drag (will perform symmetric transformation)
  2. holding shift + ctrl (will scale but keeping the same aspect ratio)
  3. holding shift + ctrl + alt (will scale upwards/downwards by twice/half the size && keeping the same ratio)
like image 1
Shmwel Avatar answered Oct 19 '22 00:10

Shmwel