From 19fe731f66ec15a60da87d8287ad0d189052b2b4 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 3 Mar 2021 12:38:39 +0300 Subject: [PATCH] bos #19827. Avoid self-intersecting shape creation. --- src/FeaturesPlugin/Test/TestPipe_Compound.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FeaturesPlugin/Test/TestPipe_Compound.py b/src/FeaturesPlugin/Test/TestPipe_Compound.py index ed5c4eb0f..13eaf58e4 100644 --- a/src/FeaturesPlugin/Test/TestPipe_Compound.py +++ b/src/FeaturesPlugin/Test/TestPipe_Compound.py @@ -24,8 +24,8 @@ partSet = model.moduleDocument() Part_1 = model.addPart(partSet) Part_1_doc = Part_1.document() Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY")) -SketchLine_1 = Sketch_1.addLine(50, 15, 100, 20) -SketchLine_2 = Sketch_1.addLine(30, 10, 50, 0) +SketchLine_1 = Sketch_1.addLine(60, 15, 100, 20) +SketchLine_2 = Sketch_1.addLine(35, 10, 50, 0) SketchArc_1 = Sketch_1.addArc(30, 40, 60, 40, 30, 70, False) model.do() Compound_1 = model.addCompound(Part_1_doc, [model.selection("EDGE", "Sketch_1/SketchLine_1"), model.selection("EDGE", "Sketch_1/SketchLine_2")]) -- 2.39.2