Salome HOME
Merge from V6_main 13/12/2012
[modules/hexablock.git] / doc / tui_cut_hexa.rst
1 :tocdepth: 3
2
3
4 .. _tuicuthexa:
5
6 =============
7 Cut hexahedra
8 =============
9
10 Cut hexahedra from the model of blocks::
11
12     elts = doc.cut(an_edge, nb_of_cuts)
13
14 Operations on *elts*: :ref:`tuielements2`
15
16 This method enables to cut in two (or more) a series of hexahedra using a series of edges propagation.
17
18
19 Example
20 -------
21
22 .. literalinclude:: test_doc/cut_hexa/cut_hexa.py
23    :linenos:
24
25
26 .. image:: _static/non_cut_hexa.png
27    :align: center
28
29 .. centered::
30    Initial hexa
31    
32    
33 .. image:: _static/cut_hexa.png
34    :align: center
35
36 .. centered::
37    Cut hexa
38    
39
40 GUI command: :ref:`guicuthexa`