From: jfa Date: Mon, 21 Feb 2022 14:07:03 +0000 (+0300) Subject: [bos #29061] EDF 24777 - Angular / linear copy impossible on a subsolid X-Git-Tag: V9_9_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b75fbaee34f661f219f901aa89f72d1d2e906425;p=modules%2Fshaper.git [bos #29061] EDF 24777 - Angular / linear copy impossible on a subsolid --- diff --git a/src/FeaturesPlugin/doc/angularCopyFeature.rst b/src/FeaturesPlugin/doc/angularCopyFeature.rst index 8e54902eb..f26b95c6b 100644 --- a/src/FeaturesPlugin/doc/angularCopyFeature.rst +++ b/src/FeaturesPlugin/doc/angularCopyFeature.rst @@ -20,7 +20,7 @@ The following property panel appears. Input fields: -- **Main objects** panel contains shapes to be rotated. The shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be rotated. The shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **Vector of rotation** defines the axis of rotation. The vector of rotation is an edge, axis selected in 3D OCC viewer or object browser; - **Angular Step** check-box turns on/off definition of the angle by which the object is rotated. By default (if the checkbox is not checked), **Angular Step** = 2 * PI / NbTimes; - **Nb. Copies** defines the number of rotated shape copies in the resulting compound. If **Nb. Copies** = 1, the result contains only the initial shape. diff --git a/src/FeaturesPlugin/doc/linearCopyFeature.rst b/src/FeaturesPlugin/doc/linearCopyFeature.rst index 94e4f720c..cf0248392 100644 --- a/src/FeaturesPlugin/doc/linearCopyFeature.rst +++ b/src/FeaturesPlugin/doc/linearCopyFeature.rst @@ -19,7 +19,7 @@ The following property panel appears. Input fields: -- **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **First direction** defines translation in the first direction: - **Vector of translation** defines vector along which the object will be translated. Vector is edge, axis selected in 3D OCC viewer or object browser; @@ -55,4 +55,4 @@ Result of operation is a compound. Linear copy -**See Also** a sample TUI Script of :ref:`tui_create_linearcopy` operation. \ No newline at end of file +**See Also** a sample TUI Script of :ref:`tui_create_linearcopy` operation. diff --git a/src/FeaturesPlugin/doc/placementFeature.rst b/src/FeaturesPlugin/doc/placementFeature.rst index 53b64088d..76498ce8c 100644 --- a/src/FeaturesPlugin/doc/placementFeature.rst +++ b/src/FeaturesPlugin/doc/placementFeature.rst @@ -17,7 +17,7 @@ The following property panel will be opened: In this property panel, it is necessary to: -- Select objects which will be moved; +- Select objects which will be moved; :ref:`transformation_subshapes` - Select a face, edge or vertex as a start for moving; diff --git a/src/FeaturesPlugin/doc/rotationFeature.rst b/src/FeaturesPlugin/doc/rotationFeature.rst index fac79a42d..34c7f3292 100644 --- a/src/FeaturesPlugin/doc/rotationFeature.rst +++ b/src/FeaturesPlugin/doc/rotationFeature.rst @@ -37,7 +37,7 @@ Rotation by axis and angle Input fields: -- **Main objects** panel contains shapes to be rotated. Shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be rotated. Shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **Axis** defines the axis of rotation. The vector is an edge or axis selected in 3D OCC viewer or object browser; - **Angle** defines the angle by which the object is rotated. @@ -73,7 +73,7 @@ Rotation by center and points Input fields: -- **Main objects** panel contains shapes to be rotated. Shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be rotated. Shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **Center point**, **Start point**, **End point** define 3 points or vertices selected in 3D OCC viewer or object browser. Rotation axis will pass through the **Center point** and will be orthogonal to a plane defined by three points. Rotation Angle is the angle between two vectors directed from the **Center point** to **Start point** and **End point**. **TUI Command**: diff --git a/src/FeaturesPlugin/doc/symmetryFeature.rst b/src/FeaturesPlugin/doc/symmetryFeature.rst index 6d22835b1..267f7d8f3 100644 --- a/src/FeaturesPlugin/doc/symmetryFeature.rst +++ b/src/FeaturesPlugin/doc/symmetryFeature.rst @@ -42,7 +42,7 @@ Symmetry through a Point of symmetry Input fields: -- **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **Point** defines a point of symmetry selected in 3D OCC viewer or object browser; - **Create a copy** checkbox preserves/removes the initial object. @@ -78,7 +78,7 @@ Symmetry through an Axis of symmetry Input fields: -- **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **Axis** defines an axis of symmetry selected in 3D OCC viewer or object browser; - **Create a copy** checkbox preserves/removes the initial object. @@ -114,7 +114,7 @@ Symmetry through a Plane of symmetry Input fields: -- **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **Plane** defines a plane of symmetry selected in 3D OCC viewer or object browser; - **Create a copy** checkbox preserves/removes the initial object. diff --git a/src/FeaturesPlugin/doc/transformationFeature.rst b/src/FeaturesPlugin/doc/transformationFeature.rst index 7df424c43..403c32f20 100644 --- a/src/FeaturesPlugin/doc/transformationFeature.rst +++ b/src/FeaturesPlugin/doc/transformationFeature.rst @@ -38,7 +38,7 @@ Scale by one common factor scales the entire object without modification the geo Input fields: -- **Main objects** panel contains shapes to be scaled. Shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be scaled. Shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **Center point** defines the point relatively to which the object is scaled. Point is selected in 3D OCC viewer or object browser; - **Scale factor** defines the multiplier of axial dimensions. If Scale Factor is negative, the object is mirrored through the Central Point. @@ -76,7 +76,7 @@ Scale by different factors along axes is a general transformation, which can mod Input fields: -- **Main objects** panel contains shapes to be scaled. Shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be scaled. Shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **Center point** defines the point relatively to which the object is scaled. Point is selected in 3D OCC viewer or object browser; - **Scale factor in X**, **Scale factor in Y**, **Scale factor in Z** define the the multipliers of axial dimensions. If Scale Factor is negative, the object is mirrored through the Central Point. diff --git a/src/FeaturesPlugin/doc/translationFeature.rst b/src/FeaturesPlugin/doc/translationFeature.rst index 562d18416..81dc77ab0 100644 --- a/src/FeaturesPlugin/doc/translationFeature.rst +++ b/src/FeaturesPlugin/doc/translationFeature.rst @@ -44,7 +44,7 @@ Translation by axis and distance Input fields: -- **Main objects** panel contains shapes to be translated. The shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be translated. The shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **Axis** defines a vector along which the object will be translated. The vector is an edge or axis selected in 3D OCC viewer or object browser; - **Distance** defines the distance along the **Vector of translation**. @@ -80,7 +80,7 @@ Translation by vector Input fields: -- **Main objects** panel contains shapes to be translated. The shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be translated. The shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **DX**, **DY**, **DZ** define vector using coordinates along the axis. **TUI Command**: @@ -117,7 +117,7 @@ Translation by two points Input fields: -- **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser; +- **Main objects** panel contains shapes to be translated. Shapes are selected in 3D OCC viewer or object browser; :ref:`transformation_subshapes` - **Start point** defines start vector point as point or vertex selected in 3D OCC viewer or object browser; - **End point** defines end vector point as point or vertex selected in 3D OCC viewer or object browser; @@ -142,4 +142,13 @@ The result of operation is a shifted initial shape. Translation by two points **See Also** a sample TUI Script of :ref:`tui_translation_2points` operation. - + + + .. _transformation_subshapes: + +Transformation of COMPSOLID subshapes is prohibited. Read more about transformation of COMPOUND subshapes. +====================== + +If you select one or more subshapes of COMPOUND as transformation **Main objects**, all other subshapes will be also included in result at their original locations. + +Transformation of COMPSOLID subshapes is prohibited, because we cannot guarantee the result still be a COMPSOLID after moving/duplicating some parts of it.