File Icon
 
 

717

Ungrouper And Element Migrator/Filter

This extension parses the selection and will put all elements into one single group. If you have a cluster with lots of groups and elements you will clean up this way (one top level group, all elements below it). If you select a single element or a set of elements you just wrap it like using CTRL + G (like making a usual group). You can also use this extension to filter out unwanted SVG elements at all.

This tool is also able to drop elements with certain SVG tags to perform some kind of cleanup in the selection. You can drop elements like circle,ellipse,image,line,path,polyline,rect,text,tspan and some more.

Notes:
- includes "Remove Empty Groups" extension
- includes "Apply Transformations" extension

Inkscape Extensions

Size
24.1 KB
Created
Revisions
14
Type
application/zip
General Public License v3 (GPLv3)

Link

gorini wrote :

on linux I get this error:

Traceback (most recent call last):
File "fablabchemnitz_migrategroups.py", line 65, in <module>
MigrateGroups().run()
File "/usr/share/inkscape/extensions/inkex/base.py", line 123, in run
self.save_raw(self.effect())
File "fablabchemnitz_migrategroups.py", line 61, in effect
if self.svg.selected[0].tag == inkex.addNS('g','svg'):
KeyError: 0

Mario Voigt wrote :

hi. i uploaded a newer version. please have a try :-)

Mario Voigt wrote :

i iterated over it again. made some filter extension out of it.

Mario Voigt wrote :

another fix. i think i got it more stably and correct now.

Please log in to leave a comment!