构建obj 处理
This commit is contained in:
1 parent
6d4f9a20ed
commit
b6273cb912
2 files changed
+1
-4
No files matched your search
@@ -330,10 +330,6 @@ def main(r):
|
|||||||
print(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()), '模型生成程序 start')
|
print(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()), '模型生成程序 start')
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
#随机休眠 1- 9
|
|
||||||
time.sleep(random.uniform(1, 9))
|
|
||||||
|
|
||||||
|
|
||||||
#构建打印文件
|
#构建打印文件
|
||||||
make3d4print_task(r)
|
make3d4print_task(r)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
@@ -114,6 +114,7 @@ def main():
|
|||||||
height = float(f.split('_')[-2][:-2]) * 10
|
height = float(f.split('_')[-2][:-2]) * 10
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("eeee",e)
|
print("eeee",e)
|
||||||
|
bpy.ops.wm.quit_blender()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user