]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for the issue #2847 pipe creation is unstable. Make arguments of the pipe ordered...
authormpv <mpv@opencascade.com>
Tue, 29 Jan 2019 14:07:05 +0000 (17:07 +0300)
committermpv <mpv@opencascade.com>
Tue, 29 Jan 2019 14:07:05 +0000 (17:07 +0300)
src/FeaturesPlugin/doc/examples/pipe_locations.py

index 33151313697e72df7528246fa68dd5857629f15e..88490b163a382e5468fb9764d4339844bd35d8c8 100644 (file)
@@ -25,8 +25,7 @@ Interpolation_1 = model.addInterpolation(Part_2_doc, Interpolation_1_objects, Fa
 Vertex_1 = model.addVertex(Part_2_doc, [model.selection("VERTEX", "Sketch_2/SketchCircle_2")])
 Partition_1 = model.addPartition(Part_2_doc, [model.selection("EDGE", "Interpolation_1_1"), model.selection("VERTEX", "Vertex_1_1")])
 Wire_1 = model.addWire(Part_2_doc, [model.selection("EDGE", "Partition_1_1_1"), model.selection("EDGE", "Partition_1_1_2")])
-Pipe_1_objects_2 = [model.selection("VERTEX", "Interpolation_1_1/Vertex_1_2"), model.selection("VERTEX", "Interpolation_1_1/Vertex_1_1"), model.selection("VERTEX", "Vertex_1_1/Vertex_1_1&Sketch_2/SketchCircle_2")]
-Pipe_1_objects_1 = [model.selection("WIRE", "Sketch_1/Face-SketchCircle_1_2r_wire"), model.selection("WIRE", "Sketch_2/Face-SketchCircle_2_2r_wire"), model.selection("FACE", "Sketch_3/Face-SketchCircle_3_2r")]
+Pipe_1_objects_2 = [model.selection("VERTEX", "Interpolation_1_1/Vertex_1_1"), model.selection("VERTEX", "Vertex_1_1/Vertex_1_1&Sketch_2/SketchCircle_2"), model.selection("VERTEX", "Interpolation_1_1/Vertex_1_2")]
+Pipe_1_objects_1 = [model.selection("FACE", "Sketch_1/Face-SketchCircle_1_2r"), model.selection("FACE", "Sketch_2/Face-SketchCircle_2_2r"), model.selection("FACE", "Sketch_3/Face-SketchCircle_3_2r")]
 Pipe_1 = model.addPipe(Part_2_doc, Pipe_1_objects_1, model.selection("WIRE", "Wire_1_1"), Pipe_1_objects_2)
-model.do()
 model.end()