mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2025-02-16 23:53:46 -05:00
bom.py now shows errors and warnings.
This commit is contained in:
parent
7706716fa2
commit
9fbdb82991
@ -184,6 +184,9 @@ def parse_bom(file = "openscad.log", name = None):
|
||||
main.add_part(s)
|
||||
if stack:
|
||||
main.assemblies[stack[-1]].add_part(s)
|
||||
else:
|
||||
if 'ERROR:' in line or 'WARNING:' in line:
|
||||
print(line[:-1])
|
||||
return main
|
||||
|
||||
def boms(target = None, assembly = None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user