Salome HOME
a0305cb9797712a1723eb7212fadbc14658c0e2d
[modules/shaper.git] / src / SketchPlugin / doc / equalFeature.rst
1 .. _sketchEqual:
2 .. |equal.icon|    image:: images/equal.png
3
4 Equal constraint
5 ================
6
7 | Equal constraint makes lines, circles or arcs equal.
8 | Lines become equal in length, circles and arcs - equal in radius.
9
10 To create an Equal constraint in the active Sketch:
11
12 #. select in the Main Menu *Sketch - > Equal* item  or
13 #. click |equal.icon| **Equal** button in Sketch toolbar:
14
15 Property panel:
16
17 .. image:: images/Equal_panel.png
18    :align: center
19
20 Input fields:
21
22 - **First object** is a line, a circle or an arc selected in the view.
23 - **Second object** is a line, a circle or an arc selected in the view.
24
25 Note that a line can be equal to a line only, a circle - to a circle or an arc.
26
27 | After the objects are selected, the object sizes become equal.
28 | The equal objects are marked with **=** sign.
29
30 **TUI Command**:
31
32 .. py:function:: Sketch_1.setEqual(Object1, Object2)
33
34     :param object: First object.
35     :param object: Second object.
36     :return: Result object.
37
38 Result
39 """"""
40
41 Created Equal constraint appears in the view.
42
43 .. image:: images/Equal_res.png
44            :align: center
45
46 .. centered::
47    Created equal constraint
48
49 **See Also** a sample TUI Script of :ref:`tui_create_equal` operation.