Salome HOME
Corrections for the user's manual from the English language point of view
[modules/shaper.git] / src / SketchPlugin / doc / middleFeature.rst
1
2 Middle point constraint
3 =======================
4
5 Middle point constraint forces a point to middle of a line.
6
7 To create a Middle point in the active Sketch:
8
9 #. select in the Main Menu *Sketch - > Middle point* item  or
10 #. click **Middle point** button in Sketch toolbar:
11
12 .. image:: images/middlepoint.png
13    :align: center
14
15 .. centered::
16    **Middle point**  button
17
18 Property panel:
19
20 .. image:: images/Middlepoint_panel.png
21    :align: center
22
23 Input fields:
24
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.
27
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).
29
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.
32
33 **TUI Command**: *Sketch_1.setMiddlePoint(Point, Line)*
34
35 **Arguments**:  2 objects (the first is a point, the second one is a line)
36
37 Result
38 """"""
39
40 Created Middle point constraint appears in the view.
41
42 .. image:: images/Middlepoint_res.png
43            :align: center
44
45 .. centered::
46    Created middle point constraint
47
48 **See Also** a sample TUI Script of :ref:`tui_create_middle` operation.