Salome HOME
Restore -lTKShHealing
[modules/smesh.git] / src / SMESH_SWIG / SMESH_reg.py
index 8235deb6fe7d2962992c8a89c5ff2129ff4e5921..3a2f74ae84b11586f603aafbcb74da45d74d8693 100644 (file)
@@ -98,7 +98,8 @@ hypNbSeg.append(hypNbSeg2)
 hypNbSeg3 = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
 hypNbSeg3.SetDistrType(2)
 hypNbSeg3.SetNumberOfSegments(7)
-hypNbSeg3.SetTableFunction( [0.25, 0.5, 0.5, 0.25] )
+hypNbSeg3.SetTableFunction( [0, 0.1, 0.5, 1.0, 1.0, 0.1] )
+hypNbSeg3.SetConversionMode(0)
 print hypNbSeg3.GetName()
 print hypNbSeg3.GetId()
 print hypNbSeg3.GetNumberOfSegments()
@@ -108,8 +109,9 @@ hypNbSeg.append(hypNbSeg3)
 
 hypNbSeg4 = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
 hypNbSeg4.SetDistrType(3)
-hypNbSeg4.SetNumberOfSegments(7)
-hypNbSeg4.SetExpressionFunction("sin(t)")
+hypNbSeg4.SetNumberOfSegments(10)
+hypNbSeg4.SetExpressionFunction("sin(3*t)")
+hypNbSeg4.SetConversionMode(1)
 print hypNbSeg4.GetName()
 print hypNbSeg4.GetId()
 print hypNbSeg4.GetNumberOfSegments()