|
|
|
@ -285,9 +285,13 @@ def export_and_update_glbs(pid,order_ids): |
|
|
|
def createGlb(pid,order_ids): |
|
|
|
def createGlb(pid,order_ids): |
|
|
|
|
|
|
|
|
|
|
|
#下载obj文件 |
|
|
|
#下载obj文件 |
|
|
|
|
|
|
|
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} pid: {pid} 开始下载obj文件...') |
|
|
|
down_obj_from_oss(config.workdir, pid, "print") |
|
|
|
down_obj_from_oss(config.workdir, pid, "print") |
|
|
|
|
|
|
|
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} pid: {pid} 下载obj文件完成...') |
|
|
|
#检测mtl 文件是否正常, |
|
|
|
#检测mtl 文件是否正常, |
|
|
|
|
|
|
|
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} pid: {pid} 开始检测mtl文件...') |
|
|
|
isNormal = checkDownloadFile(pid) |
|
|
|
isNormal = checkDownloadFile(pid) |
|
|
|
|
|
|
|
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} pid: {pid} 检测mtl文件完成...') |
|
|
|
if isNormal == False: |
|
|
|
if isNormal == False: |
|
|
|
print(f'{pid}的mtl文件检测出现问题,不执行该笔任务,调用取消的接口') |
|
|
|
print(f'{pid}的mtl文件检测出现问题,不执行该笔任务,调用取消的接口') |
|
|
|
for order_id in order_ids: |
|
|
|
for order_id in order_ids: |
|
|
|
|