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