Salome HOME
Remove coding information from the python scripts due to tuleap issue #16806
[modules/shaper.git] / src / SketchPlugin / doc / examples / arc.py
1 from salome.shaper import model
2
3 model.begin()
4 partSet = model.moduleDocument()
5 Part_1 = model.addPart(partSet)
6 Part_1_doc = Part_1.document()
7 Sketch_1 = model.addSketch(Part_1_doc, model.standardPlane("XOY"))
8 SketchArc_1 = Sketch_1.addArc(6.0, 6.2, 5.2, 34.3, 34.0, 7.7, True)
9 SketchArc_2 = Sketch_1.addArc(8.1, 56.7, 58.2, 6.6, 44.8, 69.2)
10 SketchLine_3 = Sketch_1.addLine(25.0, 109.4, 68.1, 153.6)
11 SketchLine_3.setAuxiliary(True)
12 SketchArc_3 = Sketch_1.addArc(SketchLine_3.startPoint(), 92.1, 34.0, True)
13 model.do()
14 model.end()