X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FTest%2FTestBooleanFuse_MultiLevelCompound_v20190506_3.py;h=ce113b5fb196dd9b12b1521f4feed9306ae78fc5;hb=88ee9b2b81cf93a6324336b57e30cc8a3a487499;hp=57226b3e3b367f24e94628bd3b02429c5a1a7bd2;hpb=8607b62ba4fd0681fe1f406efed0ad0a48a382e0;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v20190506_3.py b/src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v20190506_3.py index 57226b3e3..ce113b5fb 100644 --- a/src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v20190506_3.py +++ b/src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v20190506_3.py @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2019 CEA/DEN, EDF R&D +# Copyright (C) 2014-2022 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -75,13 +75,13 @@ model.do() Edge_1 = model.addEdge(Part_1_doc, [model.selection("EDGE", "Sketch_2/SketchLine_9")]) Extrusion_2 = model.addExtrusion(Part_1_doc, [model.selection("EDGE", "Edge_1_1")], model.selection("EDGE", "PartSet/OZ"), 13, 3) Compound_1 = model.addCompound(Part_1_doc, [model.selection("COMPSOLID", "Extrusion_1_1"), model.selection("FACE", "Extrusion_2_1")]) -Fuse_1 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Compound_1_1_1_1")], [model.selection("SOLID", "LinearCopy_2_1_1_1"), model.selection("FACE", "Compound_1_1_2")], True, 20190506) +Fuse_1 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Compound_1_1_1_1")], [model.selection("SOLID", "LinearCopy_2_1_1_1"), model.selection("FACE", "Compound_1_1_2")], True, keepSubResults = True) model.end() from GeomAPI import * model.testNbResults(Fuse_1, 1) -model.testNbSubResults(Fuse_1, [5]) +model.testNbSubResults(Fuse_1, [4]) model.testNbSubShapes(Fuse_1, GeomAPI_Shape.SOLID, [9]) model.testNbSubShapes(Fuse_1, GeomAPI_Shape.FACE, [44]) model.testNbSubShapes(Fuse_1, GeomAPI_Shape.EDGE, [160])