smesh/doc/gui/input/warping.rst

38 lines
1.3 KiB
ReStructuredText
Raw Permalink Normal View History

2017-12-08 19:09:48 +05:00
.. _warping_page:
*******
Warping
*******
.. image:: ../images/image24.gif
:align: center
**Warping** indicates that a face is not planar and is applied only to
2D elements with 4 nodes. This quality control criterion is based on a
projection plane created by:
#. bisecting the four element edges,
#. creating a point on the plane at the vector average of the corners, where the x-axis extends from the point to the bisector on edge 2.
The plane normal is in the direction of the cross product of the
x-axis and the vector from the origin to the bisector of edge 3. Every
corner of the quad will then be a distance *h* from the plane. The
length of each half edge is measured and the shortest length is
assigned *l*. The warp angle is the arcsine of the ratio of the
projection height *h* to the half edge length *l*.
2018-05-25 22:04:48 +05:00
*To apply the Warping quality criterion to your mesh:*
2017-12-08 19:09:48 +05:00
2018-05-25 22:04:48 +05:00
.. |img| image:: ../images/image39.png
2017-12-08 19:09:48 +05:00
2018-05-25 22:04:48 +05:00
#. Display your mesh in the viewer.
#. Choose **Controls > Face Controls > Warping Angle** or click *"Warping angle"* button |img| of the toolbar.
2017-12-08 19:09:48 +05:00
2018-05-25 22:04:48 +05:00
Your mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:
2017-12-08 19:09:48 +05:00
.. image:: ../images/image97.jpg
:align: center
2018-05-25 22:04:48 +05:00
**See Also** a sample TUI Script of a :ref:`tui_warping` filter.