X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FTest%2FTestBooleanCut_MultiLevelCompound_v20190506_1.py;h=1d2c727388106e3442c927dbfa759d7c110ab75c;hb=50a8df0c6a66da8067b16155e5ae39f8f26a7ebc;hp=0729e5bb0044b886be8e46e7fe36b4dace80e5b1;hpb=36d073223602690de9598f17b40ba2f61e55b0a7;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/Test/TestBooleanCut_MultiLevelCompound_v20190506_1.py b/src/FeaturesPlugin/Test/TestBooleanCut_MultiLevelCompound_v20190506_1.py index 0729e5bb0..1d2c72738 100644 --- a/src/FeaturesPlugin/Test/TestBooleanCut_MultiLevelCompound_v20190506_1.py +++ b/src/FeaturesPlugin/Test/TestBooleanCut_MultiLevelCompound_v20190506_1.py @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2019 CEA/DEN, EDF R&D +# Copyright (C) 2014-2020 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 @@ -44,7 +44,7 @@ SketchConstraintCoincidence_1 = Sketch_2.setCoincident(SketchPoint_2.result(), S SketchConstraintRadius_2 = Sketch_2.setRadius(SketchCircle_2.results()[1], 3) model.do() Extrusion_2 = model.addExtrusion(Part_1_doc, [model.selection("FACE", "Sketch_2/Face-SketchCircle_2_2f")], model.selection(), 5, 5) -Cut_1 = model.addCut(Part_1_doc, [model.selection("SOLID", "LinearCopy_1_1_1_2")], [model.selection("SOLID", "Extrusion_2_1")], 20190506) +Cut_1 = model.addCut(Part_1_doc, [model.selection("SOLID", "LinearCopy_1_1_1_2")], [model.selection("SOLID", "Extrusion_2_1")], keepSubResults = True) model.testHaveNamingSubshapes(Cut_1, model, Part_1_doc) @@ -53,7 +53,7 @@ model.end() from GeomAPI import GeomAPI_Shape model.testNbResults(Cut_1, 1) -model.testNbSubResults(Cut_1, [3]) +model.testNbSubResults(Cut_1, [2]) model.testNbSubShapes(Cut_1, GeomAPI_Shape.SOLID, [4]) model.testNbSubShapes(Cut_1, GeomAPI_Shape.FACE, [14]) model.testNbSubShapes(Cut_1, GeomAPI_Shape.EDGE, [30])