From: jfa Date: Wed, 3 Mar 2021 09:38:39 +0000 (+0300) Subject: bos #19827. Avoid self-intersecting shape creation. X-Git-Tag: V9_7_0a1~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=19fe731f66ec15a60da87d8287ad0d189052b2b4;p=modules%2Fshaper.git bos #19827. Avoid self-intersecting shape creation. --- 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")])