Salome HOME
Merge branch 'master' into cgt/devCEA
[modules/shaper.git] / test.models / bearing_puller.py
index def5fb606a409486c900677be1de0dc2c4c346aa..406f788e2671c8e00f411eecaa5b41797eee3eec 100644 (file)
@@ -1,3 +1,23 @@
+## Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+##
+## This library is free software; you can redistribute it and/or
+## modify it under the terms of the GNU Lesser General Public
+## License as published by the Free Software Foundation; either
+## version 2.1 of the License, or (at your option) any later version.
+##
+## This library is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+## Lesser General Public License for more details.
+##
+## You should have received a copy of the GNU Lesser General Public
+## License along with this library; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##
+## See http:##www.salome-platform.org/ or
+## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+##
+
 from SketchAPI import *
 
 from salome.shaper import model
@@ -289,8 +309,6 @@ SketchConstraintRadius_6 = Sketch_4.setRadius(SketchCircle_5.results()[1], "(b-a
 SketchConstraintTangent_6 = Sketch_4.setTangent(SketchCircle_5.results()[1], SketchLine_35.result())
 SketchConstraintTangent_7 = Sketch_4.setTangent(SketchCircle_5.results()[1], SketchLine_30.result())
 SketchConstraintTangent_8 = Sketch_4.setTangent(SketchCircle_5.results()[1], SketchLine_32.result())
-SketchConstraintCoincidence_43 = Sketch_4.setCoincident(SketchCircle_5.center(), SketchLine_36.result())
-SketchConstraintCoincidence_43.setName("SketchConstraintCoincidence_21")
 SketchLine_37 = Sketch_4.addLine(4.894344934278314, 2.394344934278312, 6.25, 0)
 SketchLine_37.setAuxiliary(True)
 SketchConstraintCoincidence_44 = Sketch_4.setCoincident(SketchLine_31.endPoint(), SketchLine_37.startPoint())
@@ -342,6 +360,8 @@ SketchConstraintCoincidence_60 = Sketch_4.setCoincident(SketchArc_13.startPoint(
 SketchConstraintCoincidence_60.setName("SketchConstraintCoincidence_48")
 SketchConstraintCoincidence_61 = Sketch_4.setCoincident(SketchArc_13.endPoint(), SketchArc_12.endPoint())
 SketchConstraintCoincidence_61.setName("SketchConstraintCoincidence_49")
+SketchConstraintCoincidence_43 = Sketch_4.setCoincident(SketchArc_13.center(), SketchLine_32.result())
+SketchConstraintCoincidence_43.setName("SketchConstraintCoincidence_21")
 SketchConstraintMirror_1 = Sketch_4.addMirror(SketchLine_40.result(), [SketchArc_13.results()[1], SketchArc_12.results()[1]])
 [SketchArc_14, SketchArc_15] = SketchConstraintMirror_1.mirrored()
 SketchArc_15.setName("SketchArc_6")