mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-25 17:00:35 +05:00
161 lines
5.9 KiB
HTML
Executable File
161 lines
5.9 KiB
HTML
Executable File
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<title>Cylinder</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
|
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
|
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
|
<!--
|
|
if (navigator.appName !="Netscape")
|
|
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
|
//-->
|
|
</script>
|
|
<style type="text/css">
|
|
<!--
|
|
img_whs1 { width:20px; height:20px; border-style:none; }
|
|
p.whs2 { font-size:12pt; }
|
|
p.whs3 { font-weight:bold; }
|
|
img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }
|
|
p.whs5 { margin-left:0px; }
|
|
p.whs6 { margin-left:40px; }
|
|
img_whs7 { border:none; width:287px; height:272px; float:none; border-style:none; }
|
|
-->
|
|
</style><script type="text/javascript" language="JavaScript">
|
|
<!--
|
|
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
|
{
|
|
var strNSS = "<style type='text/css'>";
|
|
strNSS += "p.whs5 {margin-left:1pt; }";
|
|
strNSS +="</style>";
|
|
document.write(strNSS);
|
|
}
|
|
//-->
|
|
</script>
|
|
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
|
<!--
|
|
function reDo() {
|
|
if (innerWidth != origWidth || innerHeight != origHeight)
|
|
location.reload();
|
|
}
|
|
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
|
origWidth = innerWidth;
|
|
origHeight = innerHeight;
|
|
onresize = reDo;
|
|
}
|
|
onerror = null;
|
|
//-->
|
|
</script>
|
|
<style type="text/css">
|
|
<!--
|
|
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
|
-->
|
|
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
|
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
|
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
|
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
|
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
|
</head>
|
|
<body><script type="text/javascript" language="javascript1.2">
|
|
<!--
|
|
if (window.gbWhTopic)
|
|
{
|
|
if (window.addTocInfo)
|
|
{
|
|
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCylinder");
|
|
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
|
|
}
|
|
if (window.writeBtnStyle)
|
|
writeBtnStyle();
|
|
|
|
if (window.writeIntopicBar)
|
|
writeIntopicBar(1);
|
|
|
|
if (window.setRelStartPage)
|
|
{
|
|
setRelStartPage("geom.htm");
|
|
|
|
autoSync(1);
|
|
sendSyncInfo();
|
|
sendAveInfoOut();
|
|
}
|
|
}
|
|
else
|
|
if (window.gbIE4)
|
|
document.location.reload();
|
|
//-->
|
|
</script>
|
|
<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>
|
|
|
|
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cylinder</B></span>
|
|
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
|
|
style="font-weight: bold;"><B>New Entity - > Primitives - > Cylinder</B></span></p>
|
|
|
|
<p> </p>
|
|
|
|
<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Cylinder</B></span>.
|
|
</p>
|
|
|
|
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
|
Result <span style="font-weight: normal;">of each operation will be a</span></b>
|
|
GEOM_Object (SOLID).</p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Cylinder</B></span>
|
|
by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central
|
|
point of the cylinder base), the <span style="font-weight: bold;"><B>Vector</B></span>
|
|
(the axis of the cylinder), and its dimensions: the Radius and the Height.</p>
|
|
|
|
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCylinder(Point,
|
|
Axis, Radius, Height)</I></span>, </p>
|
|
|
|
<p class="whs3"><b style="font-weight: bold;">Arguments:
|
|
<span style="font-weight: normal;"> </span></b><span
|
|
style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name
|
|
+ 1 vertex + 1 vector + 2 values (Dimensions: radius and height).</font></span></p>
|
|
|
|
<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>
|
|
|
|
<p> </p>
|
|
|
|
<p><b><span style="font-weight: normal;">Secondly, you can define</b> a
|
|
</span><span style="font-weight: bold;"><B>Cylinder</B></span> by the given radius
|
|
and the height at the
|
|
origin of coordinate system. The axis of the cylinder will be collinear
|
|
to the OZ axis of the coordinate system. </p>
|
|
|
|
<p><b style="font-weight: bold;">TUI Command: </b><span style="font-style: italic;"><I>geompy.MakeCylinderRH(Radius,
|
|
Height)</I></span></p>
|
|
|
|
<p><span><b style="font-weight: bold;">Arguments</span>: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
|
|
+ </font></span>2 values (Dimensions at origin: radius and height).</p>
|
|
|
|
<p class="whs5"> <img src="pics/cylinder2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>
|
|
|
|
<p> </p>
|
|
|
|
<p><b style="font-weight: bold;">Example:</b></p>
|
|
|
|
<p> </p>
|
|
|
|
<p class="whs6"><img src="pics/cylinders.png" x-maintain-ratio="TRUE" width="287px" height="272px" border="0" class="img_whs7"></p>
|
|
|
|
<p class="whs6"> </p>
|
|
|
|
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
of creation of <a href="primitives.htm#bookmark1">Primitives</a>. </p>
|
|
|
|
<p> </p>
|
|
|
|
<script type="text/javascript" language="javascript1.2">
|
|
<!--
|
|
if (window.writeIntopicBar)
|
|
writeIntopicBar(0);
|
|
//-->
|
|
</script>
|
|
</body>
|
|
</html>
|