This commit is contained in:
dongchangxi committed 2025-08-01 17:37:16 +08:00
1 parent fa32886fb2
commit bb767caddd
2 files changed
+289

No files matched your search

+2
View File
@@ -139,6 +139,8 @@ def team_check(r):
os.system(f'python D:\\make2\\apps\\white_purification.py -i {imagePath}')
print("贴图文件白色提纯完成",imagePath)
#
time.sleep(5)
#提纯完重新上传提纯图片
ossImagePath = os.path.join("objs/print", pid,ossPath,"texture","process_"+pid+"Tex1.jpg")
oss_client.put_object_from_file(f"objs/print/{pid}/{ossPath}/texture/process_{pid}Tex1.jpg",imagePath)