cw / inkscape-ungroup-deep Goto Github PK
View Code? Open in Web Editor NEWExtension for Inkscape to do a deep ungroup. source: http://luther.ceplovi.cz/git/inkscape-ungroup-deep.git
Extension for Inkscape to do a deep ungroup. source: http://luther.ceplovi.cz/git/inkscape-ungroup-deep.git
When I'm trying this out, I run into this issue:
ungroup_deep.py:36: DeprecationWarning: Effect.OptionParser or optparse
has been deprecated and replaced with argparser
.You must change self.OptionParser.add_option
to self.arg_parser.add_argument
; the arguments are similar.
self.OptionParser.add_option("-s", "--startdepth",
ungroup_deep.py:40: DeprecationWarning: Effect.OptionParser or optparse
has been deprecated and replaced with argparser
.You must change self.OptionParser.add_option
to self.arg_parser.add_argument
; the arguments are similar.
self.OptionParser.add_option("-m", "--maxdepth",
ungroup_deep.py:44: DeprecationWarning: Effect.OptionParser or optparse
has been deprecated and replaced with argparser
.You must change self.OptionParser.add_option
to self.arg_parser.add_argument
; the arguments are similar.
self.OptionParser.add_option("-k", "--keepdepth",
ungroup_deep.py:276: DeprecationWarning: Effect.affect is now Effect.run()
. The output
argument has changed.
effect.affect()
ungroup_deep.py:267: DeprecationWarning: Effect.selected is now a dict in the svg. Use self.svg.selected
.
if len(self.selected):
ungroup_deep.py:268: DeprecationWarning: Effect.selected is now a dict in the svg. Use self.svg.selected
.
for elem in self.selected.itervalues():
Traceback (most recent call last):
File "ungroup_deep.py", line 276, in
effect.affect()
File "X:\Program Files\InkscapePortable\App\Inkscape\share\inkscape\extensions\inkex\deprecated.py", line 180, in affect
return self.run(args=args)
File "X:\Program Files\InkscapePortable\App\Inkscape\share\inkscape\extensions\inkex\base.py", line 123, in run
self.save_raw(self.effect())
File "ungroup_deep.py", line 268, in effect
for elem in self.selected.itervalues():
AttributeError: 'collections.OrderedDict' object has no attribute 'itervalues'
I would be great if someone could update this to run with Inkscape v1.0 beta. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.