Salome HOME
projects
/
modules
/
shaper.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2b2392e9a08d0bf2a3dd84f5f08baba46c88123f
[modules/shaper.git]
/
src
/
PrimitivesPlugin
/
doc
/
examples
/
box1.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
Box_1 = model.addBox(Part_1_doc, 10, 10, 10)
10
model.do()
11
model.end()