5 ======================================
6 Make elements by transforming elements
7 ======================================
9 Rotate and translate for any kind of elements::
11 elts = doc.makeTranslation(elements, vec)
12 elts = doc.makeRotation(elements, ver, vec, angle)
13 elts = doc.makeScale (elements, destination_point, k)
15 and "element" could be Vertex, Edge, Quadrangle, Hexahedeon, Vector, Cylinder,
16 Pipe and Elements and the result "elts" is always an object of type
19 Operations on *elts*: :ref:`tuielements2`
28 .. literalinclude:: test_doc/make_transformation/make_translation.py
32 .. image:: _static/make_translation.png
42 .. literalinclude:: test_doc/make_transformation/make_rotation.py
45 .. image:: _static/cartesian.png
52 .. image:: _static/make_rotation.png
61 .. literalinclude:: test_doc/make_transformation/make_scale.py
64 .. image:: _static/make_scale.png
71 GUI command: :ref:`guimakeelements`