X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAPI%2Fdoc%2Fsource%2Findex.rst;h=5140367bded9cac7d80db84167f6fa03f27c2184;hb=749e980caeebfe4d16441703b7028dbbb1f1d91a;hp=ef5dc2733894d7aa7e13a71f259d261231f38a9a;hpb=78b4ff3254e90bc9ee8d82a217e514404dfe8b9e;p=modules%2Fshaper.git diff --git a/src/PythonAPI/doc/source/index.rst b/src/PythonAPI/doc/source/index.rst index ef5dc2733..5140367bd 100644 --- a/src/PythonAPI/doc/source/index.rst +++ b/src/PythonAPI/doc/source/index.rst @@ -9,7 +9,7 @@ models through python scripts: * a "parametric" API, which is very close to what is done in the graphical interface and allows you to recalculate a model - when a parameter is changed + when a parameter is changed Parametric API -------------- @@ -19,7 +19,7 @@ with the parametric API will typically begin with a code like below: .. doctest:: - >>> import model + >>> from salome.shaper import model >>> model.begin() >>> partset = model.moduleDocument() >>> part = model.addPart(partset).document() @@ -31,16 +31,15 @@ Features ........ This API provides functions for creating the features listed below. -These functions return an interface to the feature that allow +These functions return an interface to the feature that allow to modify the feature and retrieve data from it. .. toctree:: :maxdepth: 1 + :glob: sketcher - extrusion - - + model/* Indices and tables ==================