]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
DCQ : MakeFaces
authordcq <dcq@opencascade.com>
Mon, 5 Apr 2004 09:42:25 +0000 (09:42 +0000)
committerdcq <dcq@opencascade.com>
Mon, 5 Apr 2004 09:42:25 +0000 (09:42 +0000)
src/GEOM_SWIG/batchmode_geompy.py

index 1f0a4e5fb234bccad7986c2a29202b30e1c784bb..633e9d4d634c1e5ee0c9cb74a8d579aaa85d9ca7 100644 (file)
@@ -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)