+ fixes #0001579: exportCSG.shape2polyhedron supplies wrong parameters to mesher
This commit is contained in:
parent
4ce8a93ad7
commit
382e055e9b
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user