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])))