mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-23 22:12:04 +05:00
correct test according to windiows porting
This commit is contained in:
parent
4553c89195
commit
7059263e47
@ -391,7 +391,7 @@ def MakeSpanner (salome, geompy, math, isBlocksTest = 0, isMeshTest = 0, smesh =
|
|||||||
|
|
||||||
print "-------------------------- NumberOfSegments"
|
print "-------------------------- NumberOfSegments"
|
||||||
|
|
||||||
hypNbSeg3 = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
|
hypNbSeg3 = smesh.CreateHypothesis("NumberOfSegments", "StdMeshersEngine")
|
||||||
hypNbSeg3.SetNumberOfSegments(3)
|
hypNbSeg3.SetNumberOfSegments(3)
|
||||||
print hypNbSeg3.GetName()
|
print hypNbSeg3.GetName()
|
||||||
print hypNbSeg3.GetId()
|
print hypNbSeg3.GetId()
|
||||||
@ -403,7 +403,7 @@ def MakeSpanner (salome, geompy, math, isBlocksTest = 0, isMeshTest = 0, smesh =
|
|||||||
|
|
||||||
print "-------------------------- LocalLength"
|
print "-------------------------- LocalLength"
|
||||||
|
|
||||||
hypLen1 = smesh.CreateHypothesis("LocalLength", "libStdMeshersEngine.so")
|
hypLen1 = smesh.CreateHypothesis("LocalLength", "StdMeshersEngine")
|
||||||
hypLen1.SetLength(10)
|
hypLen1.SetLength(10)
|
||||||
print hypLen1.GetName()
|
print hypLen1.GetName()
|
||||||
print hypLen1.GetId()
|
print hypLen1.GetId()
|
||||||
@ -415,7 +415,7 @@ def MakeSpanner (salome, geompy, math, isBlocksTest = 0, isMeshTest = 0, smesh =
|
|||||||
|
|
||||||
print "-------------------------- Propagation"
|
print "-------------------------- Propagation"
|
||||||
|
|
||||||
hypProp = smesh.CreateHypothesis("Propagation", "libStdMeshersEngine.so")
|
hypProp = smesh.CreateHypothesis("Propagation", "StdMeshersEngine")
|
||||||
print hypProp.GetName()
|
print hypProp.GetName()
|
||||||
print hypProp.GetId()
|
print hypProp.GetId()
|
||||||
|
|
||||||
@ -425,7 +425,7 @@ def MakeSpanner (salome, geompy, math, isBlocksTest = 0, isMeshTest = 0, smesh =
|
|||||||
|
|
||||||
#print "-------------------------- NumberOfSegments"
|
#print "-------------------------- NumberOfSegments"
|
||||||
#
|
#
|
||||||
#hypNbSeg15 = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
|
#hypNbSeg15 = smesh.CreateHypothesis("NumberOfSegments", "StdMeshersEngine")
|
||||||
#hypNbSeg15.SetNumberOfSegments(15)
|
#hypNbSeg15.SetNumberOfSegments(15)
|
||||||
#print hypNbSeg15.GetName()
|
#print hypNbSeg15.GetName()
|
||||||
#print hypNbSeg15.GetId()
|
#print hypNbSeg15.GetId()
|
||||||
@ -437,7 +437,7 @@ def MakeSpanner (salome, geompy, math, isBlocksTest = 0, isMeshTest = 0, smesh =
|
|||||||
|
|
||||||
print "-------------------------- Regular_1D"
|
print "-------------------------- Regular_1D"
|
||||||
|
|
||||||
algoReg = smesh.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so")
|
algoReg = smesh.CreateHypothesis("Regular_1D", "StdMeshersEngine")
|
||||||
listHyp = algoReg.GetCompatibleHypothesis()
|
listHyp = algoReg.GetCompatibleHypothesis()
|
||||||
for hyp in listHyp:
|
for hyp in listHyp:
|
||||||
print hyp
|
print hyp
|
||||||
@ -450,7 +450,7 @@ def MakeSpanner (salome, geompy, math, isBlocksTest = 0, isMeshTest = 0, smesh =
|
|||||||
|
|
||||||
print "-------------------------- Quadrangle_2D"
|
print "-------------------------- Quadrangle_2D"
|
||||||
|
|
||||||
algoQuad = smesh.CreateHypothesis("Quadrangle_2D", "libStdMeshersEngine.so")
|
algoQuad = smesh.CreateHypothesis("Quadrangle_2D", "StdMeshersEngine")
|
||||||
listHyp = algoQuad.GetCompatibleHypothesis()
|
listHyp = algoQuad.GetCompatibleHypothesis()
|
||||||
for hyp in listHyp:
|
for hyp in listHyp:
|
||||||
print hyp
|
print hyp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user