1 # -*- coding: utf-8 -*-
3 from salome.shaper import model
6 partSet = model.moduleDocument()
7 Part_1 = model.addPart(partSet)
8 Part_1_doc = Part_1.document()
10 Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
11 SketchPoint_1 = Sketch_1.addPoint(45, 45)
12 SketchCircle_1 = Sketch_1.addCircle(35, 25, 8)
14 SketchMultiRotation_1 = Sketch_1.addRotation([SketchCircle_1.results()[1]], SketchPoint_1.coordinates(), 270, 4, True)
15 [SketchCircle_2, SketchCircle_3, SketchCircle_4] = SketchMultiRotation_1.rotated()