From: mpv Date: Wed, 17 May 2017 10:31:58 +0000 (+0300) Subject: Stabilization of the model behavior. The external fixed point at origin is not needed... X-Git-Tag: V_2.7.1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=39c564f7f1afa430310a2c2fc1fccf8e4305f018;p=modules%2Fshaper.git Stabilization of the model behavior. The external fixed point at origin is not needed, since the external axis has the same initial point. --- diff --git a/test.models/gear.py b/test.models/gear.py index f49e7960d..5d3a6d31b 100644 --- a/test.models/gear.py +++ b/test.models/gear.py @@ -145,7 +145,6 @@ SketchConstraintLength_10 = Sketch_3.setLength(SketchLine_83.result(), "2*R_fill model.do() Revolution_1 = model.addRevolution(Part_1_doc, [model.selection("FACE", "PartSet/Sketch_1")], model.selection("EDGE", "PartSet/Sketch_1/Edge-SketchLine_1"), 360, 0) Sketch_4 = model.addSketch(Part_1_doc, model.selection("FACE", "Revolution_1_1/Generated_Face_5")) -SketchPoint_4 = Sketch_4.addPoint(model.selection("VERTEX", "PartSet/Origin")) SketchLine_86 = Sketch_4.addLine(0, -13.49999999999519, 3.1, -13.49999999999519) SketchLine_87 = Sketch_4.addLine(model.selection("EDGE", "PartSet/OZ")) SketchConstraintCoincidence_51 = Sketch_4.setCoincident(SketchLine_86.startPoint(), SketchLine_87.result()) @@ -161,7 +160,6 @@ SketchConstraintLength_9 = Sketch_4.setLength(SketchLine_86.result(), 3.1) SketchConstraintMirror_2 = Sketch_4.addMirror(SketchLine_87.result(), [SketchLine_86.result(), SketchLine_88.result()]) [SketchLine_90, SketchLine_91] = SketchConstraintMirror_2.mirrored() SketchArc_62 = Sketch_4.addArc(0, 0, 3.1, -10.55414610473955, -3.100000000000001, -10.55414610473344, False) -SketchConstraintCoincidence_54 = Sketch_4.setCoincident(SketchPoint_4.coordinates(), SketchArc_62.center()) SketchConstraintCoincidence_55 = Sketch_4.setCoincident(SketchLine_87.startPoint(), SketchArc_62.center()) SketchConstraintCoincidence_56 = Sketch_4.setCoincident(SketchArc_62.startPoint(), SketchLine_88.result()) SketchConstraintCoincidence_57 = Sketch_4.setCoincident(SketchArc_62.endPoint(), SketchLine_91.result())