Function literals in commandline OpenSCAD

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Function literals in commandline OpenSCAD

janek
Hi all,

I am successfully using the function literals from dev snapshot in my
project. However, when I started my "mass production" of STLs from
command line, the production failed with a warning:

WARNING: Support for function literals is disabled in file
make_tile.scad, line 68

Function literals are enabled in my OpenSCAD GUI, however, the
commandline openscad.com seems to use a different settings set. Is there
any help?

Thanks

Jan



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Function literals in commandline OpenSCAD

tp3
On 15.08.20 20:37, Jan Koupil wrote:
> Function literals are enabled in my OpenSCAD GUI, however,
> the commandline openscad.com seems to use a different
> settings set. Is there any help?

There are no persistent settings for command line, but you
can enable via command line parameter:

  --enable=function-literals

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten