Salome HOME
Enable creation of group of edges lying on wires using Mesh.Group()
authoreap <eap@opencascade.com>
Wed, 19 Feb 2020 14:15:03 +0000 (17:15 +0300)
committereap <eap@opencascade.com>
Wed, 19 Feb 2020 14:15:03 +0000 (17:15 +0300)
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
         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
             typ = EDGE
         elif tgeo == "FACE" or tgeo == "SHELL":
             typ = FACE