5 **Pipe** feature makes an extruded Pipe shape.
7 To create a Pipe in the active part:
9 #. select in the Main Menu *Features - > Pipe* item or
10 #. click **Pipe** button in the toolbar
12 .. image:: images/pipe.png
18 Pipe can be created in three different ways:
20 .. image:: images/pipe_simple_32x32.png
24 .. image:: images/pipe_binormal_32x32.png
26 by object, path and Bi-normal
28 .. image:: images/pipe_locations_32x32.png
30 by object, path and locations
32 Pipe by object and path
33 -----------------------
35 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.
37 .. image:: images/Pipe1.png
41 Pipe by object and path property panel
45 - **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;
46 - **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;
48 **TUI Command**: *model.addPipe(Part_doc, [shape], path)*
50 **Arguments**: part + list of shapes in format *model.selection(TYPE, shape)* + path in format *model.selection(TYPE, shape)*.
55 Result of extrusion of an arc along another arc.
57 .. image:: images/simplePipe.png
61 Pipe by object and path
63 **See Also** a sample TUI Script of ref:`tui_simple_pipe` operation.
65 Pipe by object, path and Bi-normal
66 ----------------------------------
68 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.
70 .. image:: images/Pipe2.png
74 Pipe by object, path and Bi-normal property panel
78 - **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;
79 - **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;
80 - **Bi-Normal** defines the BiNormal Vector. **Bi-Normal** (edge or wire) is selected in 3D OCC viewer or object browser.
82 **TUI Command**: *model.addPipe(Part_doc, [shape], path, binormal)*
84 **Arguments**: part + list of shapes in format *model.selection(TYPE, shape)* + path in format *model.selection(TYPE, shape)* + binormal in format *model.selection(TYPE, shape)*.
89 Result of extrusion of a rectangular face along arc.
91 .. image:: images/binormalPipe.png
95 Pipe by object, path and Bi-normal
97 **See Also** a sample TUI Script of :ref:`tui_binormal_pipe` operation.
99 Pipe by object, path and locations
100 ----------------------------------
102 The pipe is generated to preserve selected profiles at the specified locations along the path.
104 .. image:: images/Pipe3.png
108 Pipe by object, path and locations property panel
112 - **Base objects** panel contains shapes to be extruded. Shapes (edges, faces, shells) are selected in 3D OCC viewer or object browser;
113 - **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;
114 - **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.
116 **TUI Command**: *model.addPipe(Part_doc, [shape], path, locations)*
118 **Arguments**: part + list of shapes in format *model.selection(TYPE, shape)* + path in format *model.selection(TYPE, shape)* + list of locations in format *model.selection(TYPE, shape)*.
123 Result of extrusion of 3 circles along arc with specified locations.
125 .. image:: images/locationPipe.png
129 Pipe by object, path and locations
131 **See Also** a sample TUI Script of :ref:`tui_locations_pipe` operation.