mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-03-20 20:07:55 +05:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
/*!
|
|
|
|
\page geompypkg_page Programming Interface of GEOM python package
|
|
|
|
The GEOM python package essentially contains:
|
|
|
|
<ul>
|
|
<li>The visualization of structural elements: a function to create
|
|
geometrical 3D representations of mechanical models called
|
|
"structural elements".
|
|
</ul>
|
|
|
|
For details, you should refer to the complete
|
|
<a href="../../docutils/GEOM/index.html"> documentation of the GEOM
|
|
python packages</a> generated with sphinx from rst text files.
|
|
|
|
Note that these functions either encapsulate the python programming
|
|
interface of GEOM core (the CORBA or SWIG interfaces for example) or
|
|
extend existing utilities as the ``geompy.py`` module.
|
|
|
|
The functions are distributed in the python package
|
|
``salome.geom``. For example, the usage of the visualization of
|
|
structural elements can be appreciated with this set of instructions:
|
|
|
|
\code
|
|
|
|
from salome.geom.structelem import TEST_StructuralElement
|
|
TEST_StructuralElement()
|
|
\endcode
|
|
|
|
This creates the geometrical objects displayed in the study below:
|
|
|
|
\image html salome-geom-structuralelements.png "Example of Geometry created from structural elements"
|
|
|
|
*/
|