]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Stabilization of the model behavior. The external fixed point at origin is not needed...
authormpv <mpv@opencascade.com>
Wed, 17 May 2017 10:31:58 +0000 (13:31 +0300)
committermpv <mpv@opencascade.com>
Wed, 17 May 2017 10:32:16 +0000 (13:32 +0300)
test.models/gear.py

index f49e7960d11e95c4db31e1cd9713024867741706..5d3a6d31b8a00855d5e27ebb473c3ac9aeb1c4d3 100644 (file)
@@ -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())