Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add construction plugin without tests.
[modules/shaper.git]
/
src
/
PythonAPI
/
MakeBrick3.py
diff --git
a/src/PythonAPI/MakeBrick3.py
b/src/PythonAPI/MakeBrick3.py
index c3147800e30a7da400db53931df9a38c1cdd5157..94fa252d20037501bc537b2cbb0f6e85423a4dea 100644
(file)
--- a/
src/PythonAPI/MakeBrick3.py
+++ b/
src/PythonAPI/MakeBrick3.py
@@
-2,23
+2,23
@@
# Author: Daniel Brunier-Coulin
# -----------------------------
# Author: Daniel Brunier-Coulin
# -----------------------------
-import model
er
+import model
import extension
# Initialisation
import extension
# Initialisation
-model
er
.begin()
-mypartset = model
er
.moduleDocument()
+model.begin()
+mypartset = model.moduleDocument()
# Creating a new Part
# Creating a new Part
-mypart = model
er
.addPart(mypartset).document()
+mypart = model.addPart(mypartset).document()
# Creating the base of the box
extension.addBox( mypart, 10, 20, 30 )
# Creating the base of the box
extension.addBox( mypart, 10, 20, 30 )
-model
er
.end()
+model.end()