1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
6 <title>Sphere</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 img_whs3 { border:none; width:312px; height:315px; float:none; border-style:none; }
\r
20 p.whs4 { font-size:12pt; font-weight:bold; }
\r
21 p.whs5 { margin-left:40px; }
\r
22 img_whs6 { border:none; width:286px; height:284px; float:none; border-style:none; }
\r
23 p.whs7 { margin-left:40px; font-weight:bold; }
\r
25 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
28 if (innerWidth != origWidth || innerHeight != origHeight)
\r
31 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
32 origWidth = innerWidth;
\r
33 origHeight = innerHeight;
\r
39 <style type="text/css">
\r
41 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
43 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
\r
44 <script type="text/javascript" language="javascript" src="whver.js"></script>
\r
45 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
\r
46 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
\r
47 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
\r
49 <body><script type="text/javascript" language="javascript1.2">
\r
51 if (window.gbWhTopic)
\r
53 if (window.addTocInfo)
\r
55 addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nSphere");
\r
56 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
59 if (window.writeBtnStyle)
\r
62 if (window.writeIntopicBar)
\r
65 if (window.setRelStartPage)
\r
67 setRelStartPage("geom.htm");
\r
76 document.location.reload();
\r
79 <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>
\r
81 <p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Sphere</B></span>
\r
82 in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
\r
83 style="font-weight: bold;"><B>New Entity - > Primitives - > Sphere</B></span></p>
\r
87 <p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Sphere</B></span>.
\r
90 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
\r
91 Result <span style="font-weight: normal;">of each operation will be a</span></b>
\r
92 GEOM_Object (SOLID).</p>
\r
96 <p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Sphere</B></span>
\r
97 by the <span style="font-weight: bold;"><B>Center Point</B></span> and the <span
\r
98 style="font-weight: bold;"><B>Radius</B></span>.</p>
\r
100 <p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeSphere(Point,
\r
101 Radius)</I></span></p>
\r
103 <p><b style="font-weight: bold;">Arguments:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
\r
104 + </font></span>1 vertex + 1 value (Radius).</p>
\r
106 <p><b style="font-weight: bold;"><img src="pics/sphere1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs3"></b></p>
\r
110 <p><b style="font-weight: bold;"><span style="font-weight: normal;">Secondly,
\r
111 you can define a</span> Sphere <span style="font-weight: normal;">with
\r
112 the center at the origin of coordinate system by the</span> Radius.</b></p>
\r
114 <p><b style="font-weight: bold;">TUI Command: <span style="font-weight: normal; font-style: italic;"><I>geompy.
\r
115 MakeSphereR(Radius)</I></span></b></p>
\r
117 <p><b style="font-weight: bold;">Arguments:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
\r
118 + </font></span>1 value
\r
119 (Radius from the origin).</p>
\r
121 <p><img src="pics/sphere2.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs3"></p>
\r
123 <p class="whs4"> </p>
\r
125 <p class="whs4">NB! <span style="font-weight: normal;">The
\r
126 is another way to create a </span>Sphere<span style="font-weight: normal;">,
\r
127 which is currently accessible only via</span> TUI <span style="font-weight: normal;">commands.</span></p>
\r
129 <p class="whs4"><span style="font-weight: normal;">You
\r
130 can define the</span> Sphere <span style="font-weight: normal;">by the
\r
131 coordinates of the</span> Center Point<span style="font-weight: normal;">
\r
132 </span>(in this way you don't need to create it in advance). </p>
\r
134 <p class="whs4"><b style="font-weight: bold;">TUI
\r
135 Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeSphere(X,
\r
136 Y, Z, Radius)</I></span></p>
\r
140 <p><b style="font-weight: bold;">Example:</b></p>
\r
144 <p class="whs5"><img src="pics/spheres.png" x-maintain-ratio="TRUE" width="286px" height="284px" border="0" class="img_whs6"></p>
\r
146 <p class="whs7"> </p>
\r
148 <p class="whs2">Our TUI Scripts provide you with useful examples
\r
149 of creation of <a href="primitives.htm#bookmark2">Primitives</a>. </p>
\r
153 <script type="text/javascript" language="javascript1.2">
\r
155 if (window.writeIntopicBar)
\r
156 writeIntopicBar(0);
\r