From: asl Date: Wed, 23 Nov 2005 09:27:11 +0000 (+0000) Subject: PAL8238 - Hypothesis for non-regular 1D meshing X-Git-Tag: BR_3_1_0_deb~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4d423efd78f357caf2b7c3f949f87c28be6ae479;p=modules%2Fsmesh.git PAL8238 - Hypothesis for non-regular 1D meshing --- diff --git a/src/SMESH_SWIG/SMESH_reg.py b/src/SMESH_SWIG/SMESH_reg.py index 8235deb6f..cbe9e1d2d 100644 --- a/src/SMESH_SWIG/SMESH_reg.py +++ b/src/SMESH_SWIG/SMESH_reg.py @@ -108,8 +108,8 @@ 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)") print hypNbSeg4.GetName() print hypNbSeg4.GetId() print hypNbSeg4.GetNumberOfSegments()