Salome HOME
Fixed features creation from CPP High API
[modules/shaper.git] / src / PythonAPI / examples / MakeBrick1.py
index 4efed0b1508de9d7a315805b86454cafb367b963..07a2629ec354479730f9eea4a9499992e138625f 100644 (file)
@@ -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