mirror of
https://github.com/nophead/Mendel90.git
synced 2025-08-10 15:23:57 +02:00
nicer render
This commit is contained in:
@@ -15,7 +15,8 @@ def render(machine):
|
|||||||
for i in li:
|
for i in li:
|
||||||
stls.append(i[:-4])
|
stls.append(i[:-4])
|
||||||
for i in stls:
|
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]
|
print commands.getstatusoutput(command)[1]
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Binary file not shown.
Reference in New Issue
Block a user