1
This commit is contained in:
1 parent
a73b73c293
commit
7298c657a6
1 file changed
+8
@@ -534,6 +534,14 @@ def main(workdir, r, print_id):
|
|||||||
# temp_foot_data = short_url
|
# temp_foot_data = short_url
|
||||||
# print(f'temp_foot_data---{temp_foot_data}')
|
# print(f'temp_foot_data---{temp_foot_data}')
|
||||||
gen_data_matrix(print_id,pid, qr_path)
|
gen_data_matrix(print_id,pid, qr_path)
|
||||||
|
#休眠1秒
|
||||||
|
time.sleep(1)
|
||||||
|
#判断是否存在 qr_path,不存在就执行下一个任务
|
||||||
|
if not os.path.exists(qr_path):
|
||||||
|
#移除该脚底板的面积处理
|
||||||
|
res = requests.get(f'https://mp.api.suwa3d.com/api/footCode/deleteByPid?pid={pid}')
|
||||||
|
os.system(f'blender -b -P fill_dm_code.py')
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
# 导入obj文件,重置到标准单位
|
# 导入obj文件,重置到标准单位
|
||||||
|
|||||||
Reference in new issue
Block a user