From cb1dfa060125eba33d8886318ad23888db7fb4d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me?= Date: Mon, 16 Nov 2020 15:13:11 +0100 Subject: [PATCH] Documentation html --- .../FeaturesPlugin_PointCoordinates.h | 2 +- src/FeaturesPlugin/doc/FeaturesPlugin.rst | 1 + .../images/pointCoordinatesPropertyPanel.png | Bin 0 -> 10698 bytes src/FeaturesPlugin/doc/images/point_coord.png | Bin 0 -> 349 bytes .../doc/pointCoordinatesFeature.rst | 28 ++++++++++++++++++ src/FeaturesPlugin/plugin-Features.xml | 2 +- 6 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 src/FeaturesPlugin/doc/images/pointCoordinatesPropertyPanel.png create mode 100644 src/FeaturesPlugin/doc/images/point_coord.png create mode 100644 src/FeaturesPlugin/doc/pointCoordinatesFeature.rst 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 0000000000000000000000000000000000000000..4eabd78bf652909c54b1e05a58e7c310da6b4e61 GIT binary patch literal 10698 zcmch7WpEt9lBU37w3ubt0*jd}vY1&GGc%1~gd>Yt7BgAQ%w#b$j+mKwgzNWiBi`=a z?vIPxxc<>y6`h@3Rgw5*hAAmXq9GF@LqS2INlS^TKtVyn{~d22{^O1V@NxM2_y7=* zRzv)Ic_W&J{+$!Lh-1 zB>W8;l@n9uE3}9oCYDNL7bsB75NnA6dinvPyQrUbI+0N~dMa=*CbzF_w|-fMOA!bR zrQ^M-{1AY-{gEg@@GSfM?}#ezt%&baAP^$Of=GcwNf3yMoOaOWNq@zst!km}@Ya+I z*ZICoAoIo9*rb)P(|mD|YFbxMCQqF&rO}3Pe)a9BGwl60m28qT#kX%O2crJ|z=KTt zmd4c`TNHRv4gm3-#Y`%PQi;=8e0FtfCZUkYCp7P@dSu+nTpxn9Cd%{DBF;E5U=uuQ zNn;x6E6g-_t_Bnwpuq_reM>WRMW~TLG<*o(!Q#^vbySc6C~(-`a2Sp&z`1?^ZQ}!< z8_yWDYHwo~m)dmIovSh2^G3E2w<`^{S1Wlr!XQb$q7T>g@tM)k<41FBm_kBhCCr1HHIXzZZ%PCLFGYPm6Q+l|J|;3y(G33$TMvz4}F zCv0lL>(yo?Y;cpiL(-@jm1KZdVgNis6kd~Gn#-9s!A%h2IYC8!)^lubMJYCkWR`woLtRmz$_Qtv{HrR1NfQyQ7Lv*Pe9}Y89Fx_jSE37OdD!B|<)L&BAjT zTxyk?L1_Z_0Oklm0()CC>!#oYR9czumS#lv2IHKthT#X3V1Z)2ZwVsZW*!BjE{%hP z}Eav$-R8!Ry5Y2?SePnYWs!m2jfU5US& z^O(MH?>sbC+blT9cl>EIsLEr~gi-9J6+Guk#J=1A=zER|VzgDbtv`?C%MerN(+7Be zNWVeb9+Y2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NFnL+4i!FfG9wl!*Z7efuRBL@9CNkN&y==O5IDp(gf@Qxh!q&qF zDdfDdu;ib+`rGNiKp8xlb5agme|zIgJMbF$?Y2<$fn{xd;?RxU`97+@+_MU&Qt?TJ z?@-C4+q6dJOqRkqY`ojBwI!CKLt}@1*8)Ca#(3)F-B+ccU-@Avqi5nNasM$h(t$fc z^iIg)&Wmb_@b2)3HA%fT2i+GZknJvTJv;&BR>J3mWmJ-RTYUa&@r?x1XO{t`+5dqDF{rXABCSaS!ep} zu-dz;;>UK!$L?t@q<<%^NGLml)JZ59*`o8CY_2n7`1HJB_)D@gk`a4}9_?S*e=Wuo p`G2r3{}Z)|f7z=4-`rlv;S?5!b!!$%{x)MmNsB9pRf-t;{~Oh|&kg_p literal 0 HcmV?d00001 diff --git a/src/FeaturesPlugin/doc/images/point_coord.png b/src/FeaturesPlugin/doc/images/point_coord.png new file mode 100644 index 0000000000000000000000000000000000000000..a3fe457be0b30902036513910cb610044bae418b GIT binary patch literal 349 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc1|)ksWqE-VXMsm#F#`j)5C}6~x?A@LD9DoT z=c*G{)a2&(enxh~!5-VdZKyJIN2zAV&U5!AMrOb>>9k1A!Ag(rG*!Cy* UX`7El70`POp00i_>zopr0J({5vj6}9 literal 0 HcmV?d00001 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"> -- 2.39.2