Salome HOME
Debug
[modules/smesh.git] / src / SMESH_I / SMESH_2smeshpy.cxx
index 080f15a19075c2852fec4fec123185c6f50ddf3d..e966c781aafeca730549c6477ab2189bc64bade5 100644 (file)
@@ -1379,6 +1379,10 @@ Handle(_pyHypothesis) _pyHypothesis::NewHypothesis( const Handle(_pyCommand)& th
     hyp = new _pyLayerDistributionHypo( theCreationCmd );
     hyp->SetConvMethodAndType( "LayerDistribution", "RadialPrism_3D");
   }
+  else if ( hypType == "LayerDistribution2D" ) {
+    hyp = new _pyLayerDistributionHypo( theCreationCmd );
+    hyp->SetConvMethodAndType( "LayerDistribution2D", "RadialQuadrangle_1D2D");
+  }
 
   if ( algo->IsValid() ) {
     return algo;