#cmp(sum([v[2] for v in f1])/len(f1), sum([v[2] for v in f2])/len(f2)))
o.faces.reverse()
-
+from Blender import sys
def vectorize(filename):
+
+ print "Filename: %s" % filename
+ print
+ filename = filename.replace('/', sys.sep)
+ print filename
+ print
+
scene = Scene.GetCurrent()
renderer = Renderer()
writer.printCanvas(flatScene)
try:
- Blender.Window.FileSelector (vectorize, 'Save SVG', "proba.svg")
+ Blender.Window.FileSelector (vectorize, 'Save SVG', "proba.svg")
except:
vectorize("proba.svg")