X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_2smeshpy.cxx;h=6d8150db80a4ca98f62420780a0af5d6d1f45f1a;hp=d3ecf4af4e5e6faec926c944143287f086716c42;hb=5c933ecde0251d3c4894d0cdeab8dc67b6c4c3a5;hpb=7ba3124c8a4ba32308bbc40957ee9246374aa590 diff --git a/src/SMESH_I/SMESH_2smeshpy.cxx b/src/SMESH_I/SMESH_2smeshpy.cxx index d3ecf4af4..6d8150db8 100644 --- a/src/SMESH_I/SMESH_2smeshpy.cxx +++ b/src/SMESH_I/SMESH_2smeshpy.cxx @@ -667,6 +667,7 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th hyp->myDim = 1; hyp->myCreationMethod = "AutomaticLength"; hyp->myType = "Regular_1D"; + hyp->myArgMethods.Append( "SetFineness"); } // 1D Python_1D ---------- else if ( hypType == "Python_1D" ) { @@ -701,6 +702,11 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th algo->myDim = 2; algo->myCreationMethod = "Quadrangle"; } + else if ( hypType == "QuadranglePreference" ) { + hyp->myDim = 2; + hyp->myCreationMethod = "QuadranglePreference"; + hyp->myType = "Quadrangle_2D"; + } // 3D ---------- else if ( hypType == "NETGEN_3D") { algo->myDim = 3;