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

Now uses the dependencies to locate modules for printed parts and assemblies.

This commit is contained in:
Chris Palmer
2020-03-12 22:47:27 +00:00
parent 2eef050f60
commit 2210396234
6 changed files with 35 additions and 16 deletions

View File

@@ -221,7 +221,7 @@ def boms(target = None, assembly = None):
#
# Run openscad
#
openscad.run("-D","$bom=2","-D","$preview=true","-o", "openscad.echo", 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)
print("Generating bom ...", end=" ")