Salome HOME
ec35791dd2bb45393ae9784c899acaf7d3ed8d7f
[modules/shaper.git] / src / PrimitivesPlugin / doc / examples / sphere.py
1 # -*- coding: utf-8 -*-
2
3 from salome.shaper import model
4
5 model.begin()
6 partSet = model.moduleDocument()
7 Part_1 = model.addPart(partSet)
8 Part_1_doc = Part_1.document()
9 Sphere_1 = model.addSphere(Part_1_doc, model.selection("VERTEX", "PartSet/Origin"), 10)
10 model.do()
11 model.end()