]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/doc/pointCoordinatesFeature.rst
Salome HOME
Copyright update 2022
[modules/shaper.git] / src / FeaturesPlugin / doc / pointCoordinatesFeature.rst
1 .. |point_coord.icon|    image:: images/point_coord.png
2
3 Point Coordinates
4 =================
5
6 The **Points coordinates** feature displays the coordinates of a selected point.
7
8 The coordinates are displayed in the property panel.
9
10 **Apply** button does not generate any result and has the same effect as **Cancel** for this feature.  
11
12 To display Point coordinates in the active part:
13
14 #. select in the Main Menu *Inspection - > Point coordinates* item  or
15 #. click |point_coord.icon| **Points coordinates** button in the toolbar
16
17 The coordinates can be displayed for a selected point in the property panel : 
18
19 .. figure:: images/pointCoordinatesPropertyPanel.png
20    :align: center
21
22    Point coordinates
23
24 Input fields:
25
26 - Input field contains a point selected in 3D OCC viewer or object browser. 
27
28 Note, the coordinates displayed can be selected.
29
30 **TUI Command**:
31
32 .. py:function:: model.getPointCoordinates(Part_doc, point)
33
34     :param part: The current part object.
35     :param object: A point in format *model.selection("VERTEX", shape)*.
36     :return: list of coordinates.
37
38 **See Also** a sample TUI Script of :ref:`tui_point_coordinates` operation.