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 p.whs3 { margin-left:40px; }
\r
20 img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
\r
21 p.whs5 { font-size:12pt; font-weight:bold; }
\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
42 p.WebHelpNavBar { text-align:right; }
\r
44 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
\r
45 <script type="text/javascript" language="javascript" src="whver.js"></script>
\r
46 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
\r
47 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
\r
48 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
\r
49 <script type="text/javascript" language="javascript1.2">
\r
51 if (window.gbWhTopic)
\r
53 if (window.setRelStartPage)
\r
55 addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nSphere");
\r
56 addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
\r
57 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
\r
62 if (window.setRelStartPage)
\r
64 setRelStartPage("index.htm");
\r
74 document.location.reload();
\r
78 <body><script type="text/javascript" language="javascript1.2">
\r
80 if (window.writeIntopicBar)
\r
84 <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
86 <p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Sphere</B></span>
\r
87 in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
\r
88 style="font-weight: bold;"><B>New Entity - > Primitives - > Sphere</B></span></p>
\r
92 <p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Sphere</B></span>.
\r
95 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
\r
96 Result <span style="font-weight: normal;">of each operation will be a</span></b>
\r
97 GEOM_Object (SOLID).</p>
\r
101 <p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Sphere</B></span>
\r
102 by the <span style="font-weight: bold;"><B>Center Point</B></span> and the <span
\r
103 style="font-weight: bold;"><B>Radius</B></span>.</p>
\r
105 <p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeSphere(Point,
\r
106 Radius)</I></span></p>
\r
108 <p><b style="font-weight: bold;">Arguments:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
\r
109 + </font></span>1 vertex + 1 value (Radius).</p>
\r
111 <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>
\r
115 <p><b style="font-weight: bold;"><span style="font-weight: normal;">Secondly,
\r
116 you can define a</span> Sphere <span style="font-weight: normal;">with
\r
117 the center at the origin of coordinate system by the</span> Radius.</b></p>
\r
119 <p><b style="font-weight: bold;">TUI Command: <span style="font-weight: normal; font-style: italic;"><I>geompy.
\r
120 MakeSphereR(Radius)</I></span></b></p>
\r
122 <p><b style="font-weight: bold;">Arguments:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
\r
123 + </font></span>1 value
\r
124 (Radius from the origin).</p>
\r
126 <p class="whs3"><img src="pics/sphere2.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
\r
128 <p class="whs5"> </p>
\r
130 <p class="whs5">NB! <span style="font-weight: normal;">The
\r
131 is another way to create a </span>Sphere<span style="font-weight: normal;">,
\r
132 which is currently accessible only via</span> TUI <span style="font-weight: normal;">commands.</span></p>
\r
134 <p class="whs5"><span style="font-weight: normal;">You
\r
135 can define the</span> Sphere <span style="font-weight: normal;">by the
\r
136 coordinates of the</span> Center Point <span style="font-weight: normal;">and
\r
137 its</span> Radius <span style="font-weight: normal;">(in this way you
\r
138 don't need to create it in advance).</span> </p>
\r
140 <p class="whs5"><b style="font-weight: bold;">TUI
\r
141 Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeSphere(X,
\r
142 Y, Z, Radius)</I></span></p>
\r
146 <p><b style="font-weight: bold;">Example:</b></p>
\r
150 <p class="whs3"><img src="pics/spheres.png" x-maintain-ratio="TRUE" width="286px" height="284px" border="0" class="img_whs6"></p>
\r
152 <p class="whs7"> </p>
\r
154 <p class="whs2">Our TUI Scripts provide you with useful examples
\r
155 of creation of <a href="primitives.htm#bookmark2">Primitives</a>. </p>
\r
159 <script type="text/javascript" language="javascript1.2">
\r
161 if (window.writeIntopicBar)
\r
162 writeIntopicBar(0);
\r