X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAPI%2Fexamples%2FPlatine.py;h=800ce0e05fbec009dcfc5543ffc70186ca71dc30;hb=d0f078983d5f74d45a6f28b3a4dfe8feadb2cdf7;hp=32428becf16d9d52d25c50425887f0a3138eecce;hpb=8900db7d46dea7a043591601b2dd7f64d8f60e8b;p=modules%2Fshaper.git diff --git a/src/PythonAPI/examples/Platine.py b/src/PythonAPI/examples/Platine.py index 32428becf..800ce0e05 100644 --- a/src/PythonAPI/examples/Platine.py +++ b/src/PythonAPI/examples/Platine.py @@ -132,7 +132,7 @@ def bottom_body(): def body_3(): # Create XOZ sketch - sketch = model.addSketch(part, "Boolean_1_1/Modified_2") + sketch = model.addSketch(part, "Boolean_1_1/Modified_3") # Create base polygon H, L, l, r = 28, 40, 8, 12 @@ -170,7 +170,7 @@ def body_3(): sketch.setRadius(arc, r) # Binding - bottom_e = sketch.addLine("Boolean_1_1/Modified_7&Boolean_1_1/Modified_5") + bottom_e = sketch.addLine("Boolean_1_1/Modified_8&Boolean_1_1/Modified_5") sketch.setCoincident(bottom_e, bottom.startPoint()) sketch.setCoincident(bottom_e.startPoint(), bottom.endPoint()) @@ -196,7 +196,7 @@ def body_4(): sketch.setCoincident(bottom_e.endPoint(), bottom.startPoint()) sketch.setCoincident(bottom_e.startPoint(), left.startPoint()) - left_e = sketch.addLine("Boolean_2_1/Modified_6&Boolean_2_1/Modified_8") + left_e = sketch.addLine("Boolean_2_1/Modified_6&Boolean_2_1/Modified_7") sketch.setCoincident(left_e.startPoint(), left.endPoint()) model.do() #!!!