Salome HOME
e9e421039f3df6c3d914e6be3048b550623fcd32
[modules/hexablock.git] / doc / tui_hexahedron.rst
1 :tocdepth: 3
2
3 .. _tuihexahedron:
4
5 ==========
6 Hexahedron
7 ==========
8
9 Manage the hexahedral of the document.
10
11
12 Add an hexahedron in the document::
13
14     hexa_1 = doc.addHexa(q_A, q_B, q_C, q_D, q_E, q_F)
15
16     hexa_2 = doc.addHexaVertices(ACE, ACF, ADE, ADF, BCE, BCF, BDE, DBF)
17
18 Notice: the arguments follow the convention explain in :ref:`annexe`
19
20 Get the number of all hexahedra of the document::
21
22     sum_a = doc.countHexa()
23
24 Get an hexahedron of the document::
25
26     hexa_i = doc.getHexa(i)
27
28 GUI command: :ref:`guihexahedron`