]> SALOME platform Git repositories - modules/geom.git/blob - doc/docutils/overview.rst
Salome HOME
Add documentation for the python module sketcher.py
[modules/geom.git] / doc / docutils / overview.rst
1
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 General presentation of the GEOM python package
4 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5
6 The GEOM python package essentially contains:
7
8 * Utility functions to handle GEOM items in Salome study.
9 * Wrapping functions to help the usage of existing tools:
10
11   - a sketcher module to create sketches from the python API   
12 * The visualization of structural elements: a function to create
13   geometrical 3D representations of mechanical models called
14   "structural elements".
15
16 The functions are distributed in the python package
17 ``salome.geom``. For example, the usage of the visualization of
18 structural elements can be appreciated with this set of instructions:
19
20 .. code-block:: python
21
22    from salome.geom.structelem import TEST_StructuralElement
23    TEST_StructuralElement()
24
25 This creates the geometrical objects displayed in the study below:
26
27 .. image:: /images/salome-geom-structuralelements.png
28    :align: center
29
30 The specification of the programming interface of this package is
31 detailled in the part :doc:`Documentation of the programming interface
32 (API)</docapi>` of this documentation.
33
34 .. note::
35    The main package ``salome`` contains other sub-packages that are
36    distributed with the other SALOME modules. For example, the KERNEL
37    module provides the python package ``salome.kernel`` and SMESH the
38    package ``salome.smesh``.