From 8bef424f24fce5b8e1119a1bf5d7045fcfc6d407 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 1 Dec 2012 19:46:49 -0600 Subject: [PATCH] Removing render_test.py, which isn't used --- render_test.py | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 render_test.py diff --git a/render_test.py b/render_test.py deleted file mode 100644 index 58a5a760..00000000 --- a/render_test.py +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env python - -import subprocess, json - - -# import the model -#model, ext, gr = ("/home/aeva/library/models/octocat_ascii.stl", "stl", 131.8) -model, ext, gr = ("/home/aeva/library/models/psycho/printme.obj", "obj", 93.4) - - -args = "blender blender_render.blend -F JPEG -P blender_render.py".split(" ") -env = { - "DISPLAY" : ":0", - "RENDER_SETUP" : json.dumps({ - "out_file" : "foo.jpg", - "model_path" : model, - "model_ext" : ext, - "greatest" : gr, - "camera_coord" : [0, gr*-1.5, gr], - "camera_focus" : (0, 0, gr/2.0), - "camera_clip" : gr*10, - "projection" : "PERSP", # "ORTHO" or "PERSP" - "width" : 800, - "height" : 800, - }) - } - -subprocess.call(args, env=env) -#subprocess.call(["eog", "foo.jpg"]) -- 2.25.1