Mobile app version of vmapp.org
Login or Join
Gretchen549

: Inkscape: Transform geometry of cloned path, but not the style I want to design an illustration with a curved path and a skewed version of it. The original path org is somewhat "in flux" and

@Gretchen549

Posted in: #Inkscape #Path #Stroke #Svg #Transform

I want to design an illustration with a curved path and a skewed version of it. The original path org is somewhat "in flux" and a moving target; I have to adjust the shape of org so that important features of the skewed version skew are clearly visible, and vice versa.
So, skew really should be a linked clone of org rather than just a transformed copy.

However, I want the skewing to only affect the nodes (geometry) of the path, not the stroke (style). This works as soon as I unlink the clone, which gives me full access to all style attributes; but unfortunately this means that it, ahem, is not linked anymore.
(Strangely, this holds for "proper" paths, but apparently not for circles or ellipses; see the image below, 2nd row.)

What I'm after is the looks of the last column, but without unlinking.
([edit] Sorry, imgur decided to shrink it smaller than I expected. All are paths with strokes; first and last row are paths, second row is an ellipse. Note the varying stroke angles and visual thickness of the third column vs. the others.)



So, is there any way to decouple style and geometry for cloning? (In a perfect world, I would also be able to change other stylistic attributes, e.g., the color of a clone; although I understand that this could be "difficult" to specify for cloned groups etc...)

N.b.: For setting size and position via the top toolbar, Inkscape offers buttons to enable and disable the scaling of stroke and corner radii, as well as pattern movement/rescaling. This doesn't seem to work for the transformations applied via the Transform tool (Ctrl+Shift+M). I understand that this is due to the fact that the transform tool sets a transformation matrix in SVG, while setting size and position is done immediately via recomputation of the coordinates of the control points.

The SVGTiny 1.2 spec has a vector-effect="non-scaling-stroke" property that should allow exactly what I want: it makes stroke "resistant" to transformations. Unfortunately, I cannot make it work for use elements, despite the fact that AFAICS it should apply to them, too.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Gretchen549

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme