discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Function literals in commandline OpenSCAD

JK
Jan Koupil
Sat, Aug 15, 2020 6:37 PM

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

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
TP
Torsten Paul
Sat, Aug 15, 2020 6:48 PM

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.

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.