|
|
|
@ -100,17 +100,17 @@ def down_obj_from_oss(workdir, pid, action): |
|
|
|
isMtlFile = True |
|
|
|
isMtlFile = True |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if localfile.endswith('.obj'): |
|
|
|
if "obj" in localfile: |
|
|
|
if isObjFile: |
|
|
|
if isObjFile: |
|
|
|
print(f'目录{dirPath}已存在obj文件,跳过') |
|
|
|
print(f'目录{dirPath}已存在obj文件,跳过') |
|
|
|
continue |
|
|
|
continue |
|
|
|
|
|
|
|
|
|
|
|
if localfile.endswith('.jpg'): |
|
|
|
if "jpg" in localfile: |
|
|
|
if isJpgFile: |
|
|
|
if isJpgFile: |
|
|
|
print(f'目录{dirPath}已存在jpg文件,跳过') |
|
|
|
print(f'目录{dirPath}已存在jpg文件,跳过') |
|
|
|
continue |
|
|
|
continue |
|
|
|
|
|
|
|
|
|
|
|
if localfile.endswith('.mtl'): |
|
|
|
if "mtl" in localfile: |
|
|
|
if isMtlFile: |
|
|
|
if isMtlFile: |
|
|
|
print(f'目录{dirPath}已存在mtl文件,跳过') |
|
|
|
print(f'目录{dirPath}已存在mtl文件,跳过') |
|
|
|
continue |
|
|
|
continue |
|
|
|
|