@ -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:
@ -114,6 +114,7 @@ def main():
height = float(f.split('_')[-2][:-2]) * 10
print("eeee",e)
bpy.ops.wm.quit_blender()
return