Salome HOME
Merge branch 'master' into gni/evolution
[modules/shaper.git] / src / PythonAddons / doc / addons_Features.rst
1 Python addons
2 =============
3
4 It is possible to create custom features.
5
6 The corresponding folder should be created for each feature at *../sources/src/PythonAddons/macros*.
7
8 A feature description includes 4 files:
9
10 - widget.xml with a description of the property panel,
11 -  __init__.py,
12 - feature.py with python commands,
13 - icon.png with image of button in the toolbar (the file is located at sub-folder /icons).
14
15 Some examples of already created custom features are:
16
17 .. toctree::
18    :titlesonly:
19    :maxdepth: 1
20
21    compoundVerticesFeature.rst
22    importParametersFeature.rst
23    midSurfaceFeature.rst
24    rectangleFeature.rst
25    pipeNetworkFeature.rst