Salome HOME
Documentation: use 'figure' instead of 'image'; improve caption layout; fix warnings.
[modules/shaper.git] / src / BuildPlugin / doc / solidFeature.rst
1 .. |feature_solid.icon|    image:: images/feature_solid.png
2
3 Solid
4 =====
5
6 Solid feature creates a solid using faces already existing in other objects.
7
8 To create a solid in the active part:
9
10 #. select in the Main Menu *Build - > Solid* item  or
11 #. click |feature_solid.icon| **Solid** button in the toolbar
12
13 The following property panel will be opened:
14
15 .. figure:: images/Solid.png
16   :align: center
17
18   Create a solid
19   
20 Select one or several faces in the viewer. The selected faces have to define a closed volume.
21
22 **Apply** button creates a solid.
23
24 **Cancel** button cancels the operation. 
25
26 **TUI Command**:
27
28 .. py:function:: model.addSolid(Part_doc, Shapes)
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 solid created from the selected shapes:
38
39 .. figure:: images/CreateSolid.png
40   :align: center
41
42   Result of the operation.
43
44 **See Also** a sample TUI Script of :ref:`tui_create_solid` operation.