Salome HOME
afd78e1f636221bc6d37789c58b8282f87c4df1f
[modules/geom.git] / doc / salome / gui / GEOM / input / creating_extrusion.doc
1 /*!
2
3 \page create_extrusion_page Extrusion
4
5 \n To generate an \b Extrusion on an object in the <b>Main Menu</b>
6 select <b>New Entity - > Generation  - > Extrusion</b>
7
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
10 solid or compsolid).
11
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 + one or several shapes (vertex, edge, planar wire, face or
22 shell) serving as base objects + 1 vector (for direction of the
23 extrusion) + 1 value (dimension).
24
25 \image html extrusion1.png
26
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 + one or several shapes (vertex, edge, planar wire, face or
34 shell) serving as base objects + 2 vertices.
35
36 \image html extrusion2.png
37
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 + one or several shapes (vertex, edge, planar wire, face or
44 shell) serving as base objects + 3 axis directions.
45
46 \image html extrusion3.png
47
48 <b>Examples:</b>
49
50 \image html prisms_basessn.png
51 <center>Base Shape</center>
52
53 \image html prismssn.png
54 <center>Prisms</center>
55
56 Our <b>TUI Scripts</b> provide you with useful examples of creation of
57 \ref tui_creation_prism "Complex Geometric Objects".
58
59 */