Allow users to strip out Transform attributes with command

Bug #421870 reported by Will Pittenger
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned

Bug Description

I started an SVG where I didn't know the size I wanted ahead of time. So I started with the "no borders" template. Partway through, I found transform attributes all over the place. This made my JS code that was going to be inside the SVG more complicated than it had to be. So I spent a lot of time stripping out all those transforms by hand. In most cases, they were just translates.

I would have much preferred to have something in Object/Transform (a new tab) that would change all selected objects and their children such that they no longer need transforms. It would have the options listed below:

*Recurse (turn this off to skip the children of selected objects) -- on by default
*Keep skew information -- on by default
*Keep rotation information -- off by default
*Current layer only (valid only if no object is selected) -- on by default

If no object is selected, the tab would attempt to apply it to the entire file (except as noted in the 4th option, which would prevent other layers from changing).

Revision history for this message
prkos (prkos) wrote :

Does the "Store transformation" from Transforms in Inkscape preferences help? Try the Optimized option.

Revision history for this message
Will Pittenger (will-pittenger1) wrote :

That option helps. However, you have to change an object to get the transform stripped out. Besides, if you strip the transforms out of all objects, it should then be possible to move the entire image such that 0,0 is at the corner of the image.

tags: added: transformations
su_v (suv-lp)
Changed in inkscape:
importance: Undecided → Wishlist
tags: added: ui
jazzynico (jazzynico)
Changed in inkscape:
status: New → Confirmed
Revision history for this message
Chris (mail-christianmayer) wrote :

This also affects me - on layers (e.g. the background layer), groups and paths. Even with the Transforms=optimized set on (which was default on my setup anyway)

Revision history for this message
Bart Van Audenhove (bart-vanaudenhove) wrote :

I would also like to have this feature. Just a menu item or optimize option "strip transforms".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.