Currently I'm working up an interface for a 3D box design in OpenSCAD:
http://community.carbide3d.com/t/cnc-finger-joint-box/8880
and then accessing the JSON file to have lualatex/metapost generate a PDF
(eventually I'll work out getting an SVG) --- having to install a TeX
distribution is a big hurdle for folks to jump over --- it'd be great if I
could just write out a file from OpenSCAD directly from OpenSCAD --- would
adding Lua or something similar be an option?
William
Your actual requirement is to export your model in the form of an SVG file,
using parameters specified using the customizer as input.
We already have SVG export. It seems like there should be a better way to
do this from within OpenSCAD than by writing a Lua script that invokes
external executables like latex and metapost.
On 25 June 2018 at 09:18, William Adams will.adams@frycomm.com wrote:
Currently I'm working up an interface for a 3D box design in OpenSCAD:
http://community.carbide3d.com/t/cnc-finger-joint-box/8880
and then accessing the JSON file to have lualatex/metapost generate a PDF
(eventually I'll work out getting an SVG) --- having to install a TeX
distribution is a big hurdle for folks to jump over --- it'd be great if I
could just write out a file from OpenSCAD directly from OpenSCAD --- would
adding Lua or something similar be an option?
William
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Yeah, the problem was I wasn't finding the control in OpenSCAD to get
things arranged how I'd like --- are there any good example files for this
sort of thing? I should definitely experiment with that further.
Thanks!
William
On Mon, Jun 25, 2018 at 11:25 AM, doug moen doug@moens.org wrote:
Your actual requirement is to export your model in the form of an SVG
file, using parameters specified using the customizer as input.
We already have SVG export. It seems like there should be a better way to
do this from within OpenSCAD than by writing a Lua script that invokes
external executables like latex and metapost.
On 25 June 2018 at 09:18, William Adams will.adams@frycomm.com wrote:
Currently I'm working up an interface for a 3D box design in OpenSCAD:
http://community.carbide3d.com/t/cnc-finger-joint-box/8880
and then accessing the JSON file to have lualatex/metapost generate a PDF
(eventually I'll work out getting an SVG) --- having to install a TeX
distribution is a big hurdle for folks to jump over --- it'd be great if I
could just write out a file from OpenSCAD directly from OpenSCAD --- would
adding Lua or something similar be an option?
William
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Another consideration is that I want to do a cut list and provide some
notes / printable instructions --- I'd also like to look into outputting a
proprietary format (.c2d --- a JSON representation specific to Carbide
Create), or extend the SVG using the MakerCAM toolpath settings (LibreCAD
supports them apparently).
On Mon, Jun 25, 2018 at 12:21 PM, William Adams will.adams@frycomm.com
wrote:
Yeah, the problem was I wasn't finding the control in OpenSCAD to get
things arranged how I'd like --- are there any good example files for this
sort of thing? I should definitely experiment with that further.
Thanks!
William
On Mon, Jun 25, 2018 at 11:25 AM, doug moen doug@moens.org wrote:
Your actual requirement is to export your model in the form of an SVG
file, using parameters specified using the customizer as input.
We already have SVG export. It seems like there should be a better way to
do this from within OpenSCAD than by writing a Lua script that invokes
external executables like latex and metapost.
On 25 June 2018 at 09:18, William Adams will.adams@frycomm.com wrote:
Currently I'm working up an interface for a 3D box design in OpenSCAD:
http://community.carbide3d.com/t/cnc-finger-joint-box/8880
and then accessing the JSON file to have lualatex/metapost generate a
PDF (eventually I'll work out getting an SVG) --- having to install a TeX
distribution is a big hurdle for folks to jump over --- it'd be great if I
could just write out a file from OpenSCAD directly from OpenSCAD --- would
adding Lua or something similar be an option?
William
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
William Adams-2 wrote
Another consideration is that I want to do a cut list and provide some
notes / printable instructions ---
Have you noticed in command line options
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_OpenSCAD_in_a_command_line_environment#Export_options
,
"For at least 2015.03-2+, specifying the extension .echo causes openscad to
produce a text file containing error messages and the output of all echo()
calls in filename as they would appear in the console window visible in the
GUI. Multiple output files are not supported, so using this option you
cannot also obtain the model that would have normally been generated."
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.
Sent from: http://forum.openscad.org/