Salome HOME
Merge from V6_main 11/02/2013
[modules/smesh.git] / doc / salome / gui / SMESH / input / smeshpy_interface.doc
1 /*!
2
3 \page smeshpy_interface_page Python interface
4
5 Python API for SALOME %Mesh module defines several classes that can
6 be used for easy mesh creation and edition.
7
8 Documentation for SALOME %Mesh module Python API is available in two forms:
9 - <a href="smeshpy_doc/modules.html">Structured documentation</a>, where all methods and
10 classes are grouped by their functionality, like it is done in the GUI documentation
11 - <a href="smeshpy_doc/namespaces.html">Linear documentation</a> grouped only by classes, declared
12 in the \ref smesh and StdMeshersDC Python packages.
13
14 Python package \ref smesh provides an interface to create and handle
15 meshes. It can be used to create an empty mesh or to import mesh from the data file.
16
17 As soon as mesh is created, it is possible to manage it via its own
18 methods, described in \ref smesh.Mesh "class Mesh" documentation.
19
20 Class \ref smesh.Mesh "Mesh" allows assigning algorithms to a mesh.
21 Please note that some algorithms, included in the standard SALOME
22 distribution are always available. Python package \ref StdMeshersDC
23 provides an interface for standard meshing algorithms included into
24 the SALOME %Mesh module distribution, like:
25 - REGULAR (1D)
26 - COMPOSITE (1D)
27 - MEFISTO (2D)
28 - Quadrangle (2D)
29 - Hexa(3D)
30 - etc ...
31
32 To add meshing hypotheses, it is possible to use the functions provided by the
33 algorithms interfaces.
34
35 An example below demonstrates usage of the Python API for 3d mesh generation. 
36
37 \anchor example_3d_mesh
38 <h2>Example of 3d mesh generation:</h2>
39 \include 3dmesh.py
40 <a href="../../examples/SMESH/3dmesh.py">Download this script</a>
41
42 Examples of Python scripts for Mesh operations are available by
43 the following links:
44
45 - \subpage tui_creating_meshes_page
46 - \subpage tui_cartesian_algo
47 - \subpage tui_use_existing_faces
48 - \subpage tui_viewing_meshes_page
49 - \subpage tui_defining_hypotheses_page
50 - \subpage tui_quality_controls_page
51 - \subpage tui_filters_page
52 - \subpage tui_grouping_elements_page
53 - \subpage tui_modifying_meshes_page
54 - \subpage tui_transforming_meshes_page
55 - \subpage tui_notebook_smesh_page
56 - \subpage tui_measurements_page
57 - \subpage tui_generate_flat_elements_page
58 - \subpage tui_work_on_objects_from_gui
59 - \subpage tui_prism_3d_algo
60
61 */