export curves as polygons instead of polyhedron

python uses 4 spaces for indents