Salome HOME
correction cas test vis: face de fissure trop débordante. Un probleme de GetInPlace...
authorPaul RASCLE <paul.rascle@edf.fr>
Tue, 12 Jan 2016 16:02:55 +0000 (17:02 +0100)
committerPaul RASCLE <paul.rascle@edf.fr>
Tue, 12 Jan 2016 16:02:55 +0000 (17:02 +0100)
src/Tools/blocFissure/CasTests/vis_1.py
src/Tools/blocFissure/materielCasTests/vis.py

index cc7c6a1fdde860285f5a21baaf0669866425f497..cf4400faa918e2fdd0205e7dcb1a899bb245a3f8 100644 (file)
@@ -59,7 +59,7 @@ class vis_1(fissureGenerique):
 
     shellFiss = geompy.ImportFile(os.path.join(gmu.pathBloc, "materielCasTests/visFiss.brep"), "BREP")
     fondFiss = geompy.CreateGroup(shellFiss, geompy.ShapeType["EDGE"])
 
     shellFiss = geompy.ImportFile(os.path.join(gmu.pathBloc, "materielCasTests/visFiss.brep"), "BREP")
     fondFiss = geompy.CreateGroup(shellFiss, geompy.ShapeType["EDGE"])
-    geompy.UnionIDs(fondFiss, [4, 7, 9])
+    geompy.UnionIDs(fondFiss, [7, 9])
     geompy.addToStudy( shellFiss, 'shellFiss' )
     geompy.addToStudyInFather( shellFiss, fondFiss, 'fondFiss' )
 
     geompy.addToStudy( shellFiss, 'shellFiss' )
     geompy.addToStudyInFather( shellFiss, fondFiss, 'fondFiss' )
 
index 8956aaf358d1df9f2132348100d5e5cf255fa383..59653c93e9760e732cfdc997f7e548137d1c9fcc 100644 (file)
@@ -75,7 +75,7 @@ Partition_2 = geompy.MakePartition([Revolution_1], [conge], [], [], geompy.Shape
 Partition_2_vertex_11 = geompy.GetSubShape(Partition_2, [11])
 Plane_1 = geompy.MakePlane(Partition_2_vertex_11, OY, 2000)
 Partition_3 = geompy.MakePartition([Revolution_1], [Plane_1], [], [], geompy.ShapeType["FACE"], 0, [], 0)
 Partition_2_vertex_11 = geompy.GetSubShape(Partition_2, [11])
 Plane_1 = geompy.MakePlane(Partition_2_vertex_11, OY, 2000)
 Partition_3 = geompy.MakePartition([Revolution_1], [Plane_1], [], [], geompy.ShapeType["FACE"], 0, [], 0)
-Vertex_9 = geompy.MakeVertex(0, 99.633883, 8.977320000000001)
+Vertex_9 = geompy.MakeVertex(0, 99.633883, 1.977320000000001)
 Vertex_10 = geompy.MakeVertex(0, 99.633883, -8.977320000000001)
 Vertex_11 = geompy.MakeVertexWithRef(Vertex_9, 0, 0, -1)
 Vertex11x = geompy.MakeVertexWithRef(Vertex_11, 1, 0, 0)
 Vertex_10 = geompy.MakeVertex(0, 99.633883, -8.977320000000001)
 Vertex_11 = geompy.MakeVertexWithRef(Vertex_9, 0, 0, -1)
 Vertex11x = geompy.MakeVertexWithRef(Vertex_11, 1, 0, 0)