Skip to content

Free, open-source 3D sculpting for Linux, macOS and Windows: dense meshes, remeshing, painting, built-in AI (image/text to 3D), Send to Unreal, game-ready LODs, Gaussian splats and OpenUSD.

No Stanford scan media: check_marks_media fails on tracked media named after one; the old 0.11.1 Lucy picture's hash joins the takedown list (from fix/no-lucy 23de674e)

islandmed1af127cfeab4
diff --git a/tools/check_marks_media.py b/tools/check_marks_media.py
index 6d880d15..db178957 100644
--- a/tools/check_marks_media.py
+++ b/tools/check_marks_media.py
@@ -36,6 +36,8 @@ CACHE_VERSION = 2 # bump when the OCR or the patterns change in a way that shou
IMAGES = (".png", ".jpg", ".jpeg", ".webp", ".avif", ".bmp", ".tif", ".tiff")
VIDEOS = (".mp4", ".webm", ".mov", ".mkv", ".gif", ".m4v")
SKIP_PREFIXES = check_marks.SKIP_PREFIXES
+# scans whose terms bar commercial use (assets/demo/CREDITS.md): no tracked image or video of them
+RESTRICTED = re.compile(r"lucy|stanford|xyzrgb|armadillo|happy.?buddha|st.?matthew", re.I)
def media_files():
@@ -134,6 +136,7 @@ def main(argv):
assert not hits_in(f"Brush {today} 25", mark_re), today
assert not hits_in("Forge Spheres Lit Sphere Part Face group Library Vertex Paint Strength", mark_re)
assert counts([[None, ["a", "b"]], [3, ["c"]]]) == [[None, 2], [3, 1]]
+ assert RESTRICTED.search("docs/guide/images/wn-0111-Lucy.jpg") and not RESTRICTED.search("wn-0111-dense.jpg")
print("check_marks_media self-test ok")
return 0
jobs = int(argv[argv.index("--jobs") + 1]) if "--jobs" in argv else 3
@@ -166,6 +169,8 @@ def main(argv):
save_cache({k: v for k, v in cache.items() if k in live or v})
pending = set() if explicit else {l.strip() for l in PENDING.read_text().splitlines() if l.strip() and not l.startswith("#")}
errors, waiting = [], 0
+ errors += [f"{p}: a scan whose terms bar commercial use (assets/demo/CREDITS.md); use the CC0 lion head"
+ for p in paths if not explicit and RESTRICTED.search(Path(p).name)]
for p in paths:
if p in pending:
waiting += bool(cache[keys[p]])
diff --git a/tools/marks_media_flagged.txt b/tools/marks_media_flagged.txt
index f8d71552..88c31041 100644
--- a/tools/marks_media_flagged.txt
+++ b/tools/marks_media_flagged.txt
@@ -1,4 +1,5 @@
# sha256 of every image/video that shows a mark on screen (OCR); tools/media_takedown.py takes them off the deployed site.
+# Also images whose source's terms bar their use here (f01783fc...: the Lucy scan, Stanford: no commercial use).
078e8e1f016f0823d9bf35c322962da72e48c1457aeecd72fb07d276f898a320
1c54f2872f76018e9bd4f333c9f1a5ca5fefe45ac4a4d16ea6ce6be7ca26e9f4
1eed1985a6fb2f01f2b70bbb0a659e9106dd92679607cec9680f95b0c6c650fd
@@ -50,4 +51,5 @@ d9981d94d7faacd77c8a52ab73d1173dbc01720b88f7f7c0b6e243ad3dba541b
dace5b8c1cd678eef8ea842fb24635a00ac71f065e1cc8792d30b4500a6a91ed
dbf2e7ae16ade9bdfb50d500e2eb0c2aafb8b11f85a72c422b6240d8dc8be0a0
e17213a2e08d9bc772663adbf5a17f24ff9da0414ef5c106a06a5d8b4e453669
+f01783fc52a87e4e595cca3ac1f3c8587467ead73fc518dbcdd3f2dc884ea756
fc9ae496351c7b5398f96e632343126ea97a7bfe3ee992b2cd5233288fc0cc95