Salome HOME
Copyright update 2022
[modules/shaper.git] / src / SketchPlugin / doc / coincedentFeature.rst
1 .. _sketchCoincident:
2 .. |coincedence.icon|    image:: images/coincedence.png
3
4 Coincident constraint
5 =====================
6
7 Coincident constraint forces two points to be coincident, or one point to lie on a line, a circle or an arc.
8
9 To create a Coincident constraint in the active Sketch:
10
11 #. select in the Main Menu *Sketch - > Coincident* item  or
12 #. click |coincedence.icon| **Coincident** button in Sketch toolbar:
13
14 Property panel:
15
16 .. figure:: images/Coincident_panel.png
17    :align: center
18
19 Input fields:
20
21 - **First object** is a point, a line, a circle or an arc selected in the view.
22 - **Second object** is a point, a line, a circle or an arc selected in the view.
23
24 Note that one of two objects should be a point (i.e. a point, a line or an arc end point, a center of a circle or an arc).
25
26 After the objects are selected, the point is highlighted in yellow in the view.
27
28 **TUI Command**:
29
30 .. py:function:: Sketch_1.setCoincident(Object1, Object2)
31
32     :param object: First object.
33     :param object: Second object.
34     :return: Result object.
35
36 Result
37 """"""
38
39 Created Coincident constraint appears in the view.
40
41 .. figure:: images/Coincident_res.png
42    :align: center
43
44    Created coincident constraint
45
46 **See Also** a sample TUI Script of :ref:`tui_create_coincident` operation.