wavefront obj export

This commit is contained in:
Laura Klünder 2017-11-14 20:53:04 +01:00
parent afbb9e7427
commit b76f35a4a5
8 changed files with 80 additions and 7 deletions

View file

@ -83,7 +83,7 @@ class SVGEngine(RenderEngine):
result += '</svg>'
return result
def render(self):
def render(self, filename=None):
# render the image to png. returns bytes if f is None, otherwise it calls f.write()
if self.width == 256 and self.height == 256 and not self.g: