1
0
mirror of https://github.com/nophead/Mendel90.git synced 2025-08-01 11:00:16 +02:00

nicer render

This commit is contained in:
Simon Kirkby
2012-03-17 00:02:06 +08:00
parent f8afc5987f
commit a4bd7fe428
2 changed files with 2 additions and 1 deletions

View File

@@ -15,7 +15,8 @@ def render(machine):
for i in li:
stls.append(i[:-4])
for i in stls:
command = 'blender -b utils'+os.sep+'render.blend -P utils'+os.sep+'viz.py -- '+machine+os.sep+'stls'+os.sep+i+'.stl '+machine+os.sep+'render'+os.sep+i+'.png'
command = 'blender -b utils'+os.sep+'render.blend -P utils'+os.sep+'viz.py -- '+machine+os.sep+'stls'+os.sep+i+'.stl '+machine+os.sep+'render'+os.sep+i+'.png'
print(command)
print commands.getstatusoutput(command)[1]
if __name__ == '__main__':