Salome HOME
CEA - Lot3 : Add LOFT Feature
[modules/shaper.git] / src / FeaturesPlugin / doc / loftFeature.rst
1 .. |loft.icon|    image:: images/loft.png
2
3 Loft
4 ====
5
6 **Loft** feature is used to create a face, shell or a solid shape from two or more objects.
7 The two objects can be edges, wires or faces but must be of the same type
8
9 To create a Loft in the active part:
10
11 #. select in the Main Menu *Features - > Loft* item  or
12 #. click |loft.icon| **Loft** button in the toolbar
13
14 The following property panel appears.
15
16 .. figure:: images/loftPropertyPanel.png
17    :align: center
18
19    Loft property panel
20
21 Input fields:
22
23 - **First object** defines the first shape (edge, wire, face) selected in 3D OCC viewer or object browser;
24 - **Second object** defines the second shape (edge, wire, face) selected in 3D OCC viewer or object browser;
25
26 **TUI Command**:
27
28 .. py:function:: model.addLoft(Part_doc, [shape], [shape])
29
30     :param part: The current part object.
31     :param object: A shape in format *model.selection(TYPE, shape)*.
32     :param object: A shape in format *model.selection(TYPE, shape)*.
33     :return: Created object.
34
35 Result
36 """"""
37
38 Result of loft between two faces.
39
40 .. figure:: images/resultLoft.png
41    :align: center
42
43    Loft between two faces
44
45 **See Also** a sample TUI Script of :ref:`tui_loft` operation.