diff --git a/auto_convert3d.py b/auto_convert3d.py index 22a5b3a..2b571c2 100644 --- a/auto_convert3d.py +++ b/auto_convert3d.py @@ -330,10 +330,6 @@ def main(r): print(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()), '模型生成程序 start') while True: try: - #随机休眠 1- 9 - time.sleep(random.uniform(1, 9)) - - #构建打印文件 make3d4print_task(r) except Exception as e: diff --git a/blender/resize_model.py b/blender/resize_model.py index 5084083..dd7dd96 100644 --- a/blender/resize_model.py +++ b/blender/resize_model.py @@ -114,6 +114,7 @@ def main(): height = float(f.split('_')[-2][:-2]) * 10 except Exception as e: print("eeee",e) + bpy.ops.wm.quit_blender() return