Salome HOME
26ba489c298ccb5d8a825418b448623da8081994
[modules/shaper.git] / src / PythonAddons / doc / addons_Features.rst
1
2 Python addons
3 =============
4
5 User can create his own custom features.
6
7 Corresponding folder should be created for each feature at *../sources/src/PythonAddons/macros*.
8
9 Feature description includes 4 files:
10
11 - widget.xml with description of property panel,
12 -  __init__.py,
13 - feature.py with python commands, 
14 - icon.png with image of button in toolbar (file is located at sub-folder /icons).
15
16 Two examples of custom features already created are:
17
18 .. toctree::
19    :titlesonly:
20    :maxdepth: 1
21
22    boxFeature.rst
23    rectangleFeature.rst