mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-12 20:07:28 +05:00
PAL8238 - Hypothesis for non-regular 1D meshing
This commit is contained in:
parent
2ad752b10c
commit
4d423efd78
@ -108,8 +108,8 @@ hypNbSeg.append(hypNbSeg3)
|
|||||||
|
|
||||||
hypNbSeg4 = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
|
hypNbSeg4 = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
|
||||||
hypNbSeg4.SetDistrType(3)
|
hypNbSeg4.SetDistrType(3)
|
||||||
hypNbSeg4.SetNumberOfSegments(7)
|
hypNbSeg4.SetNumberOfSegments(10)
|
||||||
hypNbSeg4.SetExpressionFunction("sin(t)")
|
hypNbSeg4.SetExpressionFunction("sin(3*t)")
|
||||||
print hypNbSeg4.GetName()
|
print hypNbSeg4.GetName()
|
||||||
print hypNbSeg4.GetId()
|
print hypNbSeg4.GetId()
|
||||||
print hypNbSeg4.GetNumberOfSegments()
|
print hypNbSeg4.GetNumberOfSegments()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user