Salome HOME
PAL10953. Add Fineness parameter to Automatic Length hypothesis
[modules/smesh.git] / src / SMESH_I / SMESH_2smeshpy.cxx
index 9526b75289a54631cc62e8407e938d85929646b8..6d8150db80a4ca98f62420780a0af5d6d1f45f1a 100644 (file)
@@ -667,6 +667,7 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th
     hyp->myDim = 1;
     hyp->myCreationMethod = "AutomaticLength";
     hyp->myType = "Regular_1D";
     hyp->myDim = 1;
     hyp->myCreationMethod = "AutomaticLength";
     hyp->myType = "Regular_1D";
+    hyp->myArgMethods.Append( "SetFineness");
   }
   // 1D Python_1D ----------
   else if ( hypType == "Python_1D" ) {
   }
   // 1D Python_1D ----------
   else if ( hypType == "Python_1D" ) {
@@ -704,7 +705,7 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th
   else if ( hypType == "QuadranglePreference" ) {
     hyp->myDim = 2;
     hyp->myCreationMethod = "QuadranglePreference";
   else if ( hypType == "QuadranglePreference" ) {
     hyp->myDim = 2;
     hyp->myCreationMethod = "QuadranglePreference";
-    hyp->myType = "MEFISTO_2D";
+    hyp->myType = "Quadrangle_2D";
   }
   // 3D ----------
   else if ( hypType == "NETGEN_3D") {
   }
   // 3D ----------
   else if ( hypType == "NETGEN_3D") {