10 .. _tuicuthexauniform:
15 To make a uniform cut of an hexahedra in python mode, you need the following arguments:
17 - *edge* : an edge on the hexahedra to cut.
18 - *nbCuts*: the number of cuts.
20 Use the function **cutUni**::
22 elts = doc.cutUni(edge, nbCuts)
25 GUI command: :ref:`guicuthexauniform`
33 To make a custom cut of an hexahedra you need the following arguments:
35 - *edge*: an edge on the hexahedra to cut.
36 - *tl* : the list of the lengths of the layers in ascendant order.
38 Use the funtion **cut**::
40 elts = doc.cut(edge, tl)
42 GUI command: :ref:`guicuthexacustom`
44 Operations on *elts*: :ref:`tuielements2`
50 .. literalinclude:: test_doc/cutHexa/cut_hexa.py