Salome HOME
Enable creation of group of edges lying on wires using Mesh.Group()
[modules/smesh.git] / src / SMESH_SWIG / smeshBuilder.py
index 69c4024e965937ea26bd11a29684305aae9f541c..56a32dec0c52e7075a7734f99f93464df797491b 100644 (file)
@@ -2639,7 +2639,7 @@ class Mesh(metaclass = MeshMeta):
         tgeo = str(shape.GetShapeType())
         if tgeo == "VERTEX":
             typ = NODE
-        elif tgeo == "EDGE":
+        elif tgeo == "EDGE" or tgeo == "WIRE":
             typ = EDGE
         elif tgeo == "FACE" or tgeo == "SHELL":
             typ = FACE