mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
Cas_test vis OK
This commit is contained in:
parent
2bc0b72d57
commit
5a81ccdc33
@ -35,7 +35,7 @@ from blocFissure.gmu.casStandard import casStandard
|
||||
#initLog.setPerfTests()
|
||||
|
||||
# ---tous les cas en séquence, ou les cas sélectionnés ...
|
||||
TORUNOK = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0] # OK
|
||||
TORUNOK = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0] # OK
|
||||
# 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28
|
||||
#RUNALL = False
|
||||
RUNALL = True
|
||||
@ -63,7 +63,7 @@ else:
|
||||
TORUN = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0] # vis
|
||||
TORUN = [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1] # tube
|
||||
# 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28
|
||||
TORUN = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0] # OK
|
||||
TORUN = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0] # OK
|
||||
# -----------------------------------------------------------------------------------------------
|
||||
|
||||
def caract_l_problemes ():
|
||||
|
@ -84,7 +84,7 @@ class vis_1(fissureGenerique):
|
||||
|
||||
shellFiss = geompy.ImportBREP(os.path.join(gmu.pathBloc, "materielCasTests", "visFiss.brep"))
|
||||
fondFiss = geompy.CreateGroup(shellFiss, geompy.ShapeType["EDGE"])
|
||||
geompy.UnionIDs(fondFiss, [6, 8, 3])
|
||||
geompy.UnionIDs(fondFiss, [6, 8])
|
||||
geomPublish(initLog.always, shellFiss, "shellFiss", self.numeroCas)
|
||||
geomPublishInFather(initLog.always, shellFiss, fondFiss, "fondFiss", self.numeroCas)
|
||||
|
||||
@ -130,12 +130,12 @@ class vis_1(fissureGenerique):
|
||||
# ---------------------------------------------------------------------------
|
||||
def setReferencesMaillageFissure(self):
|
||||
self.referencesMaillageFissure = dict( \
|
||||
Entity_Quad_Quadrangle = 4285 ,\
|
||||
Entity_Quad_Hexa = 6416, \
|
||||
Entity_Node = 85673, \
|
||||
Entity_Quad_Edge = 758, \
|
||||
Entity_Quad_Triangle = 2336, \
|
||||
Entity_Quad_Tetra = 35990, \
|
||||
Entity_Quad_Pyramid = 1284, \
|
||||
Entity_Quad_Penta = 984 \
|
||||
Entity_Quad_Quadrangle = 11596, \
|
||||
Entity_Quad_Hexa = 37008, \
|
||||
Entity_Node = 250929, \
|
||||
Entity_Quad_Edge = 30356, \
|
||||
Entity_Quad_Triangle = 8088, \
|
||||
Entity_Quad_Tetra = 49055, \
|
||||
Entity_Quad_Pyramid = 3026, \
|
||||
Entity_Quad_Penta = 4392 \
|
||||
)
|
||||
|
@ -143,7 +143,7 @@ Extrusion_1 = geompy.MakePrismVecH(Face_2, OX, 15)
|
||||
Revolution_2 = geompy.MakeRevolution2Ways(generatrice, OY, 65*math.pi/180.0)
|
||||
Fissure = geompy.MakeCommonList([Extrusion_1, Revolution_2], True)
|
||||
fondFiss = geompy.CreateGroup(Fissure, geompy.ShapeType["EDGE"])
|
||||
geompy.UnionIDs(fondFiss, [9, 7, 4])
|
||||
geompy.UnionIDs(fondFiss, [6, 8])
|
||||
|
||||
geomPublish(initLog.debug, Vertex_4, 'Vertex_4' )
|
||||
geomPublish(initLog.debug, Vertex_6, 'Vertex_6' )
|
||||
|
Loading…
Reference in New Issue
Block a user