1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\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
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
15 <style type="text/css">
\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 img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }
\r
21 p.whs5 { margin-left:0px; }
\r
22 p.whs6 { margin-left:40px; }
\r
23 img_whs7 { border:none; width:287px; height:272px; float:none; border-style:none; }
\r
25 </style><script type="text/javascript" language="JavaScript">
\r
27 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\r
29 var strNSS = "<style type='text/css'>";
\r
30 strNSS += "p.whs5 {margin-left:1pt; }";
\r
31 strNSS +="</style>";
\r
32 document.write(strNSS);
\r
36 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
39 if (innerWidth != origWidth || innerHeight != origHeight)
\r
42 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
43 origWidth = innerWidth;
\r
44 origHeight = innerHeight;
\r
50 <style type="text/css">
\r
52 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
54 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
\r
55 <script type="text/javascript" language="javascript" src="whver.js"></script>
\r
56 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
\r
57 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
\r
58 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
\r
60 <body><script type="text/javascript" language="javascript1.2">
\r
62 if (window.gbWhTopic)
\r
64 if (window.addTocInfo)
\r
66 addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCylinder");
\r
67 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
70 if (window.writeBtnStyle)
\r
73 if (window.writeIntopicBar)
\r
76 if (window.setRelStartPage)
\r
78 setRelStartPage("geom.htm");
\r
87 document.location.reload();
\r
90 <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 <p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cylinder</B></span>
\r
93 in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
\r
94 style="font-weight: bold;"><B>New Entity - > Primitives - > Cylinder</B></span></p>
\r
98 <p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Cylinder</B></span>.
\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 each operation will be a</span></b>
\r
103 GEOM_Object (SOLID).</p>
\r
105 <p class="whs2"> </p>
\r
107 <p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Cylinder</B></span>
\r
108 by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central
\r
109 point of the cylinder base), the <span style="font-weight: bold;"><B>Vector</B></span>
\r
110 (the axis of the cylinder), and its dimensions: the Radius and the Height.</p>
\r
112 <p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCylinder(Point,
\r
113 Axis, Radius, Height)</I></span>, </p>
\r
115 <p class="whs3"><b style="font-weight: bold;">Arguments:
\r
116 <span style="font-weight: normal;"> </span></b><span
\r
117 style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name
\r
118 + 1 vertex + 1 vector + 2 values (Dimensions: radius and height).</font></span></p>
\r
120 <p><b style="font-weight: bold;"><img src="pics/cylinder1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></b></p>
\r
124 <p><b><span style="font-weight: normal;">Secondly, you can define</b> a
\r
125 </span><span style="font-weight: bold;"><B>Cylinder</B></span> by the given radius
\r
126 and the height at the
\r
127 origin of coordinate system. The axis of the cylinder will be collinear
\r
128 to the OZ axis of the coordinate system. </p>
\r
130 <p><b style="font-weight: bold;">TUI Command: </b><span style="font-style: italic;"><I>geompy.MakeCylinderRH(Radius,
\r
131 Height)</I></span></p>
\r
133 <p><span><b style="font-weight: bold;">Arguments</span>: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
\r
134 + </font></span>2 values (Dimensions at origin: radius and height).</p>
\r
136 <p class="whs5"> <img src="pics/cylinder2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>
\r
140 <p><b style="font-weight: bold;">Example:</b></p>
\r
144 <p class="whs6"><img src="pics/cylinders.png" x-maintain-ratio="TRUE" width="287px" height="272px" border="0" class="img_whs7"></p>
\r
146 <p class="whs6"> </p>
\r
148 <p class="whs2">Our TUI Scripts provide you with useful examples
\r
149 of creation of <a href="primitives.htm#bookmark1">Primitives</a>. </p>
\r
153 <script type="text/javascript" language="javascript1.2">
\r
155 if (window.writeIntopicBar)
\r
156 writeIntopicBar(0);
\r