1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-21 06:41:30 +02:00

Reordered openscad command line parameters.

This commit is contained in:
Martin Budden
2021-03-06 14:19:11 +00:00
parent da4f9fbdc3
commit b83e56713f
5 changed files with 6 additions and 6 deletions

View File

@@ -142,7 +142,7 @@ def make_parts(target, part_type, parts = None):
f.write("use <%s/%s>\n" % (reltmp(dir, target), filename))
f.write("%s();\n" % module);
t = time.time()
openscad.run("-D$bom=1", "-d", dname, "-o", part_file, part_maker_name)
openscad.run("-o", part_file, part_maker_name, "-D$bom=1", "-d", dname)
times.add_time(part, t)
if part_type == 'stl':
bounds = c14n_stl.canonicalise(part_file)