From: mpv Date: Fri, 12 Apr 2019 13:16:09 +0000 (+0300) Subject: Make the tutorial script up-to-date due to the issue CEA 16749 in tuleap X-Git-Tag: VEDF2019Lot4~155 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7f3307270acd2207ad7950943ad20bd673f8b50e;p=modules%2Fshaper.git Make the tutorial script up-to-date due to the issue CEA 16749 in tuleap --- diff --git a/doc/gui/tutorial.py b/doc/gui/tutorial.py index 08e75f0ed..ade5fc561 100644 --- a/doc/gui/tutorial.py +++ b/doc/gui/tutorial.py @@ -63,8 +63,8 @@ Revolution_1 = model.addRevolution(Part_1_doc, [model.selection("FACE", "Face_1_ # Step5. Extrusion. Wire = model.selection("WIRE", "Sketch_1/Face-SketchLine_5r-SketchLine_6r-SketchLine_7r-SketchLine_8r-SketchLine_9r-SketchLine_1r_wire") -To = model.selection("FACE", "Revolution_1_1/Generated_Face&Face_1_1/Edge_2") -From = model.selection("FACE", "Revolution_1_1/Generated_Face&Face_1_1/Edge_7") +To = model.selection("FACE", "Revolution_1_1/Generated_Face&Point_4/Point_4") +From = model.selection("FACE", "Revolution_1_1/Generated_Face&Point_1/Point_1") Extrusion_1 = model.addExtrusion(Part_1_doc, [Wire], model.selection("EDGE", "PartSet/OZ"), To, 0, From, 0) @@ -72,7 +72,7 @@ Extrusion_1 = model.addExtrusion(Part_1_doc, [Wire], model.selection("EDGE", "Pa Common_1 = model.addCommon(Part_1_doc, [model.selection("SOLID", "Revolution_1_1"), model.selection("SOLID", "Extrusion_1_1")]) # Step7. Fillet. -Fillet_1 = model.addFillet(Part_1_doc, [model.selection("EDGE", "[Revolution_1_1/Generated_Face&Face_1_1/Edge_3][Common_1_1/Modified_Face&Face_1_1/Edge_4]")], 10) +Fillet_1 = model.addFillet(Part_1_doc, [model.selection("EDGE", "[Revolution_1_1/Generated_Face&Point_6/Point_6][Common_1_1/Modified_Face&Point_7/Point_7]")], 10) # Step8. Box. Box_1 = model.addBox(Part_1_doc, 20, 120, 20) @@ -87,5 +87,4 @@ AngularCopy_1 = model.addMultiRotation(Part_1_doc, [model.selection("SOLID", "Tr Cut_1 = model.addCut(Part_1_doc, [model.selection("SOLID", "Fillet_1_1")], [model.selection("COMPOUND", "AngularCopy_1_1")]) Cut_1.result().setColor(255, 214, 0) -model.do() model.end()