2005-11-24 20:34:00 +05:00
|
|
|
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
|
|
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Sphere</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; }
|
2006-05-06 14:44:32 +06:00
|
|
|
p.whs3 { margin-left:40px; }
|
|
|
|
img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
|
|
|
|
p.whs5 { font-size:12pt; font-weight:bold; }
|
2005-11-24 20:34:00 +05:00
|
|
|
img_whs6 { border:none; width:286px; height:284px; float:none; border-style:none; }
|
|
|
|
p.whs7 { margin-left:40px; font-weight:bold; }
|
|
|
|
-->
|
|
|
|
</style><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; }
|
2006-06-01 17:32:40 +06:00
|
|
|
p.WebHelpNavBar { text-align:right; }
|
2005-11-24 20:34:00 +05:00
|
|
|
-->
|
|
|
|
</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>
|
2006-06-01 17:32:40 +06:00
|
|
|
<script type="text/javascript" language="javascript1.2">
|
2005-11-24 20:34:00 +05:00
|
|
|
<!--
|
|
|
|
if (window.gbWhTopic)
|
|
|
|
{
|
2006-06-01 17:32:40 +06:00
|
|
|
if (window.setRelStartPage)
|
2005-11-24 20:34:00 +05:00
|
|
|
{
|
2006-05-06 14:44:32 +06:00
|
|
|
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nSphere");
|
2006-06-01 17:32:40 +06:00
|
|
|
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
|
|
|
|
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (window.setRelStartPage)
|
|
|
|
{
|
2006-06-01 17:32:40 +06:00
|
|
|
setRelStartPage("index.htm");
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
autoSync(1);
|
|
|
|
sendSyncInfo();
|
|
|
|
sendAveInfoOut();
|
|
|
|
}
|
2006-06-01 17:32:40 +06:00
|
|
|
|
2005-11-24 20:34:00 +05:00
|
|
|
}
|
|
|
|
else
|
|
|
|
if (window.gbIE4)
|
|
|
|
document.location.reload();
|
|
|
|
//-->
|
|
|
|
</script>
|
2006-06-01 17:32:40 +06:00
|
|
|
</head>
|
|
|
|
<body><script type="text/javascript" language="javascript1.2">
|
|
|
|
<!--
|
|
|
|
if (window.writeIntopicBar)
|
|
|
|
writeIntopicBar(4);
|
|
|
|
//-->
|
|
|
|
</script>
|
2005-11-24 20:34:00 +05:00
|
|
|
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Sphere</h1>
|
|
|
|
|
|
|
|
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Sphere</B></span>
|
|
|
|
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
|
|
|
|
style="font-weight: bold;"><B>New Entity - > Primitives - > Sphere</B></span></p>
|
|
|
|
|
|
|
|
<p> </p>
|
|
|
|
|
|
|
|
<p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Sphere</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> </p>
|
|
|
|
|
|
|
|
<p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Sphere</B></span>
|
|
|
|
by the <span style="font-weight: bold;"><B>Center Point</B></span> and the <span
|
|
|
|
style="font-weight: bold;"><B>Radius</B></span>.</p>
|
|
|
|
|
|
|
|
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeSphere(Point,
|
|
|
|
Radius)</I></span></p>
|
|
|
|
|
|
|
|
<p><b style="font-weight: bold;">Arguments:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
|
|
|
|
+ </font></span>1 vertex + 1 value (Radius).</p>
|
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs3"><b style="font-weight: bold;"><img src="pics/sphere1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></b></p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
<p> </p>
|
|
|
|
|
|
|
|
<p><b style="font-weight: bold;"><span style="font-weight: normal;">Secondly,
|
|
|
|
you can define a</span> Sphere <span style="font-weight: normal;">with
|
|
|
|
the center at the origin of coordinate system by the</span> Radius.</b></p>
|
|
|
|
|
|
|
|
<p><b style="font-weight: bold;">TUI Command: <span style="font-weight: normal; font-style: italic;"><I>geompy.
|
|
|
|
MakeSphereR(Radius)</I></span></b></p>
|
|
|
|
|
|
|
|
<p><b style="font-weight: bold;">Arguments:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
|
|
|
|
+ </font></span>1 value
|
|
|
|
(Radius from the origin).</p>
|
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs3"><img src="pics/sphere2.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs5"> </p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs5">NB! <span style="font-weight: normal;">The
|
2005-11-24 20:34:00 +05:00
|
|
|
is another way to create a </span>Sphere<span style="font-weight: normal;">,
|
|
|
|
which is currently accessible only via</span> TUI <span style="font-weight: normal;">commands.</span></p>
|
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs5"><span style="font-weight: normal;">You
|
2005-11-24 20:34:00 +05:00
|
|
|
can define the</span> Sphere <span style="font-weight: normal;">by the
|
2006-02-07 20:58:35 +05:00
|
|
|
coordinates of the</span> Center Point <span style="font-weight: normal;">and
|
|
|
|
its</span> Radius <span style="font-weight: normal;">(in this way you
|
|
|
|
don't need to create it in advance).</span> </p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs5"><b style="font-weight: bold;">TUI
|
2005-11-24 20:34:00 +05:00
|
|
|
Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeSphere(X,
|
|
|
|
Y, Z, Radius)</I></span></p>
|
|
|
|
|
|
|
|
<p> </p>
|
|
|
|
|
|
|
|
<p><b style="font-weight: bold;">Example:</b></p>
|
|
|
|
|
|
|
|
<p> </p>
|
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs3"><img src="pics/spheres.png" x-maintain-ratio="TRUE" width="286px" height="284px" border="0" class="img_whs6"></p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
<p class="whs7"> </p>
|
|
|
|
|
|
|
|
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
|
|
of creation of <a href="primitives.htm#bookmark2">Primitives</a>. </p>
|
|
|
|
|
|
|
|
<p> </p>
|
|
|
|
|
|
|
|
<script type="text/javascript" language="javascript1.2">
|
|
|
|
<!--
|
|
|
|
if (window.writeIntopicBar)
|
|
|
|
writeIntopicBar(0);
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|