5 Angle constraint fixes angle between two lines.
7 | Angle between two lines is thought of as an angle between two vectors.
8 | So each line is treated as a vector with starting point equal to the line start point
9 and terminal point equal to the line end point.
11 To create Angle constraint in the active Sketch:
13 #. select in the Main Menu *Sketch - > Angle* item or
14 #. click **Angle** button in Sketch toolbar:
16 .. image:: images/angle_constr.png
24 .. image:: images/Angle_panel.png
29 - **Line 1** is the first line selected in the view
30 - **Line 2** is the second line selected in the view
31 - **Value** is an angle between the lines, could be modified to set the desirable value
32 - **Angle type** is a type of angle measurement
33 .. image:: images/angle_direct.png
35 **Direct** is an angle type measured directly between two lines.
37 .. image:: images/angle_complementary.png
39 **Complementary** zzzzzzzz.
41 .. image:: images/angle_backward.png
43 **Backward** zzzzzzzz.
44 - **Text location** is a position of the angle value label relating to angle line (in the view)
45 .. image:: images/location_left.png
47 **Left** inserts text at the left of the angle line.
49 .. image:: images/location_automatic.png
51 **Automatic** inserts text at the middle of the angle line if it has enough length, otherwise - to the left.
53 .. image:: images/location_right.png
55 **Right** inserts text to the right of the angle line.
57 When both lines are selected angle value is displayed in the property panel and in the view.
59 When creating the constraint, after selection of two lines at the first time:
61 - drag the angle presentation in the view to the desired position (by move mouse and click once)
62 - set desirable angle value in the input field in the view and press **Enter** or just press **Enter** to keep the current angle
64 .. image:: images/Angle_field_view.png
68 Angle input in the view
72 - *Sketch_1.setAngle(Line1, Line2, Value)*
73 - *Sketch_1.setAngleComplementary(Line1, Line2, Value)*
74 - *Sketch_1.setAngleBackward(Line1, Line2, Value)*
76 **Arguments**: 2 lines + angle value
81 Created Angle appears in the view.
83 .. image:: images/Angle_res.png
89 **See Also** a sample TUI Script of a :ref:`tui_create_angle` operation.