5 Extrusion feature extrudes selected objects along their normals or the selected axis.
7 To perform Extrusion in the active part:
9 #. select in the Main Menu *Features - > Extrusion* item or
10 #. click **Extrusion** button in the toolbar
12 .. image:: images/extrusion_btn.png
18 The following property panel will be opened:
20 .. image:: images/StartSketch.png
26 There are two variants of the property panel for Extrusion depending on the chosen option:
28 .. image:: images/extrusion_by_sizes.png
30 **By Sizes** extrudes objects by specifying sizes.
32 .. image:: images/extrusion_by_bounding_planes.png
34 **By Bounding Faces** extrudes objects by specifying bounding faces/planes and offsets.
40 .. image:: images/Extrusion1.png
44 Extrusion: definition by sizes
46 - **Base objects** - contains a list of objects selected in the Object Browser or in the Viewer, which will be extruded.
47 - **Axis** - if selected, it will be the direction of extrusion, otherwise objects normals will be used.
48 - **To size** - size for extrusion in the direction.
49 - **From size** - size for extrusion in the opposite direction.
51 **TUI Command**: *model.addExtrusion(part, objects, size);*
53 **Arguments**: Part + list of objects + size.
55 **TUI Command**: *model.addExtrusion(part, objects, direction, size);*
57 **Arguments**: Part + list of objects + direction + size.
59 **TUI Command**: *model.addExtrusion(part, objects, toSize, fromSize);*
61 **Arguments**: Part + list of objects + to size + from size.
63 **TUI Command**: *model.addExtrusion(part, objects, direction, toSize, fromSize);*
65 **Arguments**: Part + list of objects + direction + to size + from size.
70 The Result of the operation will be an extruded shape:
72 .. image:: images/extrusion_by_sizes_result.png
78 **See Also** a sample TUI Script of :ref:`tui_create_extrusion_by_sizes` operation.
83 .. image:: images/Extrusion2.png
87 Extrusion: definition by bounding faces
89 - **Base objects** - contains a list of objects selected in the Object Browser or in the Viewer, which will be extruded.
90 - **Axis** if selected, it will be direction of extrusion, otherwise objects normals will be used.
91 - **To face** - a face can be selected to bound extrusion from one side.
92 - **To offset** - offset for extrusion or for bounding plane, if selected.
93 - **From face** - a face can be selected to bound extrusion from the other side.
94 - **From offset** - offset for extrusion or for bounding plane, if selected.
96 Planar face selected as a boundary of extrusion will be enlarged infinitely. As a result, extrusion bounded only by planar faces will be completed always.
97 On the other hand, if the boundary face is not planar, extrusion may fail, for example, in case of the base object cannot be projected to this face along given direction.
99 **TUI Command**: *model.addExtrusion(part, objects, toObject, toOffset, fromObject, fromOffset);*
101 **Arguments**: Part + list of objects + to object + to offset + from object + from offset.
103 **TUI Command**: *model.addExtrusion(part, objects, direction, toObject, toOffset, fromObject, fromOffset);*
105 **Arguments**: Part + list of objects + direction + to object + to offset + from object + from offset.
110 The Result of the operation will be an extruded shape:
112 .. image:: images/extrusion_by_bounding_planes_result.png
116 **Created Extrusion**
118 **See Also** a sample TUI Script of :ref:`tui_create_extrusion_by_bounding_planes` operation.