diff --git a/src/Mod/OpenSCAD/exportCSG.py b/src/Mod/OpenSCAD/exportCSG.py index 0b2df5e04..a9e0f5f75 100644 --- a/src/Mod/OpenSCAD/exportCSG.py +++ b/src/Mod/OpenSCAD/exportCSG.py @@ -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"