This commit is contained in:
dongchangxi committed 2025-01-15 14:25:14 +08:00
1 parent 57f552b6f6
commit 6d4f9a20ed
1 file changed
+2
+2
View File
@@ -580,6 +580,7 @@ def main(workdir, pid, order_id, print_id):
get_obj_max_foot()
except Exception as 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}')
os.system(f'blender -b -P fill_dm_code.py')
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)
except Exception as e:
print("异常处理错误")
bpy.ops.wm.quit_blender()
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