1 .. |pipe.icon| image:: images/pipe.png
6 **Pipe** feature makes an extruded Pipe shape.
8 To create a Pipe in the active part:
10 #. select in the Main Menu *Features - > Pipe* item or
11 #. click |pipe.icon| **Pipe** button in the toolbar
13 Pipe can be created in three different ways:
15 .. figure:: images/pipe_simple_32x32.png
21 .. figure:: images/pipe_binormal_32x32.png
25 by object, path and Bi-normal
27 .. figure:: images/pipe_locations_32x32.png
31 by object, path and locations
33 --------------------------------------------------------------------------------
35 Pipe by object and path
36 -----------------------
38 Base Objects are extruded along the Path Object so that the angle between the normal vector to the base shape and the tangent to the path remain constant at any point of the given path.
40 .. figure:: images/Pipe1.png
43 Pipe by object and path property panel
47 - **Base objects** panel contains shapes to be extruded. Several Base Objects generate several pipes. Shapes (edges, faces, shells) are selected in 3D OCC viewer or object browser;
48 - **Path object** defines the path along which the Base Object will be extruded. **Path object** (edge or wire) is selected in 3D OCC viewer or object browser;
52 .. py:function:: model.addPipe(Part_doc, [shape], path)
54 :param part: The current part object.
55 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
56 :param object: A path in format *model.selection(TYPE, shape)*.
57 :return: Created object.
62 Result of extrusion of an arc along another arc.
64 .. figure:: images/simplePipe.png
67 Pipe by object and path
69 **See Also** a sample TUI Script of ref:`tui_simple_pipe` operation.
71 Pipe by object, path and Bi-normal
72 ----------------------------------
74 The pipe is generated to preserve the constant angle between the normal vector to the base shape and the BiNormal vector at any point of the given path.
76 .. figure:: images/Pipe2.png
79 Pipe by object, path and Bi-normal property panel
83 - **Base objects** panel contains shapes to be extruded. Several Base Objects generate several pipes. Shapes (edges, faces, shells) are selected in 3D OCC viewer or object browser;
84 - **Path object** defines the path along which the Base Object will be extruded. **Path object** (edge or wire) is selected in 3D OCC viewer or object browser;
85 - **Bi-Normal** defines the BiNormal Vector. **Bi-Normal** (edge or wire) is selected in 3D OCC viewer or object browser.
89 .. py:function:: model.addPipe(Part_doc, [shape], path, binormal)
91 :param part: The current part object.
92 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
93 :param object: A path in format *model.selection(TYPE, shape)*.
94 :param object: A binormal in format *model.selection(TYPE, shape)*.
95 :return: Created object.
100 Result of extrusion of a rectangular face along arc.
102 .. figure:: images/binormalPipe.png
105 Pipe by object, path and Bi-normal
107 **See Also** a sample TUI Script of :ref:`tui_binormal_pipe` operation.
109 Pipe by object, path and locations
110 ----------------------------------
112 The pipe is generated to preserve selected profiles at the specified locations along the path.
114 .. figure:: images/Pipe3.png
117 Pipe by object, path and locations property panel
121 - **Base objects** panel contains shapes to be extruded. Shapes (edges, faces, shells) are selected in 3D OCC viewer or object browser;
122 - **Path object** defines the path along which the Base Object will be extruded. **Path object** (edge or wire) is selected in 3D OCC viewer or object browser;
123 - **Locations** define the list of vertices that specify the locations of extruded Base Objects on the resulting Path Object. The number of Base Objects should be equal to the number of Locations.
127 .. py:function:: model.addPipe(Part_doc, [shape], path, locations)
129 :param part: The current part object.
130 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
131 :param object: A path in format *model.selection(TYPE, shape)*.
132 :param list: A list of locations in format *model.selection(TYPE, shape)*.
133 :return: Created object.
138 Result of extrusion of 3 circles along arc with specified locations.
140 .. figure:: images/locationPipe.png
143 Pipe by object, path and locations
145 **See Also** a sample TUI Script of :ref:`tui_locations_pipe` operation.