Skip to content

Commit

Permalink
+ fixes #1579: exportCSG.shape2polyhedron supplies wrong parameters t…
Browse files Browse the repository at this point in the history
…o mesher
  • Loading branch information
5263 authored and wwmayer committed Jun 25, 2014
1 parent 4ce8a93 commit 382e055
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/Mod/OpenSCAD/exportCSG.py
Expand Up @@ -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"
Expand Down

0 comments on commit 382e055

Please sign in to comment.