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

Now shows what changed to trigger an openscad invocation in cyan.

This commit is contained in:
Chris Palmer
2021-02-09 23:32:53 +00:00
parent 26f1338ca2
commit 4f9729cf86
4 changed files with 9 additions and 6 deletions

View File

@@ -31,6 +31,7 @@ from deps import *
from tmpdir import *
import json
import shutil
from colorama import Fore, init
def bom_to_parts(bom_dir, part_type, assembly = None):
#
@@ -130,7 +131,7 @@ def make_parts(target, part_type, parts = None):
changed = check_deps(part_file, dname)
changed = times.check_have_time(changed, part)
if part_type == 'stl' and not changed and not part in bounds_map:
changed = "No bounds"
changed = Fore.CYAN + "No bounds" + Fore.WHITE
if changed:
print(changed)
#