discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

import() SVG with layer= ?

M
MichaelAtOz
Fri, Apr 20, 2018 3:43 AM

Is layer= supported for import() of SVG files?


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

Sent from: http://forum.openscad.org/

Is layer= supported for import() of SVG files? ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/
MK
Marius Kintel
Fri, Apr 20, 2018 3:57 AM

On Apr 19, 2018, at 11:43 PM, MichaelAtOz oz.at.michael@gmail.com wrote:

Is layer= supported for import() of SVG files?

No, only for DXF.
You can see which arguments are passed to which importers here: https://github.com/openscad/openscad/blob/master/src/import.cc#L176

-Marius

> On Apr 19, 2018, at 11:43 PM, MichaelAtOz <oz.at.michael@gmail.com> wrote: > > Is layer= supported for import() of SVG files? > No, only for DXF. You can see which arguments are passed to which importers here: https://github.com/openscad/openscad/blob/master/src/import.cc#L176 -Marius
FS
Felipe Sanches
Fri, Apr 20, 2018 7:21 AM

This is a very important feature! We should consider adding layer support
for SVGs ;-)

2018-04-20 0:57 GMT-03:00 Marius Kintel marius@kintel.net:

On Apr 19, 2018, at 11:43 PM, MichaelAtOz oz.at.michael@gmail.com

wrote:

Is layer= supported for import() of SVG files?

No, only for DXF.
You can see which arguments are passed to which importers here:
https://github.com/openscad/openscad/blob/master/src/import.cc#L176

-Marius


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

This is a very important feature! We should consider adding layer support for SVGs ;-) 2018-04-20 0:57 GMT-03:00 Marius Kintel <marius@kintel.net>: > > > On Apr 19, 2018, at 11:43 PM, MichaelAtOz <oz.at.michael@gmail.com> > wrote: > > > > Is layer= supported for import() of SVG files? > > > No, only for DXF. > You can see which arguments are passed to which importers here: > https://github.com/openscad/openscad/blob/master/src/import.cc#L176 > > -Marius > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
FS
Felipe Sanches
Fri, Apr 20, 2018 7:22 AM

SVG does not support layers, but Inkscape SVG does. So I'd say the layer
attribute should work as long as the svg file is actually an Inkscape SVG
one...

2018-04-20 4:21 GMT-03:00 Felipe Sanches juca@members.fsf.org:

This is a very important feature! We should consider adding layer support
for SVGs ;-)

2018-04-20 0:57 GMT-03:00 Marius Kintel marius@kintel.net:

On Apr 19, 2018, at 11:43 PM, MichaelAtOz oz.at.michael@gmail.com

wrote:

Is layer= supported for import() of SVG files?

No, only for DXF.
You can see which arguments are passed to which importers here:
https://github.com/openscad/openscad/blob/master/src/import.cc#L176

-Marius


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

SVG does not support layers, but Inkscape SVG does. So I'd say the layer attribute should work as long as the svg file is actually an Inkscape SVG one... 2018-04-20 4:21 GMT-03:00 Felipe Sanches <juca@members.fsf.org>: > This is a very important feature! We should consider adding layer support > for SVGs ;-) > > 2018-04-20 0:57 GMT-03:00 Marius Kintel <marius@kintel.net>: > >> >> > On Apr 19, 2018, at 11:43 PM, MichaelAtOz <oz.at.michael@gmail.com> >> wrote: >> > >> > Is layer= supported for import() of SVG files? >> > >> No, only for DXF. >> You can see which arguments are passed to which importers here: >> https://github.com/openscad/openscad/blob/master/src/import.cc#L176 >> >> -Marius >> >> >> _______________________________________________ >> OpenSCAD mailing list >> Discuss@lists.openscad.org >> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >> > >
M
MichaelAtOz
Fri, Apr 20, 2018 10:11 AM

See  Feature Request https://github.com/openscad/openscad/issues/2383  .
May take a while.


Admin - PM me if you need anything, or if I've done something stupid...

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.

The TPP is no simple “trade agreement.”  Fight it! http://www.ourfairdeal.org/  time is running out!

Sent from: http://forum.openscad.org/

See Feature Request <https://github.com/openscad/openscad/issues/2383> . May take a while. ----- Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out! -- Sent from: http://forum.openscad.org/