From: azv Date: Wed, 15 Nov 2017 11:21:24 +0000 (+0300) Subject: Adjust one more test.models/ case X-Git-Tag: V_2.10.0RC~155^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=88a249e11195400a8d6233a03d2e5d4447b008bd;p=modules%2Fshaper.git Adjust one more test.models/ case --- diff --git a/test.models/flange.py b/test.models/flange.py index 540cc8535..2ab00bd2e 100644 --- a/test.models/flange.py +++ b/test.models/flange.py @@ -83,6 +83,7 @@ SketchConstraintCoincidence_16 = Sketch_2.setCoincident(SketchArc_9.endPoint(), model.do() Revolution_1 = model.addRevolution(Part_1_doc, [model.selection("FACE", "Sketch_2/Face-SketchArc_9_2f-SketchLine_11f")], model.selection("EDGE", "PartSet/OZ"), 360, 0) Boolean_1 = model.addCut(Part_1_doc, [model.selection("SOLID", "Extrusion_1_1")], [model.selection("SOLID", "Revolution_1_1")]) +Boolean_1.result().setName("Boolean_1_1") Sketch_3 = model.addSketch(Part_1_doc, model.selection("FACE", "PartSet/YOZ")) SketchLine_12 = Sketch_3.addLine(2.220446049250313e-016, 106, -4, 106) SketchLine_13 = Sketch_3.addLine(-4, 106, -4, 67.34428877022477) @@ -121,6 +122,7 @@ SketchConstraintCoincidence_21.setName("SketchConstraintCoincidence_22") model.do() Extrusion_2 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Sketch_3/Wire-SketchLine_12f-SketchLine_13f-SketchLine_17r-SketchLine_18r-SketchArc_10_2f")], model.selection(), "172/2", "172/2") Boolean_2 = model.addCut(Part_1_doc, [model.selection("SOLID", "Boolean_1_1")], [model.selection("SOLID", "Extrusion_2_1")]) +Boolean_2.result().setName("Boolean_2_1") Sketch_4 = model.addSketch(Part_1_doc, model.selection("FACE", "Extrusion_1_1/Generated_Face_4")) SketchLine_18 = Sketch_4.addLine(-65, 16, -65, -16) SketchLine_18.setName("SketchLine_19") @@ -169,6 +171,8 @@ SketchConstraintTangent_7 = Sketch_4.setTangent(SketchArc_12.results()[1], Sketc model.do() Extrusion_3 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Sketch_4/Wire-SketchArc_11_2f-SketchArc_12_2f-SketchLine_21f-SketchLine_22r")], model.selection(), model.selection(), 0, model.selection("FACE", "Extrusion_1_1/Generated_Face_2"), 0) MultiTranslation_1 = model.addMultiTranslation(Part_1_doc, [model.selection("SOLID", "Extrusion_3_1")], model.selection("EDGE", "Extrusion_1_1/To_Face_1&Extrusion_1_1/Generated_Face_2"), -130, 2) +MultiTranslation_1.result().setName("MultiTranslation_1_1") Boolean_3 = model.addCut(Part_1_doc, [model.selection("SOLID", "Boolean_2_1")], [model.selection("COMPOUND", "MultiTranslation_1_1")]) +Boolean_3.result().setName("Boolean_3_1") model.do() model.end()