mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2025-02-19 17:13:45 -05:00
Added --hardwarnings to openscad.py
This commit is contained in:
parent
93b260b7b9
commit
7f9122ae66
@ -249,7 +249,7 @@ def boms(target = None, assembly = None):
|
|||||||
#
|
#
|
||||||
# Run openscad
|
# Run openscad
|
||||||
#
|
#
|
||||||
openscad.run("-D", "$bom=2", "-D", "$preview=true", "--hardwarnings", "-o", "openscad.echo", "-d", bom_dir + "/bom.deps", bom_maker_name)
|
openscad.run("-D", "$bom=2", "-D", "$preview=true", "-o", "openscad.echo", "-d", bom_dir + "/bom.deps", bom_maker_name)
|
||||||
os.remove(bom_maker_name)
|
os.remove(bom_maker_name)
|
||||||
print("Generating bom ...", end=" ")
|
print("Generating bom ...", end=" ")
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ from __future__ import print_function
|
|||||||
import subprocess, sys
|
import subprocess, sys
|
||||||
|
|
||||||
def run_list(args, silent = False, verbose = False):
|
def run_list(args, silent = False, verbose = False):
|
||||||
cmd = ["openscad"] + args
|
cmd = ["openscad", "--hardwarnings"] + args
|
||||||
if not silent:
|
if not silent:
|
||||||
for arg in cmd:
|
for arg in cmd:
|
||||||
print(arg, end=" ")
|
print(arg, end=" ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user