2 Middle point constraint
3 =======================
5 Middle point constraint forces a point to middle of a line.
7 To create a Middle point in the active Sketch:
9 #. select in the Main Menu *Sketch - > Middle point* item or
10 #. click **Middle point** button in Sketch toolbar:
12 .. image:: images/middlepoint.png
16 **Middle point** button
20 .. image:: images/Middlepoint_panel.png
25 - **First object** is a point or a line selected in the view.
26 - **Second object** is a point or a line selected in the view.
28 Note that one of two objects should be a line and the other a point (i.e. a point, a line or an arc end point, a center of a circle or an arc).
30 | After the objects are selected, the point is moved to the middle of the line.
31 | The middle points are marked with a special sign.
33 **TUI Command**: *Sketch_1.setMiddlePoint(Point, Line)*
35 **Arguments**: 2 objects (the first is a point, the second one is a line)
40 Created Middle point constraint appears in the view.
42 .. image:: images/Middlepoint_res.png
46 Created middle point constraint
48 **See Also** a sample TUI Script of :ref:`tui_create_middle` operation.