]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Documentation html
authorJérôme <jerome.lucas@cesgenslab.fr>
Mon, 16 Nov 2020 14:13:11 +0000 (15:13 +0100)
committerJérôme <jerome.lucas@cesgenslab.fr>
Mon, 16 Nov 2020 14:13:11 +0000 (15:13 +0100)
src/FeaturesPlugin/FeaturesPlugin_PointCoordinates.h
src/FeaturesPlugin/doc/FeaturesPlugin.rst
src/FeaturesPlugin/doc/images/pointCoordinatesPropertyPanel.png [new file with mode: 0644]
src/FeaturesPlugin/doc/images/point_coord.png [new file with mode: 0644]
src/FeaturesPlugin/doc/pointCoordinatesFeature.rst [new file with mode: 0644]
src/FeaturesPlugin/plugin-Features.xml

index 63ac47b1f672e16adf01d2fcebc171dfcba0ba89..74b5b8c60d86fbd98780bd4cb433d930dadf6ae3 100644 (file)
@@ -91,7 +91,7 @@ public:
   FEATURESPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
 
   /// Reimplemented from ModelAPI_Feature::isMacro(). Returns true.
-  virtual bool isMacro() const { return true; }
+  FEATURESPLUGIN_EXPORT virtual bool isMacro() const { return true; }
 
   /// Use plugin manager for features creation
   FeaturesPlugin_PointCoordinates();
index fb8e2a344b707376d72df48edb52804796a2e7bf..97fd752c2306ff0a3f8900b673aebe78fd0187d2 100644 (file)
@@ -24,6 +24,7 @@ Features plug-in provides a set of common topological operations. It implements
    importResultFeature.rst
    linearCopyFeature.rst
    measurementFeature.rst
+   pointCoordinatesFeature.rst
    pipeFeature.rst
    placementFeature.rst
    recoverFeature.rst
diff --git a/src/FeaturesPlugin/doc/images/pointCoordinatesPropertyPanel.png b/src/FeaturesPlugin/doc/images/pointCoordinatesPropertyPanel.png
new file mode 100644 (file)
index 0000000..4eabd78
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/pointCoordinatesPropertyPanel.png differ
diff --git a/src/FeaturesPlugin/doc/images/point_coord.png b/src/FeaturesPlugin/doc/images/point_coord.png
new file mode 100644 (file)
index 0000000..a3fe457
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/point_coord.png differ
diff --git a/src/FeaturesPlugin/doc/pointCoordinatesFeature.rst b/src/FeaturesPlugin/doc/pointCoordinatesFeature.rst
new file mode 100644 (file)
index 0000000..b90a210
--- /dev/null
@@ -0,0 +1,28 @@
+.. |point_coord.icon|    image:: images/point_coord.png
+
+Point Coordinates
+=================
+
+The **Points coordinates** feature displays the coordinates of a selected point.
+
+The coordinates are displayed in the property panel.
+
+**Apply** button does not generate any result and has the same effect as **Cancel** for this feature.  
+
+To display Point coordinates in the active part:
+
+#. select in the Main Menu *Inspection - > Point coordinates* item  or
+#. click |point_coord.icon| **Points coordinates** button in the toolbar
+
+The coordinates can be displayed for a selected point in the property panel : 
+
+.. figure:: images/pointCoordinatesPropertyPanel.png
+   :align: center
+
+   Point coordinates
+
+Input fields:
+
+- Input field contains a point selected in 3D OCC viewer or object browser. 
+
+Note, the coordinates displayed can be selected.
index 89b06e65e05567614066dbe1c11dea89c08d3d76..b1b745c1ae6a71bd4a94feeb89bb5df5f24be086 100644 (file)
   <workbench id="Inspection">
     <group id="PointCoordinates">
       <feature id="PointCoordinates" title="Point coordinates" tooltip="View point coordinate"
-               icon="icons/Features/point_coord.png" helpfile="measurementFeature.html" abort_confirmation="false">
+               icon="icons/Features/point_coord.png" helpfile="pointCoordinatesFeature.html" abort_confirmation="false">
         <source path="pointcoordinates_widget.xml"/>
       </feature>
     </group>