geom/doc/salome/gui/GEOM/input/python_interface.doc

32 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*!
\page python_interface Geometry module Python Interface
The %GEOM python package essentially contains:
- Python Interface \subpage geompy_page "geomBuilder.py" to import/export, create and transform geometrical objects and use measurement tools;
- Utility functions <em>geomtools.py</em> to handle %GEOM items in Salome study:
- add or remove a shape;
- display or erase a shape in the viewer;
- completely delete a shape (undisplay, unpublish, and destroy it);
- manage the selection in the object browser
See for example how to \subpage manipulate_object "Manipulate a GEOM object in the study".
- Wrapping functions for %GEOM tools:
- sketcher module to create sketches from the python API (gsketcher.py)
- \subpage struct_elem_visualisation "Visualization of structural elements" function to create
geometrical 3D representations of mechanical models called
"structural elements" (package \ref structelem.py "structelem")
The functions are distributed in the python package <em>salome.geom.</em>
Its documentation is mainly generated from the code of source python files.
<b>salome.geom</b> Package containing the %GEOM python utilities:
- <a href="geompy_doc/group__geomtools.html">geomtools</a>
- <a href="geompy_doc/group__sketcher.html">sketcher</a>
- <a href="geompy_doc/group__structelem.html">structelem</a>
\note The main package <em>salome</em> contains other sub-packages that are
distributed with the other SALOME modules. For example, the KERNEL
module provides the python package salome.kernel and SMESH the
package salome.smesh.
*/