-
Notifications
You must be signed in to change notification settings - Fork 308
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
inkscape2scad #913
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wanted to create 3d objects for mesh2faust but as soon as I apply the useful extention I receive this script and no output file.
paths2openscad.py:237: DeprecationWarning: Effect.OptionParser or
optparse
has been deprecated and replaced withargparser
.You must changeself.OptionParser.add_option
toself.arg_parser.add_argument
; the arguments are similar.self.OptionParser.add_option( "--tab", #NOTE: value is not used.
paths2openscad.py:242: DeprecationWarning: Effect.OptionParser or
optparse
has been deprecated and replaced withargparser
.You must changeself.OptionParser.add_option
toself.arg_parser.add_argument
; the arguments are similar.self.OptionParser.add_option('--smoothness', dest='smoothness',
paths2openscad.py:246: DeprecationWarning: Effect.OptionParser or
optparse
has been deprecated and replaced withargparser
.You must changeself.OptionParser.add_option
toself.arg_parser.add_argument
; the arguments are similar.self.OptionParser.add_option('--height', dest='height',
paths2openscad.py:250: DeprecationWarning: Effect.OptionParser or
optparse
has been deprecated and replaced withargparser
.You must changeself.OptionParser.add_option
toself.arg_parser.add_argument
; the arguments are similar.self.OptionParser.add_option('--extype', dest='extype',
paths2openscad.py:254: DeprecationWarning: Effect.OptionParser or
optparse
has been deprecated and replaced withargparser
.You must changeself.OptionParser.add_option
toself.arg_parser.add_argument
; the arguments are similar.self.OptionParser.add_option('--facets', dest='facets',
paths2openscad.py:258: DeprecationWarning: Effect.OptionParser or
optparse
has been deprecated and replaced withargparser
.You must changeself.OptionParser.add_option
toself.arg_parser.add_argument
; the arguments are similar.self.OptionParser.add_option('--fname', dest='fname',
paths2openscad.py:263: DeprecationWarning: Effect.OptionParser or
optparse
has been deprecated and replaced withargparser
.You must changeself.OptionParser.add_option
toself.arg_parser.add_argument
; the arguments are similar.self.OptionParser.add_option('--modname', dest='modname',
paths2openscad.py:927: DeprecationWarning: Effect.affect is now
Effect.run()
. Theoutput
argument has changed.e.affect()
paths2openscad.py:894: DeprecationWarning: Effect.selected is now a dict in the svg. Use
self.svg.selected
.transform = self.recursivelyGetEnclosingTransform( self.selected[id] )
paths2openscad.py:895: DeprecationWarning: Effect.selected is now a dict in the svg. Use
self.svg.selected
.self.recursivelyTraverseSvg( [self.selected[id]], transform )
paths2openscad.py:595: DeprecationWarning: simpletransform.parseTransform -> Transform(str).matrix
matNew = simpletransform.composeTransform( matCurrent, simpletransform.parseTransform( node.get( "transform" ) ) )
paths2openscad.py:595: DeprecationWarning: simpletransform.composeTransform -> Transform(M1) * Transform(M2)
matNew = simpletransform.composeTransform( matCurrent, simpletransform.parseTransform( node.get( "transform" ) ) )
paths2openscad.py:383: DeprecationWarning: simplepath.parsePath -> element.path.to_arrays()
sp = simplepath.parsePath( path )
paths2openscad.py:389: DeprecationWarning: cubicsuperpath.CubicSuperPath -> None
p = cubicsuperpath.CubicSuperPath( sp )
paths2openscad.py:395: DeprecationWarning: simpletransform.applyTransformToPath -> Path(path).transform(mat)
simpletransform.applyTransformToPath( transform, p )
paths2openscad.py:220: DeprecationWarning: inkex.bezier.maxdist -> Get maximum distance within bezier curve
if cspsubdiv.maxdist( b ) > flat:
paths2openscad.py:225: DeprecationWarning: inkex.bezier.beziersplitatt -> Split bezier at given time
one, two = bezmisc.beziersplitatt( b, 0.5 )
Unable to open the file ~/inkscape.scad
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='C:\users\finishedbz\inkscape.scad' mode='w' encoding='cp1252'>
The text was updated successfully, but these errors were encountered: