1 .. |extrusion_cut_btn.icon| image:: images/extrusion_cut_btn.png
6 Extrusion Cut feature extrudes selected objects along their normals or selected axis and cuts the result from other objects.
8 To perform Extrusion Cut in the active part:
10 #. select in the Main Menu *Features - > Extrusion Cut* item or
11 #. click |extrusion_cut_btn.icon| **Extrusion Cut** button in the toolbar
13 The following property panel will be opened:
15 .. image:: images/StartSketch.png
21 There are two variants of the property panel for Extrusion Cut depending on the chosen option:
23 .. image:: images/extrusion_by_sizes.png
25 **By Sizes** extrudes objects by specifying sizes.
27 .. image:: images/extrusion_by_bounding_planes.png
29 **By Bounding Planes** extrudes objects by specifying bounding planes and offsets.
35 .. image:: images/ExtrusionCut1.png
39 Extrusion Cut: definition by sizes
41 - **Base objects** - contains a list of objects selected in the Object Browser or in the Viewer, which will be extruded.
42 - **Axis** - if selected, it will be the direction of extrusion, otherwise objects normals will be used.
43 - **To size** - size for extrusion in the direction.
44 - **From size** - size for extrusion in the opposite direction.
45 - **Cut from** - contains a list of objects which will be cut from the result of extrusion.
49 .. py:function:: model.addExtrusionCut(part, objectsToExtrude, size, objectsToCut)
51 :param part: The current part object.
52 :param list: A list of objects for extrusion.
53 :param number: Size of extrucion.
54 :param list: A list of objects to cut from.
55 :return: Created object.
57 .. py:function:: model.addExtrusionCut(part, objects, direction, size, objectsToCut)
59 :param part: The current part object.
60 :param list: A list of objects for extrusion.
61 :param object: A direction of extrusion
62 :param number: Size of extrucion.
63 :param list: A list of objects to cut from.
64 :return: Created object.
66 .. py:function:: model.addExtrusionCut(part, objects, toSize, fromSize, objectsToCut)
68 :param part: The current part object.
69 :param list: A list of objects for extrusion.
70 :param number: "Size to" value.
71 :param number: "Size from" value.
72 :param list: A list of objects to cut from.
73 :return: Created object.
75 .. py:function:: model.addExtrusionCut(part, objects, direction, toSize, fromSize, objectsToCut)
77 :param part: The current part object.
78 :param list: A list of objects for extrusion.
79 :param object: A direction of extrusion
80 :param number: "Size to" value.
81 :param number: "Size from" value.
82 :param list: A list of objects to cut from.
83 :return: Created object.
88 The Result of the operation will be an extruded shape:
90 .. image:: images/extrusion_cut_by_sizes_result.png
94 **Created Extrusion Cut**
96 **See Also** a sample TUI Script of :ref:`tui_create_extrusion_cut_by_sizes` operation.
101 .. image:: images/ExtrusionCut2.png
105 Extrusion Cut: definition by bounding planes
107 - **Base objects** - contains a list of objects selected in the Object Browser or in the Viewer, which will be extruded.
108 - **Axis** - if selected, it will be the direction of extrusion, otherwise objects normals will be used.
109 - **To plane** - a planar face can be selected to bound extrusion from one side.
110 - **To offset** - offset for extrusion or for a bounding plane, if selected.
111 - **From plane** - a planar face can be selected to bound extrusion from the other side.
112 - **From offset** - offset for extrusion or for a bounding plane, if selected.
113 - **Cut from** - contains a list of objects which will be cut from the result of extrusion.
117 .. py:function:: model.addExtrusionCut(part, objects, toObject, toOffset, fromObject, fromOffset, objectsToCut)
119 :param part: The current part object.
120 :param list: A list of objects for extrusion.
121 :param object: "To object".
122 :param number: "Offset to" value.
123 :param object: "From object".
124 :param number: "Offset from" value.
125 :param list: A list of objects to cut from.
126 :return: Created object.
128 .. py:function:: model.addExtrusionCut(part, objects, direction, toObject, toOffset, fromObject, fromOffset, objectsToCut)
130 :param part: The current part object.
131 :param list: A list of objects for extrusion.
132 :param object: A direction of extrusion
133 :param object: "To object".
134 :param number: "Offset to" value.
135 :param object: "From object".
136 :param number: "Offset from" value.
137 :param list: A list of objects to cut from.
138 :return: Created object.
143 The Result of the operation will be an extruded shape:
145 .. image:: images/extrusion_cut_by_bounding_planes_result.png
149 **Created Extrusion Cut**
151 **See Also** a sample TUI Script of :ref:`tui_create_extrusion_cut_by_bounding_planes` operation.