Klowner / inkscape-applytransforms

An Inkscape extension which removes all matrix transforms by applying them recursively to shapes
GNU General Public License v2.0
250 stars 49 forks source link
hacktoberfest inkscape-extension python

inkscape-applytransforms

An Inkscape extension which recursively applies transformations to shapes.

Note that performing this operation on certain shapes (stars, lpes, ...) will convert them to paths, and clones are affected in strange ways due to clone transforms behave.

update 2020-7-27 - updated to work with Inkscape 1.0+. Use legacy branch inkscape-pre1.0-compat for prior version of Inkscape.

update 2016-1-5 - now only affects selected shapes when there is an active selection.

Installation

Download applytransform.inx and applytransform.py, then copy them to the Inkscape installation folder subdirectory share\inkscape\extensions.

If the downloaded files have .txt suffixes added by GitHub, be sure to remove them. Restart Inkscape if it's running.

Arch Linux

This package is also available via the AUR.

pacaur -S inkscape-applytransforms-git

Usage

Activate the extension from the main menu:

Extensions | Modify Path | Apply Transform

or use it from the command line. The id of the extension is automatically available as a verb:

inkscape -g --verb com.klowner.filter.apply_transform test.svg