X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2Fdoc%2FrotationFeature.rst;h=14f59eaeabab1f9ed71f6d6a2e93309ab60dca55;hb=0fcd69345a4dfdb31e252574c68bc70e123999e8;hp=db5b219dbeff5f8ce5ee6d3e1b2e058a2a9cefa3;hpb=1c74a4ef1b175266becd65969077f12af764e7e2;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/doc/rotationFeature.rst b/src/SketchPlugin/doc/rotationFeature.rst index db5b219db..14f59eaea 100644 --- a/src/SketchPlugin/doc/rotationFeature.rst +++ b/src/SketchPlugin/doc/rotationFeature.rst @@ -1,10 +1,67 @@ +.. _sketchAngularCopy: +.. |rotate.icon| image:: images/rotate.png Angular copy ============ +Angular copy operation creates one or multiple copies of the sketch entities by rotation relative to a specified center point. -.. image:: images/AngularCopy.png +To create an Angular copy in the active Sketch: + +#. select in the Main Menu *Sketch - > Angular copy* item or +#. click |rotate.icon| **Angular copy** button in Sketch toolbar: + +Property panel: + +.. image:: images/Rotation_panel.png :align: center .. centered:: - Create an angular copy + Angular copy + +Input fields: + +- **Segments** is the list of segments (lines, circles, arcs) selected in the view; +- **Center of rotation** is the center point selected in the view; +- **Full angle/Single angle** option: + + .. image:: images/angle_up_full_32x32.png + :align: left + **Full angle**: angle step of rotation is equal to the defined angle divided by the number of copies (total number minus one). + + .. image:: images/angle_up_full_32x32.png + :align: left + **Single angle**: angle step of rotation is equal to the defined angle. + +- **Angle** is the angle of rotation. +- **Reversed** defines rotation direction. If checked - in a clockwise direction, otherwise - in a counterclockwise direction. +- **Total number of objects** is the total number of objects including the original one. + + +**TUI Command**: + +.. py:function:: Sketch_1.addRotation(Objects, CenterPoint, Angle, NumberOfObjects, FullValue, Reversed) + + :param list: A list of objects. + :param object: Center point. + :param real: Angle. + :param integer: Number of objects. + :param boolean: Full value flag. + :param boolean: Reversed flag. + :return: Result object. + +Result +"""""" + +Created Angular copy appears in the view. + +| The original and an angular copy objects are marked with a special sign. +| Copy objects are drawn with a thinner line. + +.. image:: images/Rotation_res.png + :align: center + +.. centered:: + Created angular copy + +**See Also** a sample TUI Script of :ref:`tui_create_rotation` operation.