Salome HOME
PAL12557: Documentation for scripts is not up to date.
[modules/geom.git] / doc / salome / gui / GEOM / cone.htm
index 46b250bef1a7db775c18b2c8f644b0ed6fbb2124..7c41e1a56e98fbbe97af7ec8a1ce04bfe88ec5bd 100755 (executable)
@@ -17,23 +17,14 @@ if (navigator.appName !="Netscape")
 img_whs1 { width:20px; height:20px; border-style:none; }\r
 p.whs2 { font-size:12pt; }\r
 p.whs3 { font-weight:bold; }\r
-img_whs4 { border:none; width:312px; height:402px; float:none; border-style:none; }\r
-p.whs5 { margin-left:0px; }\r
-p.whs6 { font-size:12pt; margin-left:40px; }\r
-img_whs7 { border:none; width:276px; height:282px; float:none; border-style:none; }\r
+p.whs4 { margin-left:40px; }\r
+img_whs5 { border:none; width:312px; height:402px; float:none; border-style:none; }\r
+p.whs6 { font-weight:bold; margin-left:40px; }\r
+img_whs7 { border:none; width:312px; height:402px; float:none; border-style:none; }\r
+p.whs8 { font-size:12pt; margin-left:40px; }\r
+img_whs9 { border:none; width:276px; height:282px; float:none; border-style:none; }\r
 -->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs5 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
+</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
 <!--\r
 function reDo() {\r
   if (innerWidth != origWidth || innerHeight != origHeight)\r
@@ -50,43 +41,48 @@ onerror = null;
 <style type="text/css">\r
 <!--\r
 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
+p.WebHelpNavBar { text-align:right; }\r
 -->\r
 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
+<script type="text/javascript" language="javascript1.2">\r
 <!--\r
 if (window.gbWhTopic)\r
 {\r
-       if (window.addTocInfo)\r
+       if (window.setRelStartPage)\r
        {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCone");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
+       addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nCone");\r
+addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");\r
+addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");\r
 \r
        }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
 \r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
 \r
        if (window.setRelStartPage)\r
        {\r
-       setRelStartPage("geom.htm");\r
+       setRelStartPage("index.htm");\r
 \r
                autoSync(1);\r
                sendSyncInfo();\r
                sendAveInfoOut();\r
        }\r
+\r
 }\r
 else\r
        if (window.gbIE4)\r
                document.location.reload();\r
 //-->\r
 </script>\r
+</head>\r
+<body><script type="text/javascript" language="javascript1.2">\r
+<!--\r
+if (window.writeIntopicBar)\r
+       writeIntopicBar(4);\r
+//-->\r
+</script>\r
 <h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</font></span>Cone</h1>\r
 \r
 <p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cone</B></span> \r
@@ -118,7 +114,9 @@ else
  + 1 vector (for direction) + 3 values (Radius of the base part, radius \r
  of the upper part, height).</font></span></p>\r
 \r
-<p><img src="pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs4"></p>\r
+<p class="whs3">&nbsp;</p>\r
+\r
+<p class="whs4"><img src="pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs5"></p>\r
 \r
 <p>&nbsp;</p>\r
 \r
@@ -128,16 +126,15 @@ else
  of the <span style="font-weight: bold;"><B>Cone</B></span> will be collinear \r
  to the OZ axis of the coordinate system. </p>\r
 \r
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-weight: bold;"><B>geompy.MakeConeR1R2H(Radius1, \r
- Radius2, Height)</B></span> </p>\r
+<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeConeR1R2H(Radius1, \r
+ Radius2, Height)</I></span> </p>\r
 \r
-<p class="whs3"><b style="font-weight: bold;">Arguments: \r
- </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 3 values \r
- (Radius of the base part, radius of the upper part, height).</font></span></p>\r
+<p class="whs3"><b>Arguments: </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name \r
+ + 3 values (Radius of the base part, radius of the upper part, height).</font></span></p>\r
 \r
-<p class="whs5">&nbsp;&nbsp;<img src="pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs4"></p>\r
+<p class="whs6"><img src="pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs7"></p>\r
 \r
-<p>&nbsp;</p>\r
+<p class="whs3">&nbsp;</p>\r
 \r
 <p><span style="font-weight: bold;"><B>Note:</B></span> If both radiuses are non-zero, \r
  the <span style="font-weight: bold;"><B>Cone</B></span> will be truncated. If \r
@@ -150,9 +147,9 @@ else
 \r
 <p>&nbsp;</p>\r
 \r
-<p class="whs6"><img src="pics/cones.png" x-maintain-ratio="TRUE" width="276px" height="282px" border="0" class="img_whs7"></p>\r
+<p class="whs8"><img src="pics/cones.png" x-maintain-ratio="TRUE" width="276px" height="282px" border="0" class="img_whs9"></p>\r
 \r
-<p class="whs6">&nbsp;</p>\r
+<p class="whs8">&nbsp;</p>\r
 \r
 <p class="whs2">Our TUI Scripts provide you with useful examples \r
  of creation of <a href="primitives.htm#bookmark4">Primitives</a>. </p>\r