Salome HOME
NETGEN_2D_Remote.Paramters was returning a 3D Hypotesis
authoryoann.audouin <yoann.audouin@edf.fr>
Tue, 2 Jan 2024 13:53:33 +0000 (14:53 +0100)
committercesarconopoima <cesar.conopoima@opencascade.com>
Thu, 18 Jan 2024 10:30:12 +0000 (10:30 +0000)
src/NETGENPlugin/NETGENPluginBuilder.py

index 9ff05ad58762e0640282e5f26fd0f72595b8e00a..9cc52a5e4c3fae4e3c8544412c80a5714ab85134 100644 (file)
@@ -170,7 +170,7 @@ class NETGEN_Algorithm(Mesh_Algorithm):
                 hypType = "NETGEN_SimpleParameters_3D"
             else:
                 hypType = "NETGEN_Parameters"
-        elif self.algoType == NETGEN_2D:
+        elif self.algoType in [NETGEN_2D, NETGEN_2D_Remote]:
             hypType = "NETGEN_Parameters_2D_ONLY"
         else:
             hypType = "NETGEN_Parameters_3D"