+ fixes #0001579: exportCSG.shape2polyhedron supplies wrong parameters to mesher

This commit is contained in:
Sebastian Hoogen 2014-06-22 16:46:55 +02:00 committed by wmayer
parent 4ce8a93ad7
commit 382e055e9b

View File

@ -93,12 +93,9 @@ def vertexs2polygon(vertex):
def shape2polyhedron(shape):
import MeshPart
fa = params.GetFloat('exportFa',12.0)
return mesh2polyhedron(MeshPart.meshFromShape(shape,params.GetFloat(\
'meshmaxlength',1.0), params.GetFloat('meshmaxarea',0.0),\
params.GetFloat('meshlocallen',0.0),\
params.GetFloat('meshdeflection',0.0)))
return mesh2polyhedron(MeshPart.meshFromShape(Shape=shape,\
Deflection= params.GetFloat('meshdeflection',0.0)))
def process_object(csg,ob):
print "Placement"