From: vsv Date: Mon, 6 Aug 2018 15:10:50 +0000 (+0300) Subject: Provide template for Features plug-in help pages X-Git-Tag: SHAPER_V9_1_0RC1~73^2~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7548545242eba4d3746471297822e8ad395cbe0f;p=modules%2Fshaper.git Provide template for Features plug-in help pages --- diff --git a/doc/gui/FeaturesPlugin/angularCopyFeature.rst b/doc/gui/FeaturesPlugin/angularCopyFeature.rst index f29caa171..3d3fec12c 100644 --- a/doc/gui/FeaturesPlugin/angularCopyFeature.rst +++ b/doc/gui/FeaturesPlugin/angularCopyFeature.rst @@ -1,3 +1,10 @@ Angular copy ============ + + +.. image:: images/AngularCopy.png + :align: center + +.. centered:: + Angular copy definition diff --git a/doc/gui/FeaturesPlugin/commonFeature.rst b/doc/gui/FeaturesPlugin/commonFeature.rst index 249be0821..ff245795b 100644 --- a/doc/gui/FeaturesPlugin/commonFeature.rst +++ b/doc/gui/FeaturesPlugin/commonFeature.rst @@ -1,3 +1,10 @@ Common ====== + + +.. image:: images/Common.png + :align: center + +.. centered:: + Common definition diff --git a/doc/gui/FeaturesPlugin/cutFeature.rst b/doc/gui/FeaturesPlugin/cutFeature.rst index 21520755c..e381c7c98 100644 --- a/doc/gui/FeaturesPlugin/cutFeature.rst +++ b/doc/gui/FeaturesPlugin/cutFeature.rst @@ -1,3 +1,10 @@ Cut === + + +.. image:: images/Cut.png + :align: center + +.. centered:: + Cut definition diff --git a/doc/gui/FeaturesPlugin/featuresPlugin.rst b/doc/gui/FeaturesPlugin/featuresPlugin.rst index c79850dab..4a1dee01b 100644 --- a/doc/gui/FeaturesPlugin/featuresPlugin.rst +++ b/doc/gui/FeaturesPlugin/featuresPlugin.rst @@ -2,7 +2,7 @@ .. _featuresPlugin: -Fearures plug-in +Features plug-in ================ diff --git a/doc/gui/FeaturesPlugin/fillFeature.rst b/doc/gui/FeaturesPlugin/fillFeature.rst index 86348d65a..6e265d85d 100644 --- a/doc/gui/FeaturesPlugin/fillFeature.rst +++ b/doc/gui/FeaturesPlugin/fillFeature.rst @@ -1,3 +1,10 @@ Fill ==== + + +.. image:: images/Fill.png + :align: center + +.. centered:: + Fill definition diff --git a/doc/gui/FeaturesPlugin/filletFeature.rst b/doc/gui/FeaturesPlugin/filletFeature.rst index 879ce5953..85d54e395 100644 --- a/doc/gui/FeaturesPlugin/filletFeature.rst +++ b/doc/gui/FeaturesPlugin/filletFeature.rst @@ -1,3 +1,10 @@ Fillet ====== + + +.. image:: images/Fillet.png + :align: center + +.. centered:: + Fillet definition diff --git a/doc/gui/FeaturesPlugin/fuseFeature.rst b/doc/gui/FeaturesPlugin/fuseFeature.rst index 13da19446..9944cfcc4 100644 --- a/doc/gui/FeaturesPlugin/fuseFeature.rst +++ b/doc/gui/FeaturesPlugin/fuseFeature.rst @@ -1,3 +1,10 @@ Fuse ==== + + +.. image:: images/Fuse.png + :align: center + +.. centered:: + Fuse definition diff --git a/doc/gui/FeaturesPlugin/images/AngularCopy.png b/doc/gui/FeaturesPlugin/images/AngularCopy.png new file mode 100644 index 000000000..efa4d6eb8 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/AngularCopy.png differ diff --git a/doc/gui/FeaturesPlugin/images/Common.png b/doc/gui/FeaturesPlugin/images/Common.png new file mode 100644 index 000000000..a6abdef22 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Common.png differ diff --git a/doc/gui/FeaturesPlugin/images/Cut.png b/doc/gui/FeaturesPlugin/images/Cut.png new file mode 100644 index 000000000..7f0f886d4 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Cut.png differ diff --git a/doc/gui/FeaturesPlugin/images/Fill.png b/doc/gui/FeaturesPlugin/images/Fill.png new file mode 100644 index 000000000..377be10ab Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Fill.png differ diff --git a/doc/gui/FeaturesPlugin/images/Fillet.png b/doc/gui/FeaturesPlugin/images/Fillet.png new file mode 100644 index 000000000..7f804075f Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Fillet.png differ diff --git a/doc/gui/FeaturesPlugin/images/Fuse.png b/doc/gui/FeaturesPlugin/images/Fuse.png new file mode 100644 index 000000000..f1495f2bf Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Fuse.png differ diff --git a/doc/gui/FeaturesPlugin/images/Intersection.png b/doc/gui/FeaturesPlugin/images/Intersection.png new file mode 100644 index 000000000..6bc0a43db Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Intersection.png differ diff --git a/doc/gui/FeaturesPlugin/images/LinearCopy.png b/doc/gui/FeaturesPlugin/images/LinearCopy.png new file mode 100644 index 000000000..1daa1ef9b Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/LinearCopy.png differ diff --git a/doc/gui/FeaturesPlugin/images/Measurement1.png b/doc/gui/FeaturesPlugin/images/Measurement1.png new file mode 100644 index 000000000..77b426e94 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Measurement1.png differ diff --git a/doc/gui/FeaturesPlugin/images/Measurement2.png b/doc/gui/FeaturesPlugin/images/Measurement2.png new file mode 100644 index 000000000..5d951ae4d Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Measurement2.png differ diff --git a/doc/gui/FeaturesPlugin/images/Measurement3.png b/doc/gui/FeaturesPlugin/images/Measurement3.png new file mode 100644 index 000000000..b3f64ba14 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Measurement3.png differ diff --git a/doc/gui/FeaturesPlugin/images/Measurement4.png b/doc/gui/FeaturesPlugin/images/Measurement4.png new file mode 100644 index 000000000..b43c36a81 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Measurement4.png differ diff --git a/doc/gui/FeaturesPlugin/images/Measurement5.png b/doc/gui/FeaturesPlugin/images/Measurement5.png new file mode 100644 index 000000000..b5d860a01 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Measurement5.png differ diff --git a/doc/gui/FeaturesPlugin/images/Partition.png b/doc/gui/FeaturesPlugin/images/Partition.png new file mode 100644 index 000000000..6e131f973 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Partition.png differ diff --git a/doc/gui/FeaturesPlugin/images/Pipe1.png b/doc/gui/FeaturesPlugin/images/Pipe1.png new file mode 100644 index 000000000..5db8d2ab7 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Pipe1.png differ diff --git a/doc/gui/FeaturesPlugin/images/Pipe2.png b/doc/gui/FeaturesPlugin/images/Pipe2.png new file mode 100644 index 000000000..b3f4868ac Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Pipe2.png differ diff --git a/doc/gui/FeaturesPlugin/images/Pipe3.png b/doc/gui/FeaturesPlugin/images/Pipe3.png new file mode 100644 index 000000000..fe84a2b3b Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Pipe3.png differ diff --git a/doc/gui/FeaturesPlugin/images/Placement.png b/doc/gui/FeaturesPlugin/images/Placement.png new file mode 100644 index 000000000..4d5beb7c7 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Placement.png differ diff --git a/doc/gui/FeaturesPlugin/images/Recover.png b/doc/gui/FeaturesPlugin/images/Recover.png new file mode 100644 index 000000000..ecf06df6c Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Recover.png differ diff --git a/doc/gui/FeaturesPlugin/images/RemoveSubShapes.png b/doc/gui/FeaturesPlugin/images/RemoveSubShapes.png new file mode 100644 index 000000000..b26f89d1b Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/RemoveSubShapes.png differ diff --git a/doc/gui/FeaturesPlugin/images/Rotation1.png b/doc/gui/FeaturesPlugin/images/Rotation1.png new file mode 100644 index 000000000..9549eeabf Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Rotation1.png differ diff --git a/doc/gui/FeaturesPlugin/images/Rotation2.png b/doc/gui/FeaturesPlugin/images/Rotation2.png new file mode 100644 index 000000000..4b1224b51 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Rotation2.png differ diff --git a/doc/gui/FeaturesPlugin/images/Smash.png b/doc/gui/FeaturesPlugin/images/Smash.png new file mode 100644 index 000000000..8ec0ae611 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Smash.png differ diff --git a/doc/gui/FeaturesPlugin/images/Symmetry.png b/doc/gui/FeaturesPlugin/images/Symmetry.png new file mode 100644 index 000000000..a369a0f81 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Symmetry.png differ diff --git a/doc/gui/FeaturesPlugin/images/Translation1.png b/doc/gui/FeaturesPlugin/images/Translation1.png new file mode 100644 index 000000000..3d1729564 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Translation1.png differ diff --git a/doc/gui/FeaturesPlugin/images/Translation2.png b/doc/gui/FeaturesPlugin/images/Translation2.png new file mode 100644 index 000000000..8b367d1cb Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Translation2.png differ diff --git a/doc/gui/FeaturesPlugin/images/Translation3.png b/doc/gui/FeaturesPlugin/images/Translation3.png new file mode 100644 index 000000000..82cdb8d61 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Translation3.png differ diff --git a/doc/gui/FeaturesPlugin/images/Union.png b/doc/gui/FeaturesPlugin/images/Union.png new file mode 100644 index 000000000..b45f8fd50 Binary files /dev/null and b/doc/gui/FeaturesPlugin/images/Union.png differ diff --git a/doc/gui/FeaturesPlugin/intersectionFeature.rst b/doc/gui/FeaturesPlugin/intersectionFeature.rst index d48c825a1..21e2be6f0 100644 --- a/doc/gui/FeaturesPlugin/intersectionFeature.rst +++ b/doc/gui/FeaturesPlugin/intersectionFeature.rst @@ -1,3 +1,10 @@ Intersection ============ + + +.. image:: images/Intersection.png + :align: center + +.. centered:: + Intersection definition diff --git a/doc/gui/FeaturesPlugin/linearCopyFeature.rst b/doc/gui/FeaturesPlugin/linearCopyFeature.rst index a01a993a2..38509c3b9 100644 --- a/doc/gui/FeaturesPlugin/linearCopyFeature.rst +++ b/doc/gui/FeaturesPlugin/linearCopyFeature.rst @@ -1,3 +1,10 @@ Linear copy =========== + + +.. image:: images/LinearCopy.png + :align: center + +.. centered:: + Linear copy diff --git a/doc/gui/FeaturesPlugin/measurementFeature.rst b/doc/gui/FeaturesPlugin/measurementFeature.rst index 5fe679ff9..9f999a097 100644 --- a/doc/gui/FeaturesPlugin/measurementFeature.rst +++ b/doc/gui/FeaturesPlugin/measurementFeature.rst @@ -1,3 +1,42 @@ Measurement =========== + + +.. image:: images/Measurement1.png + :align: center + +.. centered:: + Edge length + + + +.. image:: images/Measurement2.png + :align: center + +.. centered:: + Distance between objects + + + +.. image:: images/Measurement3.png + :align: center + +.. centered:: + Radius + + + +.. image:: images/Measurement4.png + :align: center + +.. centered:: + Angle between edges + + + +.. image:: images/Measurement5.png + :align: center + +.. centered:: + Angle by 3 points diff --git a/doc/gui/FeaturesPlugin/partitionFeature.rst b/doc/gui/FeaturesPlugin/partitionFeature.rst index e6ef3cd10..4b2ac1068 100644 --- a/doc/gui/FeaturesPlugin/partitionFeature.rst +++ b/doc/gui/FeaturesPlugin/partitionFeature.rst @@ -1,3 +1,10 @@ Partition ========= + + +.. image:: images/Partition.png + :align: center + +.. centered:: + Partition definition diff --git a/doc/gui/FeaturesPlugin/pipeFeature.rst b/doc/gui/FeaturesPlugin/pipeFeature.rst index 71cbddbd4..0ec31da4d 100644 --- a/doc/gui/FeaturesPlugin/pipeFeature.rst +++ b/doc/gui/FeaturesPlugin/pipeFeature.rst @@ -1,3 +1,24 @@ Pipe ==== + + +.. image:: images/Pipe1.png + :align: center + +.. centered:: + Pipe by object and path + + +.. image:: images/Pipe2.png + :align: center + +.. centered:: + Pipe by object, path and Bi-normal + + +.. image:: images/Pipe3.png + :align: center + +.. centered:: + Pipe by object, path and locations diff --git a/doc/gui/FeaturesPlugin/placementFeature.rst b/doc/gui/FeaturesPlugin/placementFeature.rst index 8fc4f8e87..bc45a835e 100644 --- a/doc/gui/FeaturesPlugin/placementFeature.rst +++ b/doc/gui/FeaturesPlugin/placementFeature.rst @@ -1,3 +1,10 @@ Placement ========= + + +.. image:: images/Placement.png + :align: center + +.. centered:: + Placement definition diff --git a/doc/gui/FeaturesPlugin/recoverFeature.rst b/doc/gui/FeaturesPlugin/recoverFeature.rst index 2134d27dc..7a98e3f7a 100644 --- a/doc/gui/FeaturesPlugin/recoverFeature.rst +++ b/doc/gui/FeaturesPlugin/recoverFeature.rst @@ -1,3 +1,10 @@ Recover ======= + + +.. image:: images/Recover.png + :align: center + +.. centered:: + Recover operation diff --git a/doc/gui/FeaturesPlugin/removeSubShapesFeature.rst b/doc/gui/FeaturesPlugin/removeSubShapesFeature.rst index 487026aa4..a8f1d440d 100644 --- a/doc/gui/FeaturesPlugin/removeSubShapesFeature.rst +++ b/doc/gui/FeaturesPlugin/removeSubShapesFeature.rst @@ -1,3 +1,10 @@ Remove sub-shapes ================= + + +.. image:: images/RemoveSubShapes.png + :align: center + +.. centered:: + Remove sub-shapes diff --git a/doc/gui/FeaturesPlugin/rotationFeature.rst b/doc/gui/FeaturesPlugin/rotationFeature.rst index daaa47ab0..ff0380d0c 100644 --- a/doc/gui/FeaturesPlugin/rotationFeature.rst +++ b/doc/gui/FeaturesPlugin/rotationFeature.rst @@ -1,3 +1,17 @@ Rotation ======== + + +.. image:: images/Rotation1.png + :align: center + +.. centered:: + Rotation by axis and angle + + +.. image:: images/Rotation2.png + :align: center + +.. centered:: + Rotation by center and points diff --git a/doc/gui/FeaturesPlugin/smashFeature.rst b/doc/gui/FeaturesPlugin/smashFeature.rst index e71031105..dbeb1642b 100644 --- a/doc/gui/FeaturesPlugin/smashFeature.rst +++ b/doc/gui/FeaturesPlugin/smashFeature.rst @@ -1,3 +1,10 @@ Smash ===== + + +.. image:: images/Smash.png + :align: center + +.. centered:: + Smash definition diff --git a/doc/gui/FeaturesPlugin/symmetryFeature.rst b/doc/gui/FeaturesPlugin/symmetryFeature.rst index cf5e27fee..dc8150c74 100644 --- a/doc/gui/FeaturesPlugin/symmetryFeature.rst +++ b/doc/gui/FeaturesPlugin/symmetryFeature.rst @@ -1,3 +1,10 @@ Symmetry ======== + + +.. image:: images/Symmetry.png + :align: center + +.. centered:: + Symmetry definition diff --git a/doc/gui/FeaturesPlugin/translationFeature.rst b/doc/gui/FeaturesPlugin/translationFeature.rst index 730589cc7..99ce5db72 100644 --- a/doc/gui/FeaturesPlugin/translationFeature.rst +++ b/doc/gui/FeaturesPlugin/translationFeature.rst @@ -1,3 +1,24 @@ Translation =========== + + +.. image:: images/Translation1.png + :align: center + +.. centered:: + Translation by axis and distance + + +.. image:: images/Translation2.png + :align: center + +.. centered:: + By vector + + +.. image:: images/Translation3.png + :align: center + +.. centered:: + By two points diff --git a/doc/gui/FeaturesPlugin/unionFeature.rst b/doc/gui/FeaturesPlugin/unionFeature.rst index feadac9a2..6e3d9a2b0 100644 --- a/doc/gui/FeaturesPlugin/unionFeature.rst +++ b/doc/gui/FeaturesPlugin/unionFeature.rst @@ -1,3 +1,10 @@ Union ===== + + +.. image:: images/Union.png + :align: center + +.. centered:: + Union definition diff --git a/src/FeaturesPlugin/translation_widget.xml b/src/FeaturesPlugin/translation_widget.xml index 3c9c72e72..28bb25115 100644 --- a/src/FeaturesPlugin/translation_widget.xml +++ b/src/FeaturesPlugin/translation_widget.xml @@ -49,7 +49,7 @@ email : webmaster.salome@opencascade.com stringValue("ExternalBrowser", platform); + +#ifdef HAVE_SALOME + QString aDir(getenv("SHAPER_ROOT_DIR")); + if (!aDir.isEmpty()) { + aDocDir = aDir + aSep + "share" + aSep + "doc" + aSep + + "salome" + aSep + "gui" + aSep + "SHAPER"; + } #else - QString aBrowserName("C:\\Program Files\\Internet Explorer\\iexplore.exe"); QString aDir(getenv("OPENPARTS_ROOT_DIR")); aDocDir = aDir + aSep + "doc"; #endif