X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2Fdoc%2FangularCopyFeature.rst;h=f26b95c6b1593e1b5ab6d6294e0151e341b30a96;hb=05e2e4a31fa248d71445c40e35eeafa44f5d3b1b;hp=3d3fec12cc63bce0506b0874427d487fdf66a821;hpb=547a3952b37fe76f0d4e031a7d8a943ac6a45bb5;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/doc/angularCopyFeature.rst b/src/FeaturesPlugin/doc/angularCopyFeature.rst index 3d3fec12c..f26b95c6b 100644 --- a/src/FeaturesPlugin/doc/angularCopyFeature.rst +++ b/src/FeaturesPlugin/doc/angularCopyFeature.rst @@ -1,10 +1,48 @@ +.. _featureAngularCopy: +.. |multirotation.icon| image:: images/multirotation.png Angular copy ============ +The feature **Angular copy** makes a compound of several rotated shapes basing on the initial shape. -.. image:: images/AngularCopy.png - :align: center +To create an Angular copy in the active part: -.. centered:: - Angular copy definition +#. select in the Main Menu *Part - > Angular copy* item or +#. click |multirotation.icon| **Angular copy** button in the toolbar + +The following property panel appears. + +.. figure:: images/angularcopy.png + :align: center + + Angular copy property panel + +Input fields: + +- **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. + +**TUI Command**: + +.. py:function:: model.addMultiRotation(Part_doc, [shape], axis, step, Nb)* + + :param part: The current part object + :param list: A list of shapes in format *model.selection(TYPE, shape)* + :param object: An axis in format *model.selection(TYPE, shape)* + :param real: a step value + :param integer: A number of copies + :return: Created object + +Result +"""""" +Result of cylinder rotation is a compound. + +.. figure:: images/angularcopycyl.png + :align: center + + Angular copy + +**See Also** a sample TUI Script of :ref:`tui_create_angularcopy` operation.