From: Jérôme Date: Mon, 16 Nov 2020 14:13:11 +0000 (+0100) Subject: Documentation html X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb1dfa060125eba33d8886318ad23888db7fb4d0;p=modules%2Fshaper.git Documentation html --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_PointCoordinates.h b/src/FeaturesPlugin/FeaturesPlugin_PointCoordinates.h index 63ac47b1f..74b5b8c60 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_PointCoordinates.h +++ b/src/FeaturesPlugin/FeaturesPlugin_PointCoordinates.h @@ -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(); diff --git a/src/FeaturesPlugin/doc/FeaturesPlugin.rst b/src/FeaturesPlugin/doc/FeaturesPlugin.rst index fb8e2a344..97fd752c2 100644 --- a/src/FeaturesPlugin/doc/FeaturesPlugin.rst +++ b/src/FeaturesPlugin/doc/FeaturesPlugin.rst @@ -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 index 000000000..4eabd78bf 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 index 000000000..a3fe457be 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 index 000000000..b90a21044 --- /dev/null +++ b/src/FeaturesPlugin/doc/pointCoordinatesFeature.rst @@ -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. diff --git a/src/FeaturesPlugin/plugin-Features.xml b/src/FeaturesPlugin/plugin-Features.xml index 89b06e65e..b1b745c1a 100644 --- a/src/FeaturesPlugin/plugin-Features.xml +++ b/src/FeaturesPlugin/plugin-Features.xml @@ -174,7 +174,7 @@ + icon="icons/Features/point_coord.png" helpfile="pointCoordinatesFeature.html" abort_confirmation="false">