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 .. image:: images/pipe_simple_32x32.png
21 .. image:: images/pipe_binormal_32x32.png
25 by object, path and Bi-normal
27 .. image:: 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 .. image:: images/Pipe1.png
44 Pipe by object and path property panel
48 - **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;
49 - **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;
53 .. py:function:: model.addPipe(Part_doc, [shape], path)
55 :param part: The current part object.
56 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
57 :param object: A path in format *model.selection(TYPE, shape)*.
58 :return: Created object.
63 Result of extrusion of an arc along another arc.
65 .. image:: images/simplePipe.png
69 Pipe by object and path
71 **See Also** a sample TUI Script of ref:`tui_simple_pipe` operation.
73 Pipe by object, path and Bi-normal
74 ----------------------------------
76 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.
78 .. image:: images/Pipe2.png
82 Pipe by object, path and Bi-normal property panel
86 - **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;
87 - **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;
88 - **Bi-Normal** defines the BiNormal Vector. **Bi-Normal** (edge or wire) is selected in 3D OCC viewer or object browser.
92 .. py:function:: model.addPipe(Part_doc, [shape], path, binormal)
94 :param part: The current part object.
95 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
96 :param object: A path in format *model.selection(TYPE, shape)*.
97 :param object: A binormal in format *model.selection(TYPE, shape)*.
98 :return: Created object.
103 Result of extrusion of a rectangular face along arc.
105 .. image:: images/binormalPipe.png
109 Pipe by object, path and Bi-normal
111 **See Also** a sample TUI Script of :ref:`tui_binormal_pipe` operation.
113 Pipe by object, path and locations
114 ----------------------------------
116 The pipe is generated to preserve selected profiles at the specified locations along the path.
118 .. image:: images/Pipe3.png
122 Pipe by object, path and locations property panel
126 - **Base objects** panel contains shapes to be extruded. Shapes (edges, faces, shells) are selected in 3D OCC viewer or object browser;
127 - **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;
128 - **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.
132 .. py:function:: model.addPipe(Part_doc, [shape], path, locations)
134 :param part: The current part object.
135 :param list: A list of shapes in format *model.selection(TYPE, shape)*.
136 :param object: A path in format *model.selection(TYPE, shape)*.
137 :param list: A list of locations in format *model.selection(TYPE, shape)*.
138 :return: Created object.
143 Result of extrusion of 3 circles along arc with specified locations.
145 .. image:: images/locationPipe.png
149 Pipe by object, path and locations
151 **See Also** a sample TUI Script of :ref:`tui_locations_pipe` operation.