]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/extrusion.htm
Salome HOME
0b7d9f88f216cd8443a60b7caa30463bf9abf710
[modules/geom.git] / doc / salome / gui / GEOM / extrusion.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Extrusion</title>\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
9 <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\r
17 img_whs1 { width:20px; height:20px; border-style:none; }\r
18 p.whs2 { font-size:12pt; }\r
19 p.whs3 { font-size:12pt; margin-left:40px; }\r
20 img_whs4 { border:none; width:312px; height:350px; float:none; border-style:none; }\r
21 p.whs5 { font-size:12pt; font-weight:bold; }\r
22 p.whs6 { font-size:12pt; font-style:italic; margin-left:40px; }\r
23 img_whs7 { border:none; float:none; width:300px; height:175px; border-style:none; }\r
24 img_whs8 { border:none; width:350px; height:175px; float:none; border-style:none; }\r
25 -->\r
26 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
27 <!--\r
28 function reDo() {\r
29   if (innerWidth != origWidth || innerHeight != origHeight)\r
30      location.reload();\r
31 }\r
32 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
33         origWidth = innerWidth;\r
34         origHeight = innerHeight;\r
35         onresize = reDo;\r
36 }\r
37 onerror = null; \r
38 //-->\r
39 </script>\r
40 <style type="text/css">\r
41 <!--\r
42 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
43 p.WebHelpNavBar { text-align:right; }\r
44 -->\r
45 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
46 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
47 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
48 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
49 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
50 <script type="text/javascript" language="javascript1.2">\r
51 <!--\r
52 if (window.gbWhTopic)\r
53 {\r
54         if (window.setRelStartPage)\r
55         {\r
56         addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nExtrusion");\r
57 addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");\r
58 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");\r
59 \r
60         }\r
61 \r
62 \r
63         if (window.setRelStartPage)\r
64         {\r
65         setRelStartPage("index.htm");\r
66 \r
67                 autoSync(1);\r
68                 sendSyncInfo();\r
69                 sendAveInfoOut();\r
70         }\r
71 \r
72 }\r
73 else\r
74         if (window.gbIE4)\r
75                 document.location.reload();\r
76 //-->\r
77 </script>\r
78 </head>\r
79 <body><script type="text/javascript" language="javascript1.2">\r
80 <!--\r
81 if (window.writeIntopicBar)\r
82         writeIntopicBar(4);\r
83 //-->\r
84 </script>\r
85 <h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</b></font></span>Extrusion</h1>\r
86 \r
87 <p><b><span style="font-weight: normal;">T</b>o</span> generate an <span \r
88  style="font-weight: bold;"><B>Extrusion</B></span> on an object in the <span \r
89  style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New \r
90  Entity - &gt; Generation &nbsp;- \r
91  &gt; Extrusion</B></span></p>\r
92 \r
93 <p class="whs2">&nbsp;</p>\r
94 \r
95 <p class="whs2">To create an Extrusion (Prism) you should define \r
96  the <span style="font-weight: bold;"><B>Base Shape </B></span>(a basis of the \r
97  extrusion)<span style="font-weight: bold;"><B>, </B></span>the <span style="font-weight: bold;"><B>Vector</B></span> \r
98  (a direction of the extrusion) and the <span style="font-weight: bold;"><B>Height</B></span> \r
99  of extrusion. &nbsp;</p>\r
100 \r
101 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
102  Result <span style="font-weight: normal;">of the operation will be a</span></b> \r
103  GEOM_Object (edge, face, solid or compsolid).</p>\r
104 \r
105 <p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI \r
106  Command :</b><i> </i></B></span><span style="font-style: italic;"><I>geompy.MakePrismVecH(Base, \r
107  Vector, Height)</I></span></p>\r
108 \r
109 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> \r
110  Name + 1 shape (vertex, edge, wire, face or shell) serving as base object \r
111  + 1 vector (for direction of the extrusion) + 1 value (dimension).</font></span></p>\r
112 \r
113 <p>&nbsp;</p>\r
114 \r
115 <p class="whs3"><img src="pics/extrusion.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs4"></p>\r
116 \r
117 <p class="whs2">&nbsp;</p>\r
118 \r
119 <p class="whs5">NB! <span style="font-weight: normal;">The \r
120  is another way to create an</span> Extrusion, <span style="font-weight: normal;">which \r
121  is currently accessible only via</span> TUI commands.</p>\r
122 \r
123 <p class="whs5"><span style="font-weight: normal;">You \r
124  can define the</span> Extrusion <span style="font-weight: normal;">by \r
125  the </span>Base Shape<span style="font-weight: normal;"> and the </span>Start<span \r
126  style="font-weight: normal;"> and </span>End Point<span style="font-weight: normal;"> \r
127  of the </span>Vector<span style="font-weight: normal;"> &nbsp;(in \r
128  this way you don't need to create it in advance).</span> </p>\r
129 \r
130 <p class="whs5"><b style="font-weight: bold;">TUI \r
131  Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakePrism(Base, \r
132  Point1, Point2) </I></span></p>\r
133 \r
134 <p>&nbsp;</p>\r
135 \r
136 <p class="whs3">&nbsp;</p>\r
137 \r
138 <p class="whs2"><b style="font-weight: bold;">Examples:</b></p>\r
139 \r
140 <p class="whs2">&nbsp;</p>\r
141 \r
142 <p class="whs6">Base Shape &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prisms</p>\r
143 \r
144 <p class="whs3"><img src="pics/prisms_basessn.png" x-maintain-ratio="TRUE" width="300px" height="175px" border="0" class="img_whs7"> <img src="pics/prismssn.png" x-maintain-ratio="TRUE" width="350px" height="175px" border="0" class="img_whs8"> &nbsp;</p>\r
145 \r
146 <p class="whs2">&nbsp;</p>\r
147 \r
148 <p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
149  provide you with useful examples of creation of <a href="complex_objects.htm#bookmark">Complex \r
150  Geometric Objects</a>. </p>\r
151 \r
152 <p>&nbsp;</p>\r
153 \r
154 <script type="text/javascript" language="javascript1.2">\r
155 <!--\r
156 if (window.writeIntopicBar)\r
157         writeIntopicBar(0);\r
158 //-->\r
159 </script>\r
160 </body>\r
161 </html>\r