]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/cylinder.htm
Salome HOME
Join modifications from branch OCC_debug_for_3_2_0b1
[modules/geom.git] / doc / salome / gui / GEOM / cylinder.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>Cylinder</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-weight:bold; }\r
20 p.whs4 { margin-left:40px; }\r
21 img_whs5 { border:none; width:312px; height:376px; float:none; border-style:none; }\r
22 img_whs6 { border:none; width:312px; height:376px; border-style:none; float:none; }\r
23 p.whs7 { margin-left:0px; }\r
24 img_whs8 { border:none; width:287px; height:272px; float:none; border-style:none; }\r
25 -->\r
26 </style><script type="text/javascript" language="JavaScript">\r
27 <!--\r
28 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
29 {\r
30   var strNSS = "<style type='text/css'>";\r
31   strNSS += "p.whs7 {margin-left:1pt; }";\r
32   strNSS +="</style>";\r
33   document.write(strNSS);\r
34 }\r
35 //-->\r
36 </script>\r
37 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
38 <!--\r
39 function reDo() {\r
40   if (innerWidth != origWidth || innerHeight != origHeight)\r
41      location.reload();\r
42 }\r
43 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
44         origWidth = innerWidth;\r
45         origHeight = innerHeight;\r
46         onresize = reDo;\r
47 }\r
48 onerror = null; \r
49 //-->\r
50 </script>\r
51 <style type="text/css">\r
52 <!--\r
53 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
54 -->\r
55 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
56 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
57 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
58 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
59 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
60 </head>\r
61 <body><script type="text/javascript" language="javascript1.2">\r
62 <!--\r
63 if (window.gbWhTopic)\r
64 {\r
65         if (window.addTocInfo)\r
66         {\r
67         addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nCylinder");\r
68 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
69 \r
70         }\r
71         if (window.writeBtnStyle)\r
72                 writeBtnStyle();\r
73 \r
74         if (window.writeIntopicBar)\r
75                 writeIntopicBar(1);\r
76 \r
77         if (window.setRelStartPage)\r
78         {\r
79         setRelStartPage("geom.htm");\r
80 \r
81                 autoSync(1);\r
82                 sendSyncInfo();\r
83                 sendAveInfoOut();\r
84         }\r
85 }\r
86 else\r
87         if (window.gbIE4)\r
88                 document.location.reload();\r
89 //-->\r
90 </script>\r
91 <h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cylinder</h1>\r
92 \r
93 <p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cylinder</B></span> \r
94  in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
95  style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Cylinder</B></span></p>\r
96 \r
97 <p>&nbsp;</p>\r
98 \r
99 <p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Cylinder</B></span>. \r
100  </p>\r
101 \r
102 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
103  Result <span style="font-weight: normal;">of each operation will be a</span></b> \r
104  GEOM_Object (SOLID).</p>\r
105 \r
106 <p class="whs2">&nbsp;</p>\r
107 \r
108 <p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Cylinder</B></span> \r
109  by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central \r
110  point of the cylinder base), the <span style="font-weight: bold;"><B>Vector</B></span> \r
111  (the axis of the cylinder), and its dimensions: the Radius and the Height.</p>\r
112 \r
113 <p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCylinder(Point, \r
114  Axis, Radius, Height)</I></span>, </p>\r
115 \r
116 <p class="whs3"><b style="font-weight: bold;">Arguments: \r
117  <span style="font-weight: normal;">&nbsp;</span></b><span \r
118  style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name \r
119  + 1 vertex + 1 vector + 2 values (Dimensions: radius and height).</font></span></p>\r
120 \r
121 <p class="whs4"><b style="font-weight: bold;"><img src="pics/cylinder1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs5"></b></p>\r
122 \r
123 <p>&nbsp;</p>\r
124 \r
125 <p><b><span style="font-weight: normal;">Secondly, you can define</b> a \r
126  </span><span style="font-weight: bold;"><B>Cylinder</B></span> by the given radius \r
127  and the height at &nbsp;the \r
128  origin of coordinate system. The axis of the cylinder will be collinear \r
129  to the OZ axis of the coordinate system. </p>\r
130 \r
131 <p><b style="font-weight: bold;">TUI Command: </b><span style="font-style: italic;"><I>geompy.MakeCylinderRH(Radius, \r
132  Height)</I></span></p>\r
133 \r
134 <p><b>Arguments: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>2 values \r
135  (Dimensions at origin: radius and height).</p>\r
136 \r
137 <p>&nbsp;</p>\r
138 \r
139 <p class="whs4"><img src="pics/cylinder2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs6"></p>\r
140 \r
141 <p class="whs7">&nbsp;&nbsp;</p>\r
142 \r
143 <p><b style="font-weight: bold;">Example:</b></p>\r
144 \r
145 <p>&nbsp;</p>\r
146 \r
147 <p class="whs4"><img src="pics/cylinders.png" x-maintain-ratio="TRUE" width="287px" height="272px" border="0" class="img_whs8"></p>\r
148 \r
149 <p class="whs4">&nbsp;</p>\r
150 \r
151 <p class="whs2">Our TUI Scripts provide you with useful examples \r
152  of creation of <a href="primitives.htm#bookmark1">Primitives</a>. </p>\r
153 \r
154 <p>&nbsp;</p>\r
155 \r
156 <script type="text/javascript" language="javascript1.2">\r
157 <!--\r
158 if (window.writeIntopicBar)\r
159         writeIntopicBar(0);\r
160 //-->\r
161 </script>\r
162 </body>\r
163 </html>\r