Salome HOME
using a better solution to do compare doubles for shape physical properties
[modules/shaper.git] / src / SketchPlugin / doc / pointFeature.rst
1 .. |point.icon|    image:: images/Point.png
2
3 Point
4 =====
5
6 Point feature creates a point in the current Sketch.
7
8 To add a new Point to the Sketch:
9
10 #. select in the Main Menu *Sketch - > Point* item  or
11 #. click |point.icon| **Point** button in Sketch toolbar:
12
13 The following property panel appears:
14
15 .. figure:: images/Point_panel.png
16    :align: center
17
18    Point
19
20 Clicking in the view creates a point preview. If an existing object is clicked, a constraint for
21 the point will be created automatically.
22
23 The point coordinates are displayed in the property panel.
24
25 **TUI Command**:
26
27 .. py:function:: Sketch_1.addPoint(X, Y)
28
29     :param real: X value.
30     :param real: Y value.
31     :return: Result object.
32
33 Result
34 """"""
35
36 Created point appears in the view.
37
38 .. figure:: images/Point_res.png
39    :align: center
40
41    Point created
42
43 **See Also** a sample TUI Script of :ref:`tui_create_point` operation.