1
This commit is contained in:
1 parent
57f552b6f6
commit
6d4f9a20ed
1 file changed
+2
@@ -580,6 +580,7 @@ def main(workdir, pid, order_id, print_id):
|
|||||||
get_obj_max_foot()
|
get_obj_max_foot()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"get obj max foot err {e}")
|
print(f"get obj max foot err {e}")
|
||||||
|
bpy.ops.wm.quit_blender()
|
||||||
res = requests.get(f'https://mp.api.suwa3d.com/api/footCode/deleteByPid?pid={pid}')
|
res = requests.get(f'https://mp.api.suwa3d.com/api/footCode/deleteByPid?pid={pid}')
|
||||||
os.system(f'blender -b -P fill_dm_code.py')
|
os.system(f'blender -b -P fill_dm_code.py')
|
||||||
return
|
return
|
||||||
@@ -594,6 +595,7 @@ def main(workdir, pid, order_id, print_id):
|
|||||||
max_qr, qr_location, max_qr_length, rotation = get_max_qr(foot_points)
|
max_qr, qr_location, max_qr_length, rotation = get_max_qr(foot_points)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("异常处理错误")
|
print("异常处理错误")
|
||||||
|
bpy.ops.wm.quit_blender()
|
||||||
res = requests.get(f'https://mp.api.suwa3d.com/api/footCode/deleteByPid?pid={pid}')
|
res = requests.get(f'https://mp.api.suwa3d.com/api/footCode/deleteByPid?pid={pid}')
|
||||||
os.system(f'blender -b -P fill_dm_code.py')
|
os.system(f'blender -b -P fill_dm_code.py')
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in new issue
Block a user