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