3 \page create_extrusion_page Extrusion
5 \n To generate an \b Extrusion on an object in the <b>Main Menu</b>
6 select <b>New Entity - > Generation - > Extrusion</b>
8 \n There are 3 algorithms for creation of an \b Extrusion (Prism).
9 \n The \b Result of the operation will be a GEOM_Object (edge, face, shell
12 \n Firstly, you can define the <b>Base Shape</b> (a basis of the
13 extrusion), the \b Vector (a direction of the extrusion) and the \b
14 Height of extrusion.<br>
15 It is possible to select in GUI several Base Shapes to make several extrusions (using Shift button).
16 \n The \b Result of the operation will be a GEOM_Object (edge, face,
17 shell, solid or compsolid).
18 \n <b> Both Directions </b> checkbox allows extruiding the source
19 object both forward and backward.
20 \n <b>TUI Command:</b> <em>geompy.MakePrismVecH(Base, Vector, Height)</em>
21 \n <b>Arguments:</b> Name + 1 shape (vertex, edge, planar wire, face or
22 shell) serving as base object + 1 vector (for direction of the
23 extrusion) + 1 value (dimension).
25 \image html extrusion1.png
27 \n Secondly, you can define the \b Extrusion by the <b>Base Shape(s)</b>
28 and the \b Start and <b>End Point</b> of the \b Vector (in this way
29 you don't need to create it in advance).
30 \n <b> Both Directions </b> checkbox allows extruiding the source
31 object both forward and backward.
32 \n <b>TUI Command:</b> <em>geompy.MakePrism(Base, Point1, Point2)</em>
33 \n <b>Arguments:</b> Name + 1 shape (vertex, edge, planar wire, face or
34 shell) serving as base object + 2 vertices.
36 \image html extrusion2.png
38 \n Finally, you can define the \b Extrusion by the <b>Base Shape(s)</b>
39 and the <b>DX, DY, DZ</b> Vector\n
40 <b>Both Directions</b> checkbox allows extruding the
41 source objects both forward and backward.
42 \n <b>TUI Command:</b> <em>geompy.MakePrismDXDYDZ(Base, dx, dy, dz)</em>
43 \n <b>Arguments:</b> Name + 1 shape (vertex, edge, planar wire, face or
44 shell) serving as base object + 3 axis directions.
46 \image html extrusion3.png
50 \image html prisms_basessn.png
51 <center>Base Shape</center>
53 \image html prismssn.png
54 <center>Prisms</center>
56 Our <b>TUI Scripts</b> provide you with useful examples of creation of
57 \ref tui_creation_prism "Complex Geometric Objects".