Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't work with Inkscape 1.0.1 #20

Open
christtofhahn opened this issue Jun 2, 2021 · 0 comments
Open

Plugin doesn't work with Inkscape 1.0.1 #20

christtofhahn opened this issue Jun 2, 2021 · 0 comments

Comments

@christtofhahn
Copy link

I've created a simple triangle, with freehand lines tool. After than I converted it to a path. I select the path and call the plugin and start convert. The following output happens:

paths2openscad.py:233: 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( "--tab", #NOTE: value is not used.
paths2openscad.py:238: 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('--smoothness', dest='smoothness',
paths2openscad.py:242: 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('--height', dest='height',
paths2openscad.py:246: 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('--fname', dest='fname',
paths2openscad.py:916: DeprecationWarning: Effect.affect is now Effect.run(). The output argument has changed.
e.affect()
paths2openscad.py:872: DeprecationWarning: Effect.selected is now a dict in the svg. Use self.svg.selected.
transform = self.recursivelyGetEnclosingTransform( self.selected[id] )
paths2openscad.py:873: DeprecationWarning: Effect.selected is now a dict in the svg. Use self.svg.selected.
self.recursivelyTraverseSvg( [self.selected[id]], transform )
paths2openscad.py:573: DeprecationWarning: simpletransform.parseTransform -> Transform(str).matrix
matNew = simpletransform.composeTransform( matCurrent, simpletransform.parseTransform( node.get( "transform" ) ) )
paths2openscad.py:573: DeprecationWarning: simpletransform.composeTransform -> Transform(M1) * Transform(M2)
matNew = simpletransform.composeTransform( matCurrent, simpletransform.parseTransform( node.get( "transform" ) ) )
paths2openscad.py:366: DeprecationWarning: simplepath.parsePath -> element.path.to_arrays()
sp = simplepath.parsePath( path )
paths2openscad.py:372: DeprecationWarning: cubicsuperpath.CubicSuperPath -> None
p = cubicsuperpath.CubicSuperPath( sp )
paths2openscad.py:378: DeprecationWarning: simpletransform.applyTransformToPath -> Path(path).transform(mat)
simpletransform.applyTransformToPath( transform, p )
paths2openscad.py:216: DeprecationWarning: inkex.bezier.maxdist -> Get maximum distance within bezier curve
if cspsubdiv.maxdist( b ) > flat:
paths2openscad.py:221: DeprecationWarning: inkex.bezier.beziersplitatt -> Split bezier at given time
one, two = bezmisc.beziersplitatt( b, 0.5 )
Unable to open the file c:\inkscape.scad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant