X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2Fdoc%2Fexamples%2Frevolution_fuse_by_angles.py;h=5aafe07fbb06d5bae15e0158c26c6ea0e7143645;hb=7417054f9f86129249fdfd652f804183484986ee;hp=145a9a0fb52167094bc8feeb9b774293167f4ada;hpb=92fd01627d9ab299cfd35df5404e4f54a5340a55;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/doc/examples/revolution_fuse_by_angles.py b/src/FeaturesPlugin/doc/examples/revolution_fuse_by_angles.py index 145a9a0fb..5aafe07fb 100644 --- a/src/FeaturesPlugin/doc/examples/revolution_fuse_by_angles.py +++ b/src/FeaturesPlugin/doc/examples/revolution_fuse_by_angles.py @@ -10,11 +10,6 @@ Box_1 = model.addBox(Part_1_doc, 10, 10, 10) Sketch_1 = model.addSketch(Part_1_doc, model.selection("FACE", "Box_1_1/Top")) SketchCircle_1 = Sketch_1.addCircle(5, 5, 2.5) model.do() -RevolutionCut_1 = model.addRevolutionFuse(Part_1_doc, - [model.selection("COMPOUND", "Sketch_1")], - model.selection("EDGE", "Box_1_1/Front&Box_1_1/Top"), - 90, - 0, - [model.selection("SOLID", "Box_1_1")]) +RevolutionFuse_1 = model.addRevolutionFuse(Part_1_doc, [model.selection("COMPOUND", "Sketch_1")], model.selection("EDGE", "[Box_1_1/Front][Box_1_1/Top]"), 90, 0, [model.selection("SOLID", "Box_1_1")]) model.do() model.end()