inkscape-applytransforms
inkscape-applytransforms copied to clipboard
An Inkscape extension which removes all matrix transforms by applying them recursively to shapes
When trying to apply transform i get a deprecated warning: ``` DeprecationWarning: inkex.deprecated.main.transform_mul -> Use @ operator instead transf = Transform(transf) * Transform(node.get("transform", None)) ```
The command-line option --verb is deprecated
everytime I try to run the extension independently of the number and type of objects selected, I get this message ``` Traceback (most recent call last): File "applytransform.py", line 9,...
Currently cannot perform even a simple translate transformation on a _rect_ element. Example: `` Expected result: ``
Steps to reproduce: Open SVG in the Inkscape 1.0.2 ``` ``` and run this extension (taken from the master branch). Actual result: ``` Traceback (most recent call last): File "applytransform.py",...
I would like to apply this as part of a build script. I like having a source SVG with all the original transforms for easy editing, but optimizing the output...
As it currently stands, a line tilted at 45 degrees will get a different width than a vertical or horizontal line. In order to properly handle rotations, line 49 should...
This extension would work well as a core extension installed by default for all Inkscape users. If you'd like to bring this extension to https://gitlab.com/inkscape/extensions/ with a merge request (it'll...
When a [`clipPath`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath) is used, the transform is not applied to it. This might be tricky since different elements might use a single clip path at the same time so...
I flipped some objects with `Edit->Flip Horizonal/Vertical` (or hitting v or h) After running the plugin, the source is still left with: `transform="scale(-1,1)"` Maybe this is the desired behaviour, it...