[OpenSCAD] Inkscape to OpenSCAD converter needs attention

nop head nop.head at gmail.com
Tue Oct 29 12:17:27 EDT 2019


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 at 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 at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20191029/425780dd/attachment.html>


More information about the Discuss mailing list