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