]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
bos #19827. Avoid self-intersecting shape creation.
authorjfa <jfa@opencascade.com>
Wed, 3 Mar 2021 09:38:39 +0000 (12:38 +0300)
committerjfa <jfa@opencascade.com>
Wed, 3 Mar 2021 09:38:39 +0000 (12:38 +0300)
src/FeaturesPlugin/Test/TestPipe_Compound.py

index ed5c4eb0f900cc60d0fcca2eb7959c75fab4e048..13eaf58e4370e2597dee39fd609316b3f32c8b42 100644 (file)
@@ -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")])