]> SALOME platform Git repositories - modules/shaper.git/blob - src/BuildPlugin/doc/compsolidFeature.rst
Salome HOME
ae81ffd03bea4fb38e4bb28e36ba0b5f0f8a281b
[modules/shaper.git] / src / BuildPlugin / doc / compsolidFeature.rst
1 .. |feature_compsolid.icon|    image:: images/feature_compsolid.png
2
3 CompSolid
4 =========
5
6 Compsolid feature creates a compsolid using shapes already existing in other objects.
7
8 To create a compsolid in the active part:
9
10 #. select in the Main Menu *Build - > CompSolid* item  or
11 #. click |feature_compsolid.icon| **CompSolid** button in the toolbar
12
13 The following property panel will be opened:
14
15 .. image:: images/Compsolid.png
16   :align: center
17
18 .. centered::
19   Create a compsolid
20
21 Select one or several shapes in the viewer.
22
23 **Apply** button creates a compsolid.
24
25 **Cancel** button cancels the operation. 
26
27 **TUI Command**:
28
29 .. py:function:: model.addCompSolid(Part_doc, Shapes)
30
31     :param part: The current part object.
32     :param list: A list of shapes.
33     :return: Result object.
34
35 Result
36 """"""
37
38 The result of the operation will be a compsolid created from the selected shapes:
39
40 .. image:: images/CreateCompsolid.png
41   :align: center
42
43 .. centered::
44   Result of the operation.
45
46 **See Also** a sample TUI Script of :ref:`tui_create_compsolid` operation.