5 Angle constraint fixes the angle between two lines.
7 | Angle between two lines is seen as an angle between two vectors.
8 | Each line is treated as a vector with start and end points equal to those of the line.
10 To create an Angle constraint in the active Sketch:
12 #. select in the Main Menu *Sketch - > Angle* item or
13 #. click **Angle** button in Sketch toolbar:
15 .. image:: images/angle_constr.png
23 .. image:: images/Angle_panel.png
28 - **Line 1** is the first line selected in the view;
29 - **Line 2** is the second line selected in the view;
30 - **Value** is an angle between the lines, can be modified to set the desirable value;
31 - **Angle type** is a type of angle measurement:
32 .. image:: images/angle_direct.png
34 **Direct** is the least angle between two lines;
36 .. image:: images/angle_complementary.png
38 **Complementary** is 180°- Direct angle between two lines;
40 .. image:: images/angle_backward.png
42 **Backward** is 360°- Direct angle between two lines.
43 - **Text location** is the position of the angle value label relatively to the angle line (in the view):
44 .. image:: images/location_left.png
46 **Left** inserts text to the left of the angle line;
48 .. image:: images/location_automatic.png
50 **Automatic** inserts text it the middle of the angle line if it has enough length, otherwise - to the left;
52 .. image:: images/location_right.png
54 **Right** inserts text to the right of the angle line.
56 When both lines are selected, the angle value is displayed in the property panel and in the view.
58 When creating the constraint, after selection of two lines at the first time:
60 - drag the angle presentation in the view to the desired position and click once;
61 - set desirable angle value in the input field in the view and press **Enter** or just press **Enter** to keep the current angle
63 .. image:: images/Angle_field_view.png
67 Angle input in the view
71 - *Sketch_1.setAngle(Line1, Line2, Value)*
72 - *Sketch_1.setAngleComplementary(Line1, Line2, Value)*
73 - *Sketch_1.setAngleBackward(Line1, Line2, Value)*
75 **Arguments**: 2 lines + angle value
80 Created Angle appears in the view.
82 .. image:: images/Angle_res.png
88 **See Also** a sample TUI Script of :ref:`tui_create_angle` operation.