mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-07-30 20:30:09 +02:00
bom.py now shows errors and warnings.
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user