From bbc1a770bc055fafc7b3489022c6fbb2ee992d92 Mon Sep 17 00:00:00 2001 From: josh Date: Sat, 14 Nov 2009 21:38:50 +0000 Subject: [PATCH] changed cylinder to capsule git-svn-id: svn://anubis/misc/phy_export@205 bd8a9e45-a331-0410-811e-c64571078777 --- phy_export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phy_export.py b/phy_export.py index bea02b2..af7e38d 100644 --- a/phy_export.py +++ b/phy_export.py @@ -28,9 +28,9 @@ def write(filename): ob.getLocation() + (e[0], e[1], e[2]))) elif len(ob.data.faces) < 256: - # found a cylinder + # found a capsule e = ob.getEuler() - out.write("cylinder \"%s\" %f %f %f %f %f %f %f %f\n" % + out.write("capsule \"%s\" %f %f %f %f %f %f %f %f\n" % ((ob.name,) + (ob.getSize()[0], ob.getSize()[2]*2) + ob.getLocation() + (e[0], e[1], e[2])))