Salome HOME
Correct documentation bugs, adapt for 'Read The Docs' theme (bos #18858)
[modules/shaper.git] / src / SketchPlugin / doc / fixedFeature.rst
1 .. |fixed.icon|    image:: images/Fixed.png
2
3 Fixed constraint
4 ================
5
6 Fixed constraint fixes objects position and size.
7
8 The constraint can be defined for such objects as point, line, line or arc end point, center of circle or arc, whole circle or arc.
9
10 To create a Fixed constraint in the active Sketch:
11
12 #. select in the Main Menu *Sketch - > Fixed* item  or
13 #. click |fixed.icon| **Fixed** button in Sketch toolbar:
14
15 Property panel:
16
17 .. image:: images/Fixed_panel.png
18    :align: center
19
20 Input fields:
21
22 - **Object** is the object selected in the view.
23
24 After the object is selected, anchor sign will be added next to it in the view.
25
26 Selection rules:
27
28 - Selection of end point on the line, center of circle or arc - fixes only the selected point.
29 - To fix the whole line the segment between endpoints should be selected.
30 - To fix the whole circle or arc the circumference should be selected.
31
32 **TUI Command**:
33
34 .. py:function:: Sketch_1.setFixed(Object)
35
36     :param object: An object.
37     :return: Result object.
38
39 Result
40 """"""
41
42 Created Fixed constraint appears in the view.
43
44 .. image:: images/Fixed_res.png
45            :align: center
46
47 .. centered::
48    Created fixed constraint 
49
50 **See Also** a sample TUI Script of :ref:`tui_create_fixed` operation.