I am trying to create a series of STL files from one SCAD file under
Windows. When I open the SCAD files and press F5, all is well. If I
try the same thing using a batch file, I get "Parser error in line 197:
syntax error" (the last line in the file), which is not helpful.
Any thoughts about how to approach this?
Thanks!
Jon
Are you passing any -D parameters? They get added to the end of the main
file and parsed, so if they are not in the right format you get a syntax
error IIRC one line after the last line.
On 17 May 2017 at 15:56, jon jon@jonbondy.com wrote:
I am trying to create a series of STL files from one SCAD file under
Windows. When I open the SCAD files and press F5, all is well. If I try
the same thing using a batch file, I get "Parser error in line 197: syntax
error" (the last line in the file), which is not helpful.
Any thoughts about how to approach this?
Thanks!
Jon
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
On 2017-05-17 15:56, jon wrote:
I am trying to create a series of STL files from one SCAD file under
Windows.
As nop says, probably your -D syntax and most likely escaping of quotes.
BTW, I've installed gnu make for Windows and am using a makefile to
create about 20 stls from around 10 scad files and it works well. I'm
happy to share my makefile syntax but it's nothing complex.
BTW, I find builds are faster on Linux and don't bring the machine to
its knees in the same way. I have no idea why.