2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 General presentation of the GEOM python package
4 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6 The GEOM python package essentially contains:
8 * Utility functions to handle GEOM items in Salome study.
9 * Wrapping functions to help the usage of existing tools:
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".
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:
20 .. code-block:: python
22 from salome.geom.structelem import TEST_StructuralElement
23 TEST_StructuralElement()
25 This creates the geometrical objects displayed in the study below:
27 .. image:: /images/salome-geom-structuralelements.png
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.
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``.