diff --git a/yj_local_build/main_step1.py b/yj_local_build/main_step1.py index 8ba9e67..e87f67d 100644 --- a/yj_local_build/main_step1.py +++ b/yj_local_build/main_step1.py @@ -169,14 +169,14 @@ def step2(pid,headsCount): def getXmps(pid): #从共享盘上下载对齐信息,判断是否有 - print(f"判断是否存在 {os.path.join(config.workdir, 'xmps_rate','texture')} -- {os.path.exists(os.path.join(config.workdir, 'xmps_rate','texture'))}") + print(f"判断是否存在 {os.path.join(config.workdir, 'xmps','texture')} -- {os.path.exists(os.path.join(config.workdir, 'xmps','texture'))}") if os.path.exists(os.path.join(config.workdir, 'xmps','texture')) == False or os.path.exists(os.path.join(config.workdir, 'xmps','mesh')) == False: - print(f"检测不到对齐坐标,请先人工建一次模进行对齐,创建坐标,创建制定的坐标到 {os.path.join(config.workdir, 'xmps_rate','mesh')} 和 os.path.join(config.workdir, 'xmps_rate','texture')") + print(f"检测不到对齐坐标,请先人工建一次模进行对齐,创建坐标,创建制定的坐标到 {os.path.join(config.workdir, 'xmps','mesh')} 和 {os.path.join(config.workdir, 'xmps','texture')}") return False else: #将共享盘的对齐信息复制到工作目录,photo1 和 photo2 - shutil.copytree(os.path.join(config.workdir, 'xmps_rate','mesh'), os.path.join(config.workdir, pid, 'photo1'),dirs_exist_ok=True) - shutil.copytree(os.path.join(config.workdir, 'xmps_rate','texture'), os.path.join(config.workdir, pid, 'photo2'),dirs_exist_ok=True) + shutil.copytree(os.path.join(config.workdir, 'xmps','mesh'), os.path.join(config.workdir, pid, 'photo1'),dirs_exist_ok=True) + shutil.copytree(os.path.join(config.workdir, 'xmps','texture'), os.path.join(config.workdir, pid, 'photo2'),dirs_exist_ok=True) return True