|
|
|
|
@ -580,6 +580,7 @@ def main(workdir, pid, order_id, print_id):
@@ -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):
@@ -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 |
|
|
|
|
|