Salome HOME
add QuadraticMesh hypothesis
[modules/smesh.git] / src / SMESH_I / SMESH_2smeshpy.cxx
index 6d8150db80a4ca98f62420780a0af5d6d1f45f1a..8d1bba78e816067870d7ec25aaea7c88b4c48c45 100644 (file)
@@ -663,6 +663,11 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th
     hyp->myCreationMethod = "Propagation";
     hyp->myType = "Regular_1D";
   }
+  else if ( hypType == "QuadraticMesh" ) {
+    hyp->myDim = 1;
+    hyp->myCreationMethod = "QuadraticMesh";
+    hyp->myType = "Regular_1D";
+  }
   else if ( hypType == "AutomaticLength" ) {
     hyp->myDim = 1;
     hyp->myCreationMethod = "AutomaticLength";