X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2FCollectionPlugin%2FTest%2FTestGroup2.py;h=0de56fd0b4a9594fec33ca92197ecb99cb8e5e33;hb=36707acdcb478c8dfa5608a49537a5c8cb8454bc;hp=87a266d0b4a46dcf39e3a471a26a6799c5d62a8d;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/CollectionPlugin/Test/TestGroup2.py b/src/CollectionPlugin/Test/TestGroup2.py index 87a266d0b..0de56fd0b 100644 --- a/src/CollectionPlugin/Test/TestGroup2.py +++ b/src/CollectionPlugin/Test/TestGroup2.py @@ -20,8 +20,6 @@ # Test that splitted edges in the group are still correct edges in the group # Based on the CEA report mail 04.12.2018, page 4 -# -*- coding: utf-8 -*- - from SketchAPI import * from ModelAPI import * from GeomAPI import * @@ -75,16 +73,16 @@ model.do() Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("COMPOUND", "Sketch_2")], model.selection(), 10, 0) AngularCopy_1 = model.addMultiRotation(Part_1_doc, [model.selection("COMPOUND", "all-in-Extrusion_1")], model.selection("EDGE", "PartSet/OZ"), "90.-r*3", 2) Cut_1 = model.addCut(Part_1_doc, [model.selection("FACE", "Face_1_1")], [model.selection("COMPOUND", "AngularCopy_1_1")]) -Group_1 = model.addGroup(Part_1_doc, [model.selection("EDGE", "Face_1_1/Edge_4")]) +Group_1 = model.addGroup(Part_1_doc, [model.selection("EDGE", "Face_1_1/Modified_Edge&Sketch_1/SketchArc_1_2")]) Group_1.setName("edge_int") Group_1.result().setName("edge_int") -Group_2 = model.addGroup(Part_1_doc, [model.selection("EDGE", "Face_1_1/Edge_1")]) +Group_2 = model.addGroup(Part_1_doc, [model.selection("EDGE", "Face_1_1/Modified_Edge&Sketch_1/SketchLine_2")]) Group_2.setName("edge_bottom") Group_2.result().setName("edge_bottom") -Group_3 = model.addGroup(Part_1_doc, [model.selection("EDGE", "Face_1_1/Edge_3")]) +Group_3 = model.addGroup(Part_1_doc, [model.selection("EDGE", "Face_1_1/Modified_Edge&Sketch_1/SketchLine_1")]) Group_3.setName("edge_left") Group_3.result().setName("edge_left") -Group_4 = model.addGroup(Part_1_doc, [model.selection("EDGE", "Face_1_1/Edge_2")]) +Group_4 = model.addGroup(Part_1_doc, [model.selection("EDGE", "Face_1_1/Modified_Edge&Sketch_1/SketchArc_2_2")]) Group_4.setName("edge_ext") Group_4.result().setName("edge_ext") model.do()