Inkscape is soon to release version 1.0 and as I understand it existing extensions will not work without some modifications. I applied the instructions of the very brief upgrade instructions that are currently available for the upcoming new version to their current beta release and found no joy.
For Mac users this is problematic in that the current Inkscape Mac compatible version (0.92) won’t work on Catalina, and so if you move to Catalina you just won’t be able to use the Inkscape to OpenSCAD converter at all.
I’m hoping there’s some kind generous soul out who knows python who might turn their attention to what I hope is a relatively straightforward refactoring so that this Inkscape extension will work with the new 1.0 version of Inkscape.
I don’t use it a lot, but it’s super handy when I need it.
Here’s the thingiverse link to the most useful current version of this extension….
Does it have any special features that are not working
with the SVG import?
ciao,
Torsten.
As it stands, it just doesn’t install on the Inkscape beta… and doesn’t even show up in menu.
Here are the guidelines I followed in trying to install it on the latest beta…
http://wiki.inkscape.org/wiki/index.php/Updating_your_Extension_for_1.0
On Oct 28, 2019, at 7:16 PM, Torsten Paul Torsten.Paul@gmx.de wrote:
Does it have any special features that are not working
with the SVG import?
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
What my question meant was: What are the features of that
plugin that can't be substituted by exporting as SVG and
importing the SVG file directly into OpenSCAD via import()?
ciao,
Torsten.
The plugin generates a vertex list, so you can get at the points. If you
import an SVG presumably you lose the dimensions, etc, just like STL.
Somewhere there is an STL to polyhedron converter to avoid STL import as
well.
On Tue, 29 Oct 2019 at 14:48, Torsten Paul Torsten.Paul@gmx.de wrote:
What my question meant was: What are the features of that
plugin that can't be substituted by exporting as SVG and
importing the SVG file directly into OpenSCAD via import()?
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
On 29.10.19 16:14, nop head wrote:
The plugin generates a vertex list, so you can get at
the points. If you import an SVG presumably you lose
the dimensions, etc, just like STL.
That should be possible, the most interesting question
is probably how to present that information.
ciao,
Torsten.
Add an import_vertices operation that returns polygon or polyhedron format
data depending if it is 2D or 3D.
On Tue, 29 Oct 2019 at 15:31, Torsten Paul Torsten.Paul@gmx.de wrote:
On 29.10.19 16:14, nop head wrote:
The plugin generates a vertex list, so you can get at
the points. If you import an SVG presumably you lose
the dimensions, etc, just like STL.
That should be possible, the most interesting question
is probably how to present that information.
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
On 29.10.19 16:49, nop head wrote:
Add an import_vertices operation that returns polygon or
polyhedron format data depending if it is 2D or 3D.
That's not needed, we can just use
svg = import("file.svg");
The details of how to access the data is critical as it's
going to be an API which is almost impossible to change
once it's out.
But I guess that's going a bit off-topic for this thread.
ciao,
Torsten.
It can just be a two element vector which are the arguments for polygon or
polyhedron. I.e. the points list and edge list.
so
polygon(svg[0], svg[1]) or polyhedron(svg[0], svg[1])
Why would that not cover all bases? You can do anything you want with the
lists.
On Tue, 29 Oct 2019 at 16:05, Torsten Paul Torsten.Paul@gmx.de wrote:
On 29.10.19 16:49, nop head wrote:
Add an import_vertices operation that returns polygon or
polyhedron format data depending if it is 2D or 3D.
That's not needed, we can just use
svg = import("file.svg");
The details of how to access the data is critical as it's
going to be an API which is almost impossible to change
once it's out.
But I guess that's going a bit off-topic for this thread.
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
This was already proposed a long time ago by Parkinbot and forgotten who
knows why.
A terça, 29/10/2019, 16:18, nop head nop.head@gmail.com escreveu:
It can just be a two element vector which are the arguments for polygon or
polyhedron. I.e. the points list and edge list.
so
polygon(svg[0], svg[1]) or polyhedron(svg[0], svg[1])
Why would that not cover all bases? You can do anything you want with the
lists.