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
Fixed features creation from CPP High API
[modules/shaper.git]
/
src
/
PythonAPI
/
examples
/
MakeBrick1.py
diff --git
a/src/PythonAPI/examples/MakeBrick1.py
b/src/PythonAPI/examples/MakeBrick1.py
index 4efed0b1508de9d7a315805b86454cafb367b963..07a2629ec354479730f9eea4a9499992e138625f 100644
(file)
--- a/
src/PythonAPI/examples/MakeBrick1.py
+++ b/
src/PythonAPI/examples/MakeBrick1.py
@@
-56,6
+56,8
@@
c1 = mystand.addCircle(0, 25, 5)
mystand.setDistance(c1.center(), mystand.addLine(thisxmin), 10)
mystand.setDistance(c1.center(), mystand.addLine(thiszmax), 10)
+mystand.execute()
+
myboss = model.addExtrusion(mypart, mystand.selectFace(), -5)
# Subtracting the cylinder to the box