discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: export to svg

LH
Lenore Horner
Sun, Mar 19, 2023 11:58 AM

On Mar 19, 2023, at 07:42, William F. Adams willadams@aol.com wrote:

Lenore H asked:

I used (Dec. 2019) to be able to draw things (squares, circles, unextruded text) in 2D,
render them, and export to SVG.  I tried today with both OpenSCAD 2021 and with 2023.3
and now I get a complaint that the top level object is 2D.

Have you tried adding the projection() command?

William

-- Sphinx of black quartz, judge my vow
designinto3d – Turning designs into objects https://designinto3d.com/

I tried enclosing the entire drawing in projection(){  }.  That complained that there was not top level geometry.

So I tried linear_extrude on to thicken the whole geometry to 1 and then projecting that.  Now I'm back to the complaint that the top level object is no at 3D object and a refusal to export an stl file.

I tried this in the same two versions as before.

Lenore

> On Mar 19, 2023, at 07:42, William F. Adams <willadams@aol.com> wrote: > > Lenore H asked: > > >I used (Dec. 2019) to be able to draw things (squares, circles, unextruded text) in 2D, > >render them, and export to SVG. I tried today with both OpenSCAD 2021 and with 2023.3 > >and now I get a complaint that the top level object is 2D. > > Have you tried adding the projection() command? > > William > > -- Sphinx of black quartz, judge my vow > designinto3d – Turning designs into objects <https://designinto3d.com/> I tried enclosing the entire drawing in projection(){ }. That complained that there was not top level geometry. So I tried linear_extrude on to thicken the whole geometry to 1 and then projecting that. Now I'm back to the complaint that the top level object is no at 3D object and a refusal to export an stl file. I tried this in the same two versions as before. Lenore