Salome HOME
Merge remote-tracking branch 'origin/master' into gni/documentation
[modules/shaper.git] / src / BuildPlugin / doc / shellFeature.rst
1 .. |feature_shell.icon|    image:: images/feature_shell.png
2
3 Shell
4 =====
5
6 Shell feature creates a shell using faces already existing in other objects.
7
8 To create a shell in the active part:
9
10 #. select in the Main Menu *Build - > Shell* item  or
11 #. click |feature_shell.icon| **Shell** button in the toolbar
12
13 The following property panel will be opened:
14
15 .. figure:: images/Shell.png
16   :align: center
17
18   Create a shell
19   
20 Select one or several faces in the viewer. Additionally, it is allowed to select a whole sketch result from the object browser. In this case, the result shell will contain faces corresponding to all smallest closed contours of the sketch.
21
22 **Apply** button creates a shell.
23
24 **Cancel** button cancels the operation. 
25
26 **TUI Command**:
27
28 .. py:function:: model.addShell(Part_doc, Objects)
29
30     :param part: The current part object.
31     :param list: A list of shapes.
32     :return: Result object.
33
34 Result
35 """"""
36
37 The result of the operation will be a shell created from the selected shapes:
38
39 .. figure:: images/CreateShell.png
40   :align: center
41
42   Result of the operation.
43
44 **See Also** a sample TUI Script of :ref:`tui_create_shell` operation.