1 .. |normalToFace.icon| image:: images/normal.png
6 The **Normal to a face** feature displays the normal to a face. A vertex can be specified to indicate the position of the normal else the center of face is used.
8 The resulting normal can be created via a dedicated check-box **Create normal**. If this last is checked corresponding result and feature would be created.
10 If the check-box **Create normal** isn't checked, **Apply** button does not generate any result and has the same effect as **Cancel** for this feature.
12 To display the normal to a face in the active part:
14 #. select in the Main Menu *Inspection - > Normal to a face* item or
15 #. click |normalToFace.icon| **Normal to a face** button in the toolbar
17 The property panel is shown below.
19 .. figure:: images/normalToFacePropertyPanel.png
27 - **Face** contains face selected in 3D OCC viewer or object browser.
28 - **Vertex** contains optionnal vertex selected in 3D OCC viewer or object browser.
29 - **Create normal** check-box allow the creation of the normal (result and feature).
33 .. py:function:: model.getNormal(Part, face)
35 :param part: The current part object.
36 :param object: A face in format *model.selection("FACE", face)*.
37 :return: Created normal to a face in the center of the face.
42 Result of **Normal to a face**.
44 .. figure:: images/normalToFaceResult.png
49 **See Also** a sample TUI Script of :ref:`tui_create_normal_to_face` operation.
54 .. py:function:: model.getNormal(Part, face, vertex)
56 :param part: The current part object.
57 :param object: A face in format *model.selection("FACE", face)*.
58 :param object: A vertex in format *model.selection("VERTEX", vertex)*.
59 :return: Created normal to a face at vertex.
64 Result of **Normal to aface** where **Vertex** is selecteted.
66 .. figure:: images/normalToFaceResultWithVertex.png
69 Normal to a face at vertex
71 **See Also** a sample TUI Script of :ref:`tui_create_normal_to_face_at_vertex` operation.