1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-07-31 04:30:15 +02:00

Bom generation now calls openscad with --hardwarnings to stop ASAP.

This commit is contained in:
Chris Palmer
2020-04-07 19:36:38 +01:00
parent 147ff9b24f
commit 9da8634769

View File

@@ -248,7 +248,7 @@ def boms(target = None, assembly = None):
#
# Run openscad
#
openscad.run("-D","$bom=2","-D","$preview=true","-o", "openscad.echo", "-d", bom_dir + "/bom.deps", bom_maker_name)
openscad.run("-D", "$bom=2", "-D", "$preview=true", "--hardwarnings", "-o", "openscad.echo", "-d", bom_dir + "/bom.deps", bom_maker_name)
os.remove(bom_maker_name)
print("Generating bom ...", end=" ")