From b5038cbd9ade78f5fb684aa9f27f782b0794b769 Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 29 Jan 2019 17:07:05 +0300 Subject: [PATCH] Fix for the issue #2847 pipe creation is unstable. Make arguments of the pipe ordered and correctly typed. --- src/FeaturesPlugin/doc/examples/pipe_locations.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/FeaturesPlugin/doc/examples/pipe_locations.py b/src/FeaturesPlugin/doc/examples/pipe_locations.py index 331513136..88490b163 100644 --- a/src/FeaturesPlugin/doc/examples/pipe_locations.py +++ b/src/FeaturesPlugin/doc/examples/pipe_locations.py @@ -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() -- 2.39.2