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 no longer seems compatible with inkscape version 1.0 #22

Open
NuclearLighthouseStudios opened this issue Oct 1, 2020 · 1 comment

Comments

@NuclearLighthouseStudios

When trying to export from inkscape version 1.0 the following error is shown and no output file is produced.

openscad_dxf.py:287: DeprecationWarning: Effect.affect is now `Effect.run()`. The `output` argument has changed.
  OpenSCADDXFEffect().affect()
/home/sly/.config/inkscape/extensions/openscad_dxf/object2path.py:48: DeprecationWarning: Effect.current_layer is now a method in the svg. Use `self.svg.get_current_layer()` instead.
  for node in self.current_layer.iterdescendants():
Traceback (most recent call last):
  File "openscad_dxf.py", line 287, in <module>
    OpenSCADDXFEffect().affect()
  File "/usr/share/inkscape/extensions/inkex/deprecated.py", line 180, in affect
    return self.run(args=args)
  File "/usr/share/inkscape/extensions/inkex/base.py", line 123, in run
    self.save_raw(self.effect())
  File "openscad_dxf.py", line 158, in effect
    object2path.ObjectToPath.effect(self)
  File "/home/sly/.config/inkscape/extensions/openscad_dxf/object2path.py", line 51, in effect
    self.call_inkscape("ObjectToPath", objects)
  File "/home/sly/.config/inkscape/extensions/openscad_dxf/inkinkex.py", line 165, in call_inkscape
    self.parse(tmp)
AttributeError: 'OpenSCADDXFEffect' object has no attribute 'parse'

I'm running the latest version of the plugin with Inkscape 1.0 on Arch Linux.

@mennucc
Copy link

mennucc commented Mar 13, 2021

Let me add that recent openscad can read SVG files (with some limitations)

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