Salome HOME
projects
/
modules
/
shaper.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git]
/
src
/
PartSetPlugin
/
doc
/
examples
/
new_part.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
model.do()
8
model.end()