]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/doc/angularCopyFeature.rst
Salome HOME
Merge remote-tracking branch 'remotes/origin/EDF_2020_Lot2'
[modules/shaper.git] / src / FeaturesPlugin / doc / angularCopyFeature.rst
1 .. _featureAngularCopy:
2 .. |multirotation.icon|    image:: images/multirotation.png
3
4 Angular copy
5 ============
6
7 The feature **Angular copy** makes a compound of several rotated shapes basing on the initial shape. 
8
9 To create an Angular copy in the active part:
10
11 #. select in the Main Menu *Part - > Angular copy* item  or
12 #. click |multirotation.icon| **Angular copy** button in the toolbar
13
14 The following property panel appears.
15
16 .. figure:: images/angularcopy.png
17    :align: center
18
19    Angular copy property panel
20
21 Input fields:
22
23 - **Main objects** panel contains shapes to be rotated. The shapes are selected in 3D OCC viewer or object browser;
24 - **Vector of rotation**  defines the axis of rotation. The vector of rotation is an edge, axis selected in 3D OCC viewer or object browser;
25 - **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;
26 - **Nb. Copies** defines the number of rotated shape copies in the resulting compound. If **Nb. Copies** = 1, the result contains only the initial shape.
27
28 **TUI Command**:
29
30 .. py:function:: model.addMultiRotation(Part_doc, [shape], axis, step, Nb)*
31
32     :param part: The current part object
33     :param list: A list of shapes in format *model.selection(TYPE, shape)*
34     :param object: An axis in format *model.selection(TYPE, shape)*
35     :param real: a step value
36     :param integer: A number of copies
37     :return: Created object
38
39 Result
40 """"""
41 Result of cylinder rotation is a compound.
42
43 .. figure:: images/angularcopycyl.png
44    :align: center
45
46    Angular copy
47
48 **See Also** a sample TUI Script of :ref:`tui_create_angularcopy` operation.