Salome HOME
[bos #38088] [CEA] Create documentation for Offset transformation in SMESH.
[modules/smesh.git] / doc / gui / input / offset_elements.rst
1 .. _offset_elements_page:
2
3 ********************************
4 Offset mesh 
5 ********************************
6
7 Offset 2D elements in mesh, submesh, group or elements from filter.
8
9 *To offset all elements from mesh, sub-mesh or group:*
10
11 .. |img| image:: ../images/image81.png
12
13 #. In the **Modification** menu, select the **Transformations** then click *Offset* button |img| or click directly in the same button in the toolbar.
14
15    The following dialog box will appear:
16
17         .. image:: ../images/offset_mesh.png
18                 :align: center
19     
20         * Check the option **Select whole mesh, sub-mesh or group** if it is not set.
21         * Set the name of the mesh, sub-mesh or created group.
22         * Set the **Offset** value (negative offsets are allowed).
23         * Select **Move Elements** to offset the current mesh, **Copy Elements** to offset and duplicate them, or **Create a new mesh** to create a new mesh from the offset elements.
24
25 #. Click the **Apply** or **Apply and Close** button to confirm the operation.
26
27
28 *To offset all elements ids from a filter:*
29
30 #. In the **Modification** menu, select the **Transformations** then click *Offset* button |img| or click directly in the same button from the toolbar.
31         
32         * Uncheck the option **Select whole mesh, sub-mesh or group**.
33
34         .. image:: ../images/offset_mesh_from_filter.png
35                 :align: center
36         
37         * Then click on **Set_Filter** button
38         
39         The dialog for filter for faces will appear:
40
41         .. image:: ../images/offset_filter_for_faces_gui.png
42                 :align: center
43         
44         * Define the desired criterias and then click the **Apply and Close** button to confirm the selection of elements.
45         * Set **Offset** value and mesh creation **options** as done for the first case.
46
47 #. Click the **Apply** or **Apply and Close** button to confirm the operation.
48
49 **See also:** A sample TUI Script of a :ref:`tui_offset_elements` transformation.