From ae349a39d22d2d60cf2ee62f951a412907bd4fe9 Mon Sep 17 00:00:00 2001 From: dongchangxi <458593490@qq.com> Date: Wed, 15 Jan 2025 11:10:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=84=9A=E5=BA=95=E6=9D=BF=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E6=B1=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blender/fill_dm_code.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blender/fill_dm_code.py b/blender/fill_dm_code.py index b04df1b..02b4e92 100644 --- a/blender/fill_dm_code.py +++ b/blender/fill_dm_code.py @@ -560,6 +560,7 @@ def main(workdir, r, print_id): #移除该脚底板的面积处理 res = requests.get(f'https://mp.api.suwa3d.com/api/footCode/deleteByPid?pid={pid}') #os.system(f'blender -b -P fill_dm_code.py') + bpy.ops.wm.quit_blender() return jpg_img = Image.open(jpg_path) @@ -578,6 +579,7 @@ def main(workdir, r, print_id): #移除该脚底板的面积处理 res = requests.get(f'https://mp.api.suwa3d.com/api/footCode/deleteByPid?pid={pid}') #os.system(f'blender -b -P fill_dm_code.py') + bpy.ops.wm.quit_blender() return qr_img = Image.open(qr_path)