]> SALOME platform Git repositories - modules/shaper.git/blob - src/BuildPlugin/doc/compsolidFeature.rst
Salome HOME
Merge remote-tracking branch 'origin/master' into gni/documentation
[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 .. figure:: images/Compsolid.png
16   :align: center
17
18   Create a compsolid
19
20 Select one or several shapes in the viewer.
21
22 **Apply** button creates a compsolid.
23
24 **Cancel** button cancels the operation. 
25
26 **TUI Command**:
27
28 .. py:function:: model.addCompSolid(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 compsolid created from the selected shapes:
38
39 .. figure:: images/CreateCompsolid.png
40   :align: center
41
42   Result of the operation.
43
44 **See Also** a sample TUI Script of :ref:`tui_create_compsolid` operation.