Hi William,
Not sure why your SVG are upside down, but there are many solutions to
that!
suppose your shapes are available as 2d openscad shapes, so simply use
mesh() to get their coordinates and use polygon to put them back to
openscad world if needed at all.
hope that any of these solutionswill help you.
,, but happy to see that your joinery is working. it actually looks rather
infallible, maybe even without wood glue.
Cheers Guenther
On Sun, Oct 29, 2023 at 4:00 PM William F. Adams via Discuss <
discuss@lists.openscad.org> wrote:
---------- Forwarded message ----------
From: "William F. Adams" willadams@aol.com
To: OpenSCAD General Discussion discuss@lists.openscad.org
Cc:
Bcc:
Date: Sun, 29 Oct 2023 14:59:47 +0000 (UTC)
Subject: [OpenSCAD] gcodepreview now supports writing out SVGs (but
they're upside down)
This was mentioned at:
https://forum.makerforums.info/t/g-code-preview-using-openscad-rapcad/85729
and the Python aspect discussed at:
https://forum.makerforums.info/t/openscad-and-python-looking-to-finally-be-resolved/88171
(and in various threads here)
Next up is exporting SVGs --- this is working now, except for the problem
of SVGs having a different coordinate space from OpenSCAD and DXFs, so when
exported, they are mirror-imaged top--bottom --- may need to do yet another
re-write to allow this to be handled in a reasonable fashion --- unless
someone has some nifty mathematical solution which I can pound into my
thick head.
https://github.com/WillAdams/gcodepreview
Still using OpenSCAD Graph Editor for the editing interface, but the
joinery is working:
[image: Inline image]
(OpenSCAD file for that attached if anyone is curious)
I'm going to re-work the file interface a bit --- it may be that I can
make DXFs work, I'll just write out separate files for each.
William
--
Sphinx of black quartz, judge my vow.
https://designinto3d.com/
---------- Forwarded message ----------
From: "William F. Adams via Discuss" discuss@lists.openscad.org
To: OpenSCAD General Discussion discuss@lists.openscad.org
Cc: "William F. Adams" willadams@aol.com
Bcc:
Date: Sun, 29 Oct 2023 14:59:47 +0000 (UTC)
Subject: [OpenSCAD] gcodepreview now supports writing out SVGs (but
they're upside down)
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org