]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Make the tutorial script up-to-date due to the issue CEA 16749 in tuleap
authormpv <mpv@opencascade.com>
Fri, 12 Apr 2019 13:16:09 +0000 (16:16 +0300)
committermpv <mpv@opencascade.com>
Fri, 12 Apr 2019 13:16:09 +0000 (16:16 +0300)
doc/gui/tutorial.py

index 08e75f0edb584c9deb302b2b33b84925040d5be6..ade5fc561e98e5fdddd5e7ba37be9997395af4bf 100644 (file)
@@ -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()