From: dcq Date: Mon, 5 Apr 2004 09:42:25 +0000 (+0000) Subject: DCQ : MakeFaces X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dcb38c9005a1b9e9318a723d9d1218de3d14d007;p=modules%2Fgeom.git DCQ : MakeFaces --- diff --git a/src/GEOM_SWIG/batchmode_geompy.py b/src/GEOM_SWIG/batchmode_geompy.py index 1f0a4e5fb..633e9d4d6 100644 --- a/src/GEOM_SWIG/batchmode_geompy.py +++ b/src/GEOM_SWIG/batchmode_geompy.py @@ -220,6 +220,12 @@ def MakeFace(aShapeWire,WantPlanarFace): anObj._set_Name(ior) return anObj +def MakeFaces(ListShape,WantPlanarFace): + anObj = geom.MakeFaces(ListShape,WantPlanarFace) + ior = salome.orb.object_to_string(anObj) + anObj._set_Name(ior) + return anObj + def MakeCompound(ListShape): anObj = geom.MakeCompound(ListShape) ior = orb.object_to_string(anObj)