+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Add Point on Edge</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 { border:none; width:22px; height:22px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { margin-left:40px; font-size:12pt; font-weight:bold; }
-img_whs4 { border:none; width:312px; height:388px; float:none; border-style:none; }
-p.whs5 { font-size:12pt; margin-left:40px; text-indent:-40px; }
-p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
-p.whs7 { margin-left:80px; font-size:12pt; text-indent:-40px; }
-img_whs8 { border:none; width:200px; height:231px; border-style:none; }
-img_whs9 { border:none; width:185px; height:231px; border-style:none; }
-p.whs10 { font-size:12pt; text-indent:-68px; margin-left:72px; }
-p.whs11 { font-weight:bold; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs5 {text-indent:1pt; }";
- strNSS += "p.whs6 {text-indent:1pt; }";
- strNSS += "p.whs7 {text-indent:1pt; }";
- strNSS += "p.whs10 {text-indent: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nAdd Point on Edge");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image42.gif" width="22px" height="22px" border="0" class="img_whs1"></font></span>Add Point on Edge</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o <span
- style="font-weight: bold;"><B>Add Point on Edge</B></span> in the Main Menu select
- <span style="font-weight: bold;"><B>Repair - > Add Point on Edge.</B></span></p>
-
-<p> </p>
-
-<p class="whs2">This operation splits an edge in two in accordance
- with the specified mode (by length or by parameter) and a value specifying
- the position of the point on edge (for example val =0.5; mode = Length).
- This operation is available in <span style="font-weight: bold;"><B>OCC Viewer</B></span>
- only. </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b><span
- style="font-weight: normal;">T</b>he</span> Result <span style="font-weight: normal;">will
- be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object. </B></span></b></font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i>
- </i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID,
- Value, IsByParameter)</I></span>, where Shape is a shape which contains an
- edge to be divided, EdgeID is the ID of the edge to be divided, if it
- = -1, then Shape is an edge, Value is a paramter on the edge or a length.
- IsByParameter if it is True then Value is the edge parameter in the range
- [0:1] otherwise it is a length of the edge in the range [0:1]</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 Edge + 1 value setting the position of the point according to
- one of the selected modes</p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><img src="pics/repair8.png" x-maintain-ratio="TRUE" width="312px" height="388px" border="0" class="img_whs4"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs6">Example:</p>
-
-<p class="whs5"> </p>
-
-<p class="whs7"><img src="image167.jpg" width="200px" height="231px" border="0" class="img_whs8"> <img src="image168.jpg" width="185px" height="231px" border="0" class="img_whs9"></p>
-
-<p class="whs10"> </p>
-
-<p class="whs11"><span style="font-weight: normal;">Our</span>
- TUI Scripts<span style="font-weight: normal;"> provide you with useful
- examples of the use of</span> <a href="repairing_operations.htm#bookmark7">Repairing
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Arc</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-size:12pt; font-weight:normal; }
-p.whs4 { font-size:12pt; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:359px; float:none; border-style:none; }
-p.whs6 { color:#808080; font-size:12pt; }
-p.whs7 { font-size:12pt; color:#000000; font-weight:normal; }
-img_whs8 { border:none; width:400px; height:385px; float:none; border-style:none; }
-p.whs9 { font-size:12pt; color:#000000; }
-table.whs10 { x-cell-content-align:top; width:86.687%; border-spacing:0px; }
-col.whs11 { width:38.452%; }
-col.whs12 { width:28.09%; }
-col.whs13 { width:16.729%; }
-tr.whs14 { x-cell-content-align:top; }
-td.whs15 { width:38.452%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; }
-td.whs16 { width:28.09%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-top-style:none; }
-td.whs17 { width:16.729%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; }
-td.whs18 { width:38.452%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-bottom-style:none; }
-img_whs19 { border:none; float:none; width:316px; height:270px; border-style:none; }
-td.whs20 { width:28.09%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; }
-img_whs21 { border:none; width:212px; height:270px; float:none; border-style:none; }
-td.whs22 { width:16.729%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; }
-table.whs23 { x-cell-content-align:top; width:100%; border-spacing:0px; }
-col.whs24 { width:100%; }
-tr.whs25 { x-cell-content-align:top; height:40px; }
-td.whs26 { width:100%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-left-style:none; border-top-style:none; border-right-style:none; }
-p.whs27 { margin-right:-6px; }
-tr.whs28 { x-cell-content-align:top; height:22px; }
-td.whs29 { width:100%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-left-style:none; border-right-style:none; }
-tr.whs30 { x-cell-content-align:top; height:41px; }
-tr.whs31 { x-cell-content-align:top; height:30px; }
-td.whs32 { width:100%; padding-right:10px; padding-left:10px; border-left-style:none; border-bottom-style:none; border-right-style:none; }
-p.whs33 { margin-left:0px; }
-img_whs34 { border:none; float:none; border-style:none; width:318px; height:269px; }
-p.whs35 { color:#808080; font-size:12pt; margin-left:40px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs27 {margin-right:1pt; }";
- strNSS += "p.whs33 {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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nArc");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Arc</h1>
-
-<p><b><span style="font-weight: normal;">T</b>o</span> create an <span
- style="font-weight: bold;"><B>Arc</B></span> in the <span style="font-weight: bold;"><B>Main
- Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
- Basic - > Arc</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><b style="font-weight: bold;"><span
- style="font-weight: normal;">There are 2 algorithms to create an </span><span
- style="font-weight: bold;"><B>Arc</B></span><span style="font-weight: normal;">
- in the 3D space. </span></b></p>
-
-<p class="whs2"><b><span style="font-weight: normal;">The Result
- of each operation will be a</span></b><b> <span style="font-weight: normal;">GEOM_Object
- (edge).</span></b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
- you can define an</span> Arc <span style="font-weight: normal;">by</span>
- <span style="font-weight: normal;">three</span><span style="font-weight: bold;"><B>
- Points </B></span><span style="font-weight: normal;">that lie on it, where
- </span></b>Point1
- is the starting point, Point2
- is a middle point of the arc and Point3
- is the ending point of the arc.</p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI
- Command:</b> <span style="font-style: italic;"><I>geompy.MakeArc(Point1,
- Point2, Point3)</I></span></p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 3 vertices.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/arc.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs5"></p>
-
-<p class="whs6"> </p>
-
-<p class="whs7"><b style="font-weight: normal;">Secondly,
- you can define an <span style="font-weight: bold;"><B>Arc</B></span> by </b><span
- style="font-weight: bold;"><B>Center, Start</B></span> and <span style="font-weight: bold;"><B>End</B></span>
- points. The arc is built from the <span style="font-weight: bold;"><B>Start</B></span>
- point to the <span style="font-weight: bold;"><B>End</B></span> point. The radius
- of the arc is defined by the distance between the <span style="font-weight: bold;"><B>Center</B></span>
- point and the <span style="font-weight: bold;"><B>Start</B></span> point. The
- <span style="font-weight: bold;"><B>End</B></span> point defines the angle of
- the arc. If the distance between the <span style="font-weight: bold;"><B>Center</B></span>
- point and the <span style="font-weight: bold;"><B>End</B></span> point is not
- equal to the radius, the arc will be built anyway.</p>
-
-<p class="whs7"><span style="font-weight: bold;"><B>Reverse</B></span>
- radio button allows to change the direction of the arc.</p>
-
-<p class="whs7"><b style="font-weight: bold;">TUI Command:</b>
- <span style="font-style: italic;"><I>geompy.MakeArcCenter(Center Point, Start
- Point, End Point, boolean Sense)</I></span></p>
-
-<p class="whs7"><span style="font-style: italic;"><I><b
- style="font-weight: bold;">A</I></span>rguments:</b> Name + 3 vertices + Boolean.</p>
-
-<p class="whs7"> </p>
-
-<p class="whs4"><img src="pics/arc2.png" x-maintain-ratio="TRUE" width="400px" height="385px" border="0" class="img_whs8"></p>
-
-<p class="whs9"> </p>
-
-<p class="whs9"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs9"> </p>
-
-<table x-use-null-cells cellspacing="0" width="86.687%" class="whs10">
-<col class="whs11">
-<col class="whs12">
-<col class="whs13">
-<col class="whs13">
-
-<tr valign="top" class="whs14">
-<td width="38.452%" class="whs15">
-<p>Arc by three points lying on it.</td>
-<td width="28.09%" class="whs16">
-<p>Arc by Start, End and Center.</td>
-<td colspan="1" rowspan="1" width="16.729%" class="whs17">
-<p> </td>
-<td width="16.729%" class="whs17">
-<p>Reversed arc.</td></tr>
-
-<tr valign="top" class="whs14">
-<td width="38.452%" class="whs18">
-<p class="whs6"><img src="pics/arcsn.png" x-maintain-ratio="TRUE" width="316px" height="270px" border="0" class="img_whs19"></td>
-<td width="28.09%" class="whs20">
-<p><img src="pics/arcsn1.png" x-maintain-ratio="TRUE" width="212px" height="270px" border="0" class="img_whs21"></td>
-<td colspan="1" rowspan="1" width="16.729%" class="whs22">
-<table x-use-null-cells cellspacing="0" width="100%" class="whs23">
-<col class="whs24">
-
-<tr valign="top" class="whs25">
-<td width="100%" class="whs26">
-<p class="whs27">Start Point</td></tr>
-
-<tr valign="top" class="whs28">
-<td width="100%" class="whs29">
-<p> </td></tr>
-
-<tr valign="top" class="whs30">
-<td width="100%" class="whs29">
-<p> </td></tr>
-
-<tr valign="top" class="whs25">
-<td width="100%" class="whs29">
-<p>Center Point</td></tr>
-
-<tr valign="top" class="whs31">
-<td width="100%" class="whs29">
-<p> </td></tr>
-
-<tr valign="top" class="whs25">
-<td width="100%" class="whs32">
-<p>End Point</td></tr>
-</table>
-<p class="whs33"> </p>
-<p> </td>
-<td width="16.729%" class="whs22">
-<p><img src="pics/arcsn2.png" x-maintain-ratio="TRUE" width="318px" height="269px" border="0" class="img_whs34"></td></tr>
-</table>
-
-<p class="whs35"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="basic_geometrical_objects.htm">Basic Geometric
- Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Archimede</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-family:'Times New Roman' , serif; font-size:12pt; }
-p.whs4 { font-size:12pt; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:367px; float:none; border-style:none; }
-img_whs6 { border:none; float:none; width:200px; height:180px; border-style:none; }
-img_whs7 { border:none; float:none; width:185px; height:180px; border-style:none; }
-img_whs8 { border:none; float:none; width:180px; height:180px; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nBasic Operations\nArchimede");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Archimede</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- an <span style="font-weight: bold;"><B>Archimede</B></span> operation in the
- Main Menu select <span style="font-weight: bold;"><B>Operations - > Archimede</B></span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3">This
- operation creates a plane corresponding to the modeled water-line of the
- object plunged into the water (in Z direction).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result<span style="font-weight: normal;"> will be any</span></b> GEOM_Object.</p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:
- </b><span style="font-style: italic;"><I>geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection)</I></span>,
- where Shape is a shape to put into the water, Weight is a weight of the
- shape, WaterDensity is
- density of water, MeshingDeflection is a deflection of the mesh, using
- to compute the section.</p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 shape +
- 3 values (Weight, Water Density & Meshing Deflection).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/archimede.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs5"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/archimedesn1.png" x-maintain-ratio="TRUE" width="200px" height="180px" border="0" class="img_whs6"> <img src="pics/archimedesn2.png" x-maintain-ratio="TRUE" width="185px" height="180px" border="0" class="img_whs7"> <img src="pics/archimedesn3.png" x-maintain-ratio="TRUE" 1height=180 1border=0 width="180px" height="180px" border="0" class="img_whs8"></p>
-
-<p class="whs4"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of the use of <a href="basic_operations.htm#bookmark1">Basic Operations</a>.
- </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Basic Geometrical Objects</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nBasic Geometrical Objects");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Basic Geometrical Objects</h1>
-
-<h3><a name=bookmark>Creation of a Point</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p0 = geompy.MakeVertex(0.,
- 0., 0.)</p>
-
-<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
- 100., 100., 100.)</p>
-
-<p class="whs1">px = geompy.MakeVertex(100.,
- 0., 0.)</p>
-
-<p class="whs1">py = geompy.MakeVertex(0.,
- 100., 0.)</p>
-
-<p class="whs1">pz = geompy.MakeVertex(0.,
- 0., 100.)</p>
-
-<p> </p>
-
-<p># create a curve and a vertex on it</p>
-
-<p class="whs1">Arc = geompy.MakeArc(py,
- pz, px)</p>
-
-<p class="whs1">p_on_arc = geompy.MakeVertexOnCurve(Arc,
- 0.25)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_p0 =
- geompy.addToStudy(p0, "Vertex
- 0")</p>
-
-<p class="whs1">id_p100 =
- geompy.addToStudy(p100, "Vertex 100")</p>
-
-<p class="whs1">id_px =
- geompy.addToStudy(px, "Vertex
- X")</p>
-
-<p class="whs1">id_py =
- geompy.addToStudy(py, "Vertex
- Y")</p>
-
-<p class="whs1">id_pz =
- geompy.addToStudy(pz, "Vertex
- Z")</p>
-
-<p class="whs1">id_Arc =
- geompy.addToStudy(Arc, "Arc")</p>
-
-<p class="whs1">id_p_on_arc = geompy.addToStudy(p_on_arc,
- "Vertex on Arc")</p>
-
-<p> </p>
-
-<p># display vertices</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p0)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p100)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_Arc)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_p_on_arc)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark1>Creation of a Line</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p0 = geompy.MakeVertex(0.,
- 0., 0.)</p>
-
-<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
- 100., 100., 100.)</p>
-
-<p class="whs1">px = geompy.MakeVertex(100.,
- 0. , 0.
- )</p>
-
-<p class="whs1">py = geompy.MakeVertex(0.
- , 100.,
- 0. )</p>
-
-<p class="whs1">pz = geompy.MakeVertex(0.
- , 0. ,
- 100.)</p>
-
-<p> </p>
-
-<p># create a vector from two points</p>
-
-<p class="whs1">vxy =
- geompy.MakeVector(px, py)</p>
-
-<p> </p>
-
-<p># create a line from a point and a vector</p>
-
-<p class="whs1">line1 = geompy.MakeLine(pz,
- vxy)</p>
-
-<p> </p>
-
-<p>#create a line from two points</p>
-
-<p class="whs1">line2 = geompy.MakeLineTwoPnt(p0,
- p100)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_vxy =
- geompy.addToStudy(vxy, "Vector")</p>
-
-<p class="whs1">id_line1 =
- geompy.addToStudy(line1,"Line1")</p>
-
-<p class="whs1">id_line2 =
- geompy.addToStudy(line2,"Line2")</p>
-
-<p> </p>
-
-<p># display lines</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_line1)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_line2)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark2>Creation of a
- Circle</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p0 = geompy.MakeVertex(0.,
- 0., 0.)</p>
-
-<p class="whs1">px = geompy.MakeVertex(100.,
- 0. , 0.
- )</p>
-
-<p class="whs1">py = geompy.MakeVertex(0.
- , 100.,
- 0. )</p>
-
-<p class="whs1">pz = geompy.MakeVertex(0.
- , 0. ,
- 100.)</p>
-
-<p> </p>
-
-<p># create a vector on two points</p>
-
-<p class="whs1">vxy =
- geompy.MakeVector(px, py)</p>
-
-<p> </p>
-
-<p># create a circle from a point, a vector and a radius</p>
-
-<p class="whs1">circle1 = geompy.MakeCircle(pz,
- vxy, 30)</p>
-
-<p> </p>
-
-<p>#create a circle from three points</p>
-
-<p class="whs1">circle2 = geompy.MakeCircleThreePnt(p0,
- px, py)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_vxy =
- geompy.addToStudy(vxy, "Vector")</p>
-
-<p class="whs1">id_circle1 =
- geompy.addToStudy(circle1,"Circle1")</p>
-
-<p class="whs1">id_circle2 =
- geompy.addToStudy(circle2,"Circle2")</p>
-
-<p> </p>
-
-<p># display circles</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_circle1)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_circle2)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark3>Creation of an Ellipse</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p0 = geompy.MakeVertex(0.,
- 0., 0.)</p>
-
-<p class="whs1">p50 = geompy.MakeVertex(50.,
- 50., 50.)</p>
-
-<p> </p>
-
-<p># create a vector from two points</p>
-
-<p class="whs1">vector =
- geompy.MakeVector(p0, p50)</p>
-
-<p> </p>
-
-<p># create an ellipse from a point, a vector and radiuses</p>
-
-<p class="whs1">ellipse = geompy.MakeEllipse(p50,
- vector, 50, 25)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_vector =
- geompy.addToStudy(vector, "Vector")</p>
-
-<p class="whs1">id_ellipse = geompy.addToStudy(ellipse,"Ellipse")</p>
-
-<p> </p>
-
-<p># display the ellipse and its normal vector</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_vector)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_ellipse)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark4>Creation of a Curve</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p0 = geompy.MakeVertex(0.
- , 0. ,
- 0. )</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(50.
- , 100., 200.)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(150.,
- 50., 100.)</p>
-
-<p class="whs1">p3 = geompy.MakeVertex(100.,
- 150., 170.)</p>
-
-<p class="whs1">p4 = geompy.MakeVertex(200.,
- 200., 150.)</p>
-
-<p> </p>
-
-<p># create a polyline from a list of points</p>
-
-<p class="whs1">polyline = geompy.MakePolyline([p0,
- p1, p2, p3, p4])</p>
-
-<p> </p>
-
-<p># create a bezier curve from a list of points</p>
-
-<p class="whs1">bezier = geompy.MakeBezier([p0,
- p1, p2, p3, p4])</p>
-
-<p> </p>
-
-<p>#create a b-spline curve from a list of points</p>
-
-<p class="whs1">interpol = geompy.MakeInterpol([p0,
- p1, p2, p3, p4])</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_p0 =
- geompy.addToStudy(p0, "Point1")</p>
-
-<p class="whs1">id_p1 =
- geompy.addToStudy(p1, "Point2")</p>
-
-<p class="whs1">id_p2 =
- geompy.addToStudy(p2, "Point3")</p>
-
-<p class="whs1">id_p3 =
- geompy.addToStudy(p3, "Point4")</p>
-
-<p class="whs1">id_p4 =
- geompy.addToStudy(p4, "Point5")</p>
-
-<p class="whs1">id_polyline = geompy.addToStudy(polyline,
- "Polyline")</p>
-
-<p class="whs1">id_bezier =
- geompy.addToStudy(bezier, "Bezier")</p>
-
-<p class="whs1">id_interpol = geompy.addToStudy(interpol,
- "Interpol")</p>
-
-<p class="whs1"> </p>
-
-<p># display the points and the curves</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p0)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p3)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_polyline)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_bezier)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_interpol)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark5>Creation of a Vector</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(10.,
- 50., 20.)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(70.,
- 70., 70.)</p>
-
-<p> </p>
-
-<p># create a vector from two points</p>
-
-<p class="whs1">vector1 = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create a vector from the given components</p>
-
-<p class="whs1">vector2 = geompy.MakeVectorDXDYDZ(30,
- 30, 100)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_p1 =
- geompy.addToStudy(p1, "Point1")</p>
-
-<p class="whs1">id_p2 =
- geompy.addToStudy(p2, "Point2")</p>
-
-<p class="whs1">id_vector1 = geompy.addToStudy(vector1,"Vector1")</p>
-
-<p class="whs1">id_vector2 = geompy.addToStudy(vector2,"Vector2")</p>
-
-<p> </p>
-
-<p># display the points and the vectors</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_vector1)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_vector2)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark6>Creation of a Plane</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(
- 0., 0.,
- 100.)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(100.,
- 0.,
- 0.)</p>
-
-<p class="whs1">p3 = geompy.MakeVertex(200.,
- 200., 200.)</p>
-
-<p class="whs1">p4 = geompy.MakeVertex(100.,
- 100., 0.)</p>
-
-<p class="whs1">p5 = geompy.MakeVertex(0.
- , 100.,
- 0.)</p>
-
-<p> </p>
-
-<p># create a vector from the given components</p>
-
-<p class="whs1">vector = geompy.MakeVectorDXDYDZ(100.,
- 100., 100.)</p>
-
-<p> </p>
-
-<p># create a vector from two points</p>
-
-<p class="whs1">vector_arc = geompy.MakeVector(p2,
- p5)</p>
-
-<p> </p>
-
-<p># create an arc from three points</p>
-
-<p class="whs1">arc = geompy.MakeArc(p2,
- p4, p5)</p>
-
-<p> </p>
-
-<p># create a wire</p>
-
-<p class="whs1">wire = geompy.MakeWire([vector_arc,
- arc])</p>
-
-<p> </p>
-
-<p># create a face</p>
-
-<p class="whs1">isPlanarWanted = 1</p>
-
-<p class="whs1">face = geompy.MakeFace(wire,
- isPlanarWanted)</p>
-
-<p class="whs1">trimsize = 1000.</p>
-
-<p> </p>
-
-<p># create a plane from a point, a vector and a trimsize</p>
-
-<p class="whs1">plane1 = geompy.MakePlane(p1,
- vector, trimsize)</p>
-
-<p> </p>
-
-<p># create a plane from three points and a trimsize</p>
-
-<p class="whs1">plane2 = geompy.MakePlaneThreePnt(p1,
- p2, p3, trimsize)</p>
-
-<p> </p>
-
-<p># create a plane from the given face</p>
-
-<p class="whs1">plane3 = geompy.MakePlaneFace(face,
- trimsize)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_face =
- geompy.addToStudy(face, "Face")</p>
-
-<p class="whs1">id_plane1 = geompy.addToStudy(plane1,"Plane1")</p>
-
-<p class="whs1">id_plane2 = geompy.addToStudy(plane2,"Plane2")</p>
-
-<p class="whs1">id_plane3 = geompy.addToStudy(plane3,"Plane3")</p>
-
-<p> </p>
-
-<p># display the points and the vectors</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_face)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_plane1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_plane2)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_plane3)</p>
-
-<p class="whs1">gg.setDisplayMode(id_plane1,1)</p>
-
-<p class="whs1">gg.setTransparency(id_plane1,0.5)</p>
-
-<p class="whs1">gg.setDisplayMode(id_plane2,1)</p>
-
-<p class="whs1">gg.setTransparency(id_plane2,0.5)</p>
-
-<p class="whs1">gg.setDisplayMode(id_plane3,1)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setTransparency(id_plane3,0.5)</span>
- </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Basic Operations</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nTransformation\nBasic Operations");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Basic Operations</h1>
-
-<h3><a name=bookmark>Partition</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex( 0.,
- 0.,
- 0.)</p>
-
-<p class="whs1">p200 = geompy.MakeVertex(200.,
- 200., 200.)</p>
-
-<p class="whs1">pz =
- geompy.MakeVertex( 0.,
- 0.,
- 100.)</p>
-
-<p> </p>
-
-<p># create a vector</p>
-
-<p class="whs1">vxyz = geompy.MakeVectorDXDYDZ(100.,
- 100., 100.)</p>
-
-<p> </p>
-
-<p># create a box from two points</p>
-
-<p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
- p200)</p>
-
-<p> </p>
-
-<p># create a plane</p>
-
-<p class="whs1">trimsize =
- 500.</p>
-
-<p class="whs1">plane = geompy.MakePlane(pz,
- vxyz, trimsize)</p>
-
-<p> </p>
-
-<p># create partition objects</p>
-
-<p class="whs1">partition1 = geompy.MakePartition([box],
- [plane])</p>
-
-<p class="whs1">partition2 = geompy.Partition([box],
- [plane])</p>
-
-<p class="whs1">partition3 = geompy.MakeHalfPartition(box,
- plane)</p>
-
-<p class="whs1"> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_box = geompy.addToStudy(box,"Box")</p>
-
-<p class="whs1">id_plane = geompy.addToStudy(plane,"Plane")</p>
-
-<p class="whs1">id_partition1 = geompy.addToStudy(partition1,"MakePartition")</p>
-
-<p class="whs1">id_partition2 = geompy.addToStudy(partition2,"Partition")</p>
-
-<p class="whs1">id_partition3 = geompy.addToStudy(partition3,"MakeHalfPartition")</p>
-
-<p> </p>
-
-<p># display the partition objects and the plane</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>
-
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_plane)</p>
-
-<p class="whs1">gg.setDisplayMode(id_plane,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_partition1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_partition2)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_partition3)</span>
- </p>
-
-<h3><a name=bookmark1>Archimede</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex( 0.,
- 0.,
- 0.)</p>
-
-<p class="whs1">p200 = geompy.MakeVertex(200.,
- 200., 200.)</p>
-
-<p> </p>
-
-<p># create a box from two points</p>
-
-<p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
- p200)</p>
-
-<p> </p>
-
-<p># perform an Archimede operation on the selected shape with selected
- parameters</p>
-
-<p class="whs1">weight =
- 1000000.</p>
-
-<p class="whs1">waterdensity = 1.</p>
-
-<p class="whs1">meshingdeflection
- = 0.01</p>
-
-<p class="whs1">archimede =
- geompy.Archimede(box, weight, waterdensity, meshingdeflection)</p>
-
-<p class="whs1"> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_box = geompy.addToStudy(box,"Box")</p>
-
-<p class="whs1">id_archimede = geompy.addToStudy(archimede,"Archimede")</p>
-
-<p> </p>
-
-<p># display the box and the result of Archimede operation</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>
-
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_archimede)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_archimede,1)</span>
- </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Blocks Operations</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
-p.whs2 { font-family:'Times New Roman' , serif; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nTransformation\nBlocks Operations");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Blocks Operations</h1>
-
-<h3><a name=bookmark4>Multi Transformation</a></h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create vertices</p>
-
-<p class="whs1">p_25_25_50 = geompy.MakeVertex(25.,
- 25., 50.)</p>
-
-<p class="whs1">p_50_25_25 = geompy.MakeVertex(50.,
- 25., 25.)</p>
-
-<p class="whs1">p_25_50_25 = geompy.MakeVertex(25.,
- 50., 25.)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(50,
- 50, 50)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">top_face = geompy.GetFaceNearPoint(box,
- p_25_25_50)</p>
-
-<p class="whs1">yz_face = geompy.GetFaceNearPoint(box,
- p_50_25_25)</p>
-
-<p class="whs1">xz_face = geompy.GetFaceNearPoint(box,
- p_25_50_25)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">top_face_ind = geompy.GetSubShapeID(box,
- top_face)</p>
-
-<p class="whs1">yz_face_ind = geompy.GetSubShapeID(box,
- yz_face)</p>
-
-<p class="whs1">xz_face_ind = geompy.GetSubShapeID(box,
- xz_face)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># Multi-transformate
- block and glue the result</p>
-
-<p class="whs1">box_tr1 = geompy.MakeMultiTransformation1D(box,
- yz_face_ind, top_face_ind, 3)</p>
-
-<p class="whs1">box_tr2 = geompy.MakeMultiTransformation2D(box,
- xz_face_ind, yz_face_ind, 3, top_face_ind, 0, 2)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># add objects in the
- study</p>
-
-<p class="whs1">id_box = geompy.addToStudy(box,
- "Box")</p>
-
-<p class="whs1">id_box_tr1 = geompy.addToStudy(box_tr1,
- "Multi-transformed Block 1D")</p>
-
-<p class="whs1">id_box_tr2 = geompy.addToStudy(box_tr2,
- "Multi-transformed Block 2D")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>
-
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box_tr1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box_tr2)
- </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=bookmark5>Explode on Blocks</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a box and a
- sphere</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
- 200, 200)</p>
-
-<p class="whs1">sphere = geompy.MakeSphereR(100)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># make a compound</p>
-
-<p class="whs1">compound = geompy.MakeCompound([box,
- sphere])</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># get all the blocks
- of the given compound, by criteria: min_nb_faces <= nb. of faces <=
- max_nb_faces</p>
-
-<p class="whs1">min_nb_faces = 6</p>
-
-<p class="whs1">max_nb_faces = 6</p>
-
-<p class="whs1">make_block_explode
- = geompy.MakeBlockExplode(compound, min_nb_faces, max_nb_faces)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># add objects in the
- study</p>
-
-<p class="whs1">id_compound = geompy.addToStudy(compound,
- "Compound")</p>
-
-<p class="whs1">id_make_block_explode
- = geompy.addToStudyInFather(compound, make_block_explode[0], "MakeBlockExplode")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_compound)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_make_block_explode)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_make_block_explode,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark6>Propagate</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a box</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
- 200, 200)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># build all possible
- propagation groups</p>
-
-<p class="whs1">listChains = geompy.Propagate(check_box)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># add objects in the
- study</p>
-
-<p class="whs1">geompy.addToStudy(check_box,
- "Box")</p>
-
-<p class="whs1">ii = 1</p>
-
-<p class="whs1">for chain in listChains:</p>
-
-<p class="whs1"> geompy.addToStudyInFather(check_box,
- chain, "propagation chain " + `ii`)</p>
-
-<p class="whs1"> ii
- = ii + 1</p>
-
-<p class="whs1"> pass</p>
-
-<p> </p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
- </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Boolean Operations</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nTransformation\nBoolean Operations");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Boolean Operations</h1>
-
-<h3><a name=bookmark>Fuse</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(25,
- 55, 0)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(
- 0, 0, 0)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create a cylinder</p>
-
-<p class="whs1">height = 35</p>
-
-<p class="whs1">radius1 = 20</p>
-
-<p class="whs1">cylinder = geompy.MakeCylinder(p1,
- v, radius1, height)</p>
-
-<p> </p>
-
-<p># create a sphere</p>
-
-<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
-
-<p> </p>
-
-<p># fuse</p>
-
-<p class="whs1">fuse = geompy.MakeFuse(cylinder,
- sphere)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_cylinder = geompy.addToStudy(cylinder,
- "Cylinder")</p>
-
-<p class="whs1">id_sphere = geompy.addToStudy(sphere,
- "Sphere")</p>
-
-<p class="whs1">id_fuse = geompy.addToStudy(fuse,
- "Fuse")</p>
-
-<p> </p>
-
-<p># display results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>
-
-<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_sphere)</p>
-
-<p class="whs1">gg.setDisplayMode(id_sphere,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_fuse)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_fuse,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark1>Common</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(25,
- 55, 0)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(
- 0, 0, 0)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create a cylinder</p>
-
-<p class="whs1">height = 35</p>
-
-<p class="whs1">radius1 = 20</p>
-
-<p class="whs1">cylinder = geompy.MakeCylinder(p1,
- v, radius1, height)</p>
-
-<p> </p>
-
-<p># create a sphere</p>
-
-<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
-
-<p> </p>
-
-<p># make common</p>
-
-<p class="whs1">common = geompy.MakeCommon(cylinder,
- sphere)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_common = geompy.addToStudy(common,
- "Common")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_common)</p>
-
-<p class="whs1">gg.setDisplayMode(id_common,1)
- </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=bookmark2>Cut </a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(25,
- 55, 0)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(
- 0, 0, 0)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create a cylinder</p>
-
-<p class="whs1">height = 35</p>
-
-<p class="whs1">radius1 = 20</p>
-
-<p class="whs1">cylinder = geompy.MakeCylinder(p1,
- v, radius1, height)</p>
-
-<p> </p>
-
-<p># create a sphere</p>
-
-<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
-
-<p> </p>
-
-<p>#cut</p>
-
-<p class="whs1">cut = geompy.MakeCut(cylinder,
- sphere)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_cut = geompy.addToStudy(cut,
- "Cut")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cut)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cut,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark3>Section</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(25,
- 55, 0)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(
- 0, 0, 0)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create a cylinder</p>
-
-<p class="whs1">height = 35</p>
-
-<p class="whs1">radius1 = 20</p>
-
-<p class="whs1">cylinder = geompy.MakeCylinder(p1,
- v, radius1, height)</p>
-
-<p> </p>
-
-<p># create a sphere</p>
-
-<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
-
-<p> </p>
-
-<p># make a section</p>
-
-<p class="whs1">section = geompy.MakeSection(cylinder,
- sphere)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_section = geompy.addToStudy(section,
- "Section")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_section)</p>
-
-<p class="whs1">gg.setDisplayMode(id_section,1)
- </p>
-
-<p class="whs1"> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Box</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-style:italic; }
-p.whs4 { margin-left:40px; }
-img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
-p.whs6 { font-weight:normal; }
-p.whs7 { font-size:12pt; margin-left:40px; }
-img_whs8 { border:none; width:312px; height:332px; float:none; border-style:none; }
-p.whs9 { font-size:12pt; font-weight:bold; }
-p.whs10 { font-size:12pt; font-weight:bold; font-style:normal; }
-p.whs11 { font-size:12pt; font-style:normal; font-weight:bold; }
-img_whs12 { border:none; width:267px; height:280px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nBox");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Box</h1>
-
-<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Box</B></span>
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
- style="font-weight: bold;"><B>New Entity - > Primitives - > Box</B></span></p>
-
-<p> </p>
-
-<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Box</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>Firstly, you can define a <span style="font-weight: bold;"><B>Box</B></span>
- by two specified <span style="font-weight: bold;"><B>Vertices </B></span>(its
- opposite corners). The edges of the box will be parallel to the coordinate
- axes.</p>
-
-<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command
- :</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxTwoPnt(Point1,
- Point2)</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>2 vertices (opposite corners of the box).</p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><b style="font-weight: bold;"><img src="pics/box1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></b></p>
-
-<p> </p>
-
-<p class="whs6"><b style="font-weight: normal;"><span style="font-weight: normal;">Secondly,
- you can define a </span><span style="font-weight: bold;"><B>Box</B></span><span
- style="font-weight: normal;"> by </b>specified dimensions along the coordinate
- axes</span> and with edges, parallel to them. The
- center of the box will be at point (DX/2, DY/2, DZ/2). </p>
-
-<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command
- :</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxDXDYDZ(DX,
- DY, DZ)</I></span></p>
-
-<p><span><b style="font-weight: bold;">Arguments: </b></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
- + 3 values (dimensions at origin).</font></span></p>
-
-<p class="whs7"><b style="font-weight: bold;"><img src="pics/box2.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs8"></b></p>
-
-<p> </p>
-
-<p><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>NB! </B></font></span>There is
- a third way to create a Box, which is currently accessible only via<span
- style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B> TUI </B></font></span>commands.</p>
-
-<p class="whs9"><span style="font-weight: normal;">You
- can define a </span>Box<span style="font-weight: normal;"> by the coordinates
- of two </span>Vertices<span style="font-weight: normal;"> (in this way
- you don't need to create them in advance). </span></p>
-
-<p class="whs10"><b style="font-weight: bold;">TUI Command:</b>
- <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeBox(x1,y1,z1,x2,y2,z2)</I></span>
- </p>
-
-<span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Arguments: </B></font></span>Name
- + X, Y and Z coordinates of both points.
-
-<p> </p>
-
-<p class="whs11">Example:</p>
-
-<p class="whs7"><img src="pics/boxes.png" x-maintain-ratio="TRUE" width="267px" height="280px" border="0" class="img_whs12"></p>
-
-<p> </p>
-
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
- provide you with useful examples of creation of <a href="primitives.htm#bookmark">Primitives</a>.
- </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Building by Blocks</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
-p.whs2 { font-family:'Times New Roman' , serif; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nBuilding by Blocks");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Building by Blocks</h1>
-
-<h3>Quadrangle Face</h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(
- 0., 0.,
- 0.)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(150.,
- 30., 0.)</p>
-
-<p class="whs1">p3 = geompy.MakeVertex(
- 0., 120.,
- 50.)</p>
-
-<p class="whs1">p4 = geompy.MakeVertex(
- 0., 40.,
- 70.)</p>
-
-<p> </p>
-
-<p># create edges</p>
-
-<p class="whs1">edge1 = geompy.MakeEdge(p1,
- p2)</p>
-
-<p class="whs1">edge2 = geompy.MakeEdge(p2,
- p3)</p>
-
-<p class="whs1">edge3 = geompy.MakeEdge(p3,
- p4)</p>
-
-<p class="whs1">edge4 = geompy.MakeEdge(p4,
- p1)</p>
-
-<p> </p>
-
-<p># create a quadrangle face from four edges</p>
-
-<p class="whs1">qface1 = geompy.MakeQuad(edge1,
- edge2, edge3, edge4)</p>
-
-<p> </p>
-
-<p># create a quadrangle face from two edges</p>
-
-<p class="whs1">qface2 = geompy.MakeQuad2Edges(edge1,
- edge3)</p>
-
-<p> </p>
-
-<p># create a quadrangle from four points in its corners</p>
-
-<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p1,
- p2, p3, p4)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_p1 = geompy.addToStudy(p1,"Point1")</p>
-
-<p class="whs1">id_p2 = geompy.addToStudy(p2,"Point2")</p>
-
-<p class="whs1">id_p3 = geompy.addToStudy(p3,"Point3")</p>
-
-<p class="whs1">id_p4 = geompy.addToStudy(p4,"Point4")</p>
-
-<p class="whs1">id_edge1 = geompy.addToStudy(edge1,"Edge1")</p>
-
-<p class="whs1">id_edge2 = geompy.addToStudy(edge2,"Edge2")</p>
-
-<p class="whs1">id_edge3 = geompy.addToStudy(edge3,"Edge3")</p>
-
-<p class="whs1">id_edge4 = geompy.addToStudy(edge4,"Edge4")</p>
-
-<p class="whs1">id_qface1 = geompy.addToStudy(qface1,"Qface1")</p>
-
-<p class="whs1">id_qface2 = geompy.addToStudy(qface2,"Qface2")</p>
-
-<p class="whs1">id_qface3 = geompy.addToStudy(qface3,"Qface3")</p>
-
-<p> </p>
-
-<p># display the vertices, the edges and the quadrangle faces</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p3)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_edge1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_edge2)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_edge3)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_edge4)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_qface1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_qface1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_qface2)</p>
-
-<p class="whs1">gg.setDisplayMode(id_qface2,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_qface3)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_qface3,1)</span>
- </p>
-
-<h3>Hexagonal Solid</h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create vertices</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex( 0.,
- 0.,
- 0.)</p>
-
-<p class="whs1">p1 =
- geompy.MakeVertex( 0.,
- 0.,
- 40.)</p>
-
-<p class="whs1">p2 =
- geompy.MakeVertex( 70., -15., 0.)</p>
-
-<p class="whs1">p3 =
- geompy.MakeVertex( 70., -15., 70.)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">p4 =
- geompy.MakeVertex( 0.,
- 70., 0.)</p>
-
-<p class="whs1">p5 =
- geompy.MakeVertex( 0.,
- 70., 40.)</p>
-
-<p class="whs1">p6 =
- geompy.MakeVertex( 70., 70.,
- 0.)</p>
-
-<p class="whs1">p7 =
- geompy.MakeVertex( 70., 70.,
- 70.)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">p8 =
- geompy.MakeVertex( 0.,
- -50., 0.)</p>
-
-<p class="whs1">p9 =
- geompy.MakeVertex( 0.,
- -50., 40.)</p>
-
-<p class="whs1">p10 = geompy.MakeVertex(
- 70., -35., 0.)</p>
-
-<p class="whs1">p11 = geompy.MakeVertex(
- 70., -35., 70.)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create faces</p>
-
-<p class="whs1">qface1 = geompy.MakeQuad4Vertices(p0,
- p1, p2, p3)</p>
-
-<p class="whs1">qface2 = geompy.MakeQuad4Vertices(p4,
- p5, p6, p7)</p>
-
-<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p0,
- p1, p4, p5)</p>
-
-<p class="whs1">qface4 = geompy.MakeQuad4Vertices(p2,
- p3, p6, p7)</p>
-
-<p class="whs1">qface5 = geompy.MakeQuad4Vertices(p0,
- p2, p4, p6)</p>
-
-<p class="whs1">qface6 = geompy.MakeQuad4Vertices(p1,
- p3, p5, p7)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">qface7 = geompy.MakeQuad4Vertices(p8,
- p9, p10, p11)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a hexahedral
- solid between two given faces</p>
-
-<p class="whs1">solid1 = geompy.MakeHexa2Faces(qface1,
- qface7)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a hexahedral
- solid, bounded by six given faces</p>
-
-<p class="whs1">solid2 = geompy.MakeHexa(qface1,
- qface2, qface3, qface4, qface5, qface6)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># add objects in the
- study</p>
-
-<p class="whs1">geompy.addToStudy(qface1,"qface1")</p>
-
-<p class="whs1">geompy.addToStudy(qface2,"qface2")</p>
-
-<p class="whs1">geompy.addToStudy(qface3,"qface3")</p>
-
-<p class="whs1">geompy.addToStudy(qface4,"qface4")</p>
-
-<p class="whs1">geompy.addToStudy(qface5,"qface5")</p>
-
-<p class="whs1">geompy.addToStudy(qface6,"qface6")</p>
-
-<p class="whs1">geompy.addToStudy(qface7,"qface7")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">id_solid1 = geompy.addToStudy(solid1,"Solid1")</p>
-
-<p class="whs1">id_solid2 = geompy.addToStudy(solid2,"Solid2")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># display solids</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_solid1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_solid1,
- 1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_solid2)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_solid2,
- 1)</span> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Chamfer</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:319px; float:none; border-style:none; }
-img_whs5 { border:none; width:225px; height:239px; float:none; border-style:none; }
-img_whs6 { border:none; width:312px; height:381px; float:none; border-style:none; }
-img_whs7 { border:none; width:230px; height:245px; float:none; border-style:none; }
-img_whs8 { border:none; width:221px; height:238px; float:none; border-style:none; }
-p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nChamfer");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Chamfer</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Chamfer</B></span> in the Main Menu select
- <span style="font-weight: bold;"><B>Operations - > Transformation - >
- Chamfer</B></span> </p>
-
-<p> </p>
-
-<p>This operation allows you to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">make chamfer
- of the edges of a Shape.</font></span></p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
- style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will
- be a</span></b> GEOM_Object.</font></span></p>
-
-<p> </p>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o create
- chamfer on all edges of the given shape, you need to define the <span
- style="font-weight: bold;"><B>Main Object</B></span> to create a chamfer on and
- the <span style="font-weight: bold;"><B>Dimension</B></span> (radius) of the
- chamfer. </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeChamferAll(Shape, D)</I></span>
- </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
- + 1 SHAPE + 1 value (Chamfer dimension).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/chamfer1.png" x-maintain-ratio="TRUE" width="312px" height="319px" border="0" class="img_whs4"> <img src="pics/chamfer_all.png" x-maintain-ratio="TRUE" width="225px" height="239px" border="0" class="img_whs5"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">To create chamfer on the specified edges of
- the given shape, you
- need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
- to create a fillet on, select the two faces to which belongs the <span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">necessary common edge in the viewer and define
- the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Dimension</B></font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> of the Chamfer.</font></span></p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape, D1,
- D2, Face1, Face2)</I></span>, where Shape is a shape to create a chamfer on,
- D1 is a chamfer size along Face1, D2 is a chamfer size along Face2, Face1
- and Face2 are indices of faces in Shape.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/chamfer2.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs6"> <img src="pics/chamfer_edge.png" x-maintain-ratio="TRUE" width="230px" height="245px" border="0" class="img_whs7"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">To create chamfer on the specified faces of
- the given shape, you
- need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
- to create a fillet on, select the necessary faces the OCC Viewer and define
- the <span style="font-weight: bold;"><B>Dimension</B></span> of the Chamfer.</p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeChamferFaces(Shape, D1,
- D2, ListOfFaceID)</I></span>, where Shape is a shape to create chamfer on,
- D1 is a chamfer size along a face from ListOfFaceID,
- D2 is a
- chamfer size along two faces connected to the edge to which the chamfer
- is applied, ListOfFaceID is a list of indices of faces in Shape.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/chamfer3.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs6"> <img src="pics/chamfer_faces.png" x-maintain-ratio="TRUE" width="221px" height="238px" border="0" class="img_whs8"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs9"> <span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark4">Transformation
- Operations</a>. </font></span></p>
-
-<p> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Change Orientation</title>\r
-<meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
-<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
-<!--\r
-if (navigator.appName !="Netscape")\r
-{ document.write("<link rel='stylesheet' href='default.css'>");}\r
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-img_whs1 { border:none; width:23px; height:24px; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-weight:bold; }\r
-p.whs4 { font-size:12pt; margin-left:40px; }\r
-img_whs5 { border:none; width:400px; height:315px; float:none; border-style:none; }\r
-table.whs6 { x-cell-content-align:top; border-spacing:0px; width:46.327%; }\r
-col.whs7 { width:52.644%; }\r
-col.whs8 { width:47.356%; }\r
-tr.whs9 { x-cell-content-align:top; }\r
-td.whs10 { width:52.644%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; }\r
-img_whs11 { border:none; width:138px; height:143px; border-style:none; }\r
-td.whs12 { width:47.356%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; }\r
-img_whs13 { border:none; width:139px; height:144px; border-style:none; }\r
-td.whs14 { width:52.644%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-bottom-style:none; }\r
-td.whs15 { width:47.356%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
- if (innerWidth != origWidth || innerHeight != origHeight)\r
- location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
- origWidth = innerWidth;\r
- origHeight = innerHeight;\r
- onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<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
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
- if (window.setRelStartPage)\r
- {\r
- addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nChange Orientation");\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
-\r
-\r
- if (window.setRelStartPage)\r
- {\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><img src="image43.gif" width="23px" height="24px" border="0" class="img_whs1"> Change Orientation</h1>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o <span \r
- style="font-weight: bold;"><B>Change Orientation</B></span> in the Main Menu \r
- select <span style="font-weight: bold;"><B>Repair - > Change Orientation</B></span>.</p>\r
-\r
-<p class="whs2">This operation reverses the normals of faces \r
- composing the selected shell. </p>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span \r
- style="font-style: italic;"><I> geompy.ChangeOrientation(shape)</I></span></i></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: <span \r
- style="font-weight: normal;">Name + 1 shape (shell) </span></b></p>\r
-\r
-<p class="whs3"><span style="font-weight: normal;">Uncheck</span> \r
- Create a copy<span style="font-weight: normal;"> checkbox if you don't \r
- wish to leave the initial object in the project (</span>Result name<span \r
- style="font-weight: normal;"> field will be locked).</span></p>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<p class="whs4"><img src="pics/changeorientation.png" x-maintain-ratio="TRUE" width="400px" height="315px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B>Example:</B></span> \r
- </p>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<table x-use-null-cells cellspacing="0" width="46.327%" class="whs6">\r
-<col class="whs7">\r
-<col class="whs8">\r
-\r
-<tr valign="top" class="whs9">\r
-<td width="52.644%" class="whs10">\r
-<p><img src="image38.gif" width="138px" height="143px" border="0" class="img_whs11"></td>\r
-<td width="47.356%" class="whs12">\r
-<p><img src="image40.gif" width="139px" height="144px" border="0" class="img_whs13"></td></tr>\r
-\r
-<tr valign="top" class="whs9">\r
-<td width="52.644%" class="whs14">\r
-<p>Inward orientation. </td>\r
-<td width="47.356%" class="whs15">\r
-<p>Outward orientation</td></tr>\r
-</table>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
- writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Changing Display Parameters</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nViewing Geometrical Objects");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Viewing Geometrical Objects</h1>
-
-<h3><a name=bookmark>Changing Display Mode</a></h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- salome</span></p>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">box = geompy.MakeBox(0,0,0,
- 50,50,50)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
- 30)</p>
-
-<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
-
-<p class="whs1">fuse_id = geompy.addToStudy(fuse,"Fuse")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
-
-<p class="whs1">gg.setDisplayMode(fuse_id,1)
- </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=bookmark1>Changing Color</a></h3>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">box = geompy.MakeBox(0,0,0,
- 50,50,50)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
- 30)</p>
-
-<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
-
-<p class="whs1">fuse_id = geompy.addToStudy(fuse,"Fuse")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
-
-<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
-
-<p class="whs1">gg.setColor(fuse_id,218,165,31)
- </p>
-
-<p class="whs1"> </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=bookmark2>Changing Transparency</a></h3>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">box = geompy.MakeBox(0,0,0,
- 50,50,50)</p>
-
-<p class="whs1">sphere = geompy.MakeSphere(50,50,50,
- 30)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
-
-<p class="whs1">fuse_id = geompy.addToStudy(fuse,"Fuse")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
-
-<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
-
-<p class="whs1">gg.setColor(fuse_id,218,165,31)</p>
-
-<p class="whs1">gg.setTransparency(fuse_id,0.5)
- </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Check Free Boundaries</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 { border:none; width:22px; height:22px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-size:12pt; margin-left:40px; font-weight:bold; }
-img_whs4 { border:none; width:243px; height:203px; float:none; border-style:none; }
-p.whs5 { font-size:12pt; margin-left:0px; }
-p.whs6 { font-size:12pt; margin-left:40px; }
-img_whs7 { border:none; width:436px; height:339px; float:none; border-style:none; }
-img_whs8 { border:none; width:442px; height:336px; float:none; border-style:none; }
-p.whs9 { font-weight:bold; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Boundaries");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image44.gif" width="22px" height="22px" border="0" class="img_whs1"> </font></span>Check Free Boundaries</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o <span
- style="font-weight: bold;"><B>Check Free Boundaries</B></span> in the Main Menu
- select <span style="font-weight: bold;"><B>Repair - > Check Free Boundaries</B></span>.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">This operation detects wires and edges that
- correspond to the shape's boundary, and highlights it</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b><b> <span
- style="font-weight: bold;"><B>GEOM_Object. </B></span></b></font></span></p>
-
-<p> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span
- style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>,
- where Shape is a shape to be checked, NoError is false if an error occurred
- while checking free boundaries, ClosedWires is a list of closed free boundary
- wires, OpenWires is a list of open free boundary wires.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/repair9.png" x-maintain-ratio="TRUE" width="243px" height="203px" border="0" class="img_whs4"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs5"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs5"> </p>
-
-<p class="whs6"><img src="pics/free_boudaries1.png" x-maintain-ratio="TRUE" width="436px" height="339px" border="0" class="img_whs7"> <img src="pics/free_boudaries2.png" x-maintain-ratio="TRUE" width="442px" height="336px" border="0" class="img_whs8"> </p>
-
-<p class="whs9"> </p>
-
-<p class="whs9"><span style="font-weight: normal;">Our</span>
- TUI Scripts<span style="font-weight: normal;"> provide you with useful
- examples of the use of</span> <a href="repairing_operations.htm#bookmark8">Repairing
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Check Free Faces</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 { border:none; width:23px; height:22px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-size:12pt; font-weight:normal; }
-p.whs4 { font-size:12pt; margin-left:40px; }
-img_whs5 { border:none; width:322px; height:163px; float:none; border-style:none; }
-p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; }
-p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
-p.whs8 { font-size:12pt; text-indent:-40px; margin-left:80px; }
-img_whs9 { border:none; float:none; width:234px; height:281px; border-style:none; }
-img_whs10 { border:none; width:248px; height:283px; float:none; border-style:none; }
-p.whs11 { font-weight:bold; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs6 {text-indent:1pt; }";
- strNSS += "p.whs7 {text-indent:1pt; }";
- strNSS += "p.whs8 {text-indent: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Faces");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image10.gif" width="23px" height="22px" border="0" class="img_whs1"> </font></span>Check Free Faces</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o <span
- style="font-weight: bold;"><B>Check Free Faces</B></span> in the Main Menu select
- <span style="font-weight: bold;"><B>Repair - > Check Free Faces.</B></span></p>
-
-<p class="whs2">This operation retrieves all free faces from
- a given shape. A free face is a face not shared between two shells of
- the shape. </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b><b> <span
- style="font-weight: bold;"><B>GEOM_Object</B></span><span style="font-weight: normal;">
- (a list of IDs of all free faces, containing in the shape)</span><span
- style="font-weight: bold;"><B>. </B></span></b></p>
-
-<p class="whs2"><b>TUI Command :</b><i><span style="font-style: italic;">
- <I></i>GetFreeFacesIDs(Shape)</I></span>, where Shape is a shape to be checked.</p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><img src="pics/repair10.png" x-maintain-ratio="TRUE" width="322px" height="163px" border="0" class="img_whs5"></p>
-
-<p class="whs6"> </p>
-
-<p class="whs7">Examples: </p>
-
-<p class="whs6"> </p>
-
-<p class="whs8"><img src="pics/free_faces1.png" x-maintain-ratio="TRUE" width="234px" height="281px" border="0" class="img_whs9"> <img src="pics/free_faces2.png" x-maintain-ratio="TRUE" width="248px" height="283px" border="0" class="img_whs10"></p>
-
-<p class="whs6"> </p>
-
-<p class="whs11"><span style="font-weight: normal;">Our</span>
- TUI Scripts<span style="font-weight: normal;"> provide you with useful
- examples of the use of</span> <a href="repairing_operations.htm#bookmark9">Repairing
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Circle</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-size:12pt; font-weight:bold; }
-p.whs4 { font-size:12pt; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
-img_whs6 { border:none; width:312px; height:359px; float:none; border-style:none; }
-img_whs7 { border:none; width:348px; height:321px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nCircle");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Circle</h1>
-
-<p><b><span style="font-weight: normal;">T</span></b>o create a <span style="font-weight: bold;"><B>Circle</B></span>
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
- style="font-weight: bold;"><B>New Entity - > Basic - > Circle</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">There
- are 2 algorithms to create a</span> Circle <span style="font-weight: normal;">in
- the 3D space.</span> </b></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 (edge).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
- you can define a </span><span style="font-weight: bold;"><B>Circle</B></span><span
- style="font-weight: normal;"> by a</span> Center Point, <span style="font-weight: normal;">a</span>
- Vector <span style="font-weight: normal;">giving the </b>circl</span>e\92s
- normal and a <span style="font-weight: bold;"><B>Radius</B></span>.</p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
- <span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span></p>
-
-<p class="whs3"><b style="font-weight: bold;">Arguments:
- </b><span style="font-weight: normal;">Name + 1 vertex (for the center)
- + 1 edge (for the direction) + Radius.</span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><img src="pics/circle1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><span style="font-weight: normal;">Secondly,
- you can define a</span> Circle<span style="font-weight: normal;"> by three</span>
- Points <span style="font-weight: normal;">that lie on it.</span> </p>
-
-<p class="whs3"><b style="font-weight: bold;">TUI
- Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeCircleThreePnt(Point1,
- Point2, Point3)</I></span> </p>
-
-<p class="whs3"><b style="font-weight: bold;">Arguments:
- </b><span style="font-weight: normal;">Name + 3 points which will form
- the circle.</span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><b style="font-weight: bold;"><img src="pics/circle2.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs6"></b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><b style="font-weight: bold;"><img src="pics/circles.png" x-maintain-ratio="TRUE" width="348px" height="321px" border="0" class="img_whs7"></b></p>
-
-<p> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="basic_geometrical_objects.htm#bookmark2">Basic
- Geometric Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Close Contour</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; }
-ul.whs3 { list-style:disc; }
-p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; }
-img_whs5 { border:none; width:312px; height:397px; float:none; border-style:none; }
-p.whs6 { font-size:12pt; font-weight:bold; }
-p.whs7 { 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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nClose Contour");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Close Contour</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Close Contour</B></span> operation in the
- Main Menu select <span style="font-weight: bold;"><B>Repair - > Close
- Contour.</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">This operation closes an open contour and modifies
- the underlying face (if needed) in accordance with user specified mode:</p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p class="whs2">By common vertex \96 a
- vertex is created between the end points of the contour and its tolerance
- is increased to a value of the gap between the ends of the contour;</p></li>
-
- <li class=kadov-p><p class="whs2">By new edge \96 a new edge
- is inserted between the end points of the contour.</p></li>
-</ul>
-
-<p class="whs2">This operation is available in <span style="font-weight: bold;"><B>OCC
- Viewer</B></span> only. </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b><span
- style="font-weight: normal;">T</b>he</span> Result <span style="font-weight: normal;">will
- be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object</B></span></b><span
- style="font-weight: bold;"><B>.</B></span></font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires,
- IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires
- is a list of edges or wires ID\92s which has to be closed within the shape
- (if the list contains only one element = -1, the shape itself is considered
- as a wire), IsCommonVertex
- if this parameter is True a closure has to be done by creation of a common
- vertex, otherwise an edge is added between the end vertices.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: <span
- style="font-weight: normal;">Name + 1 shape + contour</span> <span style="font-weight: normal;">(</span></b>Wire,
- or a set of Edges) + mode of closure (by vertex or by edge)</p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/repair3.png" x-maintain-ratio="TRUE" width="312px" height="397px" border="0" class="img_whs5"></p>
-
-<p class="whs6"> </p>
-
-<p class="whs7"><span style="font-weight: normal;">Our</span>
- TUI Scripts <span style="font-weight: normal;">provide you with useful
- examples of the use of</span> <a href="repairing_operations.htm#bookmark2">Repairing
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Color</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">
-<!--
-p.whs1 { font-size:12pt; }
-p.whs2 { margin-left:40px; }
-img_whs3 { border:none; width:492px; height:392px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nViewing geometrical objects\nColor");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Color</h1>
-
-<p>You can change the filling color of your object in the standard <span
- style="font-weight: bold;"><B>Select Color</B></span> menu accessible by right-clicking
- on an object and selecting <span style="font-weight: bold;"><B>Color</B></span>
- in the pop-up menu box. </p>
-
-<p> </p>
-
-<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">TUI
- Command:</b><i> gg.setColor(ID, Short, Short, Short)</i></font></span></p>
-
-<p> </p>
-
-<p class="whs2"><img src="selectcolor.png" x-maintain-ratio="TRUE" width="492px" height="392px" border="0" class="img_whs3"></p>
-
-<p> </p>
-
-<p class="whs1">Our TUI Scripts provide you with useful examples
- of <a href="changing_display_parameters.htm#bookmark1">Changing Display
- Parameters</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Common</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-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
-p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
-img_whs6 { border:none; border-style:none; width:253px; height:266px; float:none; }
-img_whs7 { border:none; border-style:none; float:none; width:234px; height:266px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
- strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nCommon");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Common</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Common</B></span> operation in the Main
- Menu select <span style="font-weight: bold;"><B>Operations - > Boolean
- - > Common</B></span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">This
- operation</span> </b>cuts the common part of two shapes and transforms
- it into an independent geometrical object.</p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object
- (COMPOUND).</p>
-
-<p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span>
- <span style="font-style: italic;"><I>geompy.MakeCommon(s1,
- s2)</I></span> </p>
-
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
- Name + 2 shapes.</p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><img src="pics/bool2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>
-
-<p class="whs4"> </p>
-
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs4"> </p>
-
-<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> <img src="pics/commonsn.png" x-maintain-ratio="TRUE" width="234px" height="266px" border="0" class="img_whs7"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of the use of <a href="boolean_operations.htm#bookmark1">Boolean Operations</a>.
- </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Complex Objects</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nComplex Objects");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Complex Objects</h1>
-
-<h3><a name=bookmark>Creation of a Prism</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(
- 0.,
- 0.,
- 0.)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(
- 100., 0.,
- 0.)</p>
-
-<p class="whs1">p3 = geompy.MakeVertex(
- 100., 100., 0.)</p>
-
-<p class="whs1">p4 = geompy.MakeVertex(
- 0.,
- 100., 0.)</p>
-
-<p class="whs1">p5 = geompy.MakeVertex(
- 0.,
- 0.,
- 60.)</p>
-
-<p class="whs1">p6 = geompy.MakeVertex(-100.,
- 0.,
- 0.)</p>
-
-<p class="whs1">p7 = geompy.MakeVertex(-100.,-100.,
- 0.)</p>
-
-<p class="whs1">p8 = geompy.MakeVertex(
- 0.,-100.,
- 0.)</p>
-
-<p> </p>
-
-<p># create a vector from the given components</p>
-
-<p class="whs1">vector = geompy.MakeVectorDXDYDZ(50.,
- 50., 50.)</p>
-
-<p> </p>
-
-<p>#create vectors from two points</p>
-
-<p class="whs1">vector1_arc1 = geompy.MakeVector(p1,
- p2)</p>
-
-<p class="whs1">vector2_arc1 = geompy.MakeVector(p1,
- p4)</p>
-
-<p class="whs1">vector1_arc2 = geompy.MakeVector(p1,
- p6)</p>
-
-<p class="whs1">vector2_arc2 = geompy.MakeVector(p1,
- p8)</p>
-
-<p> </p>
-
-<p># create arcs from three points</p>
-
-<p class="whs1">arc1 = geompy.MakeArc(p2,
- p3, p4)</p>
-
-<p class="whs1">arc2 = geompy.MakeArc(p6,
- p7, p8)</p>
-
-<p> </p>
-
-<p># create wires</p>
-
-<p class="whs1">wire1 = geompy.MakeWire([vector1_arc1,
- arc1, vector2_arc1])</p>
-
-<p class="whs1">wire2 = geompy.MakeWire([vector1_arc2,
- arc2, vector2_arc2])</p>
-
-<p> </p>
-
-<p># create faces</p>
-
-<p class="whs1">isPlanarWanted = 1</p>
-
-<p class="whs1">face1 = geompy.MakeFace(wire1,
- isPlanarWanted)</p>
-
-<p class="whs1">face2 = geompy.MakeFace(wire2,
- isPlanarWanted)</p>
-
-<p> </p>
-
-<p># create prisms</p>
-
-<p class="whs1">prism1 = geompy.MakePrism(face2,
- p1, p5)</p>
-
-<p class="whs1">prism2 = geompy.MakePrismVecH(face1,
- vector, 50)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_face1 =
- geompy.addToStudy(face1,"Face1")</p>
-
-<p class="whs1">id_face2 =
- geompy.addToStudy(face2,"Face2")</p>
-
-<p class="whs1">id_prism1 = geompy.addToStudy(prism1,"Prism1")</p>
-
-<p class="whs1">id_prism2 = geompy.addToStudy(prism2,"Prism2")</p>
-
-<p> </p>
-
-<p># display cylinders</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_face1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_face1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_face2)</p>
-
-<p class="whs1">gg.setDisplayMode(id_face2,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_prism1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_prism1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_prism2)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_prism2,1)</span>
- </p>
-
-<h3><a name=bookmark1>Creation of a Revolution</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(
- 10., 10.,
- 10.)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(
- 15., 15.,
- 50.)</p>
-
-<p class="whs1">p3 = geompy.MakeVertex(
- 40., 40.,
- 0.)</p>
-
-<p> </p>
-
-<p>#create vectors from two points</p>
-
-<p class="whs1">vector1 = geompy.MakeVector(p1,
- p2)</p>
-
-<p class="whs1">vector2 = geompy.MakeVector(p1,
- p3)</p>
-
-<p> </p>
-
-<p># create a vector from the given components</p>
-
-<p class="whs1">vector3 = geompy.MakeVectorDXDYDZ(-20.,
- -20., 100.)</p>
-
-<p> </p>
-
-<p># create a wire</p>
-
-<p class="whs1">wire = geompy.MakeWire([vector1,
- vector2])</p>
-
-<p> </p>
-
-<p># create a revolution</p>
-
-<p class="whs1">revolution = geompy.MakeRevolution(wire,
- vector3, 2.3)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_vector3 =
- geompy.addToStudy(vector3,"Axis")</p>
-
-<p class="whs1">id_wire =
- geompy.addToStudy(wire,"Wire")</p>
-
-<p class="whs1">id_revolution = geompy.addToStudy(revolution,"Revolution")</p>
-
-<p> </p>
-
-<p># display the vector, the wire and the revolution</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_vector3)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_revolution)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_revolution,1)</span>
- </p>
-
-<h3><a name=bookmark2>Creation of a Filling</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1">mindeg = 2</p>
-
-<p class="whs1">maxdeg = 5</p>
-
-<p class="whs1">tol3d =
- 0.0001</p>
-
-<p class="whs1">tol2d =
- 0.0001</p>
-
-<p class="whs1">nbiter = 5</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(
- -30., -30.,
- 50.)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(
- -60., -60.,
- 30.)</p>
-
-<p class="whs1">p3 = geompy.MakeVertex(
- -30., -30.,
- 10.)</p>
-
-<p> </p>
-
-<p># create an arc from three points</p>
-
-<p class="whs1">arc = geompy.MakeArc(p1,
- p2, p3)</p>
-
-<p class="whs1">ShapeListCompound
- = []</p>
-
-<p class="whs1">i = 0</p>
-
-<p class="whs1">while i <= 3 :</p>
-
-<p class="whs1"> S
- = geompy.MakeTranslation(arc, i * 50., 0., 0.)</p>
-
-<p class="whs1"> ShapeListCompound.append(S)</p>
-
-<p class="whs1"> i
- = i + 1</p>
-
-<p class="whs1">compound = geompy.MakeCompound(ShapeListCompound)</p>
-
-<p> </p>
-
-<p># create a filling</p>
-
-<p class="whs1">filling = geompy.MakeFilling(compound,
- mindeg, maxdeg, tol3d, tol2d, nbiter)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_compound = geompy.addToStudy(compound,"Compound")</p>
-
-<p class="whs1">id_filling = geompy.addToStudy(filling,"Filling")</p>
-
-<p> </p>
-
-<p># display the compound and the filling</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_compound)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_filling)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_filling,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark3>Creation of a Pipe</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex(0. ,
- 0. , 0.
- )</p>
-
-<p class="whs1">px =
- geompy.MakeVertex(100., 0. ,
- 0. )</p>
-
-<p class="whs1">py =
- geompy.MakeVertex(0. ,
- 100., 0. )</p>
-
-<p class="whs1">pz =
- geompy.MakeVertex(0. ,
- 0. , 100.)</p>
-
-<p class="whs1">pxyz = geompy.MakeVertex(100.,
- 100., 100.)</p>
-
-<p> </p>
-
-<p># create a vector from two points</p>
-
-<p class="whs1">vxy = geompy.MakeVector(px,
- py)</p>
-
-<p> </p>
-
-<p># create an arc from three points</p>
-
-<p class="whs1">arc = geompy.MakeArc(py,
- pz, px)</p>
-
-<p> </p>
-
-<p># create a wire</p>
-
-<p class="whs1">wire = geompy.MakeWire([vxy,
- arc])</p>
-
-<p> </p>
-
-<p># create an edge</p>
-
-<p class="whs1">edge = geompy.MakeEdge(p0,
- pxyz)</p>
-
-<p> </p>
-
-<p># create a pipe</p>
-
-<p class="whs1">pipe = geompy.MakePipe(wire,
- edge)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_wire = geompy.addToStudy(wire,"Wire")</p>
-
-<p class="whs1">id_edge = geompy.addToStudy(edge,"Edge")</p>
-
-<p class="whs1">id_pipe = geompy.addToStudy(pipe,"Pipe")</p>
-
-<p> </p>
-
-<p># display the wire, the edge (path) and the pipe</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_edge)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_pipe)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_pipe,1)</span>
- </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Compound</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; }
-img_whs5 { border:none; width:195px; height:174px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nCompound");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span>Compound</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o create
- a <span style="font-weight: bold;"><B>Compound </B></span>in the Main Menu select
- New Entity - > Build - > <span style="font-weight: bold;"><B>Compound.</B></span></p>
-
-<p> </p>
-
-<p class="whs2">You can create a compound from a list of shells.
- </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span> </b>GEOM_Object
- (COMPOUND).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeCompound(ListOfShape)</I></span></p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + List of shapes.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/neo-obj7.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs4"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/compoundsn.png" x-maintain-ratio="TRUE" width="195px" height="174px" border="0" class="img_whs5"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="geometrical_objects.htm#bookmark4">Advanced Geometric
- Objects</a>. </p>
-
-<p> </p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"> </p>
-
-<p class="whs2"> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Cone</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; }
-p.whs4 { margin-left:40px; }
-img_whs5 { border:none; width:312px; height:402px; float:none; border-style:none; }
-p.whs6 { font-weight:bold; margin-left:40px; }
-img_whs7 { border:none; width:312px; height:402px; float:none; border-style:none; }
-p.whs8 { font-size:12pt; margin-left:40px; }
-img_whs9 { border:none; width:276px; height:282px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nCone");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</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_image103.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cone</h1>
-
-<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cone</B></span>
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
- style="font-weight: bold;"><B>New Entity - > Primitives - > Cone</B></span></p>
-
-<p> </p>
-
-<p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Cone</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>Firstly, you can define a <span style="font-weight: bold;"><B>Cone</B></span>
- by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central
- point of the cone base), the <span style="font-weight: bold;"><B>Axis</B></span>,
- the <span style="font-weight: bold;"><B>Height</B></span> and the first and the
- second <span style="font-weight: bold;"><B>Radiuses</B></span>. </p>
-
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point,
- Axis, Radius1, Radius2)</I></span></p>
-
-<p class="whs3"><b style="font-weight: bold;">Arguments:
- </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 1 vertex
- + 1 vector (for direction) + 3 values (Radius of the base part, radius
- of the upper part, height).</font></span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><img src="pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs5"></p>
-
-<p> </p>
-
-<p>Secondly, you can define a <span style="font-weight: bold;"><B>Cone</B></span>
- with the center at the origin of coordinates by its <span style="font-weight: bold;"><B>Height</B></span>
- and <span style="font-weight: bold;"><B>Radiuses</B></span>. The <span style="font-weight: bold;"><B>Axis</B></span>
- of the <span style="font-weight: bold;"><B>Cone</B></span> 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.MakeConeR1R2H(Radius1,
- Radius2, Height)</I></span> </p>
-
-<p class="whs3"><b>Arguments: </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name
- + 3 values (Radius of the base part, radius of the upper part, height).</font></span></p>
-
-<p class="whs6"><img src="pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs7"></p>
-
-<p class="whs3"> </p>
-
-<p><span style="font-weight: bold;"><B>Note:</B></span> If both radiuses are non-zero,
- the <span style="font-weight: bold;"><B>Cone</B></span> will be truncated. If
- the radiuses are equal, a <span style="font-weight: bold;"><B>Cylinder</B></span>
- will be created instead. </p>
-
-<p> </p>
-
-<p><b style="font-weight: bold;">Example:</b></p>
-
-<p> </p>
-
-<p class="whs8"><img src="pics/cones.png" x-maintain-ratio="TRUE" width="276px" height="282px" border="0" class="img_whs9"></p>
-
-<p class="whs8"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="primitives.htm#bookmark4">Primitives</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Geometry Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body>
-<script language="JavaScript">
-<!--
-
-var gArrayCsh = new Array();
-
-var gstrWindowOption = "";
-var gstrURL = "";
-var gbWithNavPane = false;
-
-function CshEntityItem(strAliasId, nTopicNum, strUrl)
-{
- this.strAliasId = strAliasId;
- this.nTopicNum = nTopicNum;
- this.strUrl = strUrl;
-}
-
-
-//Try to get to topic number from hash string
-function GetTopicNumberAuto(strMayBeNumber)
-{
- var nNum = -1;
- if (strMayBeNumber.length >= 1)
- {
- var strTmp = strMayBeNumber;
- var iEnd = strTmp.length;
- for (var i=0; i<iEnd; i++)
- {
- var ch = strTmp.charAt(i);
- if (!((ch == "0") || (ch == "1") ||
- (ch == "2") || (ch == "3") ||
- (ch == "4") || (ch == "5") ||
- (ch == "6") || (ch == "7") ||
- (ch == "8") || (ch == "9")))
- return GetTopicNumberById(strTmp);
- }
- nNum = parseInt(strTmp);
- }
- return nNum;
-}
-
-function GetTopicNumber(strHashString)
-{
- var nTopicEndPos = strHashString.indexOf(',')
- if (nTopicEndPos == -1) { // no window option.
- return GetTopicNumberOnly(strHashString);
- }
- else {
- var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);
- var strWithNavPane = 'withnavpane=true';
- if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)
- {
- if (strWindowOption.length > strWithNavPane.length)
- gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);
- else
- gstrWindowOption = "";
- gbWithNavPane = true;
- }
- else
- gstrWindowOption = strWindowOption;
- return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));
- }
-}
-
-function GetTopicNumberOnly(strTopicString)
-{
- var nEqualPos = strTopicString.indexOf('=');
- if (nEqualPos == -1) {
- return GetTopicNumberAuto(strTopicString);
- }
- else {
- var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);
- if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {
- return parseInt(strValue);
- } else if (strTopicString.toLowerCase().indexOf("context") == 0) {
- return GetTopicNumberById(strValue);
- } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {
- gstrURL = strValue;
- return -1;
- }
-
- }
-}
-
-//Find HomePage of the WebHelp system
-// we try to get the topic from remote project if it exists.
-function RedirectToHomePage()
-{
- if (parent && parent != this && parent.goNext)
- {
- var sHome = parent.goNext();
- if (sHome != "")
- RedirectTo(sHome);
- }
-}
-
-function getHomePage()
-{
- if (parent && parent != this && parent.getRelHomePage)
- {
- return parent.getRelHomePage(document.location.href);
- }
- return "";
-}
-
-function addRemoteProject(strPath)
-{
- if (parent && parent != this && parent.addProject)
- {
- parent.addProject(strPath);
- }
-}
-
-//Redirect page to...
-function RedirectTo(strUrl)
-{
- if (gstrWindowOption.length != 0) {
- var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);
- // close current window and rename the stub window to current window.
- if (wnd)
- wnd.focus();
- if (parent)
- parent.close();
- }
- else {
- parent.document.location.href = strUrl;
- window.focus();
- }
-}
-
-//Prompt the user that we can not find...
-function FailToFind(strMsg)
-{
- RedirectToHomePage();
-}
-
-//Find topic by topic number (defined in h file)
-function FindTopicByTopicNum(nTopicNum)
-{
- var i = 0;
- var iEnd = gArrayCsh.length;
- for (i=0; i<iEnd; i++)
- {
- if (gArrayCsh[i].nTopicNum == nTopicNum)
- {
- var strURL = gArrayCsh[i].strUrl;
- if (gbWithNavPane)
- {
- var strHomePage = getHomePage();
- if (strHomePage.length != 0)
- strURL = strHomePage + strURL;
- }
- RedirectTo(strURL);
- return true;
- }
- }
- FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);
- return false;
-}
-
-var oldPrefix = "HelpIdFromHTMLHelp_"
-//Find topic by topic id (alias id defined in ali file)
-function GetTopicNumberById(strTopicId)
-{
- if (strTopicId.indexOf(oldPrefix) == 0)
- {
- strTopicId = strTopicId.substring(oldPrefix.length);
- }
-
- var i = 0;
- var iEnd = gArrayCsh.length;
- for (i=0; i<iEnd; i++)
- {
- if (gArrayCsh[i].strAliasId.toLowerCase() == strTopicId.toLowerCase())
- {
- return gArrayCsh[i].nTopicNum;
- }
- }
- gstrURL = "";
- return -1;
-}
-
-//Set Context-sensitive help entity...
-function SetCsh(n, strAliasId, nTopicNum, strUrl)
-{
- gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);
-}
-
-
-function getHash()
-{
- if (parent && parent != this)
- return parent.location.hash;
- else
- return "";
-}
-//-->
-</script>
-<script language="javascript">
-<!--
-
-
-//-->
-</script>
-<script language="javascript">
-<!--
-//Find CSH according to hash string after this page
-if (getHash().length > 0)
-{
- // VH 05/16/00 now support
- // TopicID=
- // TopicNumber=
- // RemoteURL=
- // and WindowsOptions
- // with the format #a=xxx,b=xxx,c=xxx...
- var strHashString = getHash().toString();
- // change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it.
- // so here need to change it back.
- strHashString = strHashString.substring(1,strHashString.length);
- strHashString = strHashString.replace("%072%057%057", "://");
- var nTopicNum = GetTopicNumber(strHashString);
-
- if (nTopicNum != -1)
- {
- FindTopicByTopicNum(nTopicNum);
- }
- else
- {
- if (gstrURL.length > 0)
- RedirectTo(gstrURL);
- else
- RedirectToHomePage();
- }
-}
-else
-{
- RedirectToHomePage();
-}
-//-->
-</script>
-<noscript>
- <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>
-</noscript>
-</body>
-</html>
-
-
-
-
-
-
+++ /dev/null
-<html>
-<head>
-<title>Geometry Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body>
-<script language="JavaScript">
-<!--
-
-var gArrayCsh = new Array();
-
-var gstrWindowOption = "";
-var gstrURL = "";
-var gbWithNavPane = false;
-
-function CshEntityItem(strAliasId, nTopicNum, strUrl)
-{
- this.strAliasId = strAliasId;
- this.nTopicNum = nTopicNum;
- this.strUrl = strUrl;
-}
-
-
-//Try to get to topic number from hash string
-function GetTopicNumberAuto(strMayBeNumber)
-{
- var nNum = -1;
- if (strMayBeNumber.length >= 1)
- {
- var strTmp = strMayBeNumber;
- var iEnd = strTmp.length;
- for (var i=0; i<iEnd; i++)
- {
- var ch = strTmp.charAt(i);
- if (!((ch == "0") || (ch == "1") ||
- (ch == "2") || (ch == "3") ||
- (ch == "4") || (ch == "5") ||
- (ch == "6") || (ch == "7") ||
- (ch == "8") || (ch == "9")))
- return GetTopicNumberById(strTmp);
- }
- nNum = parseInt(strTmp);
- }
- return nNum;
-}
-
-function GetTopicNumber(strHashString)
-{
- var nTopicEndPos = strHashString.indexOf(',')
- if (nTopicEndPos == -1) { // no window option.
- return GetTopicNumberOnly(strHashString);
- }
- else {
- var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);
- var strWithNavPane = 'withnavpane=true';
- if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)
- {
- if (strWindowOption.length > strWithNavPane.length)
- gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);
- else
- gstrWindowOption = "";
- gbWithNavPane = true;
- }
- else
- gstrWindowOption = strWindowOption;
- return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));
- }
-}
-
-function GetTopicNumberOnly(strTopicString)
-{
- var nEqualPos = strTopicString.indexOf('=');
- if (nEqualPos == -1) {
- return GetTopicNumberAuto(strTopicString);
- }
- else {
- var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);
- if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {
- return parseInt(strValue);
- } else if (strTopicString.toLowerCase().indexOf("topicid") == 0) {
- return GetTopicNumberById(strValue);
- } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {
- gstrURL = strValue;
- return -1;
- }
-
- }
-}
-
-//Find HomePage of the WebHelp system
-// we try to get the topic from remote project if it exists.
-function RedirectToHomePage()
-{
- if (parent && parent != this && parent.goNext)
- {
- var sHome = parent.goNext();
- if (sHome != "")
- RedirectTo(sHome);
- }
-}
-
-function getHomePage()
-{
- if (parent && parent != this && parent.getRelHomePage)
- {
- return parent.getRelHomePage(document.location.href);
- }
- return "";
-}
-
-function addRemoteProject(strPath)
-{
- if (parent && parent != this && parent.addProject)
- {
- parent.addProject(strPath);
- }
-}
-
-//Redirect page to...
-function RedirectTo(strUrl)
-{
- if (gstrWindowOption.length != 0) {
- var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);
- // close current window and rename the stub window to current window.
- wnd.focus();
- if (parent)
- parent.close();
- }
- else {
- parent.document.location.href = strUrl;
- window.focus();
- }
-}
-
-//Prompt the user that we can not find...
-function FailToFind(strMsg)
-{
- RedirectToHomePage();
-}
-
-//Find topic by topic number (defined in h file)
-function FindTopicByTopicNum(nTopicNum)
-{
- var i = 0;
- var iEnd = gArrayCsh.length;
- for (i=0; i<iEnd; i++)
- {
- if (gArrayCsh[i].nTopicNum == nTopicNum)
- {
- var strURL = gArrayCsh[i].strUrl;
- if (gbWithNavPane)
- {
- var strHomePage = getHomePage();
- if (strHomePage.length != 0)
- strURL = strHomePage + strURL;
- }
- RedirectTo(strURL);
- return true;
- }
- }
- FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);
- return false;
-}
-
-//Find topic by topic id (alias id defined in ali file)
-function GetTopicNumberById(strTopicId)
-{
- var i = 0;
- var iEnd = gArrayCsh.length;
- for (i=0; i<iEnd; i++)
- {
- if (gArrayCsh[i].strAliasId == strTopicId)
- {
- return gArrayCsh[i].nTopicNum;
- }
- }
- gstrURL = "";
- return -1;
-}
-
-//Set Context-sensitive help entity...
-function SetCsh(n, strAliasId, nTopicNum, strUrl)
-{
- gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);
-}
-
-
-function getHash()
-{
- if (parent && parent != this)
- return parent.location.hash;
- else
- return "";
-}
-//-->
-</script>
-<script language="javascript">
-<!--
-
-
-//-->
-</script>
-<script language="javascript">
-<!--
-//Find CSH according to hash string after this page
-if (getHash().length > 0)
-{
- // VH 05/16/00 now support
- // TopicID=
- // TopicNumber=
- // RemoteURL=
- // and WindowsOptions
- // with the format #a=xxx,b=xxx,c=xxx...
- var strHashString = getHash().toString();
- // change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it.
- // so here need to change it back.
- strHashString = strHashString.substring(1,strHashString.length);
- strHashString = strHashString.replace("%072%057%057", "://");
- var nTopicNum = GetTopicNumber(strHashString);
-
- if (nTopicNum != -1)
- {
- FindTopicByTopicNum(nTopicNum);
- }
- else
- {
- if (gstrURL.length > 0)
- RedirectTo(gstrURL);
- else
- RedirectToHomePage();
- }
-}
-else
-{
- RedirectToHomePage();
-}
-//-->
-</script>
-<noscript>
- <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>
-</noscript>
-</body>
-</html>
-
-
-
-
-
-
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Curve</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 { border:none; width:20px; height:20px; border-style:none; }
-p.whs2 { font-size:12pt; }
-ul.whs3 { list-style:disc; }
-p.whs4 { font-size:12pt; font-style:italic; }
-p.whs5 { font-size:12pt; font-style:italic; margin-left:40px; }
-img_whs6 { border:none; width:312px; height:289px; float:none; border-style:none; }
-p.whs7 { font-size:12pt; font-style:normal; font-weight:bold; }
-p.whs8 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }
-img_whs9 { border:none; float:none; width:310px; height:308px; border-style:none; }
-img_whs10 { border:none; width:313px; height:310px; float:none; border-style:none; }
-img_whs11 { border:none; float:none; width:291px; height:313px; border-style:none; }
-p.whs12 { font-size:12pt; margin-left:40px; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nCurve");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="image32.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Curve</h1>
-
-<p>To create a <span style="font-weight: bold;"><B>Curve</B></span> in the <span
- style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
- Entity - > Basic - > Curve</B></span></p>
-
-<p> </p>
-
-<p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create
- a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve</B></font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> in the 3D space. Each time you define it by
- a list of </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Points</B></font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> through which the curve passes. The three </font></span><span
- style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve Construction</B></font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> menu choices correspond to three possible types
- of curves: Polyline, Besier or B-spline (Interpolated). </font></span></p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><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 (edge).</font></span></p>
-
-<p> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Commands:</b>
- </p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span></p></li>
-
- <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span></p></li>
-
- <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span></p></li>
-</ul>
-
-<p class="whs2">ListOfShape is a list of points through which
- the curve passes.</p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
- Name + at least 2 points which will serve as nodes on the curve.</font></span></p>
-
-<p class="whs4"> </p>
-
-<p class="whs5"><img src="pics/curve.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs6"> </p>
-
-<p class="whs4"> </p>
-
-<p class="whs7">Examples:</p>
-
-<p class="whs2"> </p>
-
-<p class="whs8">Polyline
- <span
- style="font-size: 12pt;
- font-weight: bold;
- font-style: italic;
- x-text-underline: off;
- /*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font size=3 style="font-size:12pt;"><I><B> Bezier
- B-Spline</B></I></font></span></p>
-
-<p class="whs2"><img src="pics/polyline.png" x-maintain-ratio="TRUE" width="310px" height="308px" border="0" class="img_whs9"> <img src="pics/bezier.png" x-maintain-ratio="TRUE" width="313px" height="310px" border="0" class="img_whs10"> <img src="pics/interpol.png" x-maintain-ratio="TRUE" width="291px" height="313px" border="0" class="img_whs11"></p>
-
-<p class="whs12"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="basic_geometrical_objects.htm#bookmark4">Basic
- Geometric Objects</a>. </p>
-
-<p> </p>
-
-<p class="whs2"> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Cut</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-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
-p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
-img_whs6 { border:none; border-style:none; width:253px; height:266px; float:none; }
-img_whs7 { border:none; width:231px; height:267px; 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.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
- strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nCut");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cut</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Cut</B></span> operation in the Main Menu
- select <span style="font-weight: bold;"><B>Operations - > Boolean - >
- Cut</B></span></p>
-
-<p> </p>
-
-<p class="whs3">This operation cuts a shape with another
- one.</p>
-
-<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span> </b> GEOM_Object
- (COMPOUND).</p>
-
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
- Name + 2 shapes.</p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><img src="pics/bool3.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>
-
-<p class="whs4"> </p>
-
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> <img src="pics/cutsn.png" x-maintain-ratio="TRUE" width="231px" height="267px" border="0" class="img_whs7"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of the use of <a href="boolean_operations.htm#bookmark3">Boolean Operations</a>.
- </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!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; }
-p.whs4 { margin-left:40px; }
-img_whs5 { border:none; width:312px; height:376px; float:none; border-style:none; }
-img_whs6 { border:none; width:312px; height:376px; border-style:none; float:none; }
-p.whs7 { margin-left:0px; }
-img_whs8 { 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.whs7 {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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nCylinder");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</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 class="whs4"><b style="font-weight: bold;"><img src="pics/cylinder1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs5"></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><b>Arguments: </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> </p>
-
-<p class="whs4"><img src="pics/cylinder2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs6"></p>
-
-<p class="whs7"> </p>
-
-<p><b style="font-weight: bold;">Example:</b></p>
-
-<p> </p>
-
-<p class="whs4"><img src="pics/cylinders.png" x-maintain-ratio="TRUE" width="287px" height="272px" border="0" class="img_whs8"></p>
-
-<p class="whs4"> </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>
+++ /dev/null
-BODY {
- background-color:#ffffff;
- font-family:"Times New Roman" , serif; }
-H1 {
- font-weight:bold;
- font-size:24.0pt; }
-LI.kadov-H1 {
- font-weight:bold;
- font-size:24.0pt; }
-H2 {
- font-weight:bold;
- font-size:18.0pt; }
-LI.kadov-H2 {
- font-weight:bold;
- font-size:18.0pt; }
-H3 {
- font-weight:bold;
- font-size:14.0pt; }
-LI.kadov-H3 {
- font-weight:bold;
- font-size:14.0pt; }
-H4 {
- font-weight:bold;
- font-size:12.0pt; }
-LI.kadov-H4 {
- font-weight:bold;
- font-size:12.0pt; }
-H5 {
- font-weight:bold;
- font-size:10.0pt; }
-LI.kadov-H5 {
- font-weight:bold;
- font-size:10.0pt; }
-H6 {
- font-weight:bold;
- font-size:8.0pt; }
-LI.kadov-H6 {
- font-weight:bold;
- font-size:8.0pt; }
-P {
- font-size:12.0pt;
- margin-top:0pt;
- margin-bottom:0pt; }
-LI.kadov-P {
- font-size:12.0pt; }
-A.expandspot {
- color:#008000;
- cursor:hand;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-SPAN.expandtext {
- font-style:italic;
- font-weight:normal;
- color:#ff0000; }
-A.dropspot {
- cursor:hand;
- color:#008000;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-A.glossterm {
- color:#800000;
- cursor:hand;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-SPAN.glosstext {
- font-style:italic;
- font-weight:normal;
- color:#0000ff; }
-OL {
- margin-top:0px;
- margin-bottom:0px; }
-UL {
- margin-top:0px;
- margin-bottom:0px; }
-A:active { }
-A:hover {
- x-text-underline:Off;
- text-decoration:none; }
-A:link {
- x-text-underline:Off;
- text-decoration:none; }
-A:visited {
- x-text-underline:Off;
- text-decoration:none; }
-P.TODO {
- font-weight:normal;
- font-style:italic;
- font-family:"Arial Black" , sans-serif; }
-LI.kadov-P-CTODO {
- font-weight:normal;
- font-style:italic;
- font-family:"Arial Black" , sans-serif; }
+++ /dev/null
-BODY {
- background-color:#ffffff;
- font-family:"Times New Roman" , serif; }
-H1 {
- font-weight:bold;
- font-size:24.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H1 {
- font-weight:bold;
- font-size:24.0pt; }
-H2 {
- font-weight:bold;
- font-size:18.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H2 {
- font-weight:bold;
- font-size:18.0pt; }
-H3 {
- font-weight:bold;
- font-size:14.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H3 {
- font-weight:bold;
- font-size:14.0pt; }
-H4 {
- font-weight:bold;
- font-size:12.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H4 {
- font-weight:bold;
- font-size:12.0pt; }
-H5 {
- font-weight:bold;
- font-size:10.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H5 {
- font-weight:bold;
- font-size:10.0pt; }
-H6 {
- font-weight:bold;
- font-size:8.0pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-H6 {
- font-weight:bold;
- font-size:8.0pt; }
-P {
- font-size:12.0pt;
- margin-top:1pt;
- margin-bottom:1pt;
- font-family:"Times New Roman" , serif; }
-LI.kadov-P {
- font-size:12.0pt; }
-A.expandspot {
- color:#008000;
- cursor:hand;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-SPAN.expandtext {
- font-style:italic;
- font-weight:normal;
- color:#ff0000; }
-A.dropspot {
- cursor:hand;
- color:#008000;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-A.glossterm {
- color:#800000;
- cursor:hand;
- font-style:italic;
- x-text-underline:off;
- x-text-overline:off;
- x-text-line-through:off;
- text-decoration:none none none; }
-SPAN.glosstext {
- font-style:italic;
- font-weight:normal;
- color:#0000ff; }
-OL {
- margin-top:0px;
- margin-bottom:0px;
- font-family:"Times New Roman" , serif; }
-UL {
- margin-top:0px;
- margin-bottom:0px;
- font-family:"Times New Roman" , serif; }
-A:active { }
-A:hover {
- x-text-underline:Off;
- text-decoration:none; }
-A:link {
- x-text-underline:Off;
- text-decoration:none; }
-A:visited {
- x-text-underline:Off;
- text-decoration:none; }
-P.TODO {
- font-weight:normal;
- font-style:italic;
- font-family:"Arial Black" , sans-serif; }
-LI.kadov-P-CTODO {
- font-weight:normal;
- font-style:italic;
- font-family:"Arial Black" , sans-serif; }
-ol ol {
- margin-top:1px; }
-ol ul {
- margin-top:1px; }
-ul ul {
- margin-top:1px; }
-ul ol {
- margin-top:1px; }
--- /dev/null
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+PROJECT_NAME = "Geometry Module Reference Manual v.@VERSION@"
+OUTPUT_DIRECTORY = ./
+CREATE_SUBDIRS = NO
+OUTPUT_LANGUAGE = English
+TAB_SIZE = 5
+
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+QUIET = NO
+WARNINGS = YES
+
+#---------------------------------------------------------------------------
+#Input related options
+#---------------------------------------------------------------------------
+INPUT = @srcdir@/input
+FILE_PATTERNS = *.doc
+IMAGE_PATH = @srcdir@/images
+
+#---------------------------------------------------------------------------
+#HTML related options
+#---------------------------------------------------------------------------
+GENERATE_HTML = YES
+HTML_OUTPUT = ./
+HTML_HEADER = @srcdir@/static/header.html
+HTML_FOOTER = @srcdir@/static/footer.html
+#HTML_STYLESHEET = @srcdir@/static/doxygen.css
+TOC_EXPAND = YES
+DISABLE_INDEX = NO
+GENERATE_TREEVIEW = YES
+TREEVIEW_WIDTH = 300
+
+#---------------------------------------------------------------------------
+#LaTeX related option
+#---------------------------------------------------------------------------
+GENERATE_LATEX = NO
+
+#---------------------------------------------------------------------------
+#RTF related options
+#---------------------------------------------------------------------------
+GENERATE_RTF = NO
+
+#---------------------------------------------------------------------------
+#External reference options
+#---------------------------------------------------------------------------
+TAGFILES = geompy_doc.tag=./geompy_doc
\ No newline at end of file
--- /dev/null
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+PROJECT_NAME = "Geometry Module Reference Manual v.@VERSION@"
+OUTPUT_DIRECTORY = ./
+CREATE_SUBDIRS = NO
+OUTPUT_LANGUAGE = English
+USE_WINDOWS_ENCODING = NO
+BRIEF_MEMBER_DESC = YES
+REPEAT_BRIEF = NO
+ALWAYS_DETAILED_SEC = YES
+INLINE_INHERITED_MEMB = YES
+FULL_PATH_NAMES = NO
+SHORT_NAMES = NO
+JAVADOC_AUTOBRIEF = YES
+MULTILINE_CPP_IS_BRIEF = NO
+DETAILS_AT_TOP = NO
+INHERIT_DOCS = YES
+SEPARATE_MEMBER_PAGES = NO
+TAB_SIZE = 5
+OPTIMIZE_OUTPUT_FOR_C = YES
+OPTIMIZE_OUTPUT_JAVA = YES
+BUILTIN_STL_SUPPORT = NO
+DISTRIBUTE_GROUP_DOC = NO
+SUBGROUPING = YES
+
+#---------------------------------------------------------------------------
+# Build related options
+#---------------------------------------------------------------------------
+EXTRACT_ALL = YES
+EXTRACT_PRIVATE = YES
+EXTRACT_STATIC = YES
+EXTRACT_LOCAL_CLASSES = YES
+EXTRACT_LOCAL_METHODS = NO
+HIDE_UNDOC_MEMBERS = NO
+HIDE_UNDOC_CLASSES = NO
+HIDE_FRIEND_COMPOUNDS = NO
+HIDE_IN_BODY_DOCS = NO
+INTERNAL_DOCS = YES
+CASE_SENSE_NAMES = YES
+HIDE_SCOPE_NAMES = NO
+SHOW_INCLUDE_FILES = YES
+INLINE_INFO = YES
+SORT_MEMBER_DOCS = NO
+SORT_BRIEF_DOCS = NO
+SORT_BY_SCOPE_NAME = NO
+GENERATE_TODOLIST = YES
+GENERATE_TESTLIST = YES
+GENERATE_BUGLIST = YES
+GENERATE_DEPRECATEDLIST= YES
+MAX_INITIALIZER_LINES = 25
+SHOW_USED_FILES = NO
+SHOW_DIRECTORIES = NO
+
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+SOURCE_BROWSER = NO
+INLINE_SOURCES = NO
+STRIP_CODE_COMMENTS = YES
+REFERENCED_BY_RELATION = NO
+REFERENCES_RELATION = YES
+USE_HTAGS = NO
+VERBATIM_HEADERS = YES
+
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+QUIET = NO
+WARNINGS = YES
+WARN_IF_UNDOCUMENTED = YES
+WARN_IF_DOC_ERROR = YES
+WARN_NO_PARAMDOC = NO
+EXCLUDE_SYMLINKS = NO
+EXAMPLE_RECURSIVE = NO
+
+#---------------------------------------------------------------------------
+#Input related options
+#---------------------------------------------------------------------------
+INPUT = @top_srcdir@/src/GEOM_SWIG
+FILE_PATTERNS = geompyDC.py
+IMAGE_PATH = @srcdir@/images
+RECURSIVE = NO
+
+#---------------------------------------------------------------------------
+#HTML related options
+#---------------------------------------------------------------------------
+GENERATE_HTML = YES
+HTML_OUTPUT = ./geompy_doc
+HTML_HEADER = @srcdir@/static/header.html
+HTML_FOOTER = @srcdir@/static/footer.html
+#HTML_STYLESHEET = @srcdir@/static/doxygen.css
+TOC_EXPAND = YES
+DISABLE_INDEX = YES
+GENERATE_TREEVIEW = NO
+
+#---------------------------------------------------------------------------
+#LaTeX related option
+#---------------------------------------------------------------------------
+GENERATE_LATEX = NO
+
+#---------------------------------------------------------------------------
+#RTF related options
+#---------------------------------------------------------------------------
+GENERATE_RTF = NO
+
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool
+#---------------------------------------------------------------------------
+CLASS_DIAGRAMS = YES
+HIDE_UNDOC_RELATIONS = NO
+HAVE_DOT = YES
+CLASS_GRAPH = YES
+COLLABORATION_GRAPH = NO
+GROUP_GRAPHS = NO
+UML_LOOK = NO
+TEMPLATE_RELATIONS = YES
+INCLUDE_GRAPH = YES
+INCLUDED_BY_GRAPH = NO
+CALL_GRAPH = NO
+GRAPHICAL_HIERARCHY = YES
+DIRECTORY_GRAPH = YES
+DOT_IMAGE_FORMAT = jpg
+DOT_PATH =
+DOTFILE_DIRS =
+MAX_DOT_GRAPH_WIDTH = 1024
+MAX_DOT_GRAPH_HEIGHT = 1200
+MAX_DOT_GRAPH_DEPTH = 0
+DOT_TRANSPARENT = NO
+DOT_MULTI_TARGETS = NO
+GENERATE_LEGEND = NO
+DOT_CLEANUP = YES
+
+#---------------------------------------------------------------------------
+#External reference options
+#---------------------------------------------------------------------------
+GENERATE_TAGFILE = geompy_doc.tag
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Edge</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }
-img_whs5 { border:none; width:195px; height:202px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nEdge");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Edge</h1>
-
-<p class="whs2"><b><span style="font-weight: normal;">T</b>o</span>
- create an <span style="font-weight: bold;"><B>Edge</B></span> in the <span style="font-weight: bold;"><B>Main
- Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
- Build - > Edge</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">You can create an <span style="font-weight: bold;"><B>Edge</B></span>
- from two points (<span style="font-weight: bold;"><B>Point1</B></span> and <span
- style="font-weight: bold;"><B>Point2</B></span>), being the first and the last
- vertices of the edge.</p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;"> will
- be a</span></b> GEOM_Object (EDGE).</p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeEdge(Vertex1, Vertex2)</I></span>,
- where Vertex1 and Vertex2 are correspondingly the first and the last vertex
- of the edge.</p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 2 vertices.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/neo-obj2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/edgesn.png" x-maintain-ratio="TRUE" width="195px" height="202px" border="0" class="img_whs5"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="geometrical_objects.htm#bookmark">Advanced Geometric
- Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<?xml version="1.0"?>
-<!DOCTYPE SYSTEM "ehelpopt.dtd">
-<FILE-OPTIONS FILE-VERSION="2" FILE-KEY="a306ebd6_4870_4c36_a066_58c07171acf6">
-</FILE-OPTIONS>
-<EHELP-OPTIONS FORMAT-VERSION="1.0">
- <OPTIONS ENABLED="NO" EMBEDDED="YES" MAIN-WINDOW-ONLY="NO" COMMUNITY-NOTIFY="NO" FIRST-PAGE="NOT-SET">
- </OPTIONS>
- <BUTTON-LABEL>WebSearch
- </BUTTON-LABEL>
-</EHELP-OPTIONS>
\ No newline at end of file
+++ /dev/null
-// eHelp® Corporation Dynamic HTML JavaScript
-// Copyright© 1998-2003 eHelp® Corporation.All rights reserved.
-// Version=4.82
-
-// Warning:Do not modify this file.It is generated by RoboHELP® and changes will be overwritten.
-
-//// Segment Begin -- (JavaScript 1.0)
-
-/// Section Begin - General and relative topics(JavaScript 1.0)
-
-//{{HH_SYMBOL_SECTION
-var HH_ChmFilename = "";
-var HH_WindowName = "";
-var HH_GlossaryFont = "";
-var HH_Glossary = "";
-var HH_Avenue = "";
-var HH_ActiveX = false;
-//}}HH_SYMBOL_SECTION
-
-//Begin to support previous generic parameters
-//Get the information about the browser.
-var gstrBsAgent = navigator.userAgent.toLowerCase();
-var gnBsVer = parseInt(navigator.appVersion);
-
-var gbBsOpera = (gstrBsAgent.indexOf('opera') != -1);
-var gbBsKonqueror = (gstrBsAgent.indexOf('konqueror') != -1);
-var gbBsSafari = (gstrBsAgent.indexOf('safari') != -1);
-var gbBsIE = (gstrBsAgent.indexOf('msie') != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari;
-var gbBsNS = (gstrBsAgent.indexOf('mozilla') != -1) && ((gstrBsAgent.indexOf('spoofer') == -1) && (gstrBsAgent.indexOf('compatible') == -1)) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari;
-
-var gbBsMac = (gstrBsAgent.indexOf('mac') != -1);
-var gbBsWindows = ((gstrBsAgent.indexOf('win') != -1) || (gstrBsAgent.indexOf('16bit') != -1));
-var gbBsSunOS = (gstrBsAgent.indexOf("sunos") != -1);
-
-var gbBsIE3Before = ((gbBsIE) && (gnBsVer <= 2));
-var gbBsNS3Before = ((gbBsNS) && (gnBsVer <= 3));
-
-var gbBsNS2 = ((gbBsNS) && (gnBsVer <= 2));
-var gbBsNS3 = ((gbBsNS) && (gnBsVer == 3));
-var gbBsIE300301 = ((gbBsIE) && (gnBsVer == 2) && ((gstrBsAgent.indexOf("3.00") != -1)||(gstrBsAgent.indexOf("3.0a") != -1)||(gstrBsAgent.indexOf("3.0b")!=-1)||(gstrBsAgent.indexOf("3.01")!=-1)));
-var gbBsIE302 = ((gbBsIE) && (gnBsVer == 2) && (gstrBsAgent.indexOf("3.02") != -1));
-
-var gbBsNS4 = ((gbBsNS) && (gnBsVer >= 4));
-var gbBsNS6 = ((gbBsNS) && (gnBsVer >= 5));
-var gbBsNS7 = false;
-
-var gbBsIE4 = ((gbBsIE) && (gnBsVer >= 4));
-var gbBsIE5 = false;
-var gbBsIE55 = false;
-
-var gbBsOpera6 = false;
-var gbBsOpera7 = false;
-
-var gbBsKonqueror3 = false;
-
-
-
-gbBsIE = (navigator.appName.indexOf("Microsoft") != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari;;
-if (gbBsIE)
-{
- if (parseInt(navigator.appVersion) >= 4) {
- gbBsIE4 = true;
- if (gbBsIE4) {
- var nPos = gstrBsAgent.indexOf("msie");
- var strIEversion = gstrBsAgent.substring(nPos + 5);
- var nVersion = parseFloat(strIEversion);
- if (nVersion >= 5)
- gbBsIE5 = true;
- if (nVersion >= 5.5)
- gbBsIE55 = true;
- }
- }
-}
-if (gbBsNS6)
-{
- var nPos=gstrBsAgent.indexOf("gecko");
- if(nPos!=-1)
- {
- var nPos2=gstrBsAgent.indexOf("/", nPos);
- if(nPos2!=-1)
- {
- var nVersion=parseFloat(gstrBsAgent.substring(nPos2+1));
- if (nVersion>=20020823)
- gbBsNS7=true;
- }
- }
-}
-if (gbBsOpera)
-{
- var nPos = gstrBsAgent.indexOf("opera");
- if(nPos!=-1)
- {
- var nVersion = parseFloat(gstrBsAgent.substring(nPos+6));
- if (nVersion >= 6)
- {
- gbBsOpera6=true;
- if (nVersion >=7)
- gbBsOpera7=true;
- }
- }
-}
-if (gbBsKonqueror)
-{
- var nPos = gstrBsAgent.indexOf("konqueror");
- if(nPos!=-1)
- {
- var nVersion = parseFloat(gstrBsAgent.substring(nPos+10));
- if (nVersion >= 3)
- {
- gbBsKonqueror3=true;
- }
- }
-}
-
-function insertAdjacentHTML(obj, where, htmlStr)
-{
- if (gbBsIE || gbBsOpera7)
- {
- obj.insertAdjacentHTML(where, htmlStr);
- }
- else if (gbBsNS6 || gbBsSafari)
- {
- var r = obj.ownerDocument.createRange();
- r.setStartBefore(obj);
- var parsedHTML = r.createContextualFragment(htmlStr);
-
- switch (where){
- case 'beforeBegin':
- obj.parentNode.insertBefore(parsedHTML,obj);
- break;
- case 'afterBegin':
- obj.insertBefore(parsedHTML,obj.firstChild);
- break;
- case 'beforeEnd':
- obj.appendChild(parsedHTML);
- break;
- case 'afterEnd':
- if (obj.nextSibling){
- obj.parentNode.insertBefore(parsedHTML,obj.nextSibling);
- } else {
- obj.parentNode.appendChild(parsedHTML);
- }
- break;
- }
- }
-}
-
-// Utilities functions.
-function BsscHasExtJs()
-{
- if( gbBsIE3Before || gbBsNS3Before)
- return false;
- return true;
-}
-
-// Register event handler
-var gBsOnLoads = new Array(); // An array holds all the onload event handler.
-var gBsOnClicks = new Array(); // An array holds all the onClick event handler.
-var gBsOnUnLoads = new Array(); // An array holds all the OnUnLoad event handler.
-var gBsOnMouseOvers = new Array(); // An array holds all the OnMouseOver event handler.
-var gBsOnMouseOuts = new Array(); // An array holds all the OnMouseOut event handler.
-
-var gbOrignalOnMouseDown = null;
-
-function BsscRegisterOnLoad(funcHandler)
-{
- var nLength = gBsOnLoads.length;
- gBsOnLoads[nLength] = funcHandler;
-}
-
-function BsscRegisterOnClick(funcHandler)
-{
- var nLength = gBsOnClicks.length;
- gBsOnClicks[nLength] = funcHandler;
-}
-
-function BsscRegisterOnUnLoad(funcHandler)
-{
- var nLength = gBsOnUnLoads.length;
- gBsOnUnLoads[nLength] = funcHandler;
-}
-
-function BsscRegisterOnMouseOver(funcHandler)
-{
- var nLength = gBsOnMouseOvers.length;
- gBsOnMouseOvers[nLength] = funcHandler;
-}
-
-function BsscRegisterOnMouseOut(funcHandler)
-{
- var nLength = gBsOnMouseOuts.length;
- gBsOnMouseOuts[nLength] = funcHandler;
-}
-
-function BsGeneralOnLoad()
-{
- if (!gbBsIE4 && !gbBsNS4)
- return;
-
- // Make everything visible in navigator
- if (gbBsNS4 && !gbBsNS6) {
- // Make some special effects items visible
- for (var iLayer = 0; iLayer < document.layers.length; iLayer++) {
- document.layers[iLayer].visibility = "show";
- document.layers[iLayer].left = 0;
- }
- }
-}
-
-// If resize the netscape browser, need to reload it.
-function BsReDo()
-{
- if (innerWidth != origWidth || innerHeight != origHeight)
- location.reload();
-}
-// End of the local functions.
-
-// The following functions are used by the html files.
-function BSSCOnLoad()
-{
- if( !BsscHasExtJs() )
- return;
- for (var nElement = gBsOnLoads.length - 1; nElement >= 0; nElement--)
- gBsOnLoads[nElement]();
-}
-
-function BSSCOnClick()
-{
- if (!BsscHasExtJs()) return;
-
- for (var nElement = gBsOnClicks.length - 1; nElement >= 0; nElement--)
- gBsOnClicks[nElement]();
-}
-
-function BSSCOnUnload()
-{
- if (!BsscHasExtJs()) return;
- for (var nElement = gBsOnUnLoads.length - 1; nElement >= 0; nElement--)
- gBsOnUnLoads[nElement]();
-}
-
-function BSSCOnMouseOver()
-{
- if (!BsscHasExtJs()) return;
- for (var nElement = gBsOnMouseOvers.length - 1; nElement >= 0; nElement--)
- gBsOnMouseOvers[nElement]();
-}
-
-function BSSCOnMouseOut()
-{
- if (!BsscHasExtJs()) return;
- for (var nElement = gBsOnMouseOuts.length - 1; nElement >= 0; nElement--)
- {
- gBsOnMouseOuts[nElement]();
- }
-}
-// End of invocation of the event handle functions.
-
-// Add the GereralOnLoad to the onload array.
-if (typeof(BsscRegisterOnLoad) != "undefined")
-{
- BsscRegisterOnLoad(BsGeneralOnLoad);
-}
-if (gbBsNS4&&!gbBsNS6) {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = BsReDo;
-}
-//End to support previous generic parameters
-
-//Begin to support previous HHActiveX invoking
-function BsHHActivateComponents()
-{
- if( HH_ActiveX && (HH_ChmFilename != "") && ((self == top) || (self == top.frames[0])))
- {
- var objBody = getElementsByTag(document,"BODY")[0];
- if( typeof(objBody) == "object" )
- {
- insertAdjacentHTML(objBody, "beforeEnd", '<OBJECT ID="HHComponentActivator" CLASSID="CLSID:399CB6C4-7312-11D2-B4D9-00105A0422DF" width=0 height=0></OBJECT>');
- if (HHComponentActivator.object)
- HHComponentActivator.Activate(HH_ChmFilename, HH_WindowName, HH_GlossaryFont, HH_Glossary, HH_Avenue);
- }
- }
-}
-
-function BsHHActivXOnLoad()
-{
- if( gbBsIE4 )
- BsHHActivateComponents();
-}
-
-if( typeof(BsscRegisterOnLoad) != "undefined" )
-{
- BsscRegisterOnLoad(BsHHActivXOnLoad);
-}
-//End to support previous HHActiveX invoking
-
-//Begin to support previous relative topics
-//If webHelp needs Related Topics DHTMLcode, it's supposed to add it here
-var gbPopupMenuTimeoutExpired = false;
-var gbInPopupMenu = false;
-var gbPopupMenuTopicList = null;
-var gOlddocumentClick = null;
-
-//////////////////////////////////////////////////////////////////////////////////////////
-//
-// Popup Menu code
-//
-//////////////////////////////////////////////////////////////////////////////////////////
-
-var g_bIsPopupMenuInit = false;
-function _WritePopupMenuLayer()
-{
- if (!g_bIsPopupMenuInit)
- {
- if (gbBsNS4&&!gbBsNS6) {
-//Do not try to write ininle styles for NS! NS can not handle it and will not stop downloading the html page...
- document.write("<DIV CLASS='WebHelpPopupMenu' ID='PopupMenu'></DIV>");
- } else{
- document.write("<DIV ID='PopupMenu' STYLE='position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;'></DIV>");
- if (!(gbBsNS4&&!gbBsNS6)) {
- document.write("<STYLE TYPE='text/css'>");
- if (gbBsMac&&gbBsIE4) {
- document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:10pt; font-style:normal;font-weight:normal;text-decoration:none;}");
- document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:10pt; font-style:normal;font-weight:normal;text-decoration:none;}");
- } else {
- document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:8pt; font-style:normal;font-weight:normal;text-decoration:none;}");
- document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:8pt; font-style:normal;font-weight:normal;text-decoration:none;}");
- }
- document.write("</STYLE>");
- }
- }
- g_bIsPopupMenuInit = true;
- }
-}
-
-//Seek for the bsscright frame
-function _SeekFrameByName( cRoot, strName )
-{
- if( cRoot == null ) return null;
- if( cRoot.frames == null ) return null;
- if( cRoot.frames[strName] != null ) return cRoot.frames[strName];
- for (var i=0; i<cRoot.frames.length; i++)
- {
- var cObj = null;
- if (!gbBsNS6)
- cObj = _SeekFrameByName( cRoot.frames(i).document, strName );
- else
- cObj = _SeekFrameByName( cRoot.frames[i], strName );
- if( cObj != null ) return cObj;
- };
- return null;
-}
-function _GetFrameByName( cRoot, strName )
-{
- if( cRoot == null ) return null;
- var cRet = _SeekFrameByName(cRoot, strName);
- if( cRet != null ) return cRet;
- if (cRoot.parent != cRoot)
- return _GetFrameByName( cRoot.parent, strName );
- else
- return null;
-}
-
-var gfn_arguments = null;
-function _PopupMenu_Invoke(fn_arguments)
-{
- gfn_arguments = fn_arguments;
- if (gbBsOpera6&&gbBsMac)
- {
- var wndOldPopupLinks= window.open(document.location.href, "popuplinks");
- wndOldPopupLinks.close();
- setTimeout("_PopupMenu_Invoke_2();",100);
- }
- else
- {
- _PopupMenu_Invoke_2();
- }
-}
-
-function _PopupMenu_Invoke_2()
-{
- var fn_arguments = gfn_arguments;
- gfn_arguments = null;
-
- // Make sure we have reasonable arguments
- var argLen = fn_arguments.length;
- if (argLen < 3) {
- return false;
- }
-
- // Check to see if we only have one target
- var strTarget = "";
- var targetDoc = null;
- if (fn_arguments[1] == '') {
- if (BSSCPopup_IsPopup()) {
- targetDoc = parent;
- strTarget = "TARGET= _parent";
- }
- else
- targetDoc = window.document;
- } else {
- targetDoc = _GetFrameByName( parent, fn_arguments[1] );
-
- strTarget = "TARGET='" + fn_arguments[1] + "'";
- }
-
- if ((!gbBsIE4 && !gbBsNS4 && !gbBsOpera7 && !gbBsKonqueror3 &&!gbBsSafari) || ((gbBsMac) && (gbBsIE4) && (window.event.srcElement.tagName == "AREA"))) {
-
- var argLen = fn_arguments.length;
-
- // Create the window that the hyperlinks will go into
- var nHeight = argLen * 15;
- var nWidth = 400;
- var strParam = "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=auto";
- strParam += ",height=" + nHeight + ",width=200";
- strParam += ",resizable";
-
- var wndTemp=null;
- // Create a temporary window first to ensure the real popup comes up on top
- if (!gbBsOpera)
- wndTemp = window.open("", "temp", strParam);
-
- // Create the real popup window
- var wndPopupLinks=null;
- if (gbBsOpera&&gbBsMac)
- {
- wndTemp = window.open(document.location.href, "temp", strParam);
- wndPopupLinks= window.open(document.location.href, "popuplinks", strParam);
- }
- else
- wndPopupLinks= window.open("", "popuplinks", strParam);
- wndPopupLinks.document.open("text/html");
-
- // Close the temporary
- if (wndTemp)
- wndTemp.close();
-
- var sHTML="<html><head></head>";
- sHTML+="<body onBlur=\'self.focus();\'>";
- var strParaLine = "";
- for (var i = 0; i < (argLen - 2) / 2; i++) {
- strParaLine = "";
- strParaLine += "<a href=\"javascript:";
- if (gbBsIE) {
- strParaLine += "onBlur=null; ";
- }
- strParaLine += "opener.location=\'";
- strParaLine += fn_arguments[2 * i + 3];
- strParaLine += "\';close();\"";
- strParaLine += strTarget;
-
- strParaLine += ">";
- strParaLine += fn_arguments[2 * i + 2];
- strParaLine += "</a>";
- strParaLine += "<br>";
- sHTML+=strParaLine;
- }
- sHTML+="</body></html>";
- wndPopupLinks.document.write(sHTML);
- wndPopupLinks.document.close();
- window.gbInPopupMenu = true;
- if (!gbBsIE) {
- wndPopupLinks.focus();
- }
- return false;
- }
-
- if (((argLen < 5) && ((isNaN(fn_arguments[2])) || (gbPopupMenuTopicList == null))) ||
- ((argLen < 4) && ((!isNaN(fn_arguments[2])) && (gbPopupMenuTopicList != null)))) {
- // Get the place that we will be putting the topic into
- var strURL = "";
- if (isNaN(fn_arguments[2]) || (gbPopupMenuTopicList == null)) {
- strURL = fn_arguments[3];
- }
- else {
- strURL = gbPopupMenuTopicList[fn_arguments[2]].strURL;
- }
-
- if (targetDoc != null) {
- targetDoc.location.href = strURL;
- }
- else {
- if (fn_arguments[1] != null && typeof(fn_arguments[1]) != "undefined")
- window.open(strURL, fn_arguments[1]);
- else
- window.open(strURL);
- }
- window.gbInPopupMenu = true;
- return false;
- }
-
- var strMenu = "";
- if (gbBsNS4&&!gbBsNS6) {
- strMenu = '<TABLE BORDER="1" CELLSPACING=0 CELLPADDING=3 BGCOLOR="#c0c0c0">';
- } else {
- strMenu = '<TABLE STYLE="border:2px outset white;" CELLSPACING=0';
- if (gbBsMac) {
- strMenu += ' CELLPADDING=4';
- } else {
- strMenu += ' CELLPADDING=2';
- }
- strMenu += ' BGCOLOR=#c0c0c0>';
- }
- // Add each of the items
- var i = 2;
- while (i <= argLen - 1) {
- strMenu += '<TR><TD><NOBR>'
- // If the destination is a number then look it up in the topic list
- if (isNaN(fn_arguments[i]) || (gbPopupMenuTopicList == null)) {
- strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A HREF="' + fn_arguments[i + 1] + '"' + strTarget;
- } else {
- strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A HREF="' + gbPopupMenuTopicList[fn_arguments[i]].strURL + '"' + strTarget;
- }
- strMenu += ' onclick="PopupMenu_HandleClick(event);"';
- strMenu += ' onmouseover="PopupMenu_Over(event);"';
- strMenu += ' onmouseout="PopupMenu_Out(event);"';
- strMenu += '>';
- if (isNaN(fn_arguments[i]) || (gbPopupMenuTopicList == null)) {
- strMenu += '<SPAN CLASS="PopupNotOver">' + fn_arguments[i] + '</SPAN>';
- } else {
- strMenu += '<SPAN CLASS="PopupNotOver">' + gbPopupMenuTopicList[fn_arguments[i]].strTitle + '</SPAN>';
- }
- strMenu += '</A></DIV></NOBR></TD></TR>';
-
- if (isNaN(fn_arguments[i]) || (gbPopupMenuTopicList == null)) {
- i += 2;
- } else {
- i += 1;
- }
- }
- strMenu += "</TABLE>";
-
- if (gbBsMac) {
- // totally hack. because ie5 in mac need something. </TABLE> is one of them. mac is mad.
- strMenu +="<TABLE></TABLE>";
- }
-
- var layerPopup = null;
- var stylePopup = null;
- var nEventX = 0;
- var nEventY = 0;
- var nWindowWidth = 0;
- if (gbBsIE4 || gbBsOpera7) {
-
- layerPopup = getElement("PopupMenu");
- layerPopup.innerHTML = strMenu;
- stylePopup = layerPopup.style;
-
- _BSPSGetClientSize();
-
- // Get the position of the item causing the event (relative to its parent)
- nEventX = window.event.clientX;
- nEventY = window.event.clientY;
-
- if (nEventY + layerPopup.scrollHeight + 10 < gBsClientHeight) {
- nEventY += document.body.scrollTop + 10;
- } else {
- nEventY = (document.body.scrollTop + gBsClientHeight) - layerPopup.scrollHeight - 20;
- }
- stylePopup.top = nEventY;
-
- var nPopupWidth = layerPopup.scrollWidth;
- if (gbBsMac) {
- nPopupWidth = 80; // we have no idea how to get the dynamic width of the popup.
- }
- if (nEventX + nPopupWidth + 20 > gBsClientWidth) {
- if (gBsClientWidth - nPopupWidth < 5) {
- stylePopup.left = 5;
- } else {
- stylePopup.left = gBsClientWidth - nPopupWidth - 5;
- }
- } else {
- stylePopup.left = nEventX + document.body.scrollLeft + 20;
- }
-
- stylePopup.visibility = "visible";
- if (!gOlddocumentClick && document.onclick)
- gOlddocumentClick = document.onclick;
- document.onclick = PopupMenu_HandleClick;
-
- } else if (gbBsNS6 || gbBsKonqueror3||gbBsSafari) {
- layerPopup = getElement("PopupMenu");
- layerPopup.style.visibility = "hidden";
-
- if (gbBsNS6)
- {
- var e = fn_arguments[0];
- nEventX = e.pageX;
- nEventY = e.pageY;
- }
- else
- {
- nEventX = window.event.clientX;
- nEventY = window.event.clientY;
- }
- _BSPSGetClientSize();
- layerPopup.innerHTML = strMenu;
-
- if (nEventY + layerPopup.offsetHeight + 20 < window.pageYOffset + gBsClientHeight) {
- nEventY += 20;
- } else {
- nEventY = gBsClientHeight + window.pageYOffset - layerPopup.offsetHeight - 20;
- }
-
- if (nEventX + layerPopup.offsetWidth + 20 > gBsClientWidth + window.pageXOffset) {
- if (gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth < 20) {
- nEventX = 5;
- } else {
- nEventX = gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth - 20;
- }
- } else {
- nEventX += 20;
- }
- layerPopup.style.top = nEventY;
- layerPopup.style.left = nEventX;
- // set again to avoid the stupid frash in netscape 6.
- layerPopup.innerHTML = strMenu;
- layerPopup.style.visibility = "visible";
- //window.captureEvents(Event.MOUSEDOWN);
- if (!gOlddocumentClick && document.onclick)
- gOlddocumentClick = document.onclick;
- window.onclick = PopupMenu_HandleClick;
- }
- else if (gbBsNS4) {
- layerPopup = document.layers.PopupMenu;
- layerPopup.visibility = "hide";
- stylePopup = layerPopup.document;
- stylePopup.write(strMenu);
- stylePopup.close();
- var e = fn_arguments[0];
- nEventX = e.pageX;
- nEventY = e.pageY;
- _BSPSGetClientSize();
- if (nEventY + layerPopup.clip.height + 20 < window.pageYOffset + gBsClientHeight) {
- nEventY += 20;
- } else {
- nEventY = gBsClientHeight + window.pageYOffset- layerPopup.clip.height - 20;
- }
- layerPopup.top = nEventY;
-
- if (nEventX + layerPopup.clip.width + 20 > gBsClientWidth + window.pageXOffset) {
- if (gBsClientWidth + window.pageXOffset - layerPopup.clip.width < 20) {
- nEventX = 5;
- } else {
- nEventX = gBsClientWidth + window.pageXOffset - layerPopup.clip.width - 20;
- }
- } else {
- nEventX += 20;
- }
-
- layerPopup.left = nEventX;
-
- layerPopup.visibility = "show";
-
- window.captureEvents(Event.MOUSEDOWN);
- if (!gOlddocumentClick && document.onmousedown)
- gOlddocumentClick = document.onmousedown;
- window.onmousedown = PopupMenu_HandleClick;
- }
-
- window.gbInPopupMenu = true;
- window.gbPopupMenuTimeoutExpired = false;
- setTimeout("PopupMenu_Timeout();", 100);
- return false;
-}
-
-function PopupMenu_Timeout()
-{
- window.gbPopupMenuTimeoutExpired = true;
-}
-
-function PopupMenu_Over(e)
-{
- if (gbBsIE4||gbBsOpera7)
- e.srcElement.className = "PopupOver";
- else if (gbBsNS6)
- e.target.parentNode.className = "PopupOver";
- return;
-}
-
-function PopupMenu_Out(e)
-{
- if (gbBsIE4||gbBsOpera7)
- e.srcElement.className = "PopupNotOver";
- else if (gbBsNS6)
- e.target.parentNode.className = "PopupNotOver";
- return;
-}
-
-function PopupMenu_HandleClick(e)
-{
- if (window.gbPopupMenuTimeoutExpired) {
- window.gbInPopupMenu = false;
- if (gbBsNS4 && !gbBsNS6) {
- window.releaseEvents(Event.MOUSEDOWN);
- }
-
- var layerPopup = null;
- if (gbBsNS4&&!gbBsNS6) {
- layerPopup = document.layers.PopupMenu;
- layerPopup.visibility = "hide";
- } else {
- layerPopup = getElement("PopupMenu");
- layerPopup.style.visibility = "hidden";
- }
-
- if (gOlddocumentClick)
- {
- if (gbBsNS4 && !gbBsNS6)
- document.onmousedown = gOlddocumentClick;
- else
- document.onclick = gOlddocumentClick;
- }
- }
- return;
-}
-
-function BSSCPopup_ClickMac()
-{
- if ((!DHTMLPopupSupport()) && (gbBsIE4 || gbBsOpera7))
- {
- var bClickOnAnchor = false;
- var el;
- if ((window.event != null) &&
- (window.event.srcElement != null))
- {
- el = window.event.srcElement;
- while (el != null)
- {
- if ((el.tagName == "A") || (el.tagName == "AREA")) {
- bClickOnAnchor = true;
- break;
- }
- if (el.tagName == "BODY") {
- break;
- }
- el = getParentNode(el);
- }
- }
- if (BSSCPopup_IsPopup())
- {
- if (!bClickOnAnchor) {
- parent.window.gPopupWindow = null;
- self.close();
- }
- }
- else
- {
- bClosePopupWindow = true;
- if ((bClickOnAnchor) &&
- (el.href) &&
- ((el.href.indexOf("javascript:BSSCPopup") != -1) || (el.href.indexOf("javascript:null") != -1) || (el.href.indexOf("javascript:void(0)") != -1)))
- {
- bClosePopupWindow = false;
- }
- if (bClosePopupWindow)
- {
- if (window.gPopupWindow != null && !window.gPopupWindow.closed )
- {
- window.gPopupWindow.close();
- }
- }
- }
- }
-}
-
-function BsPopupOnClick()
-{
- if (!gbBsIE4 && !gbBsOpera7)
- return;
-
- BSSCPopup_ClickMac();
-}
-
-function _BSSCOnError(message)
-{
- if(-1 != message.indexOf("denied")
- || -1 != message.indexOf("Object required"))
- return true;
-}
-
-//End to support previous relative topics
-
-/// Section End - General and relative topics (JavaScript 1.0)
-
-/// Section Begin - Popup (JavaScript 1.0)
-//Begin to support previous popup functions
-
-//variables used to isolate the browser type
-var gBsStyVisShow = null;
-var gBsStyVisHide = null;
-var gBsClientWidth = 640;
-var gBsClientHeight = 480;
-
-// here is the varible for judge popup windows size. these parameter is for IE5.0, it may need adjust for others.
-var gBRateH_W = 0.618; // 1.618 Golden cut.
-var gBMaxXOfParent = 0.8;
-var gBMaxYOfParent = 0.8;
-var gBscrollHeight = 16;
-var gBscrollWidth = 16;
-var gBpermitXDelta = 3;
-var gBpermitYDelta = 3;
-
-
-var arrayPopupURL = new Array();
-var arrayAbsPopupURL = new Array();
-
-var arrayDirty = new Array();
-
-function setAbsPopupURL(nIndex, strURL)
-{
- arrayAbsPopupURL[nIndex] = strURL;
-}
-
-function getAbsPopupURL(nIndex)
-{
- if (nIndex == -1 || arrayAbsPopupURL.length <= nIndex) return null;
- else
- return arrayAbsPopupURL[nIndex];
-}
-
-function getPopupURL(nIndex)
-{
- if (nIndex == -1 || arrayPopupURL.length <= nIndex) return null;
- else
- return arrayPopupURL[nIndex];
-}
-
-function getPopupID(nIndex)
-{
- return gstrPopupID + nIndex;
-}
-
-function getPopupShadowID(nIndex)
-{
- return gstrPopupShadowID + nIndex;
-}
-
-function getPopupTopicID(nIndex)
-{
- return gstrPopupTopicID + nIndex;
-}
-
-function getPopupIFrameID(nIndex)
-{
- return gstrPopupIFrameID + nIndex;
-}
-
-function getPopupIFrameName(nIndex)
-{
- return gstrPopupIFrameName + nIndex;
-}
-
-
-function getPopupTopicStyle(nIndex)
-{
- return getElement(getPopupTopicID(nIndex)).style;
-}
-
-function getPopupShadowStyle(nIndex)
-{
- return getElement(getPopupShadowID(nIndex)).style;
-}
-
-function getPopupIFrame(nIndex)
-{
- if (gbBsNS6)
- return eval("window.frames['" + getPopupIFrameName(nIndex) + "']");
- else
- return eval("document.frames['" + getPopupIFrameName(nIndex) + "']");
-}
-
-function getPopupDivStyle(nIndex)
-{
- return getElement(getPopupID(nIndex)).style;
-}
-
-function getPopupIFrameStyle(nIndex)
-{
- return getElement(getPopupIFrameID(nIndex)).style;
-}
-
-
-function findDiv(strURL)
-{
- for (var i = 0; i < arrayPopupURL.length; i ++ ) {
- if (arrayPopupURL[i] == strURL) {
- return i;
- }
- }
- return -1;
-}
-
-var gnToken = -1;
-function takeToken()
-{
- gnToken ++;
- if (gnToken > 10000) gnToken = 0;
- return gnToken;
-}
-
-function IsValidToken(nToken)
-{
- return (gnToken == nToken);
-}
-
-function addDiv(strURL)
-{
- for (var i = 0; i < arrayPopupURL.length; i ++) {
- if (arrayPopupURL[i] == null) {
- arrayPopupURL[i] = strURL;
- return i;
- }
- }
- arrayPopupURL[i] = strURL;
- arrayDirty[i] = true;
- return i;
-}
-
-function setDirty()
-{
- for (var i = 0; i < arrayPopupURL.length; i ++ )
- arrayDirty[i] = true;
-}
-
-function IsDirty(nIndex)
-{
- if (nIndex == -1)
- return true;
- else
- if (arrayDirty.length > nIndex)
- return arrayDirty[nIndex];
- else
- return true;
-}
-
-function hideAll()
-{
- for (var i = 0; i < arrayPopupURL.length; i ++ )
- {
- getPopupDivStyle(i).visibility = gBsStyVisHide;
- getPopupIFrameStyle(i).visibility = gBsStyVisHide;
- }
-}
-
-function getCurrentPopupIFrame()
-{
- for (var i = 0; i < arrayPopupURL.length; i ++)
- if (getPopupDivStyle(i).visibility == gBsStyVisShow)
- return getPopupIFrame(i);
- return null;
-}
-
-function setClear(nIndex)
-{
- if (nIndex != -1)
- arrayDirty[nIndex] = false;
-}
-
-function _BSSCCreatePopupDiv(strURL)
-{
- var nIndex = findDiv(strURL);
- if (nIndex == -1 ) {
- nIndex = addDiv(strURL);
- BsPopup_CreateDiv(nIndex);
- }
- else {
- if (IsDirty(nIndex)) {
- if("object" == typeof(getPopupIFrame(nIndex).document))
- getPopupIFrame(nIndex).document.location.href = strURL;
- }
- }
- return nIndex;
-}
-
-//Here is the browser type
-function _BSPSGetBrowserInfo()
-{
- if (gbBsNS4&&!gbBsNS6)
- {
- gBsStyVisShow = "show";
- gBsStyVisHide = "hide";
- }
- else
- {
- gBsStyVisShow = "visible";
- gBsStyVisHide = "hidden";
- }
-}
-
-_BSPSGetBrowserInfo();
-
-//Get client size info
-function _BSPSGetClientSize()
-{
- if (gbBsNS4||gbBsKonqueror3||gbBsSafari)
- {
- gBsClientWidth = innerWidth;
- gBsClientHeight = innerHeight;
- }
- else if (gbBsIE4 || gbBsOpera7)
- {
- gBsClientWidth = document.body.clientWidth;
- gBsClientHeight = document.body.clientHeight;
- }
-}
-
-var gstrPopupID = 'BSSCPopup';
-var gstrPopupShadowID = 'BSSCPopupShadow';
-var gstrPopupTopicID = 'BSSCPopupTopic';
-var gstrPopupIFrameID = 'BSSCPopupIFrame';
-var gstrPopupIFrameName = 'BSSCPopupIFrameName';
-
-var gstrPopupSecondWindowName = 'BSSCPopup';
-
-var gPopupWindow = null;
-var gnPopupClickX = 0;
-var gnPopupClickY = 0;
-
-var gnPopupScreenClickX = 0;
-var gnPopupScreenClickY = 0;
-
-var gbPopupTimeoutExpired = false;
-
-function DHTMLPopupSupport()
-{
- if (((gbBsIE4) && (!gbBsMac))||gbBsOpera7|| gbBsNS7) {
- return true;
- }
- return false;
-}
-
-function BSSCPopup_IsPopup()
-{
- if (DHTMLPopupSupport() && (this.name.indexOf(gstrPopupIFrameName) != -1)) {
- return true;
- } else if ((gbBsNS4 || gbBsIE4 || gbBsOpera7) && (this.name.indexOf(gstrPopupID) != -1)) {
- return true;
- } else {
- return false;
- }
-}
-
-// If there is a hyperlink in a popup window, display the hyperlink in
-// the original window. (bsscright)
-if (BSSCPopup_IsPopup() && !gbBsIE4 && !gbBsOpera7) {
- document.write("<base target=\"bsscright\">");
-}
-
-// Local functions.
-function BsPopup_CreateDiv(nIndex)
-{
- if(!DHTMLPopupSupport())
- return;
- // DO NOT SET Width and height for the div, otherwize it will make IE4 popup do not work when view the topic alone.
- var strPopupDiv = "<DIV ID='" + getPopupID(nIndex) + "' STYLE='position:absolute; top:-100; left:0; z-index:600; visibility:hidden;'>";
- strPopupDiv += "<DIV ID='" + getPopupShadowID(nIndex) + "' STYLE=\"position:absolute;top:0; left:0; background-color:#C0C0C0;\"></DIV>";
- strPopupDiv += "<DIV ID='" + getPopupTopicID(nIndex) + "' STYLE=\"position:absolute;top:0; left:0; background-color:#FFFFFF;border:1px #000000 outset;\">";
- strPopupDiv += "<IFRAME title=\"Popup Window\" ID='" + getPopupIFrameID(nIndex) + "' name='" + getPopupIFrameName(nIndex) + "' src = '" + getPopupURL(nIndex) + "' frameborder=0 scrolling=auto></IFRAME>";
- strPopupDiv += "</DIV></DIV>";
-
- var objBody = getElementsByTag(document, "BODY")[0];
- if( typeof(objBody) != "object" )
- return;
-
- insertAdjacentHTML(objBody, "beforeEnd", strPopupDiv);
-}
-
-function handleLoadNS()
-{
- if (this.id)
- {
- var nIndex = parseInt(this.id.substring(gstrPopupIFrameID.length));
- BSSCPopup_PostWork(nIndex);
- }
-}
-
-function BSSCPopup_PostWork(nIndex)
-{
- getPopupDivStyle(nIndex).visibility = gBsStyVisShow;
- getPopupIFrameStyle(nIndex).visibility =gBsStyVisShow;
-
- setClear(nIndex);
- window.gbPopupTimeoutExpired = true;
-
- BSSCPopup_ChangeTargettoParent(getPopupIFrame(nIndex).document);
- if (gbBsNS6)
- getPopupIFrame(nIndex).document.body.addEventListener("click",BSSCPopupClicked,false);
- else
- getPopupIFrame(nIndex).document.body.onclick = BSSCPopupClicked;
-
- if (!gbOrignalOnMouseDown && document.onmousedown)
- gbOrignalOnMouseDown = document.onmousedown;
-
- if (gbBsNS6)
- document.addEventListener("mousedown", BSSCPopupParentClicked,false);
- else
- document.onmousedown = BSSCPopupParentClicked;
-}
-
-function BSSCPopup_Timeout(nIndex, nToken)
-{
- if (!IsValidToken(nToken)) return;
-
- if (gbBsNS6||((getPopupIFrame(nIndex).document.readyState == "complete") &&
- (getPopupIFrame(nIndex).document.body != null))) {
- BSSCPopup_PostWork(nIndex);
- } else {
- setTimeout("BSSCPopup_Timeout(" + nIndex + "," + nToken + ")", 100);
- }
-}
-
-// VH 08/10/00
-// do not change target to parent if the href is using javascript
-function BSSCPopup_ChangeTargettoParent(tagsObject)
-{
- var collA = getElementsByTag(tagsObject, "A");
- BSSCPopup_ChangeTargettoParent2(collA);
-
- var collIMG = getElementsByTag(tagsObject,"IMG");
- BSSCPopup_ChangeTargettoParent2(collIMG);
-}
-
-function BSSCPopup_ChangeTargettoParent2(colls)
-{
- if (colls != null) {
- for (var j = 0; j < colls.length; j ++ )
- {
- var strtemp = colls[j].href;
- if (strtemp)
- {
- strtemp = strtemp.toLowerCase();
- if (strtemp.indexOf("javascript:") == -1)
- if (colls[j].target == "")
- colls[j].target = "_parent";
- }
- }
- }
-}
-
-function BSPSPopupTopicWinHelp(strURL)
-{
- _BSSCPopup(strURL);
- return;
-}
-
-function _BSSCPopup(strURL, width, height)
-{
- var cuswidth = 0;
- var cusheight = 0;
- if ("undefined" != typeof(width) && "undefined" != typeof(height)) {
- cuswidth = width;
- cusheight= height;
- }
-
- if (DHTMLPopupSupport()) {
- var nToken = takeToken(); // take token first.
- var nIndex = _BSSCCreatePopupDiv(strURL);
- window.gbPopupTimeoutExpired = false;
- var ntWidth = gBsClientWidth;
- var ntHeight = gBsClientHeight;
- _BSPSGetClientSize();
- if (ntWidth != gBsClientWidth || ntHeight != gBsClientHeight) {
- setDirty();
- }
-
- if (IsDirty(nIndex)) {
- if (gbBsMac) {
- setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight +")", 400);
- } else {
- setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 100);
- }
- }
- else {
- MoveDivAndShow(nIndex ,nToken, cuswidth, cusheight);
- }
- } else {
- _BSSCPopup2(strURL, cuswidth, cusheight);
- }
- return;
-}
-
-if (gbBsIE55)
-{
- var ehlpdhtm_fOldBefureUnload = window.onbeforeunload;
- var gnBsUnload=0;
- window.onbeforeunload = window_BUnload;
-}
-
-function window_BUnload()
-{
- gnBsUnload++;
- if (gnBsUnload>1)
- return;
- for (var i = 0; i < arrayPopupURL.length; i ++)
- removeThis(document.all(getPopupID(i)));
- arrayPopupURL.length = 0;
- if (ehlpdhtm_fOldBefureUnload)
- ehlpdhtm_fOldBefureUnload();
-}
-
-function _BSSCPopup2(strURL, width, height)
-{
- if (gbBsOpera6&&gbBsMac)
- {
- var wmTemp = window.open(document.location.href, gstrPopupSecondWindowName);
- wmTemp.close();
- setTimeout("_BSSCPopup3(\""+strURL+"\","+width+","+height+");",100);
- }
- else
- _BSSCPopup3(strURL, width, height);
-}
-
-function _BSSCPopup3(strURL, width, height)
-{
- if (window.name == gstrPopupSecondWindowName) {
- window.location = strURL;
- } else {
- if (!gbBsMac || !gbBsNS4) {
- BSSCHidePopupWindow();
- }
- var nX = 0;
- var nY = 0;
- var nHeight = 300;
- var nWidth = 400;
- if (width > 0 && height > 0) {
- nHeight = height;
- nWidth = width;
- }
- _BSPSGetClientSize();
-
- nX = window.gnPopupScreenClickX;
- nY = window.gnPopupScreenClickY;
-
- if (nY + nHeight + 40 > screen.availHeight) {
- nY = screen.availHeight - nHeight - 40;
- }
- if (nX + nWidth + 40 > screen.availWidth) {
- nX = screen.availWidth - nWidth - 40;
- }
-
- // Launch a separate window
- var strParam="titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes";
- if (gbBsNS) {
- if (gbBsNS6) {
- strParam += ",Height=" + nHeight + ",Width=" + nWidth;
- strParam += ",screenX=" + nX + ",screenY=" + nY;
- strParam += ",dependent=yes";
- }
- else {
- strParam += ",OuterHeight=" + nHeight + ",OuterWidth=" + nWidth;
- strParam += ",screenX=" + nX + ",screenY=" + nY;
- strParam += ",dependent=yes";
- }
- }
- else {
- strParam += ",height=" + nHeight + ",width=" + nWidth;
- strParam += ",left=" + nX + ",top=" + nY;
- }
- if (gbBsSafari)
- {
- if (window.gPopupWindow)
- window.gPopupWindow.close();
- window.gPopupWindow = window.open(strURL, "", strParam);
- window.gPopupWindow.name = gstrPopupSecondWindowName;
- window.gPopupWindow.moveTo(nX, nY);
- widnow.gPopupWindow.document.location.reload();
- }
- else
- {
- var wmTemp=null;
- if (gbBsKonqueror3)
- {
- if (window.gPopupWindow)
- window.gPopupWindow.close();
- }
- if (gbBsOpera&&gbBsMac)
- {
- wmTemp= window.open(document.location.href, "Temp", strParam);
- }
- window.gPopupWindow = window.open(strURL, gstrPopupSecondWindowName, strParam);
- if (!gbBsIE)
- window.gPopupWindow.focus();
-
- if (wmTemp)
- wmTemp.close();
- }
-
- if (gbBsNS4)
- setEventHandle();
- else if (gbBsIE4 || gbBsOpera7||gbBsKonqueror3)
- setTimeout("setPopupFocus();", 100);
- }
- return;
-}
-
-function setEventHandle()
-{
- window.gPopupWindow.captureEvents(Event.CLICK | Event.BLUR);
- window.gPopupWindow.onclick = NonIEPopup_HandleClick;
- window.gPopupWindow.onblur = NonIEPopup_HandleBlur;
-}
-
-function setPopupFocus()
-{
- window.gPopupWindow.focus();
-}
-
-function NonIEPopup_HandleBlur(e)
-{
- window.gPopupWindow.focus();
-}
-
-function NonIEPopup_HandleClick(e)
-{
- // Because navigator will give the event to the handler before the hyperlink, let's
- // first route the event to see if we are clicking on a Popup menu in a popup.
- document.routeEvent(e);
-
- // If a popup menu is active then don't do anything with the click
- if (window.gPopupWindow.gbInPopupMenu) {
- window.gPopupWindow.captureEvents(Event.CLICK);
- window.gPopupWindow.onclick = NonIEPopup_HandleClick;
- return false;
- }
-
- // Close the popup window
- if(e.target.href)
- {
- if(e.target.href.indexOf("javascript:")==-1)
- {
- if (e.target.target=="")
- window.location.href = e.target.href;
- else
- window.open(e.target.href, e.target.target);
- this.close();
- }
- }
- else
- this.close();
- return false;
-}
-
-function BSSCPopup_AfterLoad(nIndex, nToken, cuswidth, cusheight)
-{
- if (!window.getPopupIFrame(nIndex).document) {
- _BSSCPopup2(getPopupURL(nIndex), cuswidth, cusheight);
- return;
- }
-
- if (!IsValidToken(nToken)) return;
-
- if (gbBsNS6)
- {
- setAbsPopupURL(nIndex, window.getPopupIFrame(nIndex).document.location.href); // change URL to abs url.
- BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight);
- return;
- }
-
- if ((window.getPopupIFrame(nIndex).document.readyState == "complete") &&
- (window.getPopupIFrame(nIndex).document.body != null)) {
- if (window.getPopupIFrame(nIndex).document.location.href.indexOf("about:blank") != -1) { // add this check. IE will use about:blank" as the default vaule for Iframe.
- window.getPopupIFrame(nIndex).document.location = getPopupURL(nIndex);
- setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200);
- }
- else
- {
- setAbsPopupURL(nIndex, window.getPopupIFrame(nIndex).document.location.href); // change URL to abs url.
- BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight);
- }
- } else {
- setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200);
- }
-}
-
-function BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight)
-{
- if (window.gbPopupTimeoutExpired) return;
-
- if (!IsValidToken(nToken)) return;
-
- getPopupDivStyle(nIndex).visibility = gBsStyVisHide;
- getPopupIFrameStyle(nIndex).visibility = gBsStyVisHide;
-
- // Determine the width and height for the window
- _BSPSGetClientSize();
-
- var size = new BSSCSize(0, 0);
-
- if (cuswidth <= 0 || cusheight <= 0)
- BSSCGetContentSize(window.getPopupIFrame(nIndex), size);
- else {
- size.x = cuswidth;
- size.y = cusheight;
- }
-
- // Determine the width and height for the window
- var nWidth = size.x;
- var nHeight = size.y;
-
- // for small popup size, we should allow any size.
- // The popup size should be ok if bigger than 0
- if (nWidth < 0 || nHeight < 0) return; // there must be something terribly wrong.
-
- getPopupDivStyle(nIndex).width = nWidth;
- getPopupDivStyle(nIndex).height = nHeight;
-
- getPopupShadowStyle(nIndex).width = nWidth;
- getPopupShadowStyle(nIndex).height = nHeight;
- getPopupTopicStyle(nIndex).width = nWidth;
- getPopupTopicStyle(nIndex).height = nHeight;
- if (gbBsIE55)
- {
- getPopupShadowStyle(nIndex).width = nWidth + 2;
- getPopupShadowStyle(nIndex).height = nHeight + 2;
- getPopupTopicStyle(nIndex).width = nWidth + 2;
- getPopupTopicStyle(nIndex).height = nHeight + 2;
- }
-
- getPopupIFrameStyle(nIndex).width = nWidth;
- getPopupIFrameStyle(nIndex).height = nHeight;
- if (gbBsIE55 || gbBsNS6)
- {
- getPopupIFrameStyle(nIndex).top = 0;
- getPopupIFrameStyle(nIndex).left = 0;
- }
-
- var strURL = getPopupURL(nIndex);
- if (strURL.indexOf("#") != -1&&gbBsNS6)
- getPopupIFrame(nIndex).location.reload();
- else if (strURL.indexOf("#") != -1||gbBsNS6)
- getPopupIFrame(nIndex).location.href = strURL; // reload again, this will fix the bookmark misunderstand in IE5.
-
- MoveDivAndShow(nIndex, nToken, cuswidth, cusheight);
-}
-
-function getScrollLeft()
-{
- if (document.body.scrollLeft)
- return document.body.scrollLeft;
- else if (window.pageXOffset)
- return window.pageXOffset;
- else
- return 0;
-}
-
-function getScrollTop()
-{
- if (document.body.scrollTop)
- return document.body.scrollTop;
- else if (window.pageYOffset)
- return window.pageYOffset;
- else
- return 0;
-}
-
-
-function MoveDivAndShow(nIndex, nToken, cuswidth, cusheight)
-{
- if (window.getPopupIFrame(nIndex).document.location.href != getAbsPopupURL(nIndex)) { // if redirect, reload again.
- window.getPopupIFrame(nIndex).document.location = getPopupURL(nIndex);
- setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200);
- return;
- }
-
- // Determine the position of the window
- var nClickX = window.gnPopupClickX;
- var nClickY = window.gnPopupClickY;
- var nTop = 0;
- var nLeft = 0;
-
- var nWidth = parseInt(getPopupDivStyle(nIndex).width);
- var nHeight = parseInt(getPopupDivStyle(nIndex).height);
-
- if (nClickY + nHeight + 20 < gBsClientHeight + getScrollTop()) {
- nTop = nClickY + 10;
- } else {
- nTop = (getScrollTop() + gBsClientHeight) - nHeight - 20;
- }
- if (nClickX + nWidth < gBsClientWidth + getScrollLeft()) {
- nLeft = nClickX;
- } else {
- nLeft = (getScrollLeft() + gBsClientWidth) - nWidth - 8;
- }
-
- if (nTop < getScrollTop()) nTop = getScrollTop() + 1;
- if (nLeft< getScrollLeft()) nLeft = getScrollLeft() + 1;
-
- getPopupDivStyle(nIndex).left = nLeft;
- getPopupDivStyle(nIndex).top = nTop;
-
- // Set the location of the background blocks
- getPopupShadowStyle(nIndex).left = 6;
- getPopupShadowStyle(nIndex).top = 6;
- if (gbBsIE55)
- {
- getPopupShadowStyle(nIndex).left = 4;
- getPopupShadowStyle(nIndex).top = 4;
- }
-
- if (gbBsMac&&gbBsIE4) {
- // Total hack on the iMac to get the IFrame to position properly
- getPopupIFrameStyle(nIndex).pixelLeft = 100;
- getPopupIFrameStyle(nIndex).pixelLeft = 0;
- // Explicitly call BSSCOnLoad because the Mac doesn't seem to do it
- getPopupIFrame(nIndex).window.BSSCOnLoad();
- }
-
- if (gbBsNS6&&IsDirty(nIndex))
- getElement(getPopupIFrameID(nIndex)).addEventListener("load", handleLoadNS, false);
- else
- BSSCPopup_Timeout(nIndex , nToken );
- return;
-}
-
-function BSSCSize(x, y)
-{
- this.x = x;
- this.y = y;
-}
-
-function BSSCGetContentSize(thisWindow, size)
-{
- if (!gbBsIE4 && !gbBsOpera7 && !gbBsNS4)
- return;
-
- if ((gbBsMac&&gbBsIE4)||gbBsNS4||gbBsOpera7) {
- size.x = 320;
- size.y = 180;
- return;
- }
-
- // Resize the width until it is wide enough to handle the content
- // The trick is to start wide and determine when the scrollHeight changes
- // because then we know a scrollbar is necessary. We can then go back
- // to the next widest size (for no scrollbar)
-
- var ClientRate = gBsClientHeight / gBsClientWidth;
-
-
- var GoldenSize = new BSSCSize(0,0);
- GoldenSize.x = gBsClientWidth * gBMaxXOfParent;
- GoldenSize.y = gBsClientHeight *gBMaxYOfParent ;
-
- if (ClientRate > gBRateH_W) {
- GoldenSize.y = GoldenSize.x * gBRateH_W;
- }
- else {
- GoldenSize.x = GoldenSize.y / gBRateH_W;
- }
-
- // Try to using parent specified max x.
- var x = 0;
- var maxgoldx = GoldenSize.x;
- var maxx = gBsClientWidth * gBMaxXOfParent;
-
- // This double resize causes the document to re-render (and we need it to)
- if (!gbBsIE5)
- thisWindow.moveTo(10000,10000); // this is used to fix the flash on IE4.
-
- thisWindow.resizeTo(1, 1);
- thisWindow.resizeTo(1, 1);
- thisWindow.resizeTo(maxgoldx, thisWindow.document.body.scrollHeight + gBscrollHeight);
- thisWindow.resizeTo(maxgoldx, thisWindow.document.body.scrollHeight + gBscrollHeight);
-
- var miny = thisWindow.document.body.scrollHeight + gBscrollHeight;
-
- if (miny > GoldenSize.y) // the popup does not fix in the parent wanted golden area. so try to expand itself as large as it can
- {
- thisWindow.resizeTo(maxx , thisWindow.document.body.scrollHeight + gBscrollHeight);
- thisWindow.resizeTo(maxx , thisWindow.document.body.scrollHeight + gBscrollHeight);
-
- miny = thisWindow.document.body.scrollHeight + gBscrollHeight;
- maxy = gBsClientHeight * gBMaxYOfParent;
-
- if (miny > maxy) { // the popup must have a scroll, OK let it be.
- miny = maxy;
- size.x = maxx;
- size.y = maxy;
- thisWindow.document.body.scroll = 'yes'; // At this time we do want to show scroll any more. so it will looks better a little.
- }
- else { // popup still can fit in the parent area by someway. now we choose the same h/w rate as parent.
- size.y = miny;
-
- // downsize from maxx , now I try to using binary divide.
- x = maxx;
- deltax = -maxx/2;
- //j = 0;
- while (true) {
- x = x + deltax;
- thisWindow.resizeTo(x, miny);
- thisWindow.resizeTo(x, miny);
- diffy = thisWindow.document.body.scrollHeight + gBscrollHeight - x * ClientRate;
- if (diffy > gBpermitYDelta ) // it is higher than wanted, so x need to be wide a little bitter
- deltax = Math.abs(deltax) /2;
- else if (diffy < -gBpermitYDelta) // it is shorter than wanted, so x need to be narrow a little bitter
- deltax = -Math.abs(deltax) /2;
- else
- // the y is close enough to wanted.
- break;
- if (Math.abs(deltax) < gBpermitXDelta) // the next change is too slight and it can be ignore.
- break;
- }
- size.x = thisWindow.document.body.scrollWidth; //+ gBscrollWidth;
- size.y = thisWindow.document.body.scrollHeight;// + gBscrollHeight;
- thisWindow.document.body.scroll = 'no';
- }
- }
- else {
- if (thisWindow.document.body.scrollWidth > maxgoldx) {
- size.x = maxx;
- size.y = miny;
- thisWindow.document.body.scroll = 'yes';
- }
- else {
- // downsize from maxgoldx , now I try to using binary divide.
- x = maxgoldx;
- deltax = -maxgoldx/2;
- while (true) {
- x = x + deltax;
- thisWindow.resizeTo(x, miny);
- thisWindow.resizeTo(x, miny);
- diffy = thisWindow.document.body.scrollHeight + gBscrollHeight - x * gBRateH_W;
- if (diffy > gBpermitYDelta ) // it is higher than wanted, so x need to be wide a little bitter
- deltax = Math.abs(deltax) /2;
- else if (diffy < -gBpermitYDelta) // it is shorter than wanted, so x need to be narrow a little bitter
- deltax = -Math.abs(deltax) /2;
- else
- // the y is close enough to wanted.
- break;
- if (Math.abs(deltax) < gBpermitXDelta) // the next change is too slight and it can be ignore.
- break;
- }
- size.x = thisWindow.document.body.scrollWidth; //+ gBscrollWidth;
- size.y = thisWindow.document.body.scrollHeight ;
- thisWindow.document.body.scroll = 'no'; // At this time we do not want to show scroll any more. so it will looks better a little.
- thisWindow.resizeTo(size.x, size.y);
- if (thisWindow.document.body.scrollWidth > size.x)
- {
- size.x = thisWindow.document.body.scrollWidth;
- }
- if (thisWindow.document.body.scrollHeight > size.y)
- {
- size.y = thisWindow.document.body.scrollHeight;
- }
- }
- }
- thisWindow.resizeTo(size.x, size.y);
- thisWindow.resizeTo(size.x, size.y);
- return;
-}
-
-function BSSCPopupParentClicked()
-{
- if (!window.gbPopupTimeoutExpired) {
- return false;
- }
-
- document.onmousedown = gbOrignalOnMouseDown;
-
- // Simply hide the popup
- hideAll();
-
- window.gbPopupTimeoutExpired = false;
-
- return true;
-}
-
-function isInsideHyperLink(obj)
-{
- if (obj&&obj!=getParentNode(obj))
- {
- if (obj.tagName=="A"||obj.tagName=="IMG")
- return true;
- else
- return isInsideHyperLink(getParentNode(obj));
- }
- else
- return false;
-}
-
-function BSSCPopupClicked(e)
-{
- if (!window.gbPopupTimeoutExpired) {
- return false;
- }
-
- var popupIFrame = getCurrentPopupIFrame();
- if (popupIFrame == null) {
- return true;
- }
-
- if (gbBsIE4 && (!((popupIFrame.window.event != null) &&
- (popupIFrame.window.event.srcElement != null) &&
- isInsideHyperLink(popupIFrame.window.event.srcElement)))) {
- document.onmousedown = gbOrignalOnMouseDown;
-
- // Simply hide the popup
- hideAll();
- window.gbPopupTimeoutExpired = false;
- return true;
- }
- else if (gbBsNS6 && (!((e != null) &&
- (e.target!= null) && isInsideHyperLink(e.target))))
- {
- document.addEventListener("mousedown", gbOrignalOnMouseDown,false);
- // Simply hide the popup
- hideAll();
- window.gbPopupTimeoutExpired = false;
- return true;
- }
-}
-
-//trace the mouse over's position for hotspot
-function BSPSPopupOnMouseOver(event)
-{
- if (gbBsIE4 || gbBsOpera7||gbBsKonqueror3) {
- window.gnPopupClickX = event.clientX + getScrollLeft();
- window.gnPopupClickY = event.clientY + getScrollTop();
- window.gnPopupScreenClickX = event.screenX;
- window.gnPopupScreenClickY = event.screenY;
- } else if (gbBsSafari) {
- window.gnPopupClickX = event.clientX + getScrollLeft();
- window.gnPopupClickY = event.clientY + getScrollTop();
- window.gnPopupScreenClickX = event.screenX + window.screenX;
- window.gnPopupScreenClickY = event.screenY + window.screenY;
- } else if (gbBsNS4) {
- window.gnPopupClickX = event.pageX - window.pageXOffset;
- window.gnPopupClickY = event.pageY - window.pageYOffset;
- window.gnPopupScreenClickX = event.screenX - window.pageXOffset;
- window.gnPopupScreenClickY = event.screenY - window.pageYOffset;
- }
-}
-
-function BSSCHidePopupWindow()
-{
- if (window.gPopupWindow != null) {
- if (gbBsNS4) {
- if ((typeof window.gPopupWindow != "undefined") && (!window.gPopupWindow.closed)) {
- window.gPopupWindow.close();
- window.gPopupWindow = null;
- }
- }
- }
- return;
-}
-
-// Add the PopupOnClick to the onclick array.
-if (typeof(BsscRegisterOnClick) != "undefined")
-{
- BsscRegisterOnClick(BsPopupOnClick);
-}
-//End to support previous popup functions
-
-/// Section End - Popup (JavaScript 1.0)
-
-/// Section Begin - Embedded Stub (JavaScript 1.0)
-
-function BSSCCreatePopupDiv()
-{
- return;
-}
-
-function WritePopupMenuLayer()
-{
- if (BsscHasExtJs()) {_WritePopupMenuLayer();}
-}
-
-function BSSCPopup(strURL, width, height)
-{
- var re = new RegExp("'", 'g');
- strURL = strURL.replace(re, "%27");
-
- if (BsscHasExtJs()) {
- _BSSCPopup(strURL, width, height);
- }else{
- //Create a temporary window first to ensure the real popup comes up on top
- var wndTemp = null;
- if (!gbBsNS3) {
- wndTemp = window.open("", "temp", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=3,width=4");
- }
- // Create the real popup window
- var wndPopup = window.open(strURL, "BSSCPopup", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=300,width=400");
- // Close the temporary
- if (!gbBsNS3) {
- wndTemp.close();
- } else {
- wndPopup.focus();
- }
- }
-}
-
-var gbWndTemp = null, gbWndPopupLinks = null;
-var gbstrParaTotal = "";
-
-function PopupMenu_Invoke()
-{
- if (typeof(wfRelatedTopic) == 'function' && typeof(IsFlashSupported) == 'function')
- {
- if (Number(gsSkinVersion) > 2 && IsFlashSupported())
- {
- return wfRelatedTopic(PopupMenu_Invoke.arguments);
- }
- }
- if (BsscHasExtJs()) {
- return _PopupMenu_Invoke(PopupMenu_Invoke.arguments);
- }
- if (gbBsNS3Before || gbBsIE3Before ) {
- var argLen = PopupMenu_Invoke.arguments.length;
- if (argLen < 5) {
- window.document.location.href = PopupMenu_Invoke.arguments[3];
- return false;
- }
- gbWndTemp = null;
- gbWndPopupLinks = null;
- gbstrParaTotal = "";
- for (var i = 0; i < (argLen - 2) / 2; i++) {
- var strParaLine = "";
- if (gbBsNS2){
- strParaLine += "<a href=\"";
- strParaLine += PopupMenu_Invoke.arguments[2 * i + 3];
- strParaLine += "\">"
- strParaLine += PopupMenu_Invoke.arguments[2 * i + 2];
- strParaLine += "</a>";
- } else {
- strParaLine += "<a href=\"javascript:";
- strParaLine += "gotoUrl(\'";
- strParaLine += PopupMenu_Invoke.arguments[2 * i + 3];
- strParaLine += "\');\"";
- if (PopupMenu_Invoke.arguments[1] != '') {
- strParaLine += " TARGET='" + PopupMenu_Invoke.arguments[1] + "'";
- }
- strParaLine += ">";
- strParaLine += PopupMenu_Invoke.arguments[2 * i + 2];
- strParaLine += "</a>";
- }
- strParaLine += "<br>";
- gbstrParaTotal += strParaLine;
- }
- var nHeight = argLen * 15;
- var nWidth = 400;
- var strParam = "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=auto";
- strParam += ",height=" + nHeight + ",width=200,resizable";
-
- //Create a temporary window first to ensure the real popup comes up on top
- //var wndTemp = null;
- if (!gbBsNS3) {
- gbWndTemp = window.open("", "temp", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=3,width=4");
- }
- gbWndPopupLinks = window.open("", "popuplinks", strParam);
-
- setTimeout("Wait_PopupMenuReady()", 100);
- }
- return true;
-}
-
-function Wait_PopupMenuReady()
-{
- if (gbWndPopupLinks != null && "object" == typeof(gbWndPopupLinks.document)) {
- PopupMenu_InvokeReady();
- }
- else
- setTimeout("Wait_PopupMenuReady()", 100);
-}
-
-function PopupMenu_InvokeReady()
-{
- if (gbWndPopupLinks != null) {
- gbWndPopupLinks.document.open("text/html");
- gbWndPopupLinks.document.write("<html><head>");
- if (gbBsNS2) {
- gbWndPopupLinks.document.write("<base href=\"" + location +"\">");
- } else {
- //YJ: IE301,302 and NS3.x works fine
- gbWndPopupLinks.document.write("<");
- gbWndPopupLinks.document.write("script>");
- gbWndPopupLinks.document.write("function gotoUrl(aUrl) {opener.window.location=aUrl; close();}");
- gbWndPopupLinks.document.write("<");
- gbWndPopupLinks.document.write("/script>");
- }
- gbWndPopupLinks.document.write("</head><body onBlur=\'self.focus();\'>");
- gbWndPopupLinks.document.write(gbstrParaTotal);
- gbWndPopupLinks.document.write("</body></html>");
- gbWndPopupLinks.document.close();
-
- // Close the temporary
- if (!gbBsNS3 && gbWndTemp != null) {
- gbWndTemp.close();
- }else {
- gbWndPopupLinks.focus();
- }
-
- return true;
- }
- return false;
-}
-
-/// Section End - Embedded Stub (JavaScript 1.0)
-
-//// Segment End -- (JavaScript 1.0)
-
-//// Segment Begin -- (JavaScript 1.2)
-/// Section Begin - kadov DHTM (JavaScript 1.2)
-
-//Begin to support extended and dropdown text effects.
-function kadovIsParagraph(el)
-{
- return( el.tagName == "P" || el.tagName.indexOf("H") == 0 ) ? true : false;
-}
-
-function kadovInitEachChild(el)
-{
- for(var i=0; i<getChildNodes(el).length; i++)
- {
- var child = getChildNodes(el)[i];
- if( child.tagName == "SCRIPT" || child.tagName == "!" )
- continue;
-
- if( child.id != "" )
- {
- // to wipe out the onload effects
- if (gbBsIE4&&!gbBsMac)
- {
- var onLoadEffect = child.style.getAttribute( "x-on-pageload" );
- if( (onLoadEffect != null) && (onLoadEffect > "") )
- child.style.setAttribute( "x-on-pageload", "" );
- }
-
- var href = child.getAttribute("href")
- if( href != null && href > "" && href.indexOf( "BSSCPopup" ) >= 0 )
- kadovFilePopupInit(child.id); // Init for Popup
- else if( child.className == "dropspot" || child.className == "expandspot" ||
- child.className == "glossterm" )
- kadovTextPopupInit(child.id);// Init for Expanding/Glossary or DropDown text
- else if( child.className == "trigger")
- kadovInitTrigger(child.id);// Init for Trigger
- else
- {
- kadovInitEffects(child.id);// Init for DHTML effects
- CEngine.SetOneTargetInitialState( child.id );
- }
- }
-
- if( (child.tagName == "IMG") && (child.getAttribute("dynsrc") > "") )
- child.start = "mouseover";// to start a AVI file. fileopen doesn't work
-
- kadovInitEachChild(child);
- }
-}
-
-function kadovRetrieveTextInner(el)
-{
- var x = "";
- if( (!el) || (el.tagName == "!") || (el.tagName == "SCRIPT" ))
- return x;
-
- if( kadovIsParagraph(el) )
- {
- var strNewID = " ";
- if( el.id != "" )
- strNewID += "id=" + el.id + "_NewSpan ";
- x = "<span" + strNewID + "style='" + el.style.cssText + "'>" + el.innerHTML + "</span>";
- }
- else
- {
- for(var i=0; i<getChildNodes(el).length; i++)
- x += kadovRetrieveTextInner( getChildNodes(el)[i] );
- }
- return x;
-}
-
-function kadovRetrieveCleanHTML( strRawHTML, strTagOpen, strTagClose, nDistance )
-{
- var nTagOpen = strRawHTML.indexOf( strTagOpen, 0 );
- if( nTagOpen < 0 )
- return strRawHTML;
-
- var nTagClose = strRawHTML.indexOf( strTagClose, nTagOpen);
- if( nTagClose < nTagOpen )
- return strRawHTML;
-
- if( typeof(nDistance) == "number" && nDistance > 0 )
- if( (nTagClose - nTagOpen) != nDistance )
- return strRawHTML;
-
- var strCleanOnce = strRawHTML.substring(0, nTagOpen) + strRawHTML.substr(nTagClose + strTagClose.length) ;
- return kadovRetrieveCleanHTML( strCleanOnce, strTagOpen, strTagClose );
-}
-
-function kadovAdjustObjectTag(strRawHTML, nStartPos)
-{// adjust object tag for related topics HTML control, because innerHTML misses out the item settings
-
- //Is there any DTC?
- var strDTCTagOpen = '<!--Metadata type="DesignerControl" startspan';
- var strDTCTagClose = '<!--Metadata type="DesignerControl" endspan-->';
- var nDTCTagOpen = strRawHTML.indexOf( strDTCTagOpen, nStartPos );
- if( nDTCTagOpen < 0 )
- return strRawHTML;
- var nDTCTagClose = strRawHTML.indexOf( strDTCTagClose, nDTCTagOpen );
- if( nDTCTagClose < nDTCTagOpen)
- return strRawHTML; // no Design Time Controls;
-
- //Is the DTC HTML Help Control?
- var strRTObjTagOpen = 'classid=clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11';
- var strRTObjTagClose = '</OBJECT>';
- var nRTObjTagOpen = strRawHTML.indexOf( strRTObjTagOpen, nDTCTagOpen );
- if( nRTObjTagOpen < nDTCTagOpen )
- return strRawHTML;
- var nRTObjTagClose = strRawHTML.indexOf( strRTObjTagClose, nRTObjTagOpen );
- if( nRTObjTagClose < nRTObjTagOpen )
- return strRawHTML; // is not a HTML help control
-
- // Is it a related Topics html help control?
- var strRTObjLabel = '<PARAM NAME=\"Command\" VALUE=\"Related Topics';
- if( strRawHTML.indexOf(strRTObjLabel, nRTObjTagOpen) < 0 )
- return strRawHTML;
-
- // does the commented object tag contain a items parameters
- var strRTItemsOpen = '<param name="Items" value="';
- var strRTItemsClose = '$$**$$" >';
- var strRTItemsClose2 = '$$**$$">';
-
- var nRTItemsOpen = strRawHTML.indexOf(strRTItemsOpen, nDTCTagOpen);
- if( nRTItemsOpen < nDTCTagOpen )
- return strRawHTML;
- var nRTItemsClose = strRawHTML.indexOf(strRTItemsClose, nRTItemsOpen);
- if (nRTItemsClose == -1)
- nRTItemsClose = strRawHTML.indexOf(strRTItemsClose2, nRTItemsOpen);
- if( nRTItemsClose < nRTItemsOpen )
- return strRawHTML;
-
- // found a items string
- var strItems = strRawHTML.substring( nRTItemsOpen + strRTItemsOpen.length, nRTItemsClose);
- if( strItems.length < 1 )
- return strRawHTML;
-
- // to reconstruct the item(s) param tag(s)
- var strItemsArray = strItems.split('$$**$$');
- if( strItemsArray.length < 1 )
- return strRawHTML;
- var strRunTimeItemParam = "";
- for( var i = 0; i < strItemsArray.length; i++ )
- {
- strRunTimeItemParam += '<PARAM NAME="Item' + (i+1);
- strRunTimeItemParam += '"' + ' VALUE="';
- strRunTimeItemParam += strItemsArray[i];
- strRunTimeItemParam += '">';
- }
-
- // to insert the reconstructed item params into runtime object tag
- var strAdjustedHTML = strRawHTML.substring(0,nRTObjTagClose) + strRunTimeItemParam + strRawHTML.substring(nRTObjTagClose, strRawHTML.length);
- return kadovAdjustObjectTag(strAdjustedHTML, nDTCTagClose + strDTCTagClose.length);
-}
-
-function kadovTextPopupOnLoad( el )
-{
- if( typeof(el) == "string" )
- el = getElement(el);
-
- var src = el.getAttribute( "x-use-popup" );
- var bNeedMove=true;
- if(!src&&el.id)
- {
- for (var i=0;i<gPopupData.length;i++)
- if (gPopupData[i].el==el.id)
- {
- src=gPopupData[i].popupId;
- bNeedMove=false;
- break;
- }
- }
- if(!src)
- src = el.style.getAttribute( "x-use-popup" );
- if (!src)
- return 0;
-
- var name = src;
- if( src.substr(0,1) == "#" )
- name = src.substr(1, src.length-1);
- var srcDiv = getElement(name);
- if( !srcDiv )
- return 1;
-
- if (bNeedMove)
- {
- var type = el.getAttribute( "x-popup-type" );
- if (!type)
- type = el.style.getAttribute("x-popup-type");
- if (!type)
- return 1;
- var setup = el.getAttribute( "x-tmp-setup" );
- var newId = name;
- if( newId.indexOf( "_tmp") <= 0 )
- newId += "_tmp";
-
- if( !setup)
- {
- el.setAttribute( "x-tmp-setup", 1 );
-
- if( type == "pulldown" )
- {
- var strAdjust = kadovAdjustObjectTag(srcDiv.innerHTML,0);
- var strCleanHTML = kadovRetrieveCleanHTML(strAdjust, "<!--", "-->");
- strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, "<SCRIPT", "/SCRIPT>");
-
- //work around the bug in HH.exe that highlight the phrases when use Search tab
- //this approach is just removing the <FONT...> tag inserted by Microsoft in the runtime
- strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, "<FONT color=#", "\">", 52);
-
- var strStyle = " style='display:none; position:relative;";
- var newDiv = "<div class=droptext id=" + newId + strStyle + "'>" + strCleanHTML + "</div>";
-
- removeThis(srcDiv); // empty the original DIV tag
- var elParentPra = kadovFindParentParagraph(el);
- if( elParentPra )
- insertAdjacentHTML(elParentPra, "afterEnd", newDiv );
- }
- else if( type == "expanding" )
- {
- var inner = kadovRetrieveTextInner(srcDiv);
- if( inner == "" )
- inner = srcDiv.innerHTML;
- var strAdjust = kadovAdjustObjectTag(inner,0);
- var strCleanHTML = kadovRetrieveCleanHTML(strAdjust, "<!--", "-->");
- strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, "<SCRIPT", "/SCRIPT>");
- var strClassName = (el.className == "glossterm") ? "glosstext" : "expandtext";
- var newSpan = "<span class=" + strClassName + " style='display: none;' id=" + newId + "> " + strCleanHTML + "</span>";
- removeThis(srcDiv); // empty the original DIV tag
- insertAdjacentHTML(el, "afterEnd", newSpan );
- }
- }
- }
- else
- {
- srcDiv.style.display = "none";
- }
- return 0;
-}
-
-function getElementsByTag(obj,sTagName)
-{
- if(obj.getElementsByTagName)
- return obj.getElementsByTagName(sTagName);
- else if(obj.all)
- return obj.all.tags(sTagName);
- return null;
-}
-
-function getElement(sID)
-{
- if(document.getElementById)
- return document.getElementById(sID);
- else if(document.all)
- return document.all(sID);
- return null;
-}
-
-function getParentNode(obj)
-{
- if(obj.parentNode)
- return obj.parentNode;
- else if(obj.parentElement)
- return obj.parentElement;
- return null;
-}
-
-function getChildNodes(obj)
-{
- if(obj.childNodes)
- {
- var children = new Array();
- for (var i = 0; i < obj.childNodes.length; i++)
- {
- if (obj.childNodes[i].nodeType == 1)
- children[children.length] = obj.childNodes[i];
- }
- return children;
- }
- else if(obj.children)
- return obj.children;
- return null;
-}
-
-function removeThis(obj)
-{
- if(obj.parentNode)
- obj.parentNode.removeChild(obj);
- else
- obj.outerHTML="";
-}
-
-function kadovTextPopup( el )
-{
- if (!gbBsIE4 && !gbBsOpera7 && !gbBsSafari && !gbBsNS6 && !gbBsKonqueror3 )
- return;
-
- var bNeedMove=true;
-
- if (window.event)
- window.event.cancelBubble = true;
-
- if( typeof(el) == "string" )
- el = getElement(el);
-
- if (!el||el==window)
- return;
-
- var src = el.getAttribute( "x-use-popup" );
- if(!src&&el.id)
- {
- for (var i=0;i<gPopupData.length;i++)
- if (gPopupData[i].el==el.id)
- {
- src=gPopupData[i].popupId;
- bNeedMove=false;
- break;
- }
- }
- if(!src)
- src = el.style.getAttribute( "x-use-popup" );
- if(!src)
- return;
-
- var name = src;
- if( src.substr(0,1) == "#" )
- if (bNeedMove)
- name = src.substr(1, src.length-1) + "_tmp";
- else
- name = src.substr(1, src.length-1);
-
- var srcDiv = getElement(name);
- if( !srcDiv )
- return;
-
- if( srcDiv )
- {
- if( srcDiv.style.display == "" )
- srcDiv.style.display = "none";
- else
- {
- srcDiv.style.display = "";
- if( typeof(srcDiv.bInitialized) == "undefined" )
- {
- srcDiv.bInitialized = true;
- kadovInitEffects(name);
- kadovInitEachChild(srcDiv);
- }
- }
- }
- if(gbBsIE4)
- event.returnValue=false;
- return;
-}
-
-function kadovFindParentParagraph( el )
-{
- if( typeof(el) == "string" )
- el = getElement(el);
- if( (!el) || el.tagName == "BODY" )
- return null;
- if( kadovIsParagraph(getParentNode(el)) )
- return getParentNode(el);
- else
- return kadovFindParentParagraph( getParentNode(el) );
-}
-
-//Begin HTML code invoked function
-function kadovRegisterEventHandler( obj, strEvent, strEventHandler )
-{
- if( !gbBsIE4 )
- return;
- CCSSP.RegisterEventHandler( obj, strEvent, strEventHandler );
-}
-
-function textPopupData(el, popupId)
-{
- this.el = el;
- this.popupId = "#"+popupId;
-}
-
-var gPopupData = new Array();
-
-function kadovTextPopupInit( el, popupId)
-{
- if (!gbBsIE4 && !gbBsOpera7 && !gbBsSafari && !gbBsNS6 && !gbBsKonqueror3)
- return;
-
- if( typeof(el) == "string" )
- {
- if (popupId)
- {
- gPopupData[gPopupData.length]=new textPopupData(el, popupId);
- }
- el = getElement(el);
- }
-
- if( el != null )
- {
- CCSSP.RegisterEventHandler( el, "onclick", "kadovTextPopup(\"" + el.id +"\");" );
- CCSSP.RegisterEventHandler( window, "onload", "kadovTextPopupOnLoad(\"" + el.id +"\");" );
- }
-}
-//End HTML code invoked function
-
-//End to support extended and dropdown text effects.
-
-//Begin to convert iWrite format to RoboEditor Format for DHTML effects
-function kadovInitTriggersInHead( )
-{
- if( Object.xDelayedInitElements )
- {
- var x = Object.xDelayedInitElements;
- for(i=0; i<x.length; i++)
- kadovInitTrigger( x[i] );
- }
-}
-
-//Begin HTML code invoked function
-function kadovFilePopupInit( el )
-{
- if( typeof(el) == "string" )
- el = getElement(el);
-
- if( el != null )
- CCSSP.RegisterEventHandler( el, "onmouseover", "BSPSPopupOnMouseOver(event);" );
-}
-
-function kadovInitTrigger( element )
-{
- if( !gbBsIE4 )
- return;
- var srcElement = element;
- if( typeof(srcElement) == "string" )
- {
- srcElement = getElement(element,0);
- if(srcElement == null)
- return;
- }
-
- if( !kadovIsParentVisible(srcElement) )
- return;
-
- var targets = srcElement.getAttribute( "x-targets" );
- if (!targets)
- targets = srcElement.style.getAttribute("x-targets");
- if (!targets)
- return;
- var arrOneTarget = targets.split( "," );
- for( var i = 0; i < arrOneTarget.length; i ++ )
- bsscFXInit( element, arrOneTarget[i], null, null, null, null );
-}
-
-function kadovIsParentVisible( el )
-{
- if( typeof(el) == "string" )
- el = getElement(el);
- if( (!el) || el.tagName == "BODY" )
- return true;
- if( el.style.display == 'none' ) //el.visibility == 'hidden' ||
- return false;
- else
- return kadovIsParentVisible( getParentNode(el) );
-}
-
-function kadovInitEffects( element )
-{
- if( !gbBsIE4 )
- return;
- var srcElement = element;
- if( typeof(srcElement) == "string" )
- {
- srcElement = getElement(element,0);
- if(srcElement == null)
- return;
- }
-
- if( !kadovIsParentVisible(srcElement) )
- return;
-
- kadovInitEffect( srcElement, "x-on-hover" );
- kadovInitEffect( srcElement, "x-on-pageclick" );
- kadovInitEffect( srcElement, "x-on-pageload" );
- kadovInitEffect( srcElement, "x-on-trigger-1" );
- kadovInitEffect( srcElement, "x-on-trigger-2" );
-}
-//End HTML code invoked function
-
-function kadovInitEffect( element, prop )
-{
- var values = null;
- if( element.getAttribute( "currentStyle" ) && element.currentStyle.getAttribute)
- values = element.currentStyle.getAttribute( prop );
- else if (element.style.getAttribute)
- values = element.style.getAttribute( prop );
- if( !values )
- return;
-
- var functions = new Array();
- var nIdx = 0, nStart = 0;
- var nNext = values.indexOf( "\)", 0);
- while( nNext >= 0 && nNext < values.length )
- {
- functions[nIdx] = values.substr( nStart, nNext-nStart+1);
- nStart = nNext + 1;
- nIdx++;
- nNext = values.indexOf( "\)", nStart);
- }
-
- for( var i=0; i<functions.length; i++)
- {
- var id = element.getAttribute( "id" );
- var translatedProp = kadovTranslateProp(prop);
-
- var lp = functions[i].indexOf( "(" );
- var fnname = functions[i].substring(0, lp);
- var srcargs = functions[i].substring(lp+1, functions[i].length-1);
-
- var nClickTimes = 1;
- var arrForClickCount = srcargs.split( "," );
- for( var j = 0; j < arrForClickCount.length; j++ )
- {// to locate and get the "clicks=99" settings
- var nPageClick = arrForClickCount[j].indexOf("clicks");
- if( nPageClick >= 0 )
- {
- nPageClick = arrForClickCount[j].indexOf("=");
- if( nPageClick > 0 )
- {
- nClickTimes = arrForClickCount[j].substring( nPageClick + 1, arrForClickCount[j].length) * 1;
- break;
- }
- }
- }
- var args = srcargs;
- if( j < arrForClickCount.length )
- {// to strip out the "clicks=99" from the arguments string
- args = "";
- for( var k = 0; k < arrForClickCount.length; k ++ )
- {
- if( k != j )
- {
- args += arrForClickCount[k];
- if( k < arrForClickCount.length - 1 )
- args += ",";
- }
- }
- }
- bsscFXInit( null, id, translatedProp, fnname, args, nClickTimes );
- }
-}
-
-function kadovTranslateProp( prop )
-{
- switch( prop )
- {
- case "x-on-hover" : return "bsschover";
- case "x-on-pageclick" : return "bsscpageclick";
- case "x-on-pageload" : return "bsscpageload";
- case "x-on-trigger-1" : return "bssctrigger1";
- case "x-on-trigger-2" : return "bssctrigger2";
- }
- return null;
-}
-//End to convert iWrite format to RoboEditor Format for DHTML effects
-
-//Begin the definition of one entry to DHTML effects
-function bsscFXInit( trigger_ID, target_ID, event_type,
- action_type, action_setting, event_addional )
-{
- if( (!gbBsWindows && !gbBsSunOS && !(gbBsMac&&gbBsIE5)) || typeof(target_ID) != "string" )//MUST have a target_ID
- return; // we don't support Navigator yet
-
- if( typeof(event_type) == "string" )
- event_type = event_type.toLowerCase();
- if( typeof(action_type) == "string" )
- action_type = action_type.toLowerCase();
- if( typeof(action_setting) == "string" )
- action_setting = action_setting.toLowerCase();
-
- // to get the target element then add it to the target list
- var eleTarget = CCSSP.GetObject( target_ID );
- if( (eleTarget != null) && (event_type != null) && (action_type != null) )
- {
- CEngine.AddOneTarget( target_ID, eleTarget );
- CEngine.BuildTargetObject(target_ID, event_type, action_type, action_setting, event_addional);
- }
-
- // to validate the trigger_ID parameter
- if( typeof(trigger_ID) == "string" && trigger_ID != "" )
- CEngine.BuildTriggerObject( trigger_ID, target_ID );
-}
-//End the definition of one entry to DHTML effects
-
-/// Section End - kadov DHTM (JavaScript 1.2)
-
-/// Section Begin - CCSSP DHTM (JavaScript 1.2)
-
-//Begin JavaScript libary for cross-platform positioning object.
-function CCSSP(){} // constructor of CCSSP class
-
-CCSSP.GetObject = function( obj )
-{//convert object name string or reference into a valid object reference
- if( typeof(obj) == "object" )
- return obj;
- else if( typeof(obj) == "string" && obj != "")
- {
- if( gbBsNS4 )
- return eval("document." + obj);
- else
- return eval("document.all(\"" + obj + "\")");
- }
- else
- return null;
-}
-
-CCSSP.MoveObjectTo = function(obj, x, y)
-{//positioning an object at a specific pixel coordinate
- if( gbBsNS4 )
- obj.moveTo(x,y);
- else
- {
- obj.style.pixelLeft = x;
- obj.style.pixelTop = y;
- }
-}
-
-CCSSP.MoveObjectBy = function(obj, dx, dy)
-{//moveing a object by x and/or y pixel
- if( gbBsNS4 )
- obj.moveBy(dx,dy);
- else
- {
- obj.style.pixelLeft += dx;
- obj.style.pixelTop += dy;
- }
-}
-
-CCSSP.SetObjectBGColor = function(obj, color)
-{//set the background color of an object
- if( gbBsNS4 )
- obj.bgColor = color;
- else
- obj.style.backgroundColor = color;
-}
-
-CCSSP.ShowObject = function(obj, bShow)
-{// set the object to be visible or invisible
- if( gbBsNS4 )
- obj.visibility = (bShow == true) ? 'show' : 'hide';
- else
- obj.style.visibility = (bShow == true) ? 'visible' : 'hidden';// when hidden, it still occupy some space.
-}
-
-CCSSP.GetObjectLeft = function(obj)
-{// retrieve the x coordinate of a posionable object
- if( gbBsNS4 )
- return obj.left;
- else
- return obj.style.pixelLeft;
-}
-
-CCSSP.GetObjectTop = function(obj)
-{// retrieve the y coordinate of a posionable object
- if( gbBsNS4 )
- return obj.top;
- else
- return obj.style.pixelTop;
-}
-
-CCSSP.GetObjectContainLeft = function(obj)
-{// retrieve the x coordinate of a posionable object relative to it's parent element
- if( gbBsNS4 )
- return obj.pageX;
- else
- {
- if( obj == document.body )
- return obj.clientLeft;
- else
- return obj.offsetLeft;
- }
-}
-
-CCSSP.GetObjectWindowLeft = function(obj)
-{// retrieve the x coordinate of a posionable object relative to browser window
- if( gbBsNS4 )
- return obj.pageX;
- else
- {
- var nOffsetWindowLeft = 0;
- for(var element = obj; element; element = element.offsetParent)
- nOffsetWindowLeft += CCSSP.GetObjectContainLeft(element);
- return nOffsetWindowLeft;
- }
-}
-
-CCSSP.GetObjectContainTop = function(obj)
-{// retrieve the y coordinate of a posionable object relative to it's parent element
- if( gbBsNS4 )
- return obj.pageY;
- else
- {
- if( obj == document.body )
- return obj.clientTop;
- else
- return obj.offsetTop;
- }
-}
-
-CCSSP.GetObjectWindowTop = function(obj)
-{// retrieve the y coordinate of a posionable object relative to browser window
- if( gbBsNS4 )
- return obj.pageY;
- else
- {
- var nOffsetWindowTop = 0;
- for(var element = obj; element; element = element.offsetParent)
- nOffsetWindowTop += CCSSP.GetObjectContainTop(element);
- return nOffsetWindowTop;
- }
-}
-
-CCSSP.GetObjectHeight = function(obj)
-{// retrieve the height of a posionable object
- if( gbBsNS4 )
- return obj.clip.height;
- else
- return obj.offsetHeight;
-}
-
-CCSSP.GetObjectWidth = function(obj)
-{// retrieve the width of a posionable object
- if( gbBsNS4 )
- return obj.clip.width;
- else
- return obj.offsetWidth;
-}
-
-CCSSP.RegisterEventHandler = function( srcObj, rawEventName, funcHandler )
-{ // to add the "funcHandler" as the "rawEventName" 's handler to the "srcObj" object,the original event handler will be combined
- if (gbBsNS4 && !gbBsNS6)
- return ;
-
- var oldHandler = "";
-
- if (gbBsMac &&gbBsIE4&&!gbBsIE5)
- {
- if (typeof(srcObj[rawEventName.toLowerCase()])=="unknown")
- { //search for <SCRIPT> tag which define the event handler
- for( var i = 0; i < document.scripts.length; i++ )
- {
- var script = document.scripts[i];
- if( (script.htmlFor == srcObj.id || script.htmlFor == srcObj ) && script.event == rawEventName )
- {
- oldHandler = script.innerHTML;
- break;
- }
- }
- }
- }
- else
- {
- var oldInlineHandler = srcObj[rawEventName.toLowerCase()];
- if( oldInlineHandler != null && typeof(oldInlineHandler) != "undefined")
- {
- var functionDefinition = oldInlineHandler.toString();
- var bodyStart = functionDefinition.indexOf( "{" );
- var bodyEnd = functionDefinition.lastIndexOf( "}" );
- if( bodyStart > 0 || bodyEnd > bodyStart )
- oldHandler = functionDefinition.substr( bodyStart + 1, bodyEnd - bodyStart - 2 );
- }
- else if( gbBsIE4 )
- { //search for <SCRIPT> tag which define the event handler
- for( var i = 0; i < document.scripts.length; i++ )
- {
- var script = document.scripts[i];
- if( (script.htmlFor == srcObj.id || script.htmlFor == srcObj ) && script.event == rawEventName )
- {
- oldHandler = script.innerHTML;
- break;
- }
- }
- }
- }
- if( oldHandler.indexOf(funcHandler) >= 0 )
- return;// to prevent register the funtion twice.
-
- if( gbBsNS4 ) // only "onload, onresize, onfocus" apply to window
- {// other raw events will apply to layer
- var noOn = rawEventName.substring(2, rawEventName.length);
- if( typeof(noOn) == "string" && noOn.length > 3 ) {
- if (srcObj.captureEvents)
- srcObj.captureEvents( Event[noOn.toUpperCase()] );
- }
- }
-
- var newHandler = oldHandler;
- if( newHandler.length == 0 )
- newHandler = funcHandler;
- else
- newHandler += "; " + funcHandler;
-
- srcObj[rawEventName.toLowerCase()] = new Function( newHandler );
-}
-
-CCSSP.GetWindowHeight = function()
-{// retrieve the height of available content in browser window
- if( gbBsNS4 )
- return window.innerHeight;
- else
- return document.body.clientHeight;
-}
-
-CCSSP.GetWindowBottom = function()
-{// retrieve the bottom postion of browser window
- if( gbBsNS4 )
- return window.outerHeight + window.pageYOffset;
- else
- return document.body.clientHeight + document.body.scrollTop;
-}
-
-CCSSP.GetWindowWidth = function()
-{// retrieve the width of available content in browser window
- if( gbBsNS4 )
- return window.innerWidth;
- else
- return document.body.clientWidth;
-}
-
-CCSSP.GetWindowRight = function()
-{// retrieve the right postion of browser window
- if( gbBsNS4 )
- return window.outerWidth + window.pageXOffset;
- else
- return document.body.clientWidth + document.body.scrollLeft;
-}
-
-CCSSP.TrimString = function( objString, subtrim )
-{// to trim the "subtrim" in the beginning and ending of a string object
- if( typeof(subtrim) != "string" || subtrim == null )
- return objString;
- var strHead = objString.substring(0, 1);
- var strRear = objString.substring(objString.length-1, objString.length);
- if( strHead != subtrim && strRear != subtrim )
- return objString;
-
- var spacePos = objString.indexOf(subtrim);
- if( spacePos < 0 )
- return objString;
- else if( spacePos == objString.length - 1 )
- return objString.substring(0, spacePos);
- else
- {
- var newString = objString.substring( spacePos + 1, objString.length);
- return CCSSP.TrimString( newString, subtrim );
- }
-}
-
-CCSSP.TrimSpace = function( objString )
-{
- var Trim1 = CCSSP.TrimString( objString, " ");
- return CCSSP.TrimString( Trim1, "\'");
-}
-
-CCSSP.GetEventElement = function( navEventObject )
-{// to get the element who fired the current event
- if(gbBsNS4)
- if (gbBsNS6)
- return null;
- else
- navEventObject.target;
- else
- return event.srcElement;
-}
-
-CCSSP.PrepareFilter = function( Obj )
-{//to prepare for making the filter work
- Obj.style.filter = "";
- if( Obj.style.width != "" || Obj.style.height != "" || Obj.style.position == "absolute" )
- return;
- Obj.style.height = CCSSP.GetObjectHeight(Obj);
-}
-
-CCSSP.IsDescendant = function( progenitor, progeny )
-{
- if( typeof(progeny) == "undefined" || progeny == null )
- return false;
- else if( progeny == progenitor )
- return true;
- else if( progeny.id == progenitor.id )
- return true;
- else if( getParentNode(progeny) == getParentNode(progenitor))
- return false;
- else
- return CCSSP.IsDescendant( progenitor, getParentNode(progeny));
-}
-
-CCSSP.IsTextTag = function( Obj )
-{
- if( typeof( Obj.tagName ) == "undefined" )
- return false;
- return( Obj.tagName.indexOf("H") == 0 || Obj.tagName == "P" ||
- Obj.tagName == "FONT" || Obj.tagName == "SPAN" );
-}
-
-//End JavaScript libary for cross-platform positioning object.
-
-/// Section End - CCSSP DHTM (JavaScript 1.2)
-
-/// Section Begin - CCSSP DHTM 1 (JavaScript 1.2)
-
-//Begin the definition of class CTrigger
-function CTrigger( TriggerElement )
-{
- // object : the trigger element. Never be null.
- this.eleTrigger = TriggerElement;
-
- // number : the click counter number: only 3 values: 0,1,2;
- this.nCounter = 0;
-
- //object as associative array of string:
- // the associate target ID strings; one element at least.
- this.objStrTarget = new Object();
- this.eleTrigger.style.cursor = "hand";
- if( this.eleTrigger.tagName == "AREA" && this.eleTrigger.getAttribute("href") == "" )
- this.eleTrigger.setAttribute("href", "#") // to make a hand cursor for image map
-}
-
-CTrigger.prototype.AddTargetID = function( strTargetID )
-{// add one target ID string to the objStrTarget
- if( typeof(strTargetID) != "string" )
- return ;
- if( typeof(this.objStrTarget[strTargetID]) != "string" )
- this.objStrTarget[strTargetID] = strTargetID;
-}
-
-CTrigger.prototype.OnTriggerClick = function()
-{// to activate all asociated target
- var strEventType = ( (this.nCounter++)% 2 == 0 ) ?
- "bssctrigger1" : "bssctrigger2";
-
- // to enumerate associative target element's ID string
- for( var strTargetID in this.objStrTarget )
- CEngine.SendEventToOneTarget( strTargetID, strEventType );
-}
-//End the definition of class CTrigger
-
-//Begin the definition of class CTarget
-function CTarget( TargetElement )
-{
- // object : the target element. Never be null.
- this.eleTarget = TargetElement;
- this.objManager = new Object(); // object: the event manager
-}
-
-CTarget.nPageClickCounter = 0;// static class property.
-
-CTarget.prototype.GetAgencyObject = function(str_action_type,action_setting )
-{// return the action agency ( effect )object's refernece
- switch( str_action_type )
- {
- case "show":return new CAgencyShow( this.eleTarget, true ) ;
- case "hide":return new CAgencyShow( this.eleTarget, false ) ;
-
- case "flyin" :
- return new CAgencyFly(this.eleTarget, action_setting, true);
- case "flyout" :
- return new CAgencyFly(this.eleTarget, action_setting, false);
- case "spiralin" :
- return new CAgencySpiral(this.eleTarget, action_setting, true);
- case "spiralout" :
- return new CAgencySpiral(this.eleTarget, action_setting, false);
- case "zoomin" :
- return new CAgencyZoom(this.eleTarget, action_setting, true);
- case "zoomout" :
- return new CAgencyZoom(this.eleTarget, action_setting, false);
- case "elastic" :
- return new CAgencyElastic(this.eleTarget, action_setting);
-
- case "fadein" :
- return (gbBsIE4)? new CAgencyAlpha(this.eleTarget, action_setting, true) : null;
- case "fadeout" :
- return (gbBsIE4)? new CAgencyAlpha(this.eleTarget, action_setting, false) : null;
- case "rockrollstatic" :
- case "rockroll" :
- return (gbBsIE4)? new CAgencyWave(this.eleTarget, action_setting, false) : null;
-
- case "glow":
- return (gbBsIE4)? new CAgencyGlow(this.eleTarget,action_setting) : null;
- case "dropshadow":
- return (gbBsIE4)? new CAgencyDropShadow(this.eleTarget,action_setting) : null;
- case "transition" :
- return (gbBsIE4)? new CAgencyRevealTrans(this.eleTarget,action_setting) : null;
- case "blur" :
- return (gbBsIE4)? new CAgencyBlur(this.eleTarget,action_setting) : null;
-
- case "fliph" : // all these 4 do NOT need any parameters
- case "flipv" :
- case "invert":
- case "gray" :
- return (gbBsIE4)? new CAgencyChangeFilter(this.eleTarget, str_action_type) : null;
-
- case "fontchange": // the effects below change the style on the fly, so won't work in Navigator
- return (gbBsIE4)? new CAgencyFontChange(this.eleTarget,action_setting) : null;
- case "boderchange":
- case "stylechange":
- return (gbBsIE4)? new CAgencyChangeStyle(this.eleTarget,action_setting) : null;
-
- default: return null;
- }
-}
-
-CTarget.prototype.SetEventManager = function(
- one_event_type,str_action_type,action_setting,event_additional)
-{// to set the event manager with specified action
- if( typeof( one_event_type ) != "string" ||
- typeof( str_action_type ) != "string"||
- typeof( action_setting ) != "string" )
- return false;
- if( typeof(this.objManager[one_event_type]) == "undefined" )
- {
- this.objManager[one_event_type] = new Object();
- this.objManager[one_event_type].length = 0;
- }
-
- var eventAgency = this.GetAgencyObject(str_action_type,action_setting);
- if( eventAgency != null )
- {
- var ct = this.objManager[one_event_type].length ++;
- this.objManager[one_event_type][ct] = eventAgency;
-
- if( one_event_type == "bsscpageclick" )
- {// to deal with the "number of pageclick" stuff
- if( typeof(event_additional) == "number" )
- this.objManager[one_event_type][ct].nPageClick = event_additional;
- else // set the default number
- this.objManager[one_event_type][ct].nPageClick = 1;
-
- if( (typeof(this.objManager.nMinPageClickIndex) == "undefined") ||
- (this.objManager[one_event_type][ct].nPageClick <
- this.objManager[one_event_type][this.objManager.nMinPageClickIndex].nPageClick) )
- this.objManager.nMinPageClickIndex = ct;
- }
-
- //hide the object blindly,SetState function will take care of the final correct state
- if( ((one_event_type == "bsscpageclick") &&
- (this.objManager[one_event_type][ct].nPageClick == 1)) ||
- one_event_type == "bsscpageload" ||
- one_event_type == "bssctrigger1" )
- CCSSP.ShowObject( this.eleTarget, false );
-
- if( one_event_type == "bssctrigger1" || one_event_type == "bssctrigger2" )
- if( typeof( this.strTriggerEvent ) == "undefined" )
- this.strTriggerEvent = ( one_event_type == "bssctrigger1" ) ? "bssctrigger2" : "bssctrigger1";
-
- return true;
- }
- return false;
-}
-
-CTarget.prototype.OnEvent = function( strBsscEvent )
-{// response to the event ( bssc format )
- if( typeof(this.objManager[strBsscEvent]) == "object" )
- { // to get the event agency from the event manager
- var eventAgency = this.objManager[strBsscEvent];
- for( var i = 0; i < eventAgency.length; i++ )
- {
- if( strBsscEvent == "bsscpageclick" &&
- eventAgency[i].nPageClick != CTarget.nPageClickCounter )
- continue;
- else if( strBsscEvent == "bsschover" && event.type == "mouseout" )
- eventAgency[i].EndEffect();
- else // to invoke the unified function in effect object
- eventAgency[i].UpdateEffect();
- }
- }
-}
-
-CTarget.prototype.SetState = function( strBsscEvent )
-{
- if( typeof(this.objManager[strBsscEvent]) != "object" )
- return false;
-
- // to get the event agency from the event manager
- var eventAgency = this.objManager[strBsscEvent];
-
- if( strBsscEvent == "bsscpageclick" )
- {// we only set the initial state for the minium number of pageclick
- eventAgency[this.objManager.nMinPageClickIndex].PrepareEffect();
- return true;
- }
- else
- {
- for( var i = 0; i < eventAgency.length; i++ )
- eventAgency[i].PrepareEffect(); // to invoke the unified function in effect object
- if( i > 0 )
- return true;
- else
- return false;
- }
-}
-//End the definition of class CTarget
-
-//Begin the definition of CEngine class
-function CEngine(){}// all properities are going be "class" properities
-
-// object : as associative array of trigger objects
-CEngine.objTrigger = new Object();
-// object : as associative array of target objects
-CEngine.objTarget = new Object();
-
-// Array : each element is a CAgencyXXX animation object
-CEngine.arrAnimation = new Array();
-CEngine.PerformAnimation = function( nIndex )
-{// animation : update effects function
- CEngine.arrAnimation[nIndex].UpdateEffect();
-}
-
-CEngine.AddOneTrigger = function(TriggerID,TriggerElement)
-{// add one Trigger object into the trigger array
- if( typeof(TriggerID) != "string" || TriggerElement == null ||
- typeof(TriggerElement) != "object" )
- return;
- if( typeof(CEngine.objTrigger[TriggerID] ) != "object" )
- CEngine.objTrigger[TriggerID] = new CTrigger(TriggerElement);
-}
-
-CEngine.AddOneTarget = function(TargetID, TargetElement)
-{// add one Target object into the target array
- if( typeof(TargetID) != "string" || TargetElement == null ||
- typeof(TargetElement) != "object" )
- return;
- if( typeof(CEngine.objTarget[TargetID]) != "object" )
- CEngine.objTarget[TargetID] = new CTarget( TargetElement );
-}
-
-CEngine.SendEventToOneTarget = function(strTargetID, strBsscEvent )
-{// to activate one target object
- if( typeof(CEngine.objTarget[strTargetID]) == "object" )
- {
- if( strBsscEvent == "bssctrigger1" || strBsscEvent == "bssctrigger2" )
- {//now, the "bssctrigger1" and "bssctrigger2" work like a toggle
- if( strBsscEvent == CEngine.objTarget[strTargetID].strTriggerEvent )
- strBsscEvent = (strBsscEvent == "bssctrigger1") ? "bssctrigger2" : "bssctrigger1";
- CEngine.objTarget[strTargetID].strTriggerEvent = strBsscEvent;
- }
- CEngine.objTarget[strTargetID].OnEvent( strBsscEvent );
- }
-}
-
-CEngine.SendEventToAllTarget = function( strBsscEvent )
-{ //to activate all target associative to the BSSC event
- for( var strTargetID in CEngine.objTarget ) //to enumerate all target
- CEngine.SendEventToOneTarget( strTargetID, strBsscEvent );
-}
-
-CEngine.SetOneTargetInitialState = function( strTargetID )
-{// only invoked after ALL effects for the target have been set
- if( typeof(CEngine.objTarget[strTargetID]) == "object" )
- {// to get target object
- var objTarget = CEngine.objTarget[strTargetID];
- if( objTarget.SetState( "bsscpageload" ) == false )
- {
- objTarget.SetState( "bsscpageclick" );
- objTarget.SetState( "bssctrigger1" );
- }
- }
-}
-
-CEngine.AdjustPageClickCounter = function()
-{
- var nAdjustedClickCounter = CTarget.nPageClickCounter;
- var bAdjusted = false;
- for( var strTargetID in CEngine.objTarget ) //to enumerate all target
- {// try to find the minum pageCliclConter greater than CTarget.nPageClickCounter
- var objEventPageClick = CEngine.objTarget[strTargetID].objManager.bsscpageclick;
- if( objEventPageClick != null )
- {
- for( var i = 0; i < objEventPageClick.length; i++ )
- {
- var nOtherPageClick = objEventPageClick[i].nPageClick;
- if( nOtherPageClick == CTarget.nPageClickCounter )
- return;
- if( nOtherPageClick > CTarget.nPageClickCounter )
- {
- if( !bAdjusted )
- {
- nAdjustedClickCounter = nOtherPageClick;
- bAdjusted = true;
- }
- else if( nOtherPageClick < nAdjustedClickCounter )
- nAdjustedClickCounter = nOtherPageClick;
- }
- }
- }
- }
- CTarget.nPageClickCounter = nAdjustedClickCounter;
-}
-
-CEngine.OnPageLoad = function()
-{
- // first, to set all target's initial state
- for( var strTargetID in CEngine.objTarget )
- CEngine.SetOneTargetInitialState( strTargetID );
-
- // to invoke all target's onpageload handler
- CEngine.SendEventToAllTarget( "bsscpageload" );
-}
-
-CEngine.OnPageClick = function()
-{ // to invoke all target's onpageclick handler
- var src = CCSSP.GetEventElement( arguments[0] );
- if( src == null )
- return;
-
- var objClickedTrigger = null;
- for( var strTriggerID in CEngine.objTrigger )
- { // to detect which trigger is clicked
- if( CCSSP.IsDescendant( CEngine.objTrigger[strTriggerID].eleTrigger,src) )
- {
- objClickedTrigger = CEngine.objTrigger[strTriggerID];
- break;
- }
- }
-
- if( objClickedTrigger != null) // the clicked trigger found
- objClickedTrigger.OnTriggerClick();
- else // no trigger is clicked
- { // to send PageClick event to all target
- CTarget.nPageClickCounter++;
- CEngine.AdjustPageClickCounter();
- CEngine.SendEventToAllTarget( "bsscpageclick" );
- }
-}
-
-CEngine.OnMouseOver = function()
-{ // to invoke all target's onpageload handler
- var src = CCSSP.GetEventElement( arguments[0] );
- if( src == null )
- return;
-
- var strHoveredTargetID = null;
- for( var strTargetID in CEngine.objTarget )
- { // to detect which Target is hovering on
- if( CCSSP.IsDescendant( CEngine.objTarget[strTargetID].eleTarget, src ) )
- {
- strHoveredTargetID = strTargetID;
- break;
- }
- }
-
- if( strHoveredTargetID != null ) // the hovered target found
- CEngine.SendEventToOneTarget( strHoveredTargetID, "bsschover" );
-}
-
-CEngine.BuildTargetObject = function(target_ID,event_type,action_type,
- action_setting, event_additional)
-{// to build target object
- // to get the target object
- if( typeof( CEngine.objTarget[target_ID] ) != "object" )
- return false;// the engine's AddOneTarget function might have failed.
- var TargetObject = CEngine.objTarget[target_ID];
-
- // to prepare the parameters for the event manager
- var arrEvent = event_type.split("|"); // to split the combined event_type string
- var arrAction = action_type.split("|");//to split the combined action_type string
- for( var trim = 0; trim < arrEvent.length; trim++ )
- arrEvent[trim] = CCSSP.TrimSpace(arrEvent[trim]);
-
- for( trim = 0; trim < arrAction.length; trim++ )
- arrAction[trim] = CCSSP.TrimSpace(arrAction[trim]);
-
- var arrSetting = new Array();
- if( typeof(action_setting) == "string" )
- arrSetting = action_setting.split("|");// to split the combined action_setting string
- // to calibrate the arrays
- for( var i = arrSetting.length; i < arrAction.length; i++ )
- {
- if( typeof(arrSetting[i]) != "string" )
- arrSetting[i] = "";
- }
-
- // to prepare for dealing with the absolute posioning element
- TargetObject.eleTarget.ABSX = CCSSP.GetObjectLeft( TargetObject.eleTarget );
- TargetObject.eleTarget.ABSY = CCSSP.GetObjectTop( TargetObject.eleTarget );
-
- if( arrEvent.length > 1 )
- {// if event is combined, it must be : "bssctrigger1 | bssctrigger2"
- if( arrAction.length != 2 )
- return false; // if event is combined, there must be 2 actions
- for( i = 0 ; i < 2; i++ )
- {
- if( TargetObject.SetEventManager(arrEvent[i], arrAction[i],
- arrSetting[i], event_additional) == false )
- return false; // the event manager has not been set up
- }
- }
- else // the event_type string is not combined
- {
- for( i = 0 ; i < arrAction.length; i++ )
- {
- TargetObject.SetEventManager(event_type, arrAction[i], arrSetting[i], event_additional);
- // to validate the event manager
- if( typeof(TargetObject.objManager[event_type]) != "object" ||
- typeof(TargetObject.objManager[event_type][i]) != "object" )
- return false; // the event manager has not been set up
- }
- }
- return true;
-}
-
-CEngine.BuildTriggerObject = function(trigger_ID, target_ID)
-{// to build the trigger object
- var arrTrigger = trigger_ID.split("|"); // to split the combined trigger_ID string
- for( var i = 0; i < arrTrigger.length; i ++ )
- {// to get the trigger element then add it to the trigger list
- arrTrigger[i] = CCSSP.TrimSpace( arrTrigger[i] );
- var eleTrigger = CCSSP.GetObject( arrTrigger[i] );
- if( eleTrigger == null )
- continue; // the trigger_ID string in the HTML code maybe wrong
- CEngine.AddOneTrigger( arrTrigger[i], eleTrigger );
-
- // to get the target object
- if( typeof( this.objTrigger[arrTrigger[i]] ) != "object" )
- continue;// the engine's AddOneTarget function might have failed.
- CEngine.objTrigger[arrTrigger[i]].AddTargetID( target_ID );
- }
-}
-//End the definition of CEngine class
-
-/// Section End - CCSSP DHTM 1 (JavaScript 1.2)
-
-/// Section Begin - CCSSP DHTM 2 (JavaScript 1.2)
-
-//Begin the definition of CAgencyXXXX classes
-
-//Begin of the CAgencyShow definition
-function CAgencyShow( element, bIsShow )
-{
- this.ele = element;
- this.bIsShow = bIsShow;
-}
-
-CAgencyShow.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject( this.ele, !this.bIsShow );
-}
-
-CAgencyShow.prototype.UpdateEffect = function()
-{
- CCSSP.ShowObject( this.ele, this.bIsShow );
-}
-
-CAgencyShow.prototype.EndEffect = function()
-{
- CCSSP.ShowObject( this.ele, !this.bIsShow );
-}
-// End of the CAgencyShow definition
-
-// Begin of CAgencyFly definition
-function CAgencyFly( element, settings, bIsIn )
-{
- this.ele = element;
- this.bIsIn = bIsIn;
- this.duration = 1000; // default
- this.direction = "right";
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "speed" : this.duration = 100000/arrOneSet[1]; break;
- case "direction" : this.direction = arrOneSet[1]; break;
- }
- }
-
- if( gbBsIE5 && this.ele.style.position != "absolute" )
- this.ele.style.position = "relative";
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencyFly.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject(this.ele, !this.bIsIn );
-}
-
-CAgencyFly.prototype.UpdateEffect = function()
-{
- if( this.timer == null )
- this.ResetParameters();
-
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- this.EndEffect();
- else
- {
- var newX = this.startX*(1.0-percent) + this.finalX*percent;
- var newY = this.startY*(1.0-percent) + this.finalY*percent;
- CCSSP.MoveObjectTo(this.ele, newX, newY);
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );
- }
-}
-
-CAgencyFly.prototype.EndEffect = function()
-{
- clearInterval( this.timer );
- this.timer = null;
-
- if( this.bIsIn ) // FlyIn
- CCSSP.MoveObjectTo(this.ele, this.finalX, this.finalY);
- else // FlyOut
- CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);
- CCSSP.ShowObject(this.ele, this.bIsIn );
-}
-
-CAgencyFly.prototype.ResetParameters = function()
-{
- this.PrepareEffect();
- CCSSP.ShowObject(this.ele, true );
-
- this.startX = 0;
- this.startY = 0;
- this.finalX = 0;
- this.finalY = 0;
-
- var offsetLeft = CCSSP.GetObjectWindowLeft(this.ele) + this.ele.offsetWidth;
- var offsetTop = CCSSP.GetObjectWindowTop(this.ele) + this.ele.offsetHeight;
- var offsetRight = CCSSP.GetWindowRight();
- var offsetBottom = CCSSP.GetWindowBottom();
-
- if( this.bIsIn )
- { // FlyIn
- this.finalX = this.ele.ABSX;
- this.finalY = this.ele.ABSY;
-
- switch( this.direction )
- {
- case "right": this.startX = offsetRight; this.startY = this.finalY; break;
- case "left": this.startX = -offsetLeft; this.startY = this.finalY; break;
- case "down": this.startY = offsetBottom; this.startX = this.finalX; break;
- case "up": this.startY = -offsetTop; this.startX = this.finalX; break;
- case "downright":
- this.startX = ( offsetBottom < offsetRight) ? offsetBottom : offsetRight;
- this.startY = this.startX; break;
- case "upright":
- this.startX = (offsetTop < offsetRight)? offsetTop : offsetRight;
- this.startY = -this.startX; break;
- case "upleft":
- this.startX = -((offsetTop < offsetRight)? offsetTop : offsetRight);
- this.startY = this.startX; break;
- case "downleft":
- this.startX = -(( offsetBottom < offsetRight) ? offsetBottom : offsetRight);
- this.startY = -this.startX; break;
- }
- }
- else
- { // FlyOut
- this.startX = this.ele.ABSX;
- this.startY = this.ele.ABSY;
-
- switch( this.direction )
- {
- case "right": this.finalX = offsetRight; this.finalY = this.startY; break;
- case "left": this.finalX = -offsetLeft; this.finalY = this.startY; break;
- case "down": this.finalY = offsetBottom; this.finalX = this.startX; break;
- case "up": this.finalY = -offsetTop; this.finalX = this.startX; break;
- case "downright":
- this.finalX = ( offsetBottom < offsetRight) ? offsetBottom : offsetRight;
- this.finalY = this.finalX; break;
- case "upright":
- this.finalX = (offsetTop < offsetRight)? offsetTop : offsetRight;
- this.finalY = -this.finalX; break;
- case "upleft":
- this.finalX = -((offsetTop < offsetRight)? offsetTop : offsetRight);
- this.finalY = this.finalX; break;
- case "downleft":
- this.finalX = -(( offsetBottom < offsetRight) ? offsetBottom : offsetRight);
- this.finalY = -this.finalX; break;
- }
- }
- CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);
- this.startTime = (new Date()).getTime();
-}
-// End of the CAgencyFly definition
-
-// Begin of CAgencySpiral
-function CAgencySpiral( element, settings, bIsIn )
-{
- this.ele = element;
- this.bIsIn = bIsIn;
- this.duration = 1000; // default
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "speed" : this.duration = 100000/arrOneSet[1]; break;
- }
- }
-
- if( gbBsIE5 && this.ele.style.position != "absolute" )
- this.ele.style.position = "relative";
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencySpiral.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject(this.ele, !this.bIsIn );
-}
-
-CAgencySpiral.prototype.UpdateEffect = function()
-{
- if( this.timer == null )
- this.ResetParameters();
-
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- this.EndEffect();
- else
- {
- var rf = (this.bIsIn)? (1.0 - percent) : percent;
- var t = (1.0-rf) * 4.0 * Math.PI
- var rxP = (this.bIsIn)? this.startX : this.finalX;
- var ryP = (this.bIsIn)? this.startY : this.finalY;
- var rx = (Math.abs(rxP) < 200) ? Math.abs(rxP) : 200;
- var ry = (Math.abs(ryP) < 200) ? Math.abs(ryP) : 200;
-
- var newX = Math.ceil(-rf*Math.cos(t)*rx) + this.ele.ABSX;
- var newY = Math.ceil(-rf*Math.sin(t)*ry) + this.ele.ABSY;
- CCSSP.MoveObjectTo(this.ele, newX, newY);
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );
- }
-}
-
-CAgencySpiral.prototype.EndEffect = function()
-{
- clearInterval( this.timer );
- this.timer = null;
-
- if( this.bIsIn ) // In
- CCSSP.MoveObjectTo(this.ele, this.finalX, this.finalY);
- else // Out
- CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);
- CCSSP.ShowObject(this.ele, this.bIsIn );
-}
-
-CAgencySpiral.prototype.ResetParameters = function()
-{
- this.PrepareEffect();
- CCSSP.ShowObject(this.ele, true );
- this.startX = (this.bIsIn)? CCSSP.GetWindowRight() : this.ele.ABSX;
- this.startY = (this.bIsIn)? CCSSP.GetWindowBottom() : this.ele.ABSY;
- this.finalX = (this.bIsIn)? this.ele.ABSX : CCSSP.GetWindowRight();
- this.finalY = (this.bIsIn)? this.ele.ABSY : CCSSP.GetWindowBottom();
-
- CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);
- this.startTime = (new Date()).getTime();
-}
-// End of CAgencySpiral
-
-// Begin of CAgencyElastic
-function CAgencyElastic( element, settings)
-{
- this.ele = element;
- this.duration = 1000; // default
- this.direction = "right";
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "speed" : this.duration = 100000/arrOneSet[1]; break;
- case "direction" : this.direction = arrOneSet[1]; break;
- }
- }
-
- if( gbBsIE5 && this.ele.style.position != "absolute" )
- this.ele.style.position = "relative";
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencyElastic.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject(this.ele, false );
-}
-
-CAgencyElastic.prototype.UpdateEffect = function()
-{
- if( this.timer == null )
- this.ResetParameters();
-
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- this.EndEffect();
- else
- {
- var newX = this.startX;
- var newY = this.startY;
- var rf = Math.exp(-percent*3);
- var t = percent * 1.5 * Math.PI
- var rx = (Math.abs(this.startX) > Math.abs(this.startY)) ? this.startX : this.startY;
- switch (this.direction )
- {
- case "left":
- case "right" : newX = rf*Math.cos(t)*rx + this.ele.ABSX; break;
- case "up":
- case "down" : newY = rf*Math.cos(t)*rx + this.ele.ABSX; break;
- }
- CCSSP.MoveObjectTo(this.ele, newX, newY);
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );
- }
-}
-
-CAgencyElastic.prototype.EndEffect = function()
-{
- CCSSP.MoveObjectTo(this.ele, this.finalX, this.finalY);
- clearInterval( this.timer );
- this.timer = null;
-}
-
-CAgencyElastic.prototype.ResetParameters = function()
-{
- CCSSP.ShowObject(this.ele, true );
- this.startX = this.ele.ABSX;
- this.finalX = this.ele.ABSX;
- this.startY = this.ele.ABSY;
- this.finalY = this.ele.ABSY;
-
- switch (this.direction)
- {
- case "left": this.startX = -this.ele.offsetWidth; break;
- case "right": this.startX = this.ele.offsetWidth; break;
- case "up": this.startY = -this.ele.offsetHeight;break;
- case "down": this.startY = this.ele.offsetHeight; break;
- }
- CCSSP.MoveObjectTo(this.ele, this.startX, this.startY);
- this.startTime = (new Date()).getTime();
-}
-// End of CAgencyElastic
-
-// Begin of CAgencyZoom
-function CAgencyZoom( element, settings, bIsIn)
-{
- this.ele = element;
- this.duration = 1000; // default
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "speed" : this.duration = 100000/arrOneSet[1]; break;
- }
- }
-
- this.bIsIn = bIsIn;
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencyZoom.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject(this.ele, false);
-}
-
-CAgencyZoom.prototype.UpdateEffect = function()
-{
- if( this.timer == null )
- this.ResetParameters();
-
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- this.EndEffect();
- else
- {
- var nFactorIn = Math.ceil(50+50*percent);
- var nFactorOut = Math.ceil(100+200*(1-percent));
- var AlterFontsize = ((this.bIsIn)? nFactorIn : nFactorOut) + "%";
- var AlterFactor = ((this.bIsIn)? nFactorIn : nFactorOut) / 100;
-
- this.UpdateEffectAllChildren(this.ele, AlterFontsize, AlterFactor);
- for(var index = 0; index < this.ele.all.length; index++)
- this.UpdateEffectAllChildren(this.ele.all[index], AlterFontsize, AlterFactor);
-
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );
- }
-}
-
-CAgencyZoom.prototype.UpdateEffectAllChildren = function(child, FontSize, Factor)
-{
- if( CCSSP.IsTextTag(child) )
- child.style.fontSize = FontSize;
- else
- {
- if( typeof(child.orgWidth) == "number" )
- child.style.width = Factor * child.orgWidth;
- if( typeof(child.orgHeight) == "number" )
- child.style.height = Factor * child.orgHeight;
- }
-}
-
-CAgencyZoom.prototype.EndEffect = function()
-{
- this.EndEffectAllChildren(this.ele);
- for(var index = 0; index < this.ele.all.length; index++)
- this.EndEffectAllChildren(this.ele.all[index]);
-
- clearInterval( this.timer );
- this.timer = null;
-}
-
-CAgencyZoom.prototype.EndEffectAllChildren = function( child )
-{
- if( CCSSP.IsTextTag(child) )
- child.style.fontSize = child.orgFontSize;
- else
- {
- if( typeof(child.intactWidth) != "undefined" )
- {
- child.width = child.intactWidth;
- child.height = child.intactHeight;
- }
- else if( typeof(child.style.intactPixelWidth) != "undefined" )
- {
- child.style.pixelWidth = child.style.intactPixelWidth;
- child.style.pixelHeight = child.style.intactPixelHeight;
- }
- }
-}
-
-CAgencyZoom.prototype.ResetParameters = function()
-{
- this.PrepareEffect();
- this.ResetParametersAllChildren( this.ele );
- for(var index = 0; index < this.ele.all.length; index++)
- this.ResetParametersAllChildren(this.ele.all[index]);
-
- this.startTime = (new Date()).getTime();
-}
-
-CAgencyZoom.prototype.ResetParametersAllChildren = function( child )
-{
- CCSSP.ShowObject(child, true );
- if( (child.tagName == "DIV") && (getParentNode(child).tagName == "TD") )
- child.width = "100%";// if the div is inside a cell of table, we need the this hack
-
- if( CCSSP.IsTextTag(child) )
- child.orgFontSize = child.style.fontSize;
- else
- {
- if( child.width > "" || child.height > "" )
- {
- child.orgWidth = child.intactWidth = child.width;
- child.orgHeight = child.intactHeight = child.height;
- }
- else if( ( typeof(child.orgWidth) != "number" ) && (typeof(child.orgHeight) != "number") )
- {
- child.orgWidth = child.style.intactPixelWidth = child.style.pixelWidth;
- child.orgHeight = child.style.intactPixelHeight = child.style.pixelHeight;
- }
- }
-}
-// End of CAgencyZoom
-
-//// the following effects will use IE's exclusive "filter" function ////
-// Begin of CAgencyAlpha definition
-function CAgencyAlpha( element, settings, bIsIn )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
- this.bIsIn = bIsIn;
-
- // to set the default value
- this.startOpacity = (this.bIsIn) ? 0 : 100;
- this.endOpacity = (this.bIsIn) ? 100 : 0;
-
- this.duration = 1000; // default
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "speed" : this.duration = 100000/arrOneSet[1]; break;
- }
- }
-
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencyAlpha.prototype.PrepareEffect = function()
-{// to set the visual filter function
- // the visual filter ONLY work when set by "Width and Height" or
- // absolute position for DIV, SPAN and normal tag ( such as p )
- // but, "absolute" cause the following elements overlap, so:
- CCSSP.PrepareFilter( this.ele );
- CCSSP.ShowObject(this.ele, !this.bIsIn );
-}
-
-CAgencyAlpha.prototype.UpdateEffect = function()
-{// to set the visual filter function
- if( this.timer == null )
- this.ResetParameters();
- if( typeof(this.ele.filters.alpha) != "object" )
- {
- this.EndEffect();
- return;
- }
-
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- this.EndEffect();
- else if( typeof(this.ele.filters.alpha) == "object" )
- {
- this.ele.filters.alpha.opacity = this.startOpacity*(1.0-percent) + this.endOpacity*percent;
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 20 );
- }
-}
-
-CAgencyAlpha.prototype.EndEffect = function()
-{// to remove the visual filter function
- clearInterval( this.timer );
- this.timer = null;
- this.ele.style.filter = "";
- CCSSP.ShowObject(this.ele, this.bIsIn );
-}
-
-CAgencyAlpha.prototype.ResetParameters = function()
-{
- this.PrepareEffect();
- CCSSP.ShowObject(this.ele, true );
- this.ele.style.filter = "alpha(opacity=" + this.startOpacity + ")";
- this.startTime = (new Date()).getTime();
-}
-// End of the CAgencyAlpha definition
-
-// Begin of CAgencyWave definition
-function CAgencyWave( element, settings )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- this.duration = 0; // default
- this.strength = 10;
- this.freq = 1;
- this.lightstrength = 1;
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "duration" : this.duration = 100000/arrOneSet[1]; break;
- case "strength" : this.strength = arrOneSet[1]; break;
- case "freq" : this.freq = arrOneSet[1]; break;
- case "lightstrength" : this.lightstrength = arrOneSet[1]; break;
- }
- }
-
- this.timer = null;
- this.aniIndex = CEngine.arrAnimation.length;
- CEngine.arrAnimation[this.aniIndex] = this;
-}
-
-CAgencyWave.prototype.PrepareEffect = function()
-{// to set the visual filter function
- CCSSP.PrepareFilter(this.ele);
-
- CCSSP.ShowObject(this.ele, true );
-}
-
-CAgencyWave.prototype.UpdateEffect = function()
-{// to set the visual filter function
- if( this.timer == null )
- this.ResetParameters();
- if( typeof(this.ele.filters.wave) != "object" )
- {
- this.EndEffect();
- return;
- }
-
- if( this.duration > 0 )
- {
- var percent = ((new Date()).getTime() - this.startTime)/this.duration;
- if( percent >= 1.0 )
- {
- this.EndEffect();
- return;
- }
- }
-
- this.ele.filters.wave.phase += 5;
- this.ele.filters.wave.phase %= 100;
- if( this.timer == null )
- this.timer = setInterval("CEngine.PerformAnimation(" + this.aniIndex + ")", 50 );
-}
-
-CAgencyWave.prototype.EndEffect = function()
-{// to remove the visual filter function
- this.ele.style.filter = "";
- clearInterval( this.timer );
- this.timer = null;
-}
-
-CAgencyWave.prototype.ResetParameters = function()
-{
- this.PrepareEffect();
- this.ele.style.filter = "wave(strength=" + this.strength + ",freq=" +
- this.freq +", lightstrength=" + this.lightstrength +",phase=0);";
- this.startTime = (new Date()).getTime();
-}
-// End of the CAgencyWave definition
-
-// Begin of CAgencyGlow definition
-function CAgencyGlow( element, settings )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- // to set the default value
- this.glowColor = "green";
- this.glowStrength = "3";
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "color" : this.glowColor = arrOneSet[1]; break;
- case "strength" : this.glowStrength = arrOneSet[1]; break;
- }
- }
-}
-
-CAgencyGlow.prototype.PrepareEffect = function()
-{
- CCSSP.PrepareFilter(this.ele);
- CCSSP.ShowObject(this.ele, true );
- if( this.ele.style.backgroundColor != "" )
- {//style.backgroundColor somehow stop the visual filter
- this.ele.intactBackgroundColor = this.ele.style.backgroundColor;
- this.ele.style.backgroundColor = "";
- }
-}
-
-CAgencyGlow.prototype.UpdateEffect = function()
-{// to set the visual filter function
- this.PrepareEffect();
- this.ele.style.filter = "glow(Color=" + this.glowColor + ", Strength=" +
- this.glowStrength + ", enabled=true" +")";
-}
-
-CAgencyGlow.prototype.EndEffect = function()
-{// to remove the visual filter function
- this.ele.style.filter = "";
- if( typeof(this.ele.intactBackgroundColor) != "undefined" )
- this.ele.style.backgroundColor = this.ele.intactBackgroundColor;
-}
-// End of the CAgencyGlow definition
-
-// Begin of CAgencyDropShadow definition
-function CAgencyDropShadow( element, settings )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- // to set the default value
- this.shadowColor = "black";
- this.shadowOffx = "1";
- this.shadowOffy = "1";
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "color" : this.shadowColor = arrOneSet[1]; break;
- case "offx" : this.shadowOffx = arrOneSet[1]; break;
- case "offy" : this.shadowOffy = arrOneSet[1]; break;
- }
- }
-}
-
-CAgencyDropShadow.prototype.PrepareEffect = function()
-{
- CCSSP.PrepareFilter(this.ele);
- CCSSP.ShowObject(this.ele, true );
-
- if( this.ele.style.backgroundColor != "" )
- {//style.backgroundColor somehow stop the visual filter
- this.ele.intactBackgroundColor = this.ele.style.backgroundColor;
- this.ele.style.backgroundColor = "";
- }
-}
-
-CAgencyDropShadow.prototype.UpdateEffect = function()
-{// to set the visual filter function
- this.PrepareEffect();
- this.ele.style.filter = "dropshadow(color=" + this.shadowColor + ", offx=" +
- this.shadowOffx + ", offy=" + this.shadowOffy + ")";
-}
-
-CAgencyDropShadow.prototype.EndEffect = function()
-{// to remove the visual filter function
- this.ele.style.filter = "";
- if( typeof(this.ele.intactBackgroundColor) != "undefined" )
- this.ele.style.backgroundColor = this.ele.intactBackgroundColor;
-}
-// End of the CAgencyDropShadow definition
-
-// Begin of CAgencyRevealTrans definition
-function CAgencyRevealTrans( element, settings )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- // to set the default value
- this.duration = 1.0; //The value is specified in seconds.milliseconds format (0.0000).
- this.transition = 0;
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "type" : this.transition = arrOneSet[1]; break;
- case "duration" : this.duration = 100/arrOneSet[1]; break;
- }
- }
-}
-
-CAgencyRevealTrans.prototype.PrepareEffect = function()
-{
- CCSSP.PrepareFilter(this.ele);
- CCSSP.ShowObject( this.ele, false);
-}
-
-CAgencyRevealTrans.prototype.UpdateEffect = function()
-{// to set the visual filter function
- if( typeof( this.ele.filters.RevealTrans ) == "object" )
- {
- if( this.ele.filters.RevealTrans.status == 2 )
- this.ele.filters.RevealTrans.stop();
- }
-
- this.PrepareEffect();
-
- this.ele.style.filter = "RevealTrans(duration=" + this.duration +
- ", transition=" + this.transition + ")";
-
- if( typeof( this.ele.filters.RevealTrans ) == "object" )
- {
- this.ele.filters.RevealTrans.apply();
- CCSSP.ShowObject( this.ele, true);
- this.ele.filters.RevealTrans.play();
- }
- else
- CCSSP.ShowObject( this.ele, true);
-}
-
-CAgencyRevealTrans.prototype.EndEffect = function()
-{
- if( typeof( this.ele.filters.RevealTrans ) == "object" )
- this.ele.filters.RevealTrans.stop();
- this.ele.style.filter = "";
-}
-// End of the CAgencyRevealTrans definition
-
-// Begin of CAgencyBlur definition
-function CAgencyBlur( element, settings )
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- // to set the default value
- this.strength = "5";
- this.direction = "90";
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "strength" : this.strength = arrOneSet[1]; break;
- case "direction" : this.direction = arrOneSet[1]; break;
- }
- }
-}
-
-CAgencyBlur.prototype.PrepareEffect = function()
-{
- CCSSP.PrepareFilter(this.ele);
- CCSSP.ShowObject(this.ele, true );
-}
-
-CAgencyBlur.prototype.UpdateEffect = function()
-{// to set the visual filter function
- CCSSP.PrepareFilter(this.ele);
- this.ele.style.filter = "blur(strength=" + this.strength +
- ", direction=" + this.direction + ")";
-}
-
-CAgencyBlur.prototype.EndEffect = function()
-{// to remove the visual filter function
- this.ele.style.filter = "";
-}
-// End of the CAgencyBlur definition
-
-// Begin of CAgencyChangeFilter definition
-function CAgencyChangeFilter( element, settings ) // flipH, flipV, invert, grey,
-{// because of "visual filter" style, this won't work in Navigator
- this.ele = element;
-
- // to set the default value
- this.filterFunction = settings;
-}
-
-CAgencyChangeFilter.prototype.PrepareEffect = function()
-{
- CCSSP.PrepareFilter(this.ele);
- CCSSP.ShowObject(this.ele, true );
-}
-
-CAgencyChangeFilter.prototype.UpdateEffect = function()
-{// to set the visual filter function
- CCSSP.PrepareFilter(this.ele);
- this.ele.style.filter = this.filterFunction;
-}
-
-CAgencyChangeFilter.prototype.EndEffect = function()
-{// to remove the visual filter function
- this.ele.style.filter = "";
-}
-// End of the CAgencyChangeFilter definition
-
-// The effects below change the style on the fly, so they won't work in Navigator
-
-// Begin of CAgencyFontChange definition,
-function CAgencyFontChange( element, settings )
-{//this class can be replace by CAgencyChangeStyle,provided the "settings" is standard CSS string.
- this.ele = element;
-
- // to retrieve the original font style
- this.RetrieveOldFont( this.ele );
-
- // to set the default font to change
- this.newfontFamily = this.ele.oldFontFamily;
- this.newfColor = this.ele.oldColor;
- this.newtextDecoration = this.ele.oldTextDecoration;
- this.newfontWeight = this.ele.oldFontWeight;
- this.newfontStyle = this.ele.oldFontStyle;
- this.newfontSize = this.ele.oldFontSize;
- this.newBackgroundColor = this.ele.oldBackgroundColor;
-
- var arrAllSet = settings.split(",");
- for( var i = 0; i < arrAllSet.length; i ++ )
- {// to retrieve the setting
- arrAllSet[i] = CCSSP.TrimSpace(arrAllSet[i]);
- var arrOneSet = arrAllSet[i].split("=");
- for( var j = 0; j < arrOneSet.length; j++ )
- arrOneSet[j] = CCSSP.TrimSpace(arrOneSet[j]);
- switch( arrOneSet[0] )
- {
- case "font-family" : this.newfontFamily = arrOneSet[1]; break;
- case "color" : this.newfColor = arrOneSet[1]; break;
- case "underline" : this.newtextDecoration = (arrOneSet[1]=="on")? "underline" : "none"; break;
- case "bold" : this.newfontWeight = (arrOneSet[1]=="on")? "bold" : "normal"; break;
- case "italic" : this.newfontStyle = (arrOneSet[1]=="on")? "italic" : "normal"; break;
- case "size" : this.newfontSize = arrOneSet[1]; break;
- case "background-color" : this.newBackgroundColor = arrOneSet[1]; break;
- }
- }
-}
-
-CAgencyFontChange.prototype.RetrieveOldFont = function(objChild)
-{
- if( typeof(objChild.oldFontFamily) == "undefined" )
- objChild.oldFontFamily = objChild.style.fontFamily;
- if( typeof(objChild.oldColor) == "undefined" )
- objChild.oldColor = objChild.style.color;
- if( typeof(objChild.oldTextDecoration) == "undefined" )
- objChild.oldTextDecoration = objChild.style.textDecoration;
- if( typeof(objChild.oldFontWeight) == "undefined" )
- objChild.oldFontWeight = objChild.style.fontWeight;
- if( typeof(objChild.oldFontStyle) == "undefined" )
- objChild.oldFontStyle = objChild.style.fontStyle;
- if( typeof(objChild.oldFontSize) == "undefined" )
- objChild.oldFontSize = objChild.style.fontSize;
- if( typeof(objChild.oldBackgroundColor) == "undefined" )
- objChild.oldBackgroundColor = objChild.style.backgroundColor;
-}
-
-CAgencyFontChange.prototype.PrepareEffect = function()
-{
- // as for expanding text, the child is created after the constructor called
- for(var index = 0; index < this.ele.all.length; index++)
- this.RetrieveOldFont(this.ele.all[index]);
- CCSSP.ShowObject(this.ele, true );
-}
-
-CAgencyFontChange.prototype.UpdateEffect = function()
-{// to change the font
- this.PrepareEffect();
- this.UpdateEffectAllChildren( this.ele );
- for( var index = 0; index < this.ele.all.length; index++)
- this.UpdateEffectAllChildren(this.ele.all[index]);
-}
-
-CAgencyFontChange.prototype.UpdateEffectAllChildren = function(objChild)
-{
- objChild.style.fontFamily = this.newfontFamily;
- objChild.style.color = this.newfColor;
- objChild.style.textDecoration = this.newtextDecoration;
- objChild.style.fontWeight = this.newfontWeight;
- objChild.style.fontStyle = this.newfontStyle;
- objChild.style.fontSize = this.newfontSize;
- objChild.style.backgroundColor = this.newBackgroundColor;
-}
-
-CAgencyFontChange.prototype.EndEffect = function()
-{// to reinstate the original font style
- this.EndEffectAllChildren( this.ele );
- for( var index = 0; index < this.ele.all.length; index++)
- this.EndEffectAllChildren(this.ele.all[index]);
-}
-
-CAgencyFontChange.prototype.EndEffectAllChildren = function( objChild )
-{
- if( typeof(objChild.oldFontFamily) != "undefined" )
- objChild.style.fontFamily = objChild.oldFontFamily;
- if( typeof(objChild.oldColor) != "undefined" )
- objChild.style.color = objChild.oldColor;
- if( typeof(objChild.oldFontWeight) != "undefined" )
- objChild.style.fontWeight = objChild.oldFontWeight;
- if( typeof(objChild.oldFontStyle) != "undefined" )
- objChild.style.fontStyle = objChild.oldFontStyle;
- if( typeof(objChild.oldFontSize) != "undefined" )
- objChild.style.fontSize = objChild.oldFontSize;
- if( typeof(objChild.oldTextDecoration) != "undefined" )
- objChild.style.textDecoration = objChild.oldTextDecoration;
- if( typeof(objChild.oldBackgroundColor) != "undefined" )
- objChild.style.backgroundColor = objChild.oldBackgroundColor;
-}
-// End of the CAgencyFontChange definition
-
-// Begin of the CAgencyChangeStyle definition
-function CAgencyChangeStyle( element, settings )
-{//this class can be replace by CAgencyChangeStyle,provided the "settings" is standard CSS string.
- this.ele = element;
-
- // to retrieve the original style
- this.oldstyle = this.ele.style.cssText;
-
- // to set the default style
- this.newStyle = this.oldstyle;
-
- if( typeof(settings) == "string" && settings.length > 1 )
- this.newStyle = this.oldstyle + " " + settings;
-}
-
-CAgencyChangeStyle.prototype.PrepareEffect = function()
-{
- CCSSP.ShowObject(this.ele, true );
-}
-
-CAgencyChangeStyle.prototype.UpdateEffect = function()
-{// to change the style
- this.ele.style.cssText = this.newStyle;
-}
-
-CAgencyChangeStyle.prototype.EndEffect = function()
-{// to reinstate the original style
- this.ele.style.cssText = this.oldStyle;
-}
-// End of the CAgencyChangeStyle definition
-
-//End the definition of CAgencyXXXX classes
-
-//Begin to collaborate with other event handler settings
-CCSSP.RegisterEventHandler( window, "onload", "CEngine.OnPageLoad();BSSCOnLoad();kadovInitTriggersInHead();");
-CCSSP.RegisterEventHandler( document, "onclick", "CEngine.OnPageClick();BSSCOnClick();");
-CCSSP.RegisterEventHandler( document, "onmouseover", "CEngine.OnMouseOver();BSSCOnMouseOver();" );
-CCSSP.RegisterEventHandler( document, "onmouseout", "CEngine.OnMouseOver();BSSCOnMouseOut();" );
-CCSSP.RegisterEventHandler( window, "onunload", "BSSCOnUnload();");
-//End to collaborate with other event handler settings
-
-/// Section End - CCSSP DHTM 2 (JavaScript 1.2)
-
-//// Segment End -- (JavaScript 1.2)
\ No newline at end of file
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Ellipse</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }
-p.whs5 { font-size:12pt; font-weight:bold; margin-left:0px; }
-p.whs6 { font-size:12pt; color:#000000; }
-p.whs7 { color:#808080; font-size:12pt; }
-p.whs8 { color:#808080; font-size:12pt; margin-left:40px; }
-img_whs9 { border:none; width:354px; height:323px; 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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nEllipse");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span></b>Ellipse</h1>
-
-<p><b><span style="font-weight: normal;">T</span></b>o create an <span
- style="font-weight: bold;"><B>Ellipse</B></span> in the <span style="font-weight: bold;"><B>Main
- Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
- Basic - > Ellipse</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">You
- can define an</span> Ellipse <span style="font-weight: normal;">by its</span>
- Center Point, <span style="font-weight: normal;">a</span> Vector <span
- style="font-weight: normal;">giving its normal, and its</span> Major &
- Minor Radiuses.</b></p>
-
-<p class="whs2"><b><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">of the operation will be a</span></b><b>
- <span style="font-weight: normal;">GEOM_Object (edge).</span></b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><span
- style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor,
- RadiusMinor)</I></span>, </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 vertex (for the center) + 1 edge (for the direction) + 1 X Radius
- + 1 Y Radius.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/ellipse.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs7"> </p>
-
-<p class="whs8"><img src="pics/ellipsesn.png" x-maintain-ratio="TRUE" width="354px" height="323px" border="0" class="img_whs9"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
- provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark3">Basic
- Geometric Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Explode</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 { margin-left:0px; }
-p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
-p.whs4 { font-family:'Times New Roman' , serif; font-size:14pt; }
-p.whs5 { font-size:12pt; }
-ul.whs6 { list-style:disc; }
-p.whs7 { font-size:12pt; font-style:italic; }
-p.whs8 { font-size:12pt; font-style:normal; }
-p.whs9 { font-size:12pt; margin-left:40px; }
-img_whs10 { border:none; width:312px; height:283px; 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.whs2 {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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nExplode");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Explode</h1>
-
-<p class="whs2">To<span style="font-weight: bold;"><B> Explode</B></span>
- an object into subshapes, in the main menu select <span style="font-weight: bold;"><B>New
- Entity > Explode</B></span>.</p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">To create a list of subshapes
- (vertices, edges, wires etc.) of the given shape using the </font></span><span
- style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Explode</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
- operation, you need to define the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Main
- Object,</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> which will be exploded and
- the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Type of Subshapes</B></font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> you wish to obtain from it</font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">.</font></span></p>
-
-<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">of the operation will be a List</span>
- of</b> GEOM_Objects (edges, faces, solids or compsolids).</p>
-
-<p class="whs5"> </p>
-
-<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">Using</span>
- TUI Commands<span style="font-weight: normal;"> you can perform this operation
- in a variety of ways:</span> </b></p>
-
-<ul type="disc" class="whs6">
-
- <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAll(Shape,
- Type)</I></span> explodes a Shape on subshapes of a given Type and returns
- a <span style="font-weight: bold;"><B>List</B></span> of sub-shapes. </p></li>
-
- <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllIDs(Shape,
- Type)</I></span> explodes
- a Shape on subshapes of a given Type and returns a List of IDs of sub-shapes.
- </p></li>
-
- <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllSorted(Shape,
- Type)</I></span> explodes
- a shape on subshapes of a given type and <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">sorts
- them by coordinates of their gravity centers, returning a
- list of sub-shapes. </font></span></p></li>
-
- <li class=kadov-p><p class="whs7">geompy.SubShapeAllSortedIDs(Shape,
- Type) <span style="font-style: normal;">explodes
- a shape on subshapes of a given type</span> <span style="font-style: normal;">and
- sorts them by coordinates of their gravity centers, returning
- a List of IDs of sub-shapes.</span></p></li>
-
- <li class=kadov-p><p class="whs7"><span
- style="font-style: normal;">g</span>eompy.SubShape(Shape, Type, ListOfInd)
- <span style="font-style: normal;">allows
- to obtain a compound of sub-shapes of the
- Shape, selected
- by they indices in a list of all sub-shapes of the given Type. Each index
- is in the range [1, Nb_Sub-Shapes_Of_Given_Type].</span> </p></li>
-
- <li class=kadov-p><p class="whs8"><span
- style="font-size: 12pt; font-style: normal;"><font size=3 style="font-size:12pt;">geompy.SubShapeSorted(Shape,
- Type, ListOfInd) allows to obtain a compound of sub-shapes of the Shape,
- selected by they indices in sorted list of all sub-shapes of the given
- Type. Each index is in the range [1, Nb_Sub-Shapes_Of_Given_Type] </font></span></p></li>
-</ul>
-
-<p class="whs5"> </p>
-
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b>
- 1 SHAPE + 1 type of SubShape.</p>
-
-<p class="whs5"> </p>
-
-<p class="whs5"> </p>
-
-<p class="whs9"><img src="pics/neo-obj1.png" x-maintain-ratio="TRUE" width="312px" height="283px" border="0" class="img_whs10"></p>
-
-<p class="whs4"> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Explode on Blocks</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 { border:none; width:23px; height:22px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:372px; float:none; border-style:none; }
-p.whs5 { font-size:12pt; margin-left:0px; }
-p.whs6 { font-size:12pt; margin-left:0px; font-weight:bold; }
-p.whs7 { margin-left:40px; font-size:12pt; }
-img_whs8 { border:none; width:316px; height:278px; float:none; border-style:none; }
-p.whs9 { font-size:12pt; margin-left:36px; text-indent:-36px; }
-p.whs10 { font-size:12pt; text-indent:-36px; margin-left:40px; font-weight:bold; }
-p.whs11 { font-weight:bold; }
--->
-</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 += "p.whs6 {margin-left:1pt; }";
- strNSS += "p.whs9 {text-indent:1pt; }";
- strNSS += "p.whs10 {text-indent: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nBlocks Operations\nExplode on Blocks");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><img src="image53.gif" width="23px" height="22px" border="0" class="img_whs1"> Explode on Blocks</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- an <span style="font-weight: bold;"><B>Explode on Blocks</B></span> operation
- in the Main Menu select <span style="font-weight: bold;"><B>Operations -
- > Blocks - > Explode on Blocks.</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: normal;">This operation</b>
- returns blocks of the given compound. The user may define the type of
- blocks to be extracted by setting the minimum and maximum number of faces
- in the target block. By checking the corresponding box the user may also
- interactively choose the blocks from a compound .</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeBlockExplode(Compound,
- MinNbFaces, MaxNbFaces)</I></span>, where Compound is a compound to be exploded
- into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal
- and the
- maximal number of faces of the resulting blocks.</p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: <span
- style="font-weight: normal;">1 compound + 2 integers (min. and max. number
- of faces in the block to be extracted).</span></b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/mtransf3.png" x-maintain-ratio="TRUE" width="312px" height="372px" border="0" class="img_whs4"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs6">Example:</p>
-
-<p class="whs5"> </p>
-
-<p class="whs7"><img src="pics/block_explodesn.png" x-maintain-ratio="TRUE" width="316px" height="278px" border="0" class="img_whs8"></p>
-
-<p class="whs9"> </p>
-
-<p class="whs10"> </p>
-
-<p class="whs11"> <span
- style="font-weight: normal;">Our</span> TUI
- Scripts <span style="font-weight: normal;">provide you with useful examples
- of the use of</span> <a href="blocks_operations.htm#bookmark5">Blocks
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Extrusion</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:400px; height:350px; float:none; border-style:none; }
-p.whs5 { font-size:12pt; font-weight:bold; }
-p.whs6 { font-size:12pt; margin-left:40px; font-weight:normal; font-style:italic; }
-img_whs7 { border:none; width:400px; height:359px; float:none; border-style:none; }
-p.whs8 { font-size:12pt; font-style:italic; margin-left:40px; }
-img_whs9 { border:none; float:none; width:300px; height:175px; border-style:none; }
-img_whs10 { border:none; width:350px; height:175px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nExtrusion");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Extrusion</h1>
-
-<p><b><span style="font-weight: normal;">T</b>o</span> generate an <span
- style="font-weight: bold;"><B>Extrusion</B></span> on an object in the <span
- style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
- Entity - > Generation -
- > Extrusion</B></span></p>
-
-<p class="whs2"> </p>
-
-<p>There are 2 algorithms for creation of <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">an
- Extrusion (Prism)</font></span>. </p>
-
-<p class="whs2">Firstly, you can define the <span style="font-weight: bold;"><B>Base
- Shape </B></span>(a basis of the extrusion)<span style="font-weight: bold;"><B>,
- </B></span>the <span style="font-weight: bold;"><B>Vector</B></span> (a direction
- of the extrusion) and the <span style="font-weight: bold;"><B>Height</B></span>
- of extrusion. </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">of the operation will be a</span></b>
- GEOM_Object (edge, face, solid or compsolid).</p>
-
-<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
- Command :</b><i> </i></B></span><span style="font-style: italic;"><I>geompy.MakePrismVecH(Base,
- Vector, Height)</I></span></p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
- + 1 vector (for direction of the extrusion) + 1 value (dimension).</font></span></p>
-
-<p> </p>
-
-<p class="whs3"><img src="pics/extrusion1.png" x-maintain-ratio="TRUE" width="400px" height="350px" border="0" class="img_whs4"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs5"><span style="font-weight: normal;">Secondly,
- you can define the</span> Extrusion <span style="font-weight: normal;">by
- the </span>Base Shape<span style="font-weight: normal;"> and the </span>Start<span
- style="font-weight: normal;"> and </span>End Point<span style="font-weight: normal;">
- of the </span>Vector<span style="font-weight: normal;"> (in
- this way you don't need to create it in advance).</span> </p>
-
-<p class="whs5"><b style="font-weight: bold;">TUI
- Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakePrism(Base,
- Point1, Point2) </I></span></p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
- + 2 vertices.</p>
-
-<p> </p>
-
-<p class="whs6"><img src="pics/extrusion2.png" x-maintain-ratio="TRUE" width="400px" height="359px" border="0" class="img_whs7"></p>
-
-<p class="whs6"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs8">Base Shape Prisms</p>
-
-<p class="whs3"><img src="pics/prisms_basessn.png" x-maintain-ratio="TRUE" width="300px" height="175px" border="0" class="img_whs9"> <img src="pics/prismssn.png" x-maintain-ratio="TRUE" width="350px" height="175px" border="0" class="img_whs10"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
- provide you with useful examples of creation of <a href="complex_objects.htm#bookmark">Complex
- Geometric Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Face</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
-p.whs5 { font-size:12pt; font-style:italic; }
-img_whs6 { border:none; width:180px; height:180px; float:none; border-style:none; }
-img_whs7 { border:none; float:none; width:180px; height:180px; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nFace");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Face</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o create
- a <span style="font-weight: bold;"><B>Face</B></span> in the Main Menu select
- <span style="font-weight: bold;"><B>New Entity - > Build - > Face</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">To
- create a </span><span style="font-weight: bold;"><B>Face</B></span><span style="font-weight: normal;">
- you need to select a wire, whose elements will be connected so that the
- surface of the resulting object was minimal. Check </span><span style="font-weight: bold;"><B>Try
- to create a planar face</B></span><span style="font-weight: normal;"> to create
- a planar face or nothing if it is impossible.</span></b></p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result<span style="font-weight: normal;"> will be a</span></b> GEOM_Object
- (FACE).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeFace(Wire, isPlanarWanted</I></span>)</p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 wire.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/neo-obj4.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">There are some advanced possibilities accessible
- only via<span style="font-weight: bold;"><B> TUI commands</B></span>.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaceWires(Wires,
- isPlanarWanted)</I></span> - Creates a face on the given wires set. The argument
- is not a single wire, but a list of wires. </p>
-
-<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaces(Wires,
- isPlanarWanted)</I></span> is a shortcut to <span style="font-style: italic;"><I>MakeFaceWires().
- </I></span></p>
-
-<p class="whs5"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/facesn1.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs6"> <img src="pics/facesn2.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs6"> <img src="pics/facesn3.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs7"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="geometrical_objects.htm#bookmark1">Advanced Geometric
- Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Fillet</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
-img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
-p.whs6 { font-size:12pt; font-style:italic; margin-left:40px; }
-img_whs7 { border:none; width:226px; height:250px; float:none; border-style:none; }
-img_whs8 { border:none; float:none; width:208px; height:250px; border-style:none; }
-img_whs9 { border:none; width:220px; height:250px; float:none; border-style:none; }
-p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nFillet");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Fillet</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Fillet</B></span> in the Main Menu select
- <span style="font-weight: bold;"><B>Operations - > Transformation - >
- Fillet</B></span> </p>
-
-<p> </p>
-
-<p class="whs2">This operation creates<span style="font-weight: bold;">
- <B></B></span>fillets on the edges of a shape.</p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">To create fillets on all edges of the given
- shape, you need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
- to create a fillet on and the <span style="font-weight: bold;"><B>Radius</B></span>
- of the Fillet. </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i>geompy.MakeFilletAll(Shape, R) </p>
-
-<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
- style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 value
- (fillet radius).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/fillet1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">To create fillets on the specified edges or
- faces of the given shape, you
- need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
- to create a fillet on, select the necessary edges or faces in the OCC
- Viewer and define the <span style="font-weight: bold;"><B>Radius</B></span>
- of the Fillet. </p>
-
-<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI
- Command:</b><i> </i>geompy.MakeFillet(Shape, R, ShapeType, ListShapes)
- </I></span></p>
-
-<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
- style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 Selection
- of edges (or faces) + 1 value (Fillet radius).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/fillet2.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> <img src="pics/fillet3.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs6">Fillet on all Fillet
- on an edge Fillet
- on a Face</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/fillet_all.png" x-maintain-ratio="TRUE" width="226px" height="250px" border="0" class="img_whs7"> <img src="pics/fillet_edge.png" x-maintain-ratio="TRUE" width="208px" height="250px" border="0" class="img_whs8"><span style="font-size: 12pt; margin-left: 40px;"> <font size=3 style="font-size:12pt;"> <img src="pics/fillet_prism.png" x-maintain-ratio="TRUE" width="220px" height="250px" border="0" class="img_whs9"></font></span></p>
-
-<p class="whs10"> </p>
-
-<p class="whs10"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark3">Transformation
- Operations</a>. </font></span></p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Filling</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:400px; height:367px; border-style:none; float:none; }
-img_whs5 { border:none; float:none; width:260px; height:230px; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nFilling");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Filling
- Surface with Edges</h1>
-
-<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate
- a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Filling</B></font></span><span
- style="font-size: 12pt;"> <font size=3 style="font-size:12pt;"></font></span>in the <span style="font-weight: bold;"><B>Main
- Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
- Generation -
- > Filling</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">To create a curving face using several edges
- you need to define the <span style="font-weight: bold;"><B>Edges Compound,</B></span>
- <span style="font-weight: bold;"><B>Minimum</B></span>
- and <span style="font-weight: bold;"><B>Maximum Degree</B></span>, <span style="font-weight: bold;"><B>Tolerance
- </B></span>for<span style="font-weight: bold;"><B> 2D</B></span> and for <span style="font-weight: bold;"><B>3D
- </B></span> and
- the <span style="font-weight: bold;"><B>Number of Iterations</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 the operation will be a</span></b>
- GEOM_Object (face).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeFilling(Shape, MinDegree,
- MaxDegree, Tol2D, Tol3D, NbIter)</I></span>,</p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 List of edges + 5 Parameters (Min. degree, Max. degree, Number
- of iterations, 2D tolerance, 3D tolerance).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/filling.png" x-maintain-ratio="TRUE" width="400px" height="367px" border="0" class="img_whs4"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/filling_compoundsn.png" x-maintain-ratio="TRUE" width="260px" height="230px" border="0" class="img_whs5"> <img src="pics/fillingsn.png" x-maintain-ratio="TRUE" width="260px" height="230px" border="0" class="img_whs5"> </p>
-
-<p class="whs3"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="complex_objects.htm#bookmark2">Complex Geometric
- Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Fuse</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-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
-p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
-p.whs6 { list-style:disc; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
-img_whs7 { border:none; float:none; width:252px; height:265px; 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.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
- strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
- strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nFuse");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Fuse</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Fuse</B></span> operation in the Main Menu
- select <span style="font-weight: bold;"><B>Operations - > Boolean - >
- Fuse</B></span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
- style="font-weight: normal;">This operation creates a shape from two</span>
- </b>shapes.</font></span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
- style="font-weight: normal;">The</span> Result<span style="font-weight: normal;">
- will be a</span></b> GEOM_Object (COMPOUND).</font></span></p>
-
-<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
- Name + 2 shapes.</font></span></p>
-
-<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>TUI
- Command:</B></span> <span style="font-style: italic;"><I>geompy.MakeFuse(s1,
- s2)</I></span> </font></span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/bool1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></font></span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p>
-
-<p class="whs6"> </p>
-
-<p class="whs6"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="252px" height="265px" border="0" class="img_whs7"> <img src="pics/fusesn2.png" x-maintain-ratio="TRUE" width="252px" height="265px" border="0" class="img_whs7"></font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
- provide you with useful examples of the use of <a href="boolean_operations.htm#bookmark">Boolean
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-|SourceProjectName:GEOM.hpr
-|DestinationProjectName:index.htm
-whhost.js
-whmsg.js
-whmozemu.js
-whproxy.js
-whstub.js
-whutils.js
-whver.js
-whform.js
-whphost.js
-whstart.js
-whtopic.js
-whframes.js
-whlang.js
-whskin_info.htm
-whskin_blank.htm
-whskin_pickup.htm
-whskin_homepage.htm
-whskin_tw.htm
-whnjs.htm
-whthost.js
-whtdhtml.htm
-whihost.js
-whibody.htm
-whiform.htm
-whfhost.js
-whfbody.htm
-whfform.htm
-whghost.js
-whgbody.htm
-whgdhtml.htm
-whgdef.htm
-whproj.js
-whproj.xml
-whproj.htm
-whxdata\whtoc.xml
-whxdata\whidx.xml
-whxdata\whfts.xml
-whxdata\whglo.xml
-whdata\whtoc.js
-whdata\whtoc.htm
-whdata\whtdata.js
-whdata\whidx.js
-whdata\whidx.htm
-whdata\whidata.js
-whdata\whfts.js
-whdata\whfts.htm
-whdata\whglo.js
-whdata\whglo.htm
-whdata\whgdata.js
-whdata\whftdata.js
-whdata\whfwdata.js
-whres.xml
-webhelp.jar
-webhelp.cab
-whgdata\whnvp30.htm
-whgdata\whnvp31.htm
-whgdata\whnvp32.htm
-whgdata\whnvp33.htm
-whgdata\whnvt30.htm
-whgdata\whnvt31.htm
-whgdata\whnvt32.htm
-whgdata\whnvt33.htm
-whgdata\whnvf30.htm
-whgdata\whnvf31.htm
-whgdata\whnvf32.htm
-whgdata\whnvf33.htm
-whgdata\whnvl31.htm
-whgdata\whnvl32.htm
-whgdata\whnvl33.htm
-whgdata\whexpbar.gif
-cshdat_webhelp.htm
-whcsh_home.htm
-whcshdata.htm
-cshdat_robohelp.htm
-whd_topic.xml
-whd_nvp10.htm
-whd_nvp20.htm
-whd_tabs.htm
-whd_dpns.htm
-whd_tab0.gif
-whd_tab1.gif
-whd_tab2.gif
-whd_tab3.gif
-whd_tab4.gif
-whd_tab5.gif
-whd_tab6.gif
-whd_tab7.gif
-whd_tab8.gif
-whd_toc1.gif
-whd_toc2.gif
-whd_toc3.gif
-whd_toc4.gif
-whd_show0.gif
-whd_show1.gif
-whd_show2.gif
-whd_hide0.gif
-whd_hide1.gif
-whd_hide2.gif
-whd_sync0.gif
-whd_sync1.gif
-whd_sync2.gif
-whd_prev0.gif
-whd_prev1.gif
-whd_prev2.gif
-whd_next0.gif
-whd_next1.gif
-whd_next2.gif
-whd_wbsh0.gif
-whd_wbsh1.gif
-whd_wbsh2.gif
-whidhtml.htm
-whfdhtml.htm
-index_hha.hhk
-index.hhc
-index.hhk
-add_point_on_edge.htm
-arc.htm
-archimede.htm
-basic_geometrical_objects.htm
-basic_operations.htm
-blocks_operations.htm
-boolean_operations.htm
-box.htm
-building_by_blocks.htm
-chamfer.htm
-change_orientation.htm
-changing_display_parameters.htm
-check_free_boundaries.htm
-check_free_faces.htm
-circle.htm
-close_contour.htm
-color.htm
-common.htm
-complex_objects.htm
-compound.htm
-cone.htm
-curve.htm
-cut.htm
-cylinder.htm
-edge.htm
-ellipse.htm
-explode.htm
-explode_on_blocks.htm
-extrusion.htm
-face.htm
-files\introduction_to_geom.htm
-files\salome2_sp3_booleangui_functions.htm
-files\salome2_sp3_geomtoolsgui_functions.htm
-files\salome2_sp3_measuregui_functions.htm
-fillet.htm
-filling.htm
-fuse.htm
-geometrical_objects.htm
-geometry.htm
-glue_faces.htm
-groups.htm
-isos.htm
-line.htm
-local_coordinate_system.htm
-measurement_tools.htm
-mirror_image.htm
-modify_the_location.htm
-multi_rotation.htm
-multi_transformation.htm
-multi_translation.htm
-newentity_blocks.htm
-occ_viewer.htm
-offset_surface.htm
-partition.htm
-pipe_creation.htm
-plane.htm
-point.htm
-primitives.htm
-propagate.htm
-repairing_operations.htm
-revolution.htm
-rotation.htm
-scale_transform.htm
-section.htm
-sewing.htm
-shape_processing.htm
-shell.htm
-sketcher.htm
-sketcher_tui.htm
-solid.htm
-sphere.htm
-suppress_faces.htm
-suppress_holes.htm
-suppress_internal_wires.htm
-transformation_operations.htm
-translation.htm
-transparency.htm
-turus.htm
-vector.htm
-viewing_geometrical_objects.htm
-wire.htm
-wireframe_and_shading.htm
-working_plane.htm
-working_with_groups.htm
-ehelp.xml
-index.glo
-default.css
-pics\image86.gif
-pics\image103.gif
-pics\image97.gif
-pics\chamfer_all.png
-pics\edgesn.png
-pics\boxes.png
-pics\mtrans1.png
-pics\transformation3.png
-pics\mtransf2.png
-image15.jpg
-image204.jpg
-image56.gif
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif
-pics\view_rotation_point.png
-pics\clipping.png
-pics\image98.gif
-pics\archimedesn1.png
-pics\neo-basicprop.png
-pics\mtrans2.png
-pics\transformation4.png
-pics\mtransf3.png
-pics\plane1.png
-image16.jpg
-image57.gif
-image35.gif
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif
-pics\image105.gif
-pics\image99.gif
-pics\image88.gif
-pics\image77.gif
-pics\suppress_faces1.png
-pics\mirror_axissn1.png
-pics\archimedesn2.png
-pics\revolutionsn.png
-pics\ellipsesn.png
-pics\transformation10.png
-pics\transformation5.png
-pics\mtransf4.png
-pics\plane2.png
-image206.jpg
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif
-image26.gif
-image1.jpg
-pics\image106.gif
-pics\image89.gif
-pics\suppress_faces2.png
-pics\multi_translation1dsn.png
-pics\mirror_axissn2.png
-pics\multi_transformationsn2d.png
-pics\archimedesn3.png
-pics\wiresn.png
-pics\transformation11.png
-pics\transformation6.png
-pics\block1.png
-pics\pipe.png
-pics\torus1.png
-pics\plane3.png
-image59.gif
-image37.gif
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif
-image38.gif
-pics\multi_transformationsn1d.png
-pics\fillingsn.png
-pics\spheres.png
-pics\polyline.png
-pics\neo-obj1.png
-pics\repair1.png
-pics\transformation7.png
-pics\block2.png
-pics\torus2.png
-image27.gif
-image180.jpg
-image49.gif
-image109.jpg
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif
-image28.gif
-selectcolor.png
-pics\glue_faces1.png
-pics\supp_int_wires1.png
-pics\fusesn1.png
-pics\transparencysn.png
-pics\arcsn.png
-pics\points.png
-pics\neo-obj2.png
-pics\neo-localcs1.png
-pics\measures10.png
-pics\repair2.png
-pics\transformation8.png
-pics\block3.png
-image181.jpg
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif
-image3.jpg
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif
-image18.gif
-image1.gif
-pics\geomimport.png
-pics\neo-isos.png
-pics\glue_faces2.png
-pics\supp_int_wires2.png
-pics\sectionsn.png
-pics\fusesn2.png
-pics\toruses.png
-pics\circles.png
-pics\neo-obj3.png
-pics\neo-localcs2.png
-pics\measures1.png
-pics\repair3.png
-pics\transformation9.png
-pics\bool1.png
-pics\partition1.png
-pics\block4.png
-pics\sphere1.png
-image193.jpg
-image29.gif
-image160.jpg
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif
-pics\partition2.png
-pics\changeorientation.png
-pics\pipesn.png
-pics\pipe_wire_edgesn.png
-image2.gif
-pics\chamfer_faces.png
-pics\fillet_prism.png
-pics\rotationsn1.png
-pics\disp_mode1sn.png
-pics\cones.png
-pics\planes1.png
-pics\lines.png
-pics\neo-obj4.png
-pics\neo-localcs3.png
-pics\repair4.png
-pics\bool2.png
-pics\block5.png
-pics\sphere2.png
-pics\point1.png
-pics\rotationsn2.png
-pics\disp_mode2sn.png
-pics\neo-detect2.png
-pics\neo-section.png
-pics\neo-obj5.png
-pics\measures3.png
-pics\repair5.png
-pics\bool3.png
-pics\chamfer1.png
-pics\filling.png
-pics\revolution.png
-pics\arc.png
-pics\ellipse.png
-pics\circle1.png
-image3.gif
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif
-pics\set_rotation_point_dialog1.png
-pics\extrusion1.png
-image4.gif
-pics\isos_u12_v12sn.png
-pics\free_boudaries1.png
-pics\multi_rotation1d1.png
-pics\multi_translation2dsn.png
-pics\offsetsn.png
-pics\compoundsn.png
-pics\prisms_basessn.png
-pics\cylinders.png
-pics\vectors.png
-pics\neo-obj6.png
-pics\measures4.png
-pics\repair6.png
-pics\chamfer2.png
-pics\cone1.png
-pics\circle2.png
-pics\point3.png
-image185.jpg
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif
-pics\set_rotation_point_dialog2.png
-pics\extrusion2.png
-image5.gif
-pics\free_boudaries2.png
-pics\multi_rotation2d1.png
-pics\multi_rotation1d2.png
-pics\mirror_pointsn1.png
-pics\new-tolerance.png
-pics\neo-obj7.png
-pics\neo-point2.png
-pics\measures5.png
-pics\repair7.png
-pics\chamfer3.png
-pics\cone2.png
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif
-pics\image91.gif
-pics\chamfer_edge.png
-pics\fillet_edge.png
-pics\multi_rotation2d2.png
-pics\scale_transformsn1.png
-pics\mirror_pointsn2.png
-pics\cutsn.png
-pics\shellsn.png
-pics\filling_compoundsn.png
-pics\prismssn.png
-pics\neo-mrot1.png
-pics\repair8.png
-pics\cylinder1.png
-pics\vector1.png
-image61.gif
-image154.jpg
-image110.jpg
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif
-image40.gif
-pics\scale_transformsn2.png
-pics\translationsn1.png
-pics\facesn1.png
-pics\neo-mrot2.png
-pics\repair9.png
-pics\cylinder2.png
-pics\vector2.png
-image51.gif
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif
-i_blue.jpg
-image30.gif
-pics\free_faces1.png
-pics\fillet_all.png
-pics\translationsn2.png
-pics\partitionsn1.png
-pics\colorsn.png
-pics\facesn2.png
-pics\interpol.png
-pics\measures8.png
-pics\fillet1.png
-pics\archimede.png
-pics\workplane4.png
-image52.gif
-image167.jpg
-image156.jpg
-image41.gif
-image145.jpg
-image112.jpg
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif
-pics\transformation4a.png
-pics\image100.gif
-pics\geomcreategroup.png
-pics\commonsn.png
-pics\free_faces2.png
-pics\mirror_planesn1.png
-pics\block_explodesn.png
-pics\partitionsn2.png
-pics\solidsn.png
-pics\facesn3.png
-pics\distance.png
-pics\neo-scetcher1.png
-pics\neo-transparency.png
-pics\measures9.png
-pics\fillet2.png
-pics\workplane5.png
-image53.gif
-image168.jpg
-image42.gif
-image113.jpg
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif
-image43.gif
-pics\image95.gif
-pics\mirror_planesn2.png
-pics\neo-scetcher2.png
-pics\transformation1.png
-pics\fillet3.png
-pics\box1.png
-pics\workplane6.png
-pics\curve.png
-pics\line.png
-image10.gif
-image32.gif
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif
-image33.gif
-pics\image102.gif
-pics\image96.gif
-pics\geomexport.png
-pics\multi_translation_initialsn.png
-pics\plane_on_face.png
-pics\bezier.png
-pics\repair10.png
-pics\transformation2.png
-pics\mtransf1.png
-pics\editgroup.png
-pics\box2.png
-image44.gif
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif
-ehlpdhtm.js
-index.ppf
-default_ns.css
-whxdata\whtdata0.xml
-whxdata\whftdata0.xml
-whxdata\whfwdata0.xml
-whxdata\whgdata0.xml
-whdata\whtdata0.htm
-whdata\whftdata0.htm
-whdata\whfwdata0.htm
-whdata\whgdata0.htm
-whgdata\whlstt0.htm
-whgdata\whlstt1.htm
-whgdata\whlstt2.htm
-whgdata\whlstt3.htm
-whgdata\whlstt4.htm
-whgdata\whlstt5.htm
-whgdata\whlstt6.htm
-whgdata\whlstt7.htm
-whgdata\whlstt8.htm
-whgdata\whlstt9.htm
-whgdata\whlstt10.htm
-whgdata\whlstt11.htm
-whgdata\whlstt12.htm
-whgdata\whlstt13.htm
-whgdata\whlstt14.htm
-whgdata\whlstt15.htm
-whgdata\whlstt16.htm
-whgdata\whlsti0.htm
-whgdata\whlstfl0.htm
-whgdata\whlstfl1.htm
-whgdata\whlstfl2.htm
-whgdata\whlstfl3.htm
-whgdata\whlstfl4.htm
-whgdata\whlstfl5.htm
-whgdata\whlstfl6.htm
-whgdata\whlstfl7.htm
-whgdata\whlstfl8.htm
-whgdata\whlstfl9.htm
-whgdata\whlstfl10.htm
-whgdata\whlstfl11.htm
-whgdata\whlstfl12.htm
-whgdata\whlstfl13.htm
-whgdata\whlstfl14.htm
-whgdata\whlstfl15.htm
-whgdata\whlstfl16.htm
-whgdata\whlstfl17.htm
-whgdata\whlstfl18.htm
-whgdata\whlstfl19.htm
-whgdata\whlstfl20.htm
-whgdata\whlstfl21.htm
-whgdata\whlstfl22.htm
-whgdata\whlstfl23.htm
-whgdata\whlstfl24.htm
-whgdata\whlstfl25.htm
-whgdata\whlstfl26.htm
-whgdata\whlstf0.htm
-whgdata\whlstf1.htm
-whgdata\whlstf2.htm
-whgdata\whlstf3.htm
-whgdata\whlstf4.htm
-whgdata\whlstf5.htm
-whgdata\whlstf6.htm
-whgdata\whlstf7.htm
-whgdata\whlstf8.htm
-whgdata\whlstf9.htm
-whgdata\whlstf10.htm
-whgdata\whlstf11.htm
-whgdata\whlstf12.htm
-whgdata\whlstf13.htm
-whgdata\whlstf14.htm
-whgdata\whlstg0.htm
-index.htm
-index_csh.htm
-index_rhc.htm
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Geometrical Objects</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
-p.whs2 { font-family:'Times New Roman' , serif; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nAdvanced Geometrical Objects");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Advanced Geometrical Objects</h1>
-
-<h3><a name=bookmark>Creation of an Edge</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex(0. ,
- 0. , 0.
- )</p>
-
-<p class="whs1">pxyz = geompy.MakeVertex(100.,
- 100., 100.)</p>
-
-<p> </p>
-
-<p># create an edge</p>
-
-<p class="whs1">edge = geompy.MakeEdge(p0,
- pxyz)</p>
-
-<p> </p>
-
-<p># add object in the study</p>
-
-<p class="whs1">id_edge = geompy.addToStudy(edge,"Edge")</p>
-
-<p> </p>
-
-<p># display an edge</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_edge)
- </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=Creation>Creation of a Wire</a></h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># create vertices</p>
-
-<p class="whs1">px =
- geompy.MakeVertex(100., 0. ,
- 0. )</p>
-
-<p class="whs1">py =
- geompy.MakeVertex(0. ,
- 100., 0. )</p>
-
-<p class="whs1">pz =
- geompy.MakeVertex(0. ,
- 0. , 100.)</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># create a vector from
- two points</p>
-
-<p class="whs1">vxy = geompy.MakeVector(px,
- py)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create an arc from
- three points</p>
-
-<p class="whs1">arc = geompy.MakeArc(py,
- pz, px)</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># create a wire</p>
-
-<p class="whs1">wire = geompy.MakeWire([vxy,
- arc])</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># add an object in the
- study</p>
-
-<p class="whs1">id_wire = geompy.addToStudy(wire,"Wire")</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># display the wire</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_wire)
- </p>
-
-<p class="whs1"> </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=bookmark1>Creation of a Face</a></h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create vertices</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex(0. ,
- 0. , 0.
- )</p>
-
-<p class="whs1">px =
- geompy.MakeVertex(100., 0. ,
- 0. )</p>
-
-<p class="whs1">py =
- geompy.MakeVertex(0. ,
- 100., 0. )</p>
-
-<p class="whs1">pz =
- geompy.MakeVertex(0. ,
- 0. , 100.)</p>
-
-<p class="whs1">pxyz = geompy.MakeVertex(100.,
- 100., 100.)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a vector from
- two points</p>
-
-<p class="whs1">vxy = geompy.MakeVector(px,
- py)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create an arc from
- three points</p>
-
-<p class="whs1">arc = geompy.MakeArc(py,
- pz, px)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a wire</p>
-
-<p class="whs1">wire = geompy.MakeWire([vxy,
- arc])</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create sketchers</p>
-
-<p class="whs1">sketcher1 = geompy.MakeSketcher("Sketcher:F
- -100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WW",</p>
-
-<p class="whs1"> [100,0,0,
- 1,1,1, -1,1,0])</p>
-
-<p class="whs1">sketcher2 = geompy.MakeSketcher("Sketcher:F
- 0 0:TT 70 0:TT 70 70:TT 0 70:WW")</p>
-
-<p class="whs1">sketcher3 = geompy.MakeSketcher("Sketcher:F
- 20 20:TT 50 20:TT 50 50:TT 20 50:WW")</p>
-
-<p class="whs1">isPlanarFace = 1</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a face from
- the wire</p>
-
-<p class="whs1">face1 = geompy.MakeFace(wire,
- isPlanarFace)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create faces from two
- wires</p>
-
-<p class="whs1">face2 = geompy.MakeFaceWires([wire,
- sketcher1],isPlanarFace)</p>
-
-<p class="whs1">face3 = geompy.MakeFaces([sketcher2,
- sketcher3],isPlanarFace)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># add objects in the
- study</p>
-
-<p class="whs1">id_face1 = geompy.addToStudy(face1,"Face1")</p>
-
-<p class="whs1">id_face2 = geompy.addToStudy(face2,"Face2")</p>
-
-<p class="whs1">id_face3 = geompy.addToStudy(face3,"Face3")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># display the faces</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_face1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_face1,1)</p>
-
-<p class="whs1">gg.setTransparency(id_face1,0.2)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_face2)</p>
-
-<p class="whs1">gg.setDisplayMode(id_face2,1)</p>
-
-<p class="whs1">gg.setTransparency(id_face2,0.2)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_face3)</p>
-
-<p class="whs1">gg.setDisplayMode(id_face3,1)</p>
-
-<p class="whs1">gg.setTransparency(id_face3,0.2)
- </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=bookmark2>Creation of a Shell</a></h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2">#create vertices</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex( 0., 0.,
- 0.)</p>
-
-<p class="whs1">pxyz = geompy.MakeVertex(
- 5., 5.,
- 40.)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create sketchers</p>
-
-<p class="whs1">sketcher1 = geompy.MakeSketcher("Sketcher:F
- 0 0:TT 70 0:TT 70 70:TT 0 70:WW")</p>
-
-<p class="whs1">sketcher2 = geompy.MakeSketcher("Sketcher:F
- 20 20:TT 50 20:TT 50 50:TT 20 50:WW")</p>
-
-<p class="whs1">isPlanarFace = 1</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a face from
- two wires</p>
-
-<p class="whs1">face = geompy.MakeFaces([sketcher1,
- sketcher2],isPlanarFace)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a prism</p>
-
-<p class="whs1">prism = geompy.MakePrism(face,
- p0, pxyz)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># explode the prism into
- faces</p>
-
-<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism,
- geompy.ShapeType["FACE"])</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a shell from
- a set of faces</p>
-
-<p class="whs1">shell = geompy.MakeShell([prism_faces[0],
- prism_faces[2], prism_faces[3],</p>
-
-<p class="whs1"> prism_faces[7],
- prism_faces[9]])</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># add objects in the
- study</p>
-
-<p class="whs1">id_shell = geompy.addToStudy(shell,"Shell")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># display the shell</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_shell)</p>
-
-<p class="whs1">gg.setDisplayMode(id_shell,1)
- </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=bookmark3>Creation of a Solid</a></h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2">#create vertices</p>
-
-<p class="whs1">p0 = geompy.MakeVertex(
- 0., 0.,
- 0.)</p>
-
-<p class="whs1">pz = geompy.MakeVertex(
- 0., 0.,
- 40.)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create sketchers</p>
-
-<p class="whs1">sketcher = geompy.MakeSketcher("Sketcher:F
- -50 -50:TT 100 -50:R 0:C 50 70:R 0:L 100:WW")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create faces from two
- wires</p>
-
-<p class="whs1">face = geompy.MakeFace(sketcher,1)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a prism</p>
-
-<p class="whs1">prism = geompy.MakePrism(face,
- p0, pz)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># explode the prism into
- faces</p>
-
-<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism,
- geompy.ShapeType["FACE"])</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a shell from
- a set of faces</p>
-
-<p class="whs1">shell = geompy.MakeShell([prism_faces[0],
- prism_faces[1],</p>
-
-<p class="whs1"> prism_faces[3],
- prism_faces[4],</p>
-
-<p class="whs1"> prism_faces[5],
- prism_faces[2]])</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a solid, bounded
- by the given shells</p>
-
-<p class="whs1">solid = geompy.MakeSolid([shell])</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># add objects in the
- study</p>
-
-<p class="whs1">id_solid = geompy.addToStudy(solid,"Solid")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># display the solid</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_solid)</p>
-
-<p class="whs1">gg.setDisplayMode(id_solid,1)
- </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=bookmark4>Creation of a Compound</a></h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a vertex and
- a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(
- -30., -30.,
- 50.)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(
- -60., -60.,
- 30.)</p>
-
-<p class="whs1">p3 = geompy.MakeVertex(
- -30., -30.,
- 10.)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create an arc from
- three points</p>
-
-<p class="whs1">arc = geompy.MakeArc(p1,
- p2, p3)</p>
-
-<p class="whs1">ShapeListCompound
- = []</p>
-
-<p class="whs1">i = 0</p>
-
-<p class="whs1">while i <= 3 :</p>
-
-<p class="whs1"> S
- = geompy.MakeTranslation(arc, i * 50., 0., 0.)</p>
-
-<p class="whs1"> ShapeListCompound.append(S)</p>
-
-<p class="whs1"> i
- = i + 1</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a compund of
- the given shapes</p>
-
-<p class="whs1">compound = geompy.MakeCompound(ShapeListCompound)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># add object in the study</p>
-
-<p class="whs1">id_compound = geompy.addToStudy(compound,"Compound")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># display the compound</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_compound)
- </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>geometry</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 { border:none; width:30px; height:30px; float:none; border-style:none; }
-ul.whs2 { list-style:disc; }
-table.whs3 { x-cell-content-align:top; width:100%; border-spacing:0px; }
-col.whs4 { width:50%; }
-tr.whs5 { x-cell-content-align:top; }
-td.whs6 { width:50%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
-td.whs7 { width:50%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
-img_whs8 { border:none; width:400px; height:292px; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nIntroduction to Geometry");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Introduction to Geometry</h1>
-
-<p><img src="i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"><span style="font-weight: bold;"><B>Geometry </B></span>module
- of SALOME is destined for: </p>
-
-<p> </p>
-
-<ul type="disc" class="whs2">
-
- <li class=kadov-p><p>Import and export of geometrical models in IGES,
- BREP and STEP formats.</p></li>
-
- <li class=kadov-p><p>Construction and optimization of geometrical models
- using a wide range of CAD
- functions:</p></li>
-</ul>
-
-<p> </p>
-
-<table x-use-null-cells cellspacing="0" width="100%" class="whs3">
-<col class="whs4">
-<col class="whs4">
-
-<tr valign="top" class="whs5">
-<td width="50%" class="whs6">
-<ul type="disc" class="whs2">
-
- <li class=kadov-p><p>Creation of basic geometrical objects</p></li>
-
- <li class=kadov-p><p>Construction of primitives</p></li>
-
- <li class=kadov-p><p>Building shapes</p></li>
-
- <li class=kadov-p><p>Generation of complex shapes</p></li>
-
- <li class=kadov-p><p>Working with groups</p></li>
-
- <li class=kadov-p><p>Geometrical repairing of objects</p></li>
-
- <li class=kadov-p><p>Geometrical boolean operations</p></li>
-
- <li class=kadov-p><p>Geometrical transformations</p></li>
-
- <li class=kadov-p><p>Building by blocks</p></li>
-</ul>
-<p> </td>
-<td width="50%" class="whs7">
-<p><img src="image3.jpg" width="400px" height="292px" border="0" class="img_whs8"></td></tr>
-</table>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Glue Faces</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 { border:none; width:25px; height:24px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-size:12pt; text-indent:-68px; margin-left:72px; font-weight:normal; }
-p.whs4 { font-size:12pt; text-indent:-68px; margin-left:72px; }
-p.whs5 { font-size:12pt; text-indent:-68px; margin-left:112px; }
-img_whs6 { border:none; width:312px; height:315px; float:none; border-style:none; }
-p.whs7 { font-size:12pt; margin-left:112px; text-indent:-112px; }
-p.whs8 { font-size:12pt; text-indent:-112px; margin-left:152px; }
-img_whs9 { border:none; float:none; width:292px; height:239px; border-style:none; }
-img_whs10 { border:none; float:none; width:275px; height:239px; border-style:none; }
-p.whs11 { font-size:12pt; text-indent:-40px; margin-left:80px; }
-p.whs12 { font-weight:bold; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs3 {text-indent:1pt; }";
- strNSS += "p.whs4 {text-indent:1pt; }";
- strNSS += "p.whs5 {text-indent:1pt; }";
- strNSS += "p.whs7 {text-indent:1pt; }";
- strNSS += "p.whs8 {text-indent:1pt; }";
- strNSS += "p.whs11 {text-indent: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nGlue Faces");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image61.gif" width="25px" height="24px" border="0" class="img_whs1"> </font></span>Glue Faces</h1>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: normal;">T</b>o
- Glue Faces in the Main Menu select Repair - > Glue Faces.</font></span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><b style="font-weight: normal;">This operation
- g</b>lues faces that are coincident with respect to the given tolerance
- value.</p>
-
-<p class="whs4"> </p>
-
-<p class="whs2"><b><span style="font-weight: normal;">T</span></b><b><span
- style="font-weight: normal;">he</span> Result <span style="font-weight: normal;">will
- be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object. </B></span></b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><b>TUI Command : </b><span style="font-style: italic;"><I>geompy.MakeGlueFaces(theShape,
- theTolerance)</I></span>, where theShape is a compound of shapes to be glued,
- theTolerance is a maximum distance between two faces, which can be considered
- as coincident.</p>
-
-<p class="whs4"><b style="font-weight: bold;">Arguments:
- <span style="font-weight: normal;">Name +</span> </b>1 <i><span style="font-style: normal;">Compound
- + Tolerance value</span></i></p>
-
-<p class="whs4"> </p>
-
-<p class="whs4"> </p>
-
-<p class="whs5"><img src="pics/repair7.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs6"></p>
-
-<p class="whs7"> </p>
-
-<p class="whs7"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs7"> </p>
-
-<p class="whs8"><img src="pics/glue_faces1.png" x-maintain-ratio="TRUE" width="292px" height="239px" border="0" class="img_whs9"> <img src="pics/glue_faces2.png" x-maintain-ratio="TRUE" width="275px" height="239px" border="0" class="img_whs10"></p>
-
-<p class="whs11"> </p>
-
-<p class="whs11"> </p>
-
-<p class="whs12"><span style="font-weight: normal;">Our</span>
- TUI Scripts <span style="font-weight: normal;">provide you with useful
- examples of the use of</span> <a href="repairing_operations.htm#bookmark6">Repairing
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Groups</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nWorking with Groups");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Groups</h1>
-
-<h3>Creation of a group</h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create two vertices</p>
-
-<p class="whs1">p0 = geompy.MakeVertex(0.
- , 0. ,
- 0. )</p>
-
-<p class="whs1">p200 = geompy.MakeVertex(200.,
- 200., 200.)</p>
-
-<p> </p>
-
-<p># create a box from two points</p>
-
-<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
- p200)</p>
-
-<p> </p>
-
-<p># create a group from the faces of the box</p>
-
-<p class="whs1">group = geompy.CreateGroup(Box,
- geompy.ShapeType["FACE"])</p>
-
-<p> </p>
-
-<p># add objects to the group</p>
-
-<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
- geompy.ShapeType["FACE"])</p>
-
-<p class="whs1">for i in [0, 3, 5]
- :</p>
-
-<p class="whs1"> FaceID
- = geompy.GetSubShapeID(Box, SubFaceList[i])</p>
-
-<p class="whs1"> geompy.AddObject(group,
- FaceID)</p>
-
-<p> </p>
-
-<p># add all selected shapes from the list to the group </p>
-
-<p># (the program doesn't raise error, if some shapes are already included)</p>
-
-<p class="whs1">geompy.UnionList(group,
- [SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p>
-
-<p> </p>
-
-<p># remove an object from the group</p>
-
-<p class="whs1">geompy.RemoveObject(group,
- FaceID)</p>
-
-<p> </p>
-
-<p># remove all selected shapes from the group </p>
-
-<p># (the program doesn't raise error, if some shapes are not included)</p>
-
-<p class="whs1">geompy.DifferenceList(group,
- [SubFaceList[2], SubFaceList[3], SubFaceList[4]])</p>
-
-<p class="whs1">id_group1 = geompy.addToStudy(group,
- "Group1")</p>
-
-<p> </p>
-
-<p># display the contents of the group</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
- </p>
-
-<h3>Adding an object to the group.</h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create two vertices</p>
-
-<p class="whs1">p0 = geompy.MakeVertex(0.
- , 0. ,
- 0. )</p>
-
-<p class="whs1">p200 = geompy.MakeVertex(200.,
- 200., 200.)</p>
-
-<p> </p>
-
-<p># create a box from two points</p>
-
-<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
- p200)</p>
-
-<p> </p>
-
-<p># create a group from the faces of the box</p>
-
-<p class="whs1">group = geompy.CreateGroup(Box,
- geompy.ShapeType["FACE"])</p>
-
-<p> </p>
-
-<p># add objects to the group</p>
-
-<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
- geompy.ShapeType["FACE"])</p>
-
-<p class="whs1">for i in [0, 3, 5]
- :</p>
-
-<p class="whs1"> FaceID
- = geompy.GetSubShapeID(Box, SubFaceList[i])</p>
-
-<p class="whs1"> geompy.AddObject(group,
- FaceID)</p>
-
-<p class="whs1">id_group1 = geompy.addToStudy(group,
- "Group1")</p>
-
-<p> </p>
-
-<p># display the contents of the group</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
- </p>
-
-<p> </p>
-
-<h3>Removing an object from the group</h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create two vertices</p>
-
-<p class="whs1">p0 = geompy.MakeVertex(0.
- , 0. ,
- 0. )</p>
-
-<p class="whs1">p200 = geompy.MakeVertex(200.,
- 200., 200.)</p>
-
-<p> </p>
-
-<p># create a box from two points</p>
-
-<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
- p200)</p>
-
-<p> </p>
-
-<p># create a group from the faces of the box</p>
-
-<p class="whs1">group = geompy.CreateGroup(Box,
- geompy.ShapeType["FACE"])</p>
-
-<p> </p>
-
-<p># add objects to the group</p>
-
-<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
- geompy.ShapeType["FACE"])</p>
-
-<p class="whs1">for i in [0, 3, 5]
- :</p>
-
-<p class="whs1"> FaceID
- = geompy.GetSubShapeID(Box, SubFaceList[i])</p>
-
-<p class="whs1"> geompy.AddObject(group,
- FaceID)</p>
-
-<p> </p>
-
-<p># add all selected shapes from the list to the group </p>
-
-<p># (the program doesn't raise errors, if some shapes are already included)</p>
-
-<p class="whs1">geompy.UnionList(group,
- [SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p>
-
-<p> </p>
-
-<p># remove an object from the group</p>
-
-<p class="whs1">geompy.RemoveObject(group,
- FaceID)</p>
-
-<p class="whs1">id_group1 = geompy.addToStudy(group,
- "Group1")</p>
-
-<p> </p>
-
-<p># display the contents of the group</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
- </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Geometry Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whstub.js"></script><script language="javascript1.2" src="whstart.js"></script>
-<script language="javascript">
-<!--
-var strDefaultTopic = "about:blank";
-var nWebhelpNavPaneMode = 1; //1: DHTML 2:Applet 3:PureHTML 4:Noframeset
-var bNoApplet = false;
-var strPaneDHTML = "whd_nvp10.htm"; //whd_nvp10.htm if tab enabled, whnframe.htm if tab disabled.
-var strPaneApplet = "whd_nvp20.htm";
-var strPaneList = "whgdata/whnvp30.htm";
-
-var strHTML = "";
-var strPane = "";
-var nViewFrameType = -1;
-
-function CMRServer()
-{
- this.m_cAgents = new Array;
-}
-var cMRServer = new CMRServer;
-
-//figure out which mode is the best
-if (!window.gAgent)
-{
- // low end browser, we don't even try to determine it.
- document.location = "whnjs.htm";
-}
-else
-{
- if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)
- document.location = "whnjs.htm";
- else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))
- document.location = "whnjs.htm";
- else if (gbMac && gbIE4 && !gbIE5)
- document.location = "whnjs.htm";
- //figure out which mode is the best
- else
- {
- nViewFrameType=nWebhelpNavPaneMode;
- if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)
- {
- var gbDHTML=(nWebhelpNavPaneMode==1);
- if (gbNav4) nViewFrameType = 2;
- if (gbNav4&&(gnVerMinor < 4.1)) nViewFrameType = 3;
- if (gbNav4&&(gnVerMinor == 4.6)) nViewFrameType = 3;
- if (gbIE4&&gbDHTML) nViewFrameType = 1;
- if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2) nViewFrameType = 3;
- if (gbNav6&&gbDHTML) nViewFrameType = 1;
- if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2) nViewFrameType = 3;
- if (gbMac) nViewFrameType = 3;
- if (gbOpera7&&nViewFrameType == 2) nViewFrameType = 3;
- if ((bNoApplet)&&(nViewFrameType == 2)) nViewFrameType = 3;
- }
- }
-}
-
-if (nViewFrameType!=-1)
-{
- var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));
- //The colordepth of the 16 color on Windows is 1.
- if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))
- {
- alert("WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.");
- nViewFrameType = 3;
- }
-
- //figure out which one is navpane
- if (nViewFrameType == 1)
- strPane = strPaneDHTML;
- else if (nViewFrameType == 2)
- strPane = strPaneApplet;
- else
- strPane = strPaneList;
-
- var oParam = new Object();
- oParam.sTopic = "";
- var oMsg = new whMessage(WH_MSG_GETDEFAULTTOPIC, window, 1, oParam);
- if (SendMessage(oMsg) && oParam.sTopic != "")
- strDefaultTopic = oParam.sTopic;
-
-
- if (nViewFrameType == 1)
- {
- //DHTML (iframe or xml based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" frameborder=\"1\">";
- strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane + "\" scrolling=\"no\"></frame>";
- strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";
- }
- else if (nViewFrameType == 2)
- {
- //applet (xml based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" framespacing=\"0\" frameborder=\"0\" border=\"0\">";
- strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane+ "\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\"></frame>";
- strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";
- }
- else if (nViewFrameType == 3)
- {
- //generic html (pure html based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\">";
- strHTML += "<frame title=\"navigation frame\" src=\"" + strPane + "\" name=\"bsscleft\" scrolling=\"no\"></frame>";
- strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" scrolling=\"auto\"></frame>";
- strHTML += "</frameset>";
- }
- else if (nViewFrameType == 4)
- {
- //no navipane at all
- strHTML += "<frameset id=\"whPfset\" border=\"0\" cols=\"100%,*\">";
- strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" framespacing=\"0\" frameborder=\"0\" border=\"0\" scrolling=\"auto\">";
- strHTML += "</frameset>";
- }
-
- document.write(strHTML);
-
- RegisterListener2(window, WH_MSG_SHOWPANE);
- RegisterListener2(window, WH_MSG_HIDEPANE);
- RegisterListener2(window, WH_MSG_ISPANEVISIBLE);
- window.onunload = window_unload;
-}
-
-function window_unload()
-{
- UnRegisterListener2(window, WH_MSG_SHOWPANE);
- UnRegisterListener2(window, WH_MSG_HIDEPANE);
- UnRegisterListener2(window, WH_MSG_ISPANEVISIBLE);
-}
-
-
-function onSendMessage(oMsg)
-{
- var nMsgId = oMsg.nMessageId;
- if (nMsgId == WH_MSG_SHOWPANE)
- {
- getElement("whPfset").cols = "260,*";
- var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "visible");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_GETPANEINFO, this, 1, "");
- if (SendMessage(onMsg))
- {
- onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, onMsg.oParam);
- SendMessage(onMsg);
- }
- return false;
- }
- else if (nMsgId == WH_MSG_HIDEPANE)
- {
- getElement("whPfset").cols = "0,*";
- var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "invisible");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, "");
- SendMessage(onMsg);
- return false;
- }
- else if (nMsgId == WH_MSG_ISPANEVISIBLE)
- {
- var n = parseInt(getElement("whPfset").cols);
- if (n > 0)
- {
- oMsg.oParam.bVisible = true;
- }
- return false;
- }
- return true;
-}
-//-->
-</script>
-<body>
-<noscript>
- <p> It seems javascript is disabled in your browser, please enable it and reload again, or click <a href="whnjs.htm">here</a> to view without javascript</p>
-</noscript>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Geometry Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript" src="whutils.js"></script>
-<script language="javascript">
-<!--
-var gCSHFileName = "whc_data.htm";
-var gCSHSuffixName1 = "_csh.html";
-var gCSHSuffixName2 = "_csh.htm";
-//-->
-</script>
-<script language="javascript">
-<!--
-gCSHFileName="cshdat_webhelp.htm";
-//-->
-</script>
-<script language="javascript">
-<!--
-var gasProj = new Array();
-gasProj[0] = _getPath(document.location.href);
-var gCurrent = 0;
-
-function addProject(strProj)
-{
- var len = gasProj.length;
- if (strProj)
- {
- strProj = _replaceSlash(strProj);
- if (strProj.lastIndexOf("/") != strProj.length - 1)
- strProj += "/";
- var strPPath = _getFullPath(_getPath(document.location.href), strProj);
- var bFound = false;
- for (var i = 0; i < len; i ++)
- {
- if (isSamePath(gasProj[i], strPPath))
- {
- bFound = true;
- break;
- }
- }
- if (!bFound)
- gasProj[len] = strPPath;
- }
-}
-
-function isSamePath(strPath1, strPath2)
-{
- return strPath1.toLowerCase() == strPath2.toLowerCase();
-}
-
-function goNext()
-{
- gCurrent ++;
- var len = gasProj.length;
- if (gCurrent >= len)
- return getHomePage()
- else
- frames["csh"].location = gasProj[gCurrent] + gCSHFileName;
- return "";
-}
-
-function getRelHomePage(strLocation)
-{
- var strCurPPath = _getPath(strLocation);
- var strOriPPath = _getPath(getHomePage());
- var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);
- var strURL = getHomePage() + "#" + strRelPath;
- return strURL;
-}
-
-function getHomePage()
-{
- var strHomePage;
- var strTmp = location.toString();
- var nPos = strTmp.indexOf("#");
- if (nPos != -1)
- {
- strHomePage = strTmp.substring(0, nPos);
- }
- else
- {
- strHomePage = strTmp;
- }
- var nPos1 = strHomePage.indexOf(gCSHSuffixName1);
- var nPos = strHomePage.indexOf(gCSHSuffixName2);
- if (nPos != -1)
- {
- strHomePage = strHomePage.substring(0,nPos);
- if (nPos1 != -1)
- strHomePage += ".html";
- else
- strHomePage += ".htm";
- }
- return strHomePage;
-}
-//-->
-</script>
-</head>
-<frameset rows="1,*">
-<frame name="dumb" src="about:blank"></frame>
-<frame name="csh" src="cshdat_webhelp.htm"></frame>
-</frameset>
-</html>
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Geometry Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript" src="whutils.js"></script>
-<script language="javascript">
-<!--
-var gCSHFileName = "whc_data.htm";
-var gCSHSuffixName1 = "_rhc.html";
-var gCSHSuffixName2 = "_rhc.htm";
-//-->
-</script>
-<script language="javascript">
-<!--
-gCSHFileName="cshdat_robohelp.htm";
-//-->
-</script>
-<script language="javascript">
-<!--
-var gasProj = new Array();
-gasProj[0] = _getPath(document.location.href);
-var gCurrent = 0;
-
-function addProject(strProj)
-{
- var len = gasProj.length;
- if (strProj)
- {
- strProj = _replaceSlash(strProj);
- if (strProj.lastIndexOf("/") != strProj.length - 1)
- strProj += "/";
- var strPPath = _getFullPath(_getPath(document.location.href), strProj);
- var bFound = false;
- for (var i = 0; i < len; i ++)
- {
- if (isSamePath(gasProj[i], strPPath))
- {
- bFound = true;
- break;
- }
- }
- if (!bFound)
- gasProj[len] = strPPath;
- }
-}
-
-function isSamePath(strPath1, strPath2)
-{
- return strPath1.toLowerCase() == strPath2.toLowerCase();
-}
-
-function goNext()
-{
- gCurrent ++;
- var len = gasProj.length;
- if (gCurrent >= len)
- return getHomePage()
- else
- frames["csh"].location = gasProj[gCurrent] + gCSHFileName;
- return "";
-}
-
-function getRelHomePage(strLocation)
-{
- var strCurPPath = _getPath(strLocation);
- var strOriPPath = _getPath(getHomePage());
- var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);
- var strURL = getHomePage() + "#" + strRelPath;
- return strURL;
-}
-
-function getHomePage()
-{
- var strHomePage;
- var strTmp = location.toString();
- var nPos = strTmp.indexOf("#");
- if (nPos != -1)
- {
- strHomePage = strTmp.substring(0, nPos);
- }
- else
- {
- strHomePage = strTmp;
- }
- var nPos1 = strHomePage.indexOf(gCSHSuffixName1);
- var nPos = strHomePage.indexOf(gCSHSuffixName2);
- if (nPos != -1)
- {
- strHomePage = strHomePage.substring(0,nPos);
- if (nPos1 != -1)
- strHomePage += ".html";
- else
- strHomePage += ".htm";
- }
- return strHomePage;
-}
-//-->
-</script>
-</head>
-<frameset rows="1,*">
-<frame name="dumb" src="about:blank"></frame>
-<frame name="csh" src="cshdat_robohelp.htm"></frame>
-</frameset>
-</html>
\ No newline at end of file
--- /dev/null
+/*!
+
+\page add_point_on_edge_operation_page Add Point on Edge
+
+\n To <b>Add Point on Edge</b> in the <b>Main Menu</b> select
+<b>Repair - > Add Point on Edge</b>.
+
+\n This operation splits an edge in two in accordance with the
+specified mode (by length or by parameter) and a value specifying the
+position of the point on edge (for example val =0.5; mode =
+Length). This operation is available in <b>OCC Viewer</b> only.
+
+\n The \b Result will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b> <em>geompy.DivideEdge(Shape, EdgeID, Value,
+IsByParameter), </em> where \em Shape is a shape which contains an edge to
+be divided, \em EdgeID is the ID of the edge to be divided, if it = -1,
+then Shape is an edge, \em Value is a paramter on the edge or a
+length. \em IsByParameter if it is True then Value is the edge parameter
+in the range [0:1] otherwise it is a length of the edge in the range
+[0:1]
+\n <b>Arguments:</b> Name + 1 Edge + 1 value setting the position of
+the point according to one of the selected modes.
+
+\image html repair8.png
+
+\n <b>Example:</b>
+
+\image html image167.jpg
+
+\image html image168.jpg
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_add_point_on_edge "Repairing Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page archimede_page Archimede
+
+\n To produce an \b Archimede operation in the <b>Main Menu</b> select
+<b>Operations - > Archimede</b>
+
+\n This operation creates a plane corresponding to the modeled
+water-line of the object plunged into the water (in Z direction).
+
+\n The \b Result will be any \b GEOM_Object.
+
+\n <b>TUI Command:</b>
+<em>geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection),</em>
+ where \em Shape is a shape to put into the water, \em Weight is a weight of
+the shape, \em WaterDensity is density of water, \em MeshingDeflection is a
+deflection of the mesh, using to compute the section.
+\n <b>Arguments:</b> Name + 1 shape + 3 values (Weight, Water Density
+& Meshing Deflection).
+
+\image html archimede.png
+
+\n <b>Example:</b>
+
+\image html archimedesn1.png
+
+\image html archimedesn2.png
+
+\image html archimedesn3.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_archimede "Basic Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page basic_operations_page Basic Operations
+
+<ul>
+<li>\subpage partition_page</li>
+<li>\subpage archimede_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page blocks_operations_page Blocks Operations
+
+<ul>
+<li>\subpage multi_transformation_operation_page</li>
+<li>\subpage explode_on_blocks_operation_page</li>
+<li>\subpage propagate_operation_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page boolean_operations_page Boolean Operations
+
+<ul>
+<li>\subpage using_boolean_operations_page</li>
+<li>\subpage fuse_operation_page</li>
+<li>\subpage common_operation_page</li>
+<li>\subpage cut_operation_page</li>
+<li>\subpage section_opeartion_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page build_by_blocks_page Building by blocks
+
+<h2>Introduction</h2>
+
+Below are some general notions about blocks:
+
+A block is a an elementary geometric solid that has specific
+geometric constraints oriented for meshing. In the hexahedral case,
+blocks have 6 faces and each face has 4 edges.
+
+Tetrahedral Block - is a block with constraints for tetrahedral
+meshing.
+
+Hexahedral Block - is a block with constraints for hexahedral meshing.
+
+Block Compound - is a compound composed of blocks only.
+
+These functionalities are available from the main menu via <em>New
+Entity / Blocks</em>.
+
+<ul>
+<li>\ref quad_face_anchor "Quadrangle face"</li>
+<li>\ref hexa_solid_anchor "Hexahedral solid"</li>
+</ul>
+
+<br>
+\anchor quad_face_anchor
+<h2>Quadrangle face</h2>
+
+\n <b>Description:</b> Builds a face using the below mentioned
+arguments. This operation allows to build a face bypassing the
+intermediate stage of building edges and wires (in the case of
+building by 4 points) or wires (in the case of building by 4 or 2
+edges).
+
+\n The \b Result of the operation will be a \b GEOM_Object (face).
+
+\n <b>TUI Command:</b>
+<ul>
+<li><em>geompy.MakeQuad4Vertices(V1, V2, V3, V4),</em> where V1, V2,
+V3, V4 are four vertices from which a face is constructed. Edges are
+created automatically.</li>
+<li><em>geompy.MakeQuad2Edges(E1, E2),</em> where E1, E2 are edges from
+which the face is constructed, two other edges are created
+automatically.</li>
+<li><em>geompy.MakeQuad(E1, E2, E3, E4),</em> where E1, E2, E3, E4 are
+four edges from which the face is constructed.</li>
+</ul>
+
+<b>Arguments:</b>
+<ul>
+<li>Name + 4 Points, or</li>
+<li>Name + 2 Edges, or</li>
+<li>Name + 4 Edges.</li>
+</ul>
+
+\n <b>Dialog Box:</b>
+
+\image html block1.png
+
+\image html block2.png
+
+\image html block3.png
+
+\n <b>Example:</b>
+\image html image185.jpg
+
+
+<br><br>
+\anchor hexa_solid_anchor
+<h2>Hexahedral solid</h2>
+
+\n <b>Description:</b> Builds a hexahedral solid. either of the below
+mentioned arguments. This operation allows to build a solid bypassing
+the intermediate stage of building a shell and 4 faces (in the case of
+building by 2 faces) or just a shell (in the case of building by 6
+faces).
+
+\n The \b Result of the operation will be a \b GEOM_Object (solid).
+
+\n <b>TUI Command:</b>
+<ul>
+<li><em>geompy.MakeHexa2Faces(F1, F2),</em> where F1 and F2 are faces
+from which the hexahedron is constructed, other four faces are created
+automatically.</li>
+<li><em>geompy.MakeHexa(F1, F2, F3, F4, F5, F6),</em> where F1 — F6 are six faces from which the hexahedron is constructed.</li>
+</ul>
+
+\n <b>Arguments:</b>
+<ul>
+<li>Name + 2 Faces, or</li>
+<li>Name + 6 Faces.</li>
+</ul>
+
+\n <b>Dialog Box:</b>
+
+\image html block4.png
+
+\image html block5.png
+
+\n <b>Example:</b>
+
+\image html image180.jpg
+
+\image html image181.jpg
+
+Our <b>TUI Scripts</b> provide you with useful examples of
+\ref tui_building_by_blocks_page "Building by Blocks".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page chamfer_operation_page Chamfer
+
+\n To produce a \b Chamfer in the <b>Main Menu</b> select
+<b>Operations - > Transformation - > Chamfer</b>
+
+\n This operation allows you to make chamfer of the edges of a Shape.
+\n The \b Result will be a \b GEOM_Object.
+
+\n To create chamfer on all edges of the given shape, you need to
+define the <b>Main Object</b> to create a chamfer on and the \b
+Dimension (radius) of the chamfer.
+\n <b>TUI Command:</b> <em>geompy.MakeChamferAll(Shape, D)</em>
+\n <b>Arguments:</b> Name + 1 SHAPE + 1 value (Chamfer dimension).
+
+\image html chamfer1.png
+
+\image html chamfer_all.png
+
+\n To create chamfer on the specified edges of the given shape, you
+need to define the <b>Main Object</b> to create a fillet on, select
+the two faces to which belongs the necessary common edge in the viewer
+and define the \b Dimension of the Chamfer.
+\n <b>TUI Command:</b> <em>geompy.MakeChamferEdge(Shape, D1, D2,
+Face1, Face2),</em> where \em Shape is a shape to create a chamfer on,
+\em D1 is a chamfer size along \em Face1, \em D2 is a chamfer size
+along \em Face2, \em Face1 and \em Face2 are indices of faces in Shape.
+
+\image html chamfer2.png
+
+\image html chamfer_edge.png
+
+\n To create chamfer on the specified faces of the given shape, you need
+to define the <b>Main Object</b> to create a fillet on, select the
+necessary faces the OCC Viewer and define the \b Dimension of the
+Chamfer.
+\n <b>TUI Command:</b> <em>geompy.MakeChamferFaces(Shape, D1, D2,
+ListOfFaceID),</em> where \em Shape is a shape to create chamfer on,
+\em D1 is a chamfer size along a face from \em ListOfFaceID, \em D2
+is a chamfer size along two faces connected to the edge to which the
+chamfer is applied, \em ListOfFaceID is a list of indices of faces in
+\em Shape.
+
+\image html chamfer3.png
+
+\image html chamfer_faces.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_chamfer "Transformation Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page change_orientation_operation_page Change Orientation
+
+\n To <b>Change Orientation</b> in the <b>Main Menu</b> select <b>Repair - > Change Orientation</b>.
+\n This operation reverses the normals of faces composing the selected
+shell.
+
+\n <b>TUI Command:</b> <em>geompy.ChangeOrientation(shape)</em>
+\n <b>Arguments:</b> Name + 1 shape (shell)
+\n Uncheck <b>Create a copy</b> checkbox if you don't wish to leave
+the initial object in the project (<b>Result name</b> field will be
+locked).
+
+\image html changeorientation.png
+
+\n <b>Example:</b>
+
+\image html image38.gif
+<center><em>Inward orientation</em></center>
+
+\image html image40.gif
+<center><em>Outward orientation</em></center>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page check_free_boundaries_operation_page Check Free Boundaries
+
+\n To <b>Check Free Boundaries</b> in the <b>Main Menu</b> select <b>Repair - > Check Free Boundaries</b>.
+
+\n This operation detects wires and edges that correspond to the
+shape's boundary, and highlights it.
+
+\n The \b Result will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b> <em>(NoError, ClosedWires, OpenWires) =
+geompy.GetFreeBoundary(Shape),</em> where \em Shape is a shape to be
+checked, \em NoError is false if an error occurred while checking free
+boundaries, \em ClosedWires is a list of closed free boundary wires,
+\em OpenWires is a list of open free boundary wires.
+
+\image html repair9.png
+
+\n <b>Example:</b>
+
+\image html free_boudaries1.png
+
+\image html free_boudaries2.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_check_free_boundaries "Repairing Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page check_free_faces_operation_page Check Free Faces
+
+\n To <b>Check Free Faces</b> in the <b>Main Menu</b> select <b>Repair - > Check Free Faces</b>.
+\n This operation retrieves all free faces from a given shape. A free
+face is a face not shared between two shells of the shape.
+
+\n The \b Result will be a \b GEOM_Object (a list of IDs of all free
+faces, containing in the shape).
+\n <b>TUI Command:</b> <em>GetFreeFacesIDs(Shape),</em> where \em Shape is
+a shape to be checked.
+
+\image html repair10.png
+
+\n <b>Example:</b>
+
+\image html free_faces1.png
+
+\image html free_faces2.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_check_free_faces "Repairing Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page close_contour_operation_page Close Contour
+
+\n To produce a <b>Close Contour</b> operation in the <b>Main Menu</b>
+select <b>Repair - > Close Contour</b>.
+
+\n This operation closes an open contour and modifies the underlying
+face (if needed) in accordance with user specified mode:
+<ul>
+<li>By common vertex – a vertex is created between the end points
+of the contour and its tolerance is increased to a value of the gap
+between the ends of the contour;</li>
+<li>By new edge – a new edge is inserted between the end points of the contour.</li>
+</ul>
+This operation is available in <b>OCC Viewer</b> only.
+
+\n The \b Result will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b> <em>geompy.CloseContour(Shape, Wires,
+IsCommonVertex),</em> where \em Shape is a shape to be processed, \em Wires is
+a list of edges or wires ID's which has to be closed within the
+shape (if the list contains only one element = -1, the shape itself is
+considered as a wire), \em IsCommonVertex if this parameter is True a
+closure has to be done by creation of a common vertex, otherwise an
+edge is added between the end vertices.
+\n <b>Arguments:</b> Name + 1 shape + contour (Wire, or a set of
+Edges) + mode of closure (by vertex or by edge)
+
+\image html repair3.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_close_contour "Repairing Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page color_page Color
+
+\n You can change the filling color of your object in the standard
+<b>Select Color</b> menu accessible by right-clicking on an object and
+selecting \b Color in the pop-up menu box.
+
+\n <b>TUI Command:</b> <em>gg.setColor(ID, Short, Short, Short)</em>
+
+\image html selectcolor.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of
+\ref tui_change_color "Changing Display Parameters".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page common_operation_page Common
+
+\n To produce a \b Common operation in the <b>Main Menu</b> select <b>Operations - > Boolean - > Common</b>
+
+\n This operation cuts the common part of two shapes and transforms it into an independent geometrical object.
+
+\n The \b Result will be a \b GEOM_Object (COMPOUND).
+\n <b>TUI Command:</b> <em>geompy.MakeCommon(s1, s2)</em>
+\n <b>Arguments:</b> Name + 2 shapes.
+
+\image html bool2.png
+
+\n <b>Example:</b>
+
+\image html fusesn1.png
+
+\image html commonsn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_common "Boolean Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_adv_obj_page Creating Advanced Geometrical Objects
+
+<ul>
+<li>\subpage create_explode_page</li>
+<li>\subpage create_edge_page</li>
+<li>\subpage create_wire_page</li>
+<li>\subpage create_face_page</li>
+<li>\subpage create_shell_page</li>
+<li>\subpage create_solid_page</li>
+<li>\subpage create_compound_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_arc_page Arc
+
+To create an \b Arc in the <b>Main Menu</b> select <b>New Entity - >
+Basic - > Arc</b>
+
+\n There are 2 algorithms to create an \b Arc in the 3D space.
+\n The \b Result of each operation will be a GEOM_Object (edge).
+
+\n Firstly, you can define an \b Arc by three \b Points that lie on it,
+where Point1 is the starting point, Point2 is a middle point of the
+arc and Point3 is the ending point of the arc.
+\n <b>TUI Command:</b> <em>geompy.MakeArc(Point1, Point2, Point3)</em>
+\n <b>Arguments:</b> Name + 3 vertices.
+
+\image html arc.png
+
+\n Secondly, you can define an \b Arc by \b Center, \b Start and \b End
+points. The arc is built from the \b Start point to the \b End point. The
+radius of the arc is defined by the distance between the \b Center point
+and the \b Start point. The \b End point defines the angle of the arc. If
+the distance between the \b Center point and the \b End point is not equal
+to the radius, the arc will be built anyway.
+\n \b Reverse radio button allows to change the direction of the arc.
+\n <b>TUI Command:</b> <em>geompy.MakeArcCenter(Center Point, Start
+Point, End Point, boolean Sense)</em>
+\n <b>Arguments:</b> Name + 3 vertices + Boolean.
+
+\image html arc2.png
+
+\n <b>Examples:</b>
+
+\image html arcsn.png
+<center>Arc by three points lying on it.</center>
+
+\image html arcsn1.png
+<center>Arc by Start, End and Center.</center>
+
+\image html arcsn2.png
+<center>Reversed arc.</center>
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_basic_geom_objs_page "Basic Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_basic_geom_obj_page Creating Basic Geometric Objects
+
+<ul>
+<li>\subpage create_point_page</li>
+<li>\subpage create_line_page</li>
+<li>\subpage create_circle_page</li>
+<li>\subpage create_ellipse_page</li>
+<li>\subpage create_arc_page</li>
+<li>\subpage create_curve_page</li>
+<li>\subpage create_vector_page</li>
+<li>\subpage create_plane_page</li>
+<li>\subpage create_wplane_page</li>
+<li>\subpage create_lcs_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_box_page Box
+
+To create a \b Box in the <b>Main Menu</b> select <b>New Entity - >
+Primitives - > Box</b>
+
+\n There are 2 algorithms for creation of a \b Box.
+\n The \b Result of each operation will be a GEOM_Object (SOLID).
+
+\n Firstly, you can define a \b Box by two specified \b Vertices (its
+opposite corners). The edges of the box will be parallel to the
+coordinate axes.
+\n <b>TUI Command:</b> <em>geompy.MakeBoxTwoPnt(Point1, Point2)</em>
+\n <b>Arguments:</b> Name + 2 vertices (opposite corners of the box).
+
+\image html box1.png
+
+\n Secondly, you can define a \b Box by specified dimensions along the
+coordinate axes and with edges, parallel to them. The center of the
+box will be at point (DX/2, DY/2, DZ/2).
+\n <b>TUI Command:</b> <em>geompy.MakeBoxDXDYDZ(DX, DY, DZ)</em>
+\n <b>Arguments:</b> Name + 3 values (dimensions at origin).
+
+\image html box2.png
+
+\b NB! There is a third way to create a \b Box, which is currently
+accessible only via \b TUI commands.
+\n You can define a \b Box by the coordinates of two \b Vertices (in
+this way you don't need to create them in advance).
+\n <b>TUI Command:</b> <em>geompy.MakeBox(x1,y1,z1,x2,y2,z2)</em>
+\n <b>Arguments:</b> Name + X, Y and Z coordinates of both points.
+
+<b>Example:</b>
+
+\image html boxes.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_box "Primitives".
+
+*/
--- /dev/null
+/*!
+
+\page create_circle_page Circle
+
+To create a \b Circle in the <b>Main Menu</b> select <b>New Entity - >
+Basic - > Circle</b>
+
+\n There are 2 algorithms to create a \b Circle in the 3D space.
+\n The \b Result of each operation will be a GEOM_Object (edge).
+
+\n Firstly, you can define a \b Circle by a <b>Center Point</b>, a \b
+Vector giving the circle's normal and a \b Radius.
+\n <b>TUI Command:</b> <em>geompy.MakeCircle(Point, Vector,
+Radius)</em>
+\n <b>Arguments:</b> Name + 1 vertex (for the center) + 1 edge (for
+the direction) + Radius.
+
+\image html circle1.png
+
+\n Secondly, you can define a \b Circle by three \b Points that lie on it.
+\n <b>TUI Command:</b> <em>geompy.MakeCircleThreePnt(Point1, Point2, Point3)</em>
+\n <b>Arguments:</b> Name + 3 points which will form the circle.
+
+\image html circle2.png
+
+<b>Example:</b>
+\image html circles.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_circle "Basic Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_complex_obj_page Creating Complex Objects
+
+<ul>
+<li>\subpage create_extrusion_page</li>
+<li>\subpage create_revolution_page</li>
+<li>\subpage creaet_filling_page</li>
+<li>\subpage create_extrusion_alongpath_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_compound_page Compound
+
+\n To create a \b Compound in the <b>Main Menu</b> select <b>New
+Entity - > Build - > Compound</b>.
+
+\n You can create a compound from a list of shells.
+\n The \b Result will be a \b GEOM_Object (COMPOUND).
+
+\n <b>TUI Command:</b> <em>geompy.MakeCompound(ListOfShape)</em>
+\n <b>Arguments:</b> Name + List of shapes.
+
+\image html neo-obj7.png
+
+\n <b>Example:</b>
+
+\image html compoundsn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_compound "Advanced Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_cone_page Cone
+
+\n To create a \b Cone in the <b>Main Menu</b> select <b>New Entity - > Primitives - > Cone</b>
+
+\n There are two algorithms for creation of a \b Cone.
+\n The \b Result of each operation will be a GEOM_Object (SOLID).
+
+
+
+\n Firstly, you can define a \b Cone by the <b>Base Point</b> (the
+central point of the cone base), the \b Axis, the \b Height and the
+first and the second \b Radiuses.
+\n <b>TUI Command:</b> <em>geompy.MakeCone(Point, Axis, Radius1, Radius2)</em>
+\n <b>Arguments:</b> Name + 1 vertex + 1 vector (for direction) + 3
+values (Radius of the base part, radius of the upper part, height).
+
+\image html cone1.png
+
+\n Secondly, you can define a \b Cone with the center at the origin of
+coordinates by its \b Height and \b Radiuses. The \b Axis of the \b
+Cone will be collinear to the OZ axis of the coordinate system.
+\n <b>TUI Command:</b> <em>geompy.MakeConeR1R2H(Radius1, Radius2, Height)</em>
+\n <b>Arguments:</b> Name + 3 values (Radius of the base part, radius
+of the upper part, height).
+
+\image html cone2.png
+
+\note If both radiuses are non-zero, the \b Cone will be truncated. If
+the radiuses are equal, a \b Cylinder will be created instead.
+
+<b>Example:</b>
+
+\image html cones.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_cone "Primitives".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_curve_page Curve
+
+To create a \b Curve in the <b>Main Menu</b> select <b>New Entity - >
+Basic - > Curve</b>
+
+\n There are three algorithms to create a \b Curve in the 3D space. Each
+time you define it by a list of \b Points through which the curve
+passes. The three <b>Curve Construction</b> menu choices correspond to three
+possible types of curves: Polyline, Besier or B-spline (Interpolated).
+\n The \b Result of each operation will be a GEOM_Object (edge).
+
+\n <b>TUI Commands:</b>
+<ul>
+<li><em>geompy.MakePolyline(ListOfShapes)</em></li>
+<li><em>geompy.MakeBezier(ListOfShapes)</em></li>
+<li><em>geompy.MakeInterpol(ListOfShapes)</em></li>
+</ul>
+ListOfShape is a list of points through which the curve passes.
+
+<b>Arguments:</b> Name + at least 2 points which will serve as nodes
+on the curve.
+
+\image html curve.png
+
+<b>Examples:</b>
+
+\image html polyline.png
+<center>Polyline</center>
+
+\image html bezier.png
+<center>Bezier</center>
+
+\image html interpol.png
+<center>B-Spline</center>
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_curve "Basic Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_cylinder_page Cylinder
+
+\n To create a \b Cylinder in the <b>Main Menu</b> select <b>New
+Entity - > Primitives - > Cylinder</b>
+
+\n There are 2 algorithms for creation of a \b Cylinder.
+\n The \b Result of each operation will be a GEOM_Object (SOLID).
+
+\n Firstly, you can define a \b Cylinder by the <b>Base Point</b> (the central
+point of the cylinder base), the \b Vector (the axis of the cylinder),
+and its dimensions: the Radius and the Height.
+\n <b>TUI Command:</b> <em>geompy.MakeCylinder(Point, Axis, Radius, Height)</em>
+\n <b>Arguments:</b> Name + 1 vertex + 1 vector + 2 values
+(Dimensions: radius and height).
+
+\image html cylinder1.png
+
+\n Secondly, you can define a \b Cylinder 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.
+\n <b>TUI Command:</b> <em>geompy.MakeCylinderRH(Radius, Height)</em>
+\n <b>Arguments:</b> Name + 2 values (Dimensions at origin: radius and
+height).
+
+\image html cylinder2.png
+
+<b>Example:</b>
+
+\image html cylinders.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_cylinder "Primitives".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_edge_page Edge
+
+\n To create an \b Edge in the <b>Main Menu</b> select <b>New Entity- > Build - > Edge</b>
+
+\n You can create an \b Edge from two points (\b Point1 and \b Point2), being the first and the last vertices of the edge.
+
+The \b Result will be a \b GEOM_Object (EDGE).
+
+<b>TUI Command:</b> <em>geompy.MakeEdge(Vertex1, Vertex2),</em> where
+Vertex1 and Vertex2 are correspondingly the first and the last vertex
+of the edge.
+
+<b>Arguments:</b> Name + 2 vertices.
+
+\image html neo-obj2.png
+
+\n <b>Example:</b>
+
+\image html edgesn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_edge "Advanced Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_ellipse_page Ellipse
+
+To create an \b Ellipse in the <b>Main Menu</b> select <b>New Entity - > Basic - > Ellipse</b>
+
+\n You can define an \b Ellipse by its <b>Center Point</b>, a \b
+Vector giving its normal, and its <b>Major & Minor Radiuses</b>.
+\n The \b Result of the operation will be a GEOM_Object (edge).
+
+\n <b>TUI Command:</b> <em>geompy.MakeEllipse(Point, Vector, RadiusMajor, RadiusMinor)</em>
+\n <b>Arguments:</b> Name + 1 vertex (for the center) + 1 edge (for
+the direction) + 1 X Radius + 1 Y Radius.
+
+\image html ellipse.png
+
+<b>Example:</b>
+
+\image html ellipsesn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_ellipse "Basic Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_explode_page Explode
+
+\n To \b Explode an object into subshapes, in the <b>Main Menu</b>
+select <b>New Entity > Explode</b>.
+
+\n To create a list of subshapes (vertices, edges, wires etc.) of the
+given shape using the \b Explode operation, you need to define the <b>Main
+Object</b>, which will be exploded and the <b>Type of Subshapes</b> you wish to
+obtain from it.
+\n The \b Result of the operation will be a List of \b GEOM_Objects
+(edges, faces, solids or compsolids).
+
+\n Using <b>TUI Commands</b> you can perform this operation in a
+variety of ways:
+<ul>
+<li><em>geompy.SubShapeAll(Shape, Type)</em> explodes a Shape on
+subshapes of a given Type and returns a List of sub-shapes.</li>
+<li><em>geompy.SubShapeAllIDs(Shape, Type)</em> explodes a Shape on
+subshapes of a given Type and returns a List of IDs of
+sub-shapes.</li>
+<li><em>geompy.SubShapeAllSorted(Shape, Type)</em> xplodes a shape on
+subshapes of a given type and sorts them by coordinates of their
+gravity centers, returning a list of sub-shapes.</li>
+<li><em>geompy.SubShapeAllSortedIDs(Shape, Type)</em> explodes a shape
+on subshapes of a given type and sorts them by coordinates of their
+gravity centers, returning a List of IDs of sub-shapes.</li>
+<li><em>geompy.SubShape(Shape, Type, ListOfInd)</em> allows to obtain
+a compound of sub-shapes of the Shape, selected by they indices in a
+list of all sub-shapes of the given Type. Each index is in the range
+[1, Nb_Sub-Shapes_Of_Given_Type].</li>
+<li><em>geompy.SubShapeSorted(Shape, Type, ListOfInd)</em> allows to
+obtain a compound of sub-shapes of the Shape, selected by they indices
+in sorted list of all sub-shapes of the given Type. Each index is in
+the range [1, Nb_Sub-Shapes_Of_Given_Type]</li>
+</ul>
+
+\n <b>Arguments:</b>1 SHAPE + 1 type of SubShape.
+
+\image html neo-obj1.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_extrusion_page Extrusion
+
+\n To generate an \b Extrusion on an object in the <b>Main Menu</b>
+select <b>New Entity - > Generation - > Extrusion</b>
+
+\n There are 2 algorithms for creation of an \b Extrusion (Prism).
+\n The \b Result of the operation will be a GEOM_Object (edge, face,
+solid or compsolid).
+
+\n Firstly, you can define the <b>Base Shape</b> (a basis of the
+extrusion), the \b Vector (a direction of the extrusion) and the \b
+Height of extrusion.
+\b <b>TUI Command:</b> <em>geompy.MakePrismVecH(Base, Vector, Height)</em>
+\n <b>Arguments:</b> Name + 1 shape (vertex, edge, wire, face or
+shell) serving as base object + 1 vector (for direction of the
+extrusion) + 1 value (dimension).
+
+\image html extrusion1.png
+
+\n Secondly, you can define the \b Extrusion by the <b>Base Shape</b>
+and the \b Start and <b>End Point</b> of the \b Vector (in this way
+you don't need to create it in advance).
+\n <b>TUI Command:</b> <em>geompy.MakePrism(Base, Point1, Point2)</em>
+\n <b>Arguments:</b> Name + 1 shape (vertex, edge, wire, face or
+shell) serving as base object + 2 vertices.
+
+\image html extrusion2.png
+
+<b>Examples:</b>
+
+\image html prisms_basessn.png
+<center>Base Shape</center>
+
+\image html prismssn.png
+<center>Prisms</center>
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_prism "Complex Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_extrusion_alongpath_page Pipe Construction
+
+To generate a \b Pipe in the <b>Main Menu</b> select <b>New Entity - > Generation - > Extrusion along a path</b>
+
+\n To create an extruded \b Pipe shape, you need to define the <b>Base
+Object</b> (vertex, edge, wire, face or shell), which will be extruded
+and the <b>Path Object</b> (edge, face or shell) along which the <b>Base
+Object</b> will be extruded.
+\n The \b Result of the operation will be a GEOM_Object (edge, face,
+solid or compsolid).
+
+\n <b>TUI Command:</b> <em>geompy.MakePipe(baseShape, pathShape)</em>
+\n <b>Arguments:</b> Name + 1 shape (vertex, edge, wire, face or
+shell) serving as base object + 1 shape (edge, face or shell) for
+definition of the path.
+
+\image html pipe.png
+
+<b>Example:</b>
+
+\image html pipe_wire_edgesn.png
+
+\image html pipesn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_pipe "Complex Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_face_page Face
+
+To create a \b Face in the <b>Main Menu</b> select <b>New Entity - >
+Build - > Face</b>
+
+\n To create a \b Face you need to select a wire, whose elements will
+be connected so that the surface of the resulting object was
+minimal. Check <b>Try to create a planar face</b> to create a planar
+face or nothing if it is impossible.
+\n The \b Result will be a \b GEOM_Object (FACE).
+
+\n <b>TUI Command:</b> <em>geompy.MakeFace(Wire, isPlanarWanted)</em>
+\n <b>Arguments:</b> Name + 1 wire.
+
+\image html neo-obj4.png
+
+There are some advanced possibilities accessible only via <b>TUI
+commands</b>:
+
+<em>geompy.MakeFaceWires(Wires, isPlanarWanted)</em> - Creates a face on the given wires set. The argument is not a single wire, but a list of wires.
+<em>geompy.MakeFaces(Wires, isPlanarWanted)</em> is a shortcut to MakeFaceWires().
+
+\n <b>Example:</b>
+
+\image html facesn1.png
+
+\image html facesn2.png
+
+\image html facesn3.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_face "Advanced Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page creaet_filling_page Filling Surface with Edges
+
+To generate a \b Filling in the <b>Main Menu</b> select <b>New Entity - > Generation - > Filling</b>
+
+\n To create a curving face using several edges you need to define the
+<b>Edges Compound</b>, \b Minimum and <b>Maximum Degree</b>, \b
+Tolerance for \b 2D and for \b 3D and the <b>Number of Iterations</b>.
+\n The \b Result of the operation will be a GEOM_Object (face).
+
+\n <b>TUI Command:</b> <em>geompy.MakeFilling(Shape, MinDegree, MaxDegree, Tol2D, Tol3D, NbIter)</em>
+\n <b>Arguments:</b> Name + 1 List of edges + 5 Parameters
+(Min. degree, Max. degree, Number of iterations, 2D tolerance, 3D
+tolerance).
+
+\image html filling.png
+
+<b>Example:</b>
+
+\image html filling_compoundsn.png
+
+\image html fillingsn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_filling "Complex Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_geom_obj_page Creating geometrical objects
+
+<ul>
+<li>\subpage create_basic_geom_obj_page</li>
+<ul>
+<li>\ref create_point_page</li>
+<li>\ref create_line_page</li>
+<li>\ref create_circle_page</li>
+<li>\ref create_ellipse_page</li>
+<li>\ref create_arc_page</li>
+<li>\ref create_curve_page</li>
+<li>\ref create_vector_page</li>
+<li>\ref create_plane_page</li>
+<li>\ref create_wplane_page</li>
+<li>\ref create_lcs_page</li>
+</ul>
+<li>\subpage create_primitives_page</li>
+<ul>
+<li>\ref create_box_page</li>
+<li>\ref create_cylinder_page</li>
+<li>\ref create_sphere_page</li>
+<li>\ref create_torus_page </li>
+<li>\ref create_cone_page </li>
+</ul>
+<li>\subpage create_complex_obj_page</li>
+<ul>
+<li>\ref create_extrusion_page</li>
+<li>\ref create_revolution_page</li>
+<li>\ref creaet_filling_page</li>
+<li>\ref create_extrusion_alongpath_page</li>
+</ul>
+<li>\subpage work_with_groups_page</li>
+<li>\subpage build_by_blocks_page</li>
+<li>\subpage create_sketcher_page</li>
+<li>\subpage create_adv_obj_page</li>
+<ul>
+<li>\ref create_explode_page</li>
+<li>\ref create_edge_page</li>
+<li>\ref create_wire_page</li>
+<li>\ref create_face_page</li>
+<li>\ref create_shell_page</li>
+<li>\ref create_solid_page</li>
+<li>\ref create_compound_page</li>
+</ul>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_lcs_page Local Coordinate System
+
+To create a <b>Local Coordinate System</b> in the <b>Main Menu</b> select <b>New Entity - > Basic - > Local Coordinate System</b>
+\n There are three algorithms to choose from.
+
+\n Firstly, you can define the values of X, Y, and Z coordinates of origin and the directions of X and Y axes directly in the menu.
+\n <b>TUI command:</b> <em>geompy.MakeMarker(OX, OY, OZ, XDX, XDY, XDZ,
+YDX, YDY, YDZ)</em>, where OX, OY, OZ are coordinates of the origin of
+LCS, XDX, XDY, XDZ is a vector of OX direction of the LCS and YDX,
+YDY, YDZ is a a vector of OY direction of the LCS.
+\n <b>Arguments:</b> Name + Coordinates of origin, X axis direction, Y axis direction.
+
+\image html neo-localcs1.png
+
+\n Secondly, you can simply select any object in the object browser or
+3D viewer, in this case the coordinates of origin and axes direction
+of the LCS are calculated automatically basing on the selected object.
+\n <b>Arguments:</b> Name + reference object.
+
+\image html neo-localcs2.png
+
+\n The last algorithm of LCS construction allows to define the
+coordinates of origin by a point and axes directions by a line or a
+vector.
+\n <b>Arguments:</b> Name + 1 point of origin + X axis direction, Y
+axis direction.
+
+\image html neo-localcs3.png
+
+Press «OK» or «Apply» button to create an LCS at the location with the
+specified coordinates. The new object is shown in the Object Browser
+and in 3D viewer.
+
+<b>Example:</b>
+
+\image html image145.jpg
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_line_page Line
+
+To create a \b Line in the <b>Main Menu</b> select <b>New Entity - >Basic - > Line</b>
+
+\n To create a \b Line you should define \b Point1 and \b Point2,
+which are the points through which the \b Line passes.
+\n The \b Result of the operation will be a GEOM_Object (edge).
+
+\n <b>TUI Command:</b> <em>geompy.MakeLineTwoPnt(Point1, Point2)</em>
+\n <b>Arguments:</b> Name + 2 vertices.
+
+\image html line.png
+
+<b>Example:</b>
+
+\image html lines.png
+
+\b NB! There is another way to create a line, which is currently
+accessible only via \b TUI commands.
+
+You can define a line passing through the given \b Point and parallel
+to the given \b Vector.
+\n <b>TUI Command:</b> <em>geompy.MakeLine(Point, Vector)</em>
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_line "Basic Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_plane_page Plane
+
+To create a \b Plane in the <b>Main Menu</b> select <b>New Entity - >
+Basic - > Plane</b>
+
+\n There are three algorithms to create a plane in the 3D space.
+\n The \b Result of each operation will be a GEOM_Object (face).
+
+\n Firstly, you can define a \b Plane by a \b Point through which the
+plane passes, a \b Vector giving a normal of the plane and a <b>Size
+of the Plane</b> (size of a side of quadrangle face, representing the
+plane).
+\n <b>TUI Command:</b> <em>geompy.MakePlane(Point, Vector, TrimSize)</em>
+\n <b>Arguments:</b> Name + 1 vertex + 1 vector + 1 value (to define
+the size of the plane).
+
+\image html plane1.png
+
+\n Secondly, you can define a \b Plane by three \b Points through
+which the plane passes and a <b>Size of the Plane</b>.
+\n <b>TUI Command:</b> <em>geompy.MakePlaneThreePnt(Point1, Point2, Point3, TrimSize)</em>
+\n <b>Arguments:</b> Name + 3 vertices + 1 value (to define the size
+of the plane).
+
+\image html plane2.png
+
+\n Finally, you can define a \b Plane by another \b Plane or <b>Local
+Coordinate System</b> and a <b>Size of the Plane</b>.
+\n <b>TUI Command:</b> <em>geompy.MakePlaneFace(Face, TrimSize)</em>
+\n <b>Arguments:</b> Name + 1 face + 1 value (to define the size of
+the plane).
+
+\image html plane3.png
+
+<b>Examples:</b>
+
+\image html planes1.png
+<center>Planes</center>
+
+\image html plane_on_face.png
+<center>A Plane created on a Plane of another size</center>
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_plane "Basic Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_point_page Point
+
+To create a \b Point in the <b>Main Menu</b> select <b>New Entity - >
+Basic - > Point</b>
+
+\n There are three algorithms to create a \b Point in the 3D space.
+\n Each time the \b Result of the operation will be a GEOM_Object
+(vertex).
+
+\n Firstly, we can define a point by setting its X, Y and Z \b Coordinates.
+\n <b>TUI Command:</b> <em>geompy.MakeVertex(X, Y, Z)</em>
+\n \b Arguments: Name (Vertex_n by default) + X, Y and Z coordinates of
+the point.
+
+\image html point1.png
+
+\n Secondly, we can define a point by a \b Reference to another point
+and the shift of the coordinates of the new point regarding the
+coordinates of the old one.
+\n <b>TUI Command:</b> <em>geompy.MakeVertexWithRef(Reference, X,Y,Z).</em>
+\n <b>Arguments:</b> Name + 1 reference point + 3 coordinates defining
+the position of this point regarding the reference one.
+
+\image html neo-point2.png
+
+\n Finally, we can define a point by an \b Edge and a \b Parameter
+indicating its position on the Edge. For example, 0.5 means that the
+point is located in the middle of the edge.
+\n <b>TUI Command:</b> <em>geompy.MakeVertexOnCurve(Edge,Parameter).</em>
+\n <b>Arguments:</b> Name + 1 edge + 1 Parameter defining the
+position of the point on the given edge.
+
+\image html point3.png
+
+<b>Example:</b>
+
+\image html points.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_point "Basic Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_primitives_page Creating Primitives
+
+<ul>
+<li>\subpage create_box_page</li>
+<li>\subpage create_cylinder_page</li>
+<li>\subpage create_sphere_page</li>
+<li>\subpage create_torus_page</li>
+<li>\subpage create_cone_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_revolution_page Revolution
+
+To create an extruded shape by \b Revolution in the <b>Main Menu</b>
+select <b>New Entity - > Generation - > Revolution</b>
+
+\n To create an extruded shape by \b Revolution you need to define the
+source \b Object to rotate, the \b Axis of revolution and the \b Angle by which
+the \b Shape has to be rotated around the \b Axis (in degrees).
+\n The \b Result of the operation will be a GEOM_Object (edge, face,
+solid or compsolid).
+
+\n <b>TUI Command:</b> <em>geompy.MakeRevolution(Shape, Axis, Angle).</em>
+\n <b>Arguments:</b> Name + 1 shape (vertex, edge, wire, face or shell) serving as base object + 1 vector (for direction) + 1 value (angle).
+
+\image html revolution.png
+
+<b>Example:</b>
+
+\image html revolutionsn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_revolution "Complex Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_shell_page Shell
+
+To create a \b Shell in the <b>Main Menu</b> select <b>New Entity - >
+Build - > Shell</b>
+
+\n You can create a \b Shell from a list of faces and (or) shells.
+\n The \b Result will be a \b GEOM_Object (shell).
+
+\n <b>TUI Command:</b> <em>geompy.MakeShell(ListOfShape)</em>
+\n <b>Arguments:</b> Name + List of faces having connected edges.
+
+\image html neo-obj5.png
+
+\n <b>Example:</b>
+
+\image html shellsn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_shell "Advanced Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_sketcher_page Sketcher
+
+Sketcher allows to create curves of 2 types: line segment and arc.
+The curve is created from the current point (center of coordinates
+when the sketcher is started). The end of the curve is defined by
+means of "destination", which can be a destination point (for segment
+only) or destination direction coupled with length of a segment or
+angle and radius of an arc.
+
+\n Sketcher is able to create planar curves only. Therefore, it is
+necessary to select a working plane before starting a sketch (by
+default, XOY plane is used). Sketcher creates curves lying in the
+current working plane (New Entity -> Basic -> Working Plane).
+
+\n This functionality is available from the main menu via <em>New
+Entity / Sketch</em>.
+
+\n The Result of the operation will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b> <em>geompy.MakeSketcher(Command, WorkingPlane)</em>
+\n This algorithm creates a sketcher (wire or face), following the
+textual description, passed through the Command argument. The edges of
+the resulting wire or face will be arcs of circles and/or linear
+segments.
+\n \em Command is a string, defining the sketcher by the coordinates of
+points in the local working plane.
+\n <em>WorkingPlane</em> is a planar face of the working plane (a list of 9
+doubles which are coordinates of OZ and OX of the local working
+plane).
+
+\n <b>Arguments:</b>
+<ol>
+<li>Element type (segment or arc).</li>
+<li>Destination type (point or direction).</li>
+<li>Destination point by means of:</li>
+<ul>
+<li>absolute coordinates X,Y;</li>
+<li>relative coordinates DX, DY (with respect to the current point);</li>
+<li>selection of an existing point.</li>
+</ul>
+<li>Destination direction by means of:</li>
+<ul>
+<li>angle between the new segment and the previous one;</li>
+<li>perpendicular to the previous segment (same as previous, but angle
+is predefined and is equal to 90 degrees);</li>
+<li>tangent to the previous segment;</li>
+<li>vector components DX, DY.</li>
+</ul>
+<li>Parameters of an element (for segment : length or target X or Y coordinate value, for arc : radius and angle).</li>
+</ol>
+
+\n <b>Dialog Box:</b>
+
+\image html neo-scetcher1.png
+
+\image html neo-scetcher2.png
+
+\n <b>Example:</b>
+
+\image html image204.jpg
+
+\image html image206.jpg
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_sketcher_page "Sketcher".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_solid_page Solid
+
+\n To create a \b Solid in the <b>Main Menu</b> select <b>New Entity - > Build - >
+Solid</b>.
+
+You can create a \b Solid from a list of shells.
+
+The \b Result will be a \b GEOM_Object (SOLID).
+
+\n <b>TUI Command:</b> <em>geompy.MakeSolid(ListOfShape),</em> where
+ListOfShape is a list of shells from which the solid is constructed.
+\n <b>Arguments:</b> Name + A closed shell or a list of shells.
+
+\image html neo-obj6.png
+
+\n <b>Example:</b>
+
+\image html solidsn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_solid "Advanced Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_sphere_page Sphere
+
+\n To create a \b Sphere in the <b>Main Menu</b> select <b>New Entity - > Primitives - > Sphere</b>
+
+\n There are two algorithms for creation of a \b Sphere.
+\n The \b Result of each operation will be a GEOM_Object (SOLID).
+
+\n Firstly, you can define a \b Sphere by the <b>Center Point</b> and the \b Radius.
+\n <b>TUI Command:</b> <em>geompy.MakeSphere(Point, Radius)</em>
+\n <b>Arguments:</b> Name + 1 vertex + 1 value (Radius).
+
+\image html sphere1.png
+
+\n Secondly, you can define a \b Sphere with the center at the origin of
+coordinate system by the \b Radius.
+\n <b>TUI Command:</b> <em>geompy. MakeSphereR(Radius)</em>
+\n <b>Arguments:</b> Name + 1 value (Radius from the origin).
+
+\image html sphere2.png
+
+\n <b>NB!</b> The is another way to create a\b Sphere, which is
+currently accessible only via \b TUI commands.
+\n You can define the \b Sphere by the coordinates of the <b>Center
+Point</b> and its \b Radius (in this way you don't need to create it in advance).
+\n <b>TUI Command:</b> <em>geompy.MakeSphere(X, Y, Z, Radius)</em>
+
+<b>Example:</b>
+
+\image html spheres.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_sphere "Primitives".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_torus_page Torus
+
+To create a \b Torus in the <b>Main Menu</b> select <b>New Entity - > Primitives - > Torus</b>
+
+\n There are two algorithms for creation of a \b Torus.
+\n The \b Result of each operation will be a GEOM_Object (SOLID).
+
+\n Firstly, you can define a \b Torus by the given <b>Base Point</b>,
+the normal \b Vector and the Major and Minor \b Radiuses.
+\n <b>TUI Command:</b> <em>geompy.MakeTorus(Point, Vector, RadiusMajor, RadiusMinor)</em>
+\n <b>Arguments:</b> Name + 1 vertex + 1 vector (for direction) + 2
+values (1 & 2 Radius).
+
+\image html torus1.png
+
+\n Secondly, you can define a \b Torus with the center at the origin
+of coordinates by its Major and Minor \b Radiuses.
+\n <b>TUI Command:</b> <em>geompy.MakeTorusRR(RadiusMajor, RadiusMinor)</em>
+\n <b>Arguments:</b> Name + 2 values (1 & 2 Radius from the origin).
+
+\image html torus2.png
+
+<b>Example:</b>
+
+\image html toruses.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_torus "Primitives".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_vector_page Vector
+
+To create a \b Vector in the <b>Main Menu</b> select <b>New Entity - >
+Basic - > Vector</b>
+
+\n There are 2 algorithms to create a \b Vector in the 3D space.
+\n The \b Result of each operation will be a GEOM_Object (edge).
+
+\n Firstly, you can define a Vector by its \b Start and <b>End Points</b>.
+\n <b>TUI Command:</b> <em>geompy.MakeVector(Point1, Point2)</em>
+\n <b>Arguments:</b> Name + 2 vertices.
+
+\image html vector1.png
+
+\n Secondly, you can define a \b Vector starting in the <b>Origin of
+coordinates</b> by its <b>End Point</b>.
+\n <b>TUI Command:</b> <em>geompy.MakeVectorDXDYDZ(DX, DY, DZ)</em>
+\n <b>Arguments:</b> Name + 3 values
+
+\image html vector2.png
+
+<b>Example:</b>
+
+\image html image34.gif
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_vector "Basic Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_wire_page Wire
+
+\n To create a \b Wire in the <b>Main Menu</b> select <b>New Entity - > Build - > Wire</b>
+
+\n You can create a \b Wire from several connected edges and wires by
+selecting them in the object browser or in the viewer holding Shift
+button.
+\n The \b Result will be a \b GEOM_Object (WIRE).
+
+\n <b>TUI Command:</b> <em>geompy.MakeWire(ListOfShape)</em>
+
+<b>Arguments:</b> Name + List of connected wires or edges.
+
+\n <b>Dialog Box:</b>
+
+\image html neo-obj3.png
+
+\n <b>Example:</b>
+
+\image html wiresn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of creation of
+\ref tui_creation_wire "Advanced Geometric Objects".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page create_wplane_page Working Plane
+
+Definition of a <b>Working Plane</b> is necessary for work with
+\ref create_sketcher_page "Sketcher".
+
+\n To create a <b>Working Plane</b> in the <b>Main Menu</b> select
+<b>New Entity - > Basic - > Working Plane</b>
+
+\n There is a number of algorithms to set the <b>Working Plane</b> and the
+Camera Position.
+
+\n Firstly, you can select a \b Plane, a <b>Planar Face</b> or a <b>Local Coordinate System</b> to be your <b>Working Plane</b>.
+\n <b>Arguments:</b> Name + 1 selection (face or planar face).
+
+\image html workplane4.png
+
+\n Secondly, you can define a <b>Working Plane</b> by two <b>Vectors</b>.
+\n <b>Arguments:</b> Name + 2 vectors.
+
+\image html workplane5.png
+
+\n Finally, you can select one of three basic projections of XYZ
+coordinate system to be your <b>Working Plane</b>.
+
+\image html workplane6.png
+
+<b>Reverse the plane normal</b> checkbox allows changing the direction
+of the working plane.
+
+<b>Example:</b> Working plane on the upper face of a box.
+
+\image html image36.gif
+<center>Normal Direction</center>
+
+\image html image47.gif
+<center>Reversed Direction</center>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page cut_operation_page Cut
+
+\n To produce a \b Cut operation in the <b>Main Menu</b> select <b>Operations - > Boolean - > Cut</b>
+
+\n This operation cuts a shape with another one.
+\n The \b Result will be a \b GEOM_Object (COMPOUND).
+\n <b>Arguments:</b> Name + 2 shapes.
+
+\n <b>Dialog Box:</b>
+
+\image html bool3.png
+
+\n <b>Example:</b>
+
+\image html fusesn1.png
+
+\image html cutsn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_cut "Boolean Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page display_mode_page Display Mode
+
+\n This option is relevant for viewing 3D objects. Wireframe mode means
+that you can see only edges of the object, while its shells remain
+transparent. Shading mode means that the shells are filled with color.
+
+\n To change the display mode right-click on this geometrical object
+in the viewer and from the pop-up menu select <b>Display mode -->
+Wireframe</b> or <b>Shading</b>.
+
+\n <b>TUI Command:</b> <em>gg.setDisplayMode(ID, Short)</em>
+
+\n <b>Examples:</b>
+
+\image html disp_mode1sn.png
+<center><em>Wireframe</em></center>
+
+\image html /disp_mode2sn.png
+<center><em>Shading</em></center>
+
+Our <b>TUI Scripts</b> provide you with useful examples of
+\ref tui_change_disp_mode "Changing Display Parameters".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page explode_on_blocks_operation_page Explode on Blocks
+
+\n To produce an <b>Explode on Blocks</b> operation in the <b>Main
+Menu</b> select <b>Operations - > Blocks - > Explode on Blocks</b>.
+
+\n This operation returns blocks of the given compound. The user may
+define the type of blocks to be extracted by setting the minimum and
+maximum number of faces in the target block. By checking the
+corresponding box the user may also interactively choose the blocks
+from a compound.
+
+\n The \b Result will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b> <em>geompy.MakeBlockExplode(Compound,
+MinNbFaces, MaxNbFaces),</em> where \em Compound is a compound to be
+exploded into the blocks, \em MinNbFaces, \em MaxNbFaces are correspondingly
+the minimal and the maximal number of faces of the resulting blocks.
+\n <b>Arguments:</b> 1 compound + 2 integers (min. and max. number of
+faces in the block to be extracted).
+
+\image html mtransf3.png
+
+\n <b>Example:</b>
+
+\image html block_explodesn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_explode_on_blocks "Blocks Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page fillet_operation_page Fillet
+
+\n To produce a \b Fillet in the <b>Main Menu</b> select
+<b>Operations - > Transformation - > Fillet</b>
+
+\n This operation creates fillets on the edges of a shape.
+\n The \b Result will be a \b GEOM_Object.
+
+\n To create fillets on all edges of the given shape, you need to
+define the <b>Main Object</b> to create a fillet on and the \b Radius of the
+Fillet.
+\n <b>TUI Command:</b> <em>geompy.MakeFilletAll(Shape, R)</em>
+\n <b>Arguments:</b> Name + 1 shape + 1 value (fillet radius).
+
+\image html fillet1.png
+
+\n To create fillets on the specified edges or faces of the given
+shape, you need to define the <b>Main Object</b> to create a fillet
+on, select the necessary edges or faces in the OCC Viewer and define
+the \b Radius of the Fillet.
+\n <b>TUI Command:</b> <em>geompy.MakeFillet(Shape, R, ShapeType, ListShapes)</em>
+\n <b>Arguments:</b> Name + 1 shape + 1 Selection of edges (or faces)
++ 1 value (Fillet radius).
+
+\image html fillet2.png
+
+\image html fillet3.png
+
+\n <b>Examples:</b>
+
+\image html fillet_all.png
+<center><em>Fillet on all</em></center>
+
+\image html fillet_edge.png
+<center><em>Fillet on an edge</em></center>
+
+\image html fillet_prism.png
+<center><em>Fillet on a Face</em></center>
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_fillet "Transformation Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page fuse_operation_page Fuse
+
+\n To produce a \b Fuse operation in the <b>Main Menu</b> select
+<b>Operations - > Boolean - > Fuse</b>
+
+\n This operation creates a shape from two shapes.
+
+\n The \b Result will be a \b GEOM_Object (COMPOUND).
+\n <b>Arguments:</b> Name + 2 shapes.
+\n <b>TUI Command:</b> <em>geompy.MakeFuse(s1, s2)</em>
+
+\image html bool1.png
+
+\n <b>Example:</b>
+
+\image html fusesn1.png
+
+\image html fusesn2.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_fuse "Boolean Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page geompy_page Python Interface geompy.py
+
+\n Please, see \ref geompyDC::geompyDC "documentation for geompy.py"
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page glue_faces_operation_page Glue Faces
+
+\n To <b>Glue Faces</b> in the <b>Main Menu</b> select <b>Repair - > Glue Faces</b>.
+
+\n This operation glues faces that are coincident with respect to the
+given tolerance value.
+
+\n The \b Result will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b> <em>geompy.MakeGlueFaces(theShape,
+theTolerance),</em> where \em theShape is a compound of shapes to be
+glued, \em theTolerance is a maximum distance between two faces, which can
+be considered as coincident.
+\n <b>Arguments:</b> Name + 1 Compound + Tolerance value.
+
+\image html glue1.png
+
+\n It is also possible to manually select the faces that will be
+glued - select the shape, specify the tolerance and press \b Detect button.
+
+\image html glue2.png
+
+\n \b Geometry module detects the faces where gluing can be performed and
+displays a notification.
+
+\image html glue3.png
+
+\n The faces that can be glued are colored in red. It is possible to
+select the faces for gluing in the 3D viewer. The selected faces will
+be marked in white.
+
+\n <b>Example:</b>
+
+\image html glue_faces1.png
+<center><em>Object that needs gluing</em></center>
+
+\image html glue_faces2.png
+<center><em>Glued object</em></center>
+
+\image html glue_faces3.png
+<center><em>Manual selection of faces for gluing</em></center>
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_glue_faces "Repairing Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page import_export_geom_obj_page Importing/exporting geometrical objects
+
+In Geometry module you can import and export geometrical objects
+from/into BREP, IGES, STEP files. The mechanisms of import and export
+are implemented via plug-ins, which gives you the opportunity to
+expand the range of available formats by adding more plug-ins (for
+example, CATIA 5).
+
+<em>To import geometrical objects from a BREP, IGES, STEP file:</em>
+
+\par
+From the \b File menu choose \b Import. In the opening dialog box \b Import
+select the required format of the file for importation and search for
+a *.brep, *.iges or *.step file.
+
+\image html geomimport.png
+
+\par
+Select the required file and click \b Open. Your file will be imported in
+the module and its contents (geometrical object) will be displayed in
+the <b>Object Browser</b>.
+
+\n <em>To export geometrical objects into a BREP, IGES, STEP
+file:</em>
+
+\par
+Select the object you wish to export, then from the \b File menu choose
+\b Export. In the opening dialog box \b Export define the required format,
+the name and the location of the file for exportation.
+
+\image html geomexport.png
+
+\par
+Click \b Save to confirm your exportation.
+
+*/
+
--- /dev/null
+/*!
+
+\mainpage Geometry Module Reference Documentation
+
+<ul>
+<li>\subpage introduction_page</li>
+<li>\subpage import_export_geom_obj_page</li>
+<li>\subpage create_geom_obj_page</li>
+<ul>
+<li>\ref create_basic_geom_obj_page</li>
+<ul>
+<li>\ref create_point_page</li>
+<li>\ref create_line_page</li>
+<li>\ref create_circle_page</li>
+<li>\ref create_ellipse_page</li>
+<li>\ref create_arc_page</li>
+<li>\ref create_curve_page</li>
+<li>\ref create_vector_page</li>
+<li>\ref create_plane_page</li>
+<li>\ref create_wplane_page</li>
+<li>\ref create_lcs_page</li>
+</ul>
+<li>\ref create_primitives_page</li>
+<ul>
+<li>\ref create_box_page</li>
+<li>\ref create_cylinder_page</li>
+<li>\ref create_sphere_page</li>
+<li>\ref create_torus_page </li>
+<li>\ref create_cone_page </li>
+</ul>
+<li>\ref create_complex_obj_page</li>
+<ul>
+<li>\ref create_extrusion_page</li>
+<li>\ref create_revolution_page</li>
+<li>\ref creaet_filling_page</li>
+<li>\ref create_extrusion_alongpath_page</li>
+</ul>
+<li>\ref work_with_groups_page</li>
+<li>\ref build_by_blocks_page</li>
+<li>\ref create_sketcher_page</li>
+<li>\ref create_adv_obj_page</li>
+<ul>
+<li>\ref create_explode_page</li>
+<li>\ref create_edge_page</li>
+<li>\ref create_wire_page</li>
+<li>\ref create_face_page</li>
+<li>\ref create_shell_page</li>
+<li>\ref create_solid_page</li>
+<li>\ref create_compound_page</li>
+</ul>
+</ul>
+<li>\subpage view_geom_obj_chapter_page</li>
+<ul>
+<li>\ref view_geom_obj_page</li>
+<li>\ref display_mode_page</li>
+<li>\ref color_page</li>
+<li>\ref transparency_page</li>
+<li>\ref isolines_page</li>
+</ul>
+<li>\subpage transform_geom_obj_page</li>
+<ul>
+<li>\ref basic_operations_page</li>
+<ul>
+<li>\ref partition_page</li>
+<li>\ref archimede_page</li>
+</ul>
+<li>\ref boolean_operations_page</li>
+<ul>
+<li>\ref using_boolean_operations_page</li>
+<li>\ref fuse_operation_page</li>
+<li>\ref common_operation_page</li>
+<li>\ref cut_operation_page</li>
+<li>\ref section_opeartion_page</li>
+</ul>
+<li>\ref transformation_operations_page</li>
+<ul>
+<li>\ref translation_operation_page</li>
+<li>\ref rotation_operation_page</li>
+<li>\ref modify_location_operation_page</li>
+<li>\ref mirror_operation_page</li>
+<li>\ref scale_operation_page</li>
+<li>\ref offset_operation_page</li>
+<li>\ref multi_translation_operation_page</li>
+<li>\ref multi_rotation_operation_page</li>
+<li>\ref fillet_operation_page</li>
+<li>\ref chamfer_operation_page</li>
+</ul>
+<li>\ref blocks_operations_page</li>
+<ul>
+<li>\ref multi_transformation_operation_page</li>
+<li>\ref explode_on_blocks_operation_page</li>
+<li>\ref propagate_operation_page</li>
+</ul>
+<li>\ref repairing_operations_page</li>
+<ul>
+<li>\ref shape_processing_operation_page</li>
+<li>\ref suppress_faces_operation_page</li>
+<li>\ref close_contour_operation_page</li>
+<li>\ref suppress_internal_wires_operation_page</li>
+<li>\ref suppress_holes_operation_page</li>
+<li>\ref sewing_operation_page</li>
+<li>\ref glue_faces_operation_page</li>
+<li>\ref add_point_on_edge_operation_page</li>
+<li>\ref check_free_boundaries_operation_page</li>
+<li>\ref check_free_faces_operation_page</li>
+<li>\ref change_orientation_operation_page</li>
+</ul>
+</ul>
+<li>\subpage using_measurement_tools_page</li>
+<li>\subpage geompy_page</li>
+<li>\subpage tui_scripts_page</li>
+<ul>
+<li>\ref tui_viewing_geom_objs_page</li>
+<li>\ref tui_creating_geom_objs_page</li>
+<ul>
+<li>\ref tui_basic_geom_objs_page</li>
+<li>\ref tui_primitives_page</li>
+<li>\ref tui_complex_objs_page</li>
+<li>\ref tui_working_with_groups_page</li>
+<li>\ref tui_building_by_blocks_page</li>
+<li>\ref tui_sketcher_page</li>
+<li>\ref tui_advanced_geom_objs_page</li>
+</ul>
+<li>\ref tui_transformation_page</li>
+<ul>
+<li>\ref tui_basic_operations_page</li>
+<li>\ref tui_boolean_operations_page</li>
+<li>\ref tui_transformation_operations_page</li>
+<li>\ref tui_blocks_operations_page</li>
+<li>\ref tui_repairing_operations_page</li>
+</ul>
+<li>\ref tui_measurement_tools_page</li>
+</ul>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page introduction_page Introduction to Geometry
+
+\b Geometry module of SALOME is destined for:
+<ul>
+<li>Import and export of geometrical models in IGES, BREP and STEP formats.</li>
+<li>Construction and optimization of geometrical models using a wide
+range of CAD functions:</li>
+<ul>
+<li>Creation of basic geometrical objects</li>
+<li>Construction of primitives</li>
+<li>Building shapes</li>
+<li>Generation of complex shapes</li>
+<li>Working with groups</li>
+<li>Geometrical repairing of objects</li>
+<li>Geometrical boolean operations</li>
+<li>Geometrical transformations</li>
+<li>Building by blocks</li>
+</ul>
+</ul>
+
+\image html image3.jpg
+
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page isolines_page Isolines
+
+\n In this menu you can change the number of isolines displayed within
+a shape.
+\n <b>Arguments:</b>2 values (number of isolines).
+
+\image html neo-isos.png
+
+\n <b>Example:</b>
+
+\image html colorsn.png
+
+\image html isos_u12_v12sn.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page mirror_operation_page Mirror Image
+
+\n To produce a <b>Mirror Image</b> in the <b>Main Menu</b> select
+<b>Operations - > Transformation - > Mirror Image</b>
+
+\n This operation creates a symmetrical copy of an \b Object, which
+can be mirrored in three different ways.
+\n <b>Create a copy</b> checkbox allows to keep the initial object,
+otherwise it will be removed.
+\n The \b Result will be a \b GEOM_Object.
+
+\n Firstly an \b Object can be mirrored through a \b Point of symmetry
+\n <b>TUI Command:</b> <em>geompy.MakeMirrorByPoint(Object, Point)</em>
+\n <b>Arguments:</b> Name + 1 shape + 1 vertex.
+
+\image html transformation7.png
+
+\image html mirror_pointsn1.png
+
+\image html mirror_pointsn2.png
+
+\n Secondly an \b Object can be mirrored through an \b Axis of
+symmetry
+\n <b>TUI Command:</b> <em>geompy.MakeMirrorByAxis(Object, Axis)</em>
+\n <b>Arguments:</b> Name + 1 shape + 1 vector.
+
+\image html transformation8.png
+
+\image html mirror_axissn1.png
+
+\image html mirror_axissn2.png
+
+\n Finally an \b Object can be mirrored through a \b Plane of symmetry
+\n <b>TUI Command:</b> <em>geompy.MakeMirrorByPlane(Shape, Plane)</em>
+\n <b>Arguments:</b> Name + 1 shape + 1 plane
+
+\image html transformation9.png
+
+\image html mirror_planesn1.png
+
+\image html mirror_planesn2.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_mirror "Transformation Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page modify_location_operation_page Modify the Location
+
+\n To <b>Modify the Location</b> in the <b>Main Menu</b> select
+<b>Operations - > Transformation - > Modify the Location</b>.
+
+\n This operation modifies the \b Location of an \b Object.
+
+\n The first algorithm places the object so that its center coincides
+with the center of an End Local Coordinate System.
+\n <b>Create a copy</b> checkbox allows to keep the initial object, otherwise it
+will be removed.
+\n <b>Arguments:</b> Name + 1 Object + End Coordinate System.
+
+\image html transformation5.png
+
+\n In the picture the initial cube with the global coordinate system
+is to the right and the modified cube with the Local Coordinate
+System in the center of it is to the left .
+
+\image html image30.gif
+
+\n The second algorithm modifies the location of an object using Start
+and End LSC, although the final position of the object will not
+coincide with the center of either of the two systems. In this method
+the object is shifted from its initial position by the value of the
+remainder after subtraction of the coordinates of the Start LSC from
+the coordinates of the End LSC.
+\n <b>Create a copy</b> checkbox allows to keep the initial object,
+otherwise it will be removed.
+\n <b>Arguments:</b> Name + 1 Object + Start Coordinate System + End
+Coordinate System.
+
+\image html transformation6.png
+
+In this picture we see the initial cube with the global coordinate
+system and two LCS: LocalCS1 (GCS+100 along x-axis) and LocalCS2
+(GCS+200 along x-axis)
+
+\image html image1.gif
+
+Selecting Start LCS = LCS1 and End LCS = LCS2, we obtain the
+translated cube at the position (100;0;0)
+
+\image html image2.gif
+
+Selecting Start LCS = LCS2 and End LCS = LCS1, we obtain the
+translated cube at the position (-100;0;0)
+
+\image html image4.gif
+
+\n <b>TUI Command:</b> <em>geompy.MakePosition(theObject, theStartLCS,
+theEndLCS),</em> where \em theObject is a shape, location of which is
+modified, \em theStartLCS is a location to move the shape from, \em
+theEndLCS is a location to move the shape to.
+
+\n Our <b>TUI Scripts</b> provide you with useful examples of the use
+of \ref tui_modify_location "Transformation Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page multi_rotation_operation_page Multi Rotation
+
+\n To produce a <b>Multi Rotation</b> in the <b>Main Menu</b> select
+<b>Operations - > Transformation - > Multi Rotation</b>
+
+\n This operation creates several geometrical objects rotated in one
+or two dimensions basing on the initial geometrical object.
+\n The \b Result will be one or several \b GEOM_Objects (compound).
+
+\n To produce a <b>Simple Multi Rotation</b> (in one dimension) you
+need to define a \b Shape to be rotated, an \b Axis of rotation and a
+<b>Number of Times</b> the shape must be rotated. <b>Rotation Angle</b> will
+be 2*PI/NbTimes
+\n <b>TUI Command:</b> <em>geompy.MultiRotate1D(Shape, Axis, NbTimes)</em>
+\n <b>Arguments:</b> Name + 1 shape + 1 vector for direction + 1 value
+(repetition).
+
+\b There is a <b>TUI</b>-only command
+<em>geompy.MakeMultiRotation1D(Shape, Dir, Point, NbTimes)</em> which works in
+the same way, but the Axis is defined by direction and point.
+
+\image html neo-mrot1.png
+
+\image html multi_rotation1d1.png
+
+\image html multi_rotation1d2.png
+
+\n <b>Double Multi Rotation</b> (in two dimensions) rotates the given
+\b Object around the given \b Axis on the given \b Angle a given
+<b>Number of Times</b> and multi-translates each rotation
+result. Translation direction passes through the center of gravity of
+the rotated shape and its projection on the rotation axis.
+\b Reverse checkbox allows to set the direction of rotation.
+\n <b>TUI Command:</b> <em>geompy.MultiRotate2D(Shape, Axis, Angle, NbTimes1, Step, NbTimes2)</em>
+\n <b>Arguments:</b> Name + 1 shape + 1 vector for direction + 1 angle
++ 1 value (repetition) + 1 step value + 1 value (repetition).
+
+There is a <b>TUI</b>-only command
+<em>geompy.MakeMultiRotation2D(Shape, Dir, Point, Angle, nbtimes1, Step,nbtimes2)</em>
+which works in the same way,
+but the Axis is defined by direction and point.
+
+\image html neo-mrot2.png
+
+\image html multi_rotation2d1.png
+
+\image html multi_rotation2d2.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_multi_rotation "Transformation Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page multi_transformation_operation_page Block Multi Transformation
+
+\n To produce a <b>Multi Transformation</b> operation in the <b>Main
+Menu</b> select <b>Operations - > Blocks - > Multi Transformation</b>
+
+\n This operation makes several translations of a block (solid) in one
+or two directions depending on the arguments specified by the user.
+\n The \b Result in both cases will be a \b GEOM_Object.
+
+<br><h2>Simple Multi Transformation (in one direction)</h2>
+
+\n <b>TUI Command:</b> <em> geompy. MakeMultiTransformation1D(Block,
+DirFaceID1, DirFaceID2, NbTimes),</em> where \em Block is a block to be
+transformed, \em DirFaceID1 is an ID of the face which defines the first
+direction of transformation, \em DirFaceID2 is an ID of the face which
+defines the second direction of transformation, \em NbTimes is a number of
+transformations.
+\n <b>Arguments:</b> Name + 1 hexahedral solid + 1 or 2 faces + 1
+integer (number of blocks).
+
+\image html mtransf1.png
+
+\image html multi_transformationsn1d.png
+
+<br><h2>Double Multi Transformation (in two directions)</h2>
+
+\n <b>TUI Command:</b> <em>geompy. MakeMultiTransformation2D(Block,
+DirFaceID1U, DirFaceID2U, NbTimesU, DirFaceID1V, DirFaceID2V,
+NbTimesV),</em> where \em Block is a block to be transformed, \em DirFaceID1U
+and \em DirFaceID2U are IDs of the faces, which define directions of the
+first transformation, \em DirFaceID1V and \em DirFaceID2V are ID's of the
+faces which define directions of the second transformation, \em NbTimesU
+and \em NbTimesV are numbers of transformations.
+\n <b>Arguments:</b> Name + 1 hexahedral solid + 2, 3 or 4 faces + 2
+integers (number of blocks).
+
+\image html mtransf2.png
+
+\image html multi_transformationsn2d.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_multi_transformation "Blocks Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page multi_translation_operation_page Multi Translation
+
+\n To produce a <b>Multi Translation</b> in the <b>Main Menu</b>
+select <b>Operations - > Transformation - > Multi Translation</b>
+
+\n This operation makes several translations of a shape in \b one or \b
+two directions.
+\n The \b Result will be one or several \b GEOM_Objects (compound).
+
+\n To produce a <b>Simple Multi Translation</b> (in one direction) you
+need to indicate a \b Shape to be translated, a \b Vector of
+translation, a \b Step of translation and a <b>Number of Times</b> the
+shape must be moved.
+\n <b>TUI Command:</b> <em>geompy.MakeMultiTranslation1D(Shape, Dir,
+Step, NbTimes)</em>
+\n <b>Arguments:</b> Name + 1 shape + 1 vector (for direction) + 1
+step value + 1 value (repetition).
+
+\image html mtrans1.png
+
+\image html multi_translation_initialsn.png
+
+\image html multi_translation1dsn.png
+
+\n To produce a <b>Double Multi Translation</b> (in two directions) you need to
+indicate a \b Shape to be translated and a \b Vector of translation, a
+\b Step of translation and a <b>Number of Times</b> the shape must be moved along
+each axis.
+
+\n <b>TUI Command:</b> <em>geompy.MakeMultiTranslation2D(Shape, Dir1,
+Step1, NbTimes1, Dir2, Step2, NbTimes2),</em> where \em Shape is a shape
+to be translated, \em Dir1 is the first direction of translation, \em Step1 of
+the first translation, \em NbTimes1 is a number of translations to be done
+along \em Dir1, \em Dir2 is the second direction of translation, \em Step2 of the
+second translation, \em NbTimes2 is a number of translations to be done
+along \em Dir2.
+\n <b>Arguments:</b> Name + 1 shape + 2 vectors defining the direction
++ 2 step values + 2 values (repetitions).
+
+\image html mtrans2.png
+
+\image html multi_translation_initialsn.png
+
+\image html multi_translation2dsn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_multi_translation "Transformation Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page offset_operation_page Offset Surface
+
+\n To produce an <b>Offset Surface</b> in the <b>Main Menu</b> select
+<b>Operations - > Transformation - > Offset Surface</b>
+
+\n This operation translates each point of an \b Object (a set of
+Objects) along a local normal by a given \b Offset distance (signed
+number, negative value meaning inner offset).
+\n \b Offset operation is applicable to faces, shells and solids.
+\n The \b Result will be a \b GEOM_Object
+\n <b>TUI Command:</b> <em>geompy.MakeOffset(Shape, Offset),</em>
+where Shape is a shape which has to be an offset, Offset is a value of
+the offset.
+\n <b>Arguments:</b> Name + Object (face, shell, solid, compound) +
+Offset value
+
+\image html transformation11.png
+
+\n <b>Example:</b>
+
+\image html offsetsn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_offset "Transformation Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page partition_page Partition
+
+\n To produce a \b Partition in the <b>Main Menu</b> select <b>Operations - > Partition</b>
+
+\n This operation builds a compound by intersection of several shapes with a tool object or a plane.
+\n The \b Result will be any \b GEOM_Object.
+
+<br><h2>Intersection of two shapes.</h2>
+
+\n As far as the intersection of two objects can produce any type of
+geometrical objects, <b>Reconstruction Limit</b> box allows choosing the
+preferrable result, i.e. a solid, a shell, a list of faces, etc.
+\n <b>TUI Command:</b> <em>geompy.MakePartition(ListOfShapes,
+ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs,
+ListOfMaterials),</em> where where \em ListOfShapes is a list of shapes to
+be intersected and \em ListOfTools is a list of shapes to intersect the
+shapes from ListOfShapes.
+\n Since the implementation of a new version of PartitionAlgo other
+parameters are ignored by the current functionality and remain there
+only to support the old scripts.
+\n <b>Arguments:</b> Name + 2 lists of shapes (the shapes from the
+first list will be intersected with the shapes from the second list) +
+reconstruction limit.
+
+\image html partition1.png
+
+<b>Keep nonlimit shapes</b> checkbox allows building geometrical objects of
+all types at the same time i.e. no reconstruction limit is applied.
+
+
+<br><h2>Intersection of a Shape and a Plane.</h2>
+
+\n <b>TUI Command:</b> <em> geompy.MakeHalfPartition(Shapes,
+Plane),</em> where \em Shapes are a list of Shapes to be intersected
+and \em Plane is a Tool shape, to intersect the \em Shapes.
+\n <b>Arguments:</b> Name + a list of shapes which will be intersected
++ 1 cutting plane.
+
+\image html partition2.png
+
+\n <b>Example:</b>
+
+\image html partitionsn1.png
+
+\image html partitionsn2.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_partition "Basic Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page propagate_operation_page Propagate
+
+\n To produce a \b Propagate operation in the <b>Main Menu</b> select
+<b>Operations - > Blocks - > Propagate</b>
+
+\n This operation breaks a multitude of edges of a shape into groups
+(builds all possible propagation groups).
+\n The \b Result will be a <b>List of GEOM_Objects</b>. Each Geom
+Object will contain a group of edges.
+
+\n <b>TUI Command:</b> <em>geompy.Propagate(Shape),</em> where \em Shape
+is a shape to build propagation groups on.
+\n <b>Arguments:</b> 1 Shape.
+
+\image html mtransf4.png
+
+\n <b>Example:</b>
+
+\image html image15.jpg
+
+\image html image16.jpg
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_propagate "Blocks Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page repairing_operations_page Repairing Operations
+
+<ul>
+<li>\subpage shape_processing_operation_page</li>
+<li>\subpage suppress_faces_operation_page</li>
+<li>\subpage close_contour_operation_page</li>
+<li>\subpage suppress_internal_wires_operation_page</li>
+<li>\subpage suppress_holes_operation_page</li>
+<li>\subpage sewing_operation_page</li>
+<li>\subpage glue_faces_operation_page</li>
+<li>\subpage add_point_on_edge_operation_page</li>
+<li>\subpage check_free_boundaries_operation_page</li>
+<li>\subpage check_free_faces_operation_page</li>
+<li>\subpage change_orientation_operation_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page rotation_operation_page Rotation
+
+\n To produce a \b Rotation in the <b>Main Menu</b> select
+<b>Operations - > Transformation - > Rotation</b>
+
+\n This operation \b rotates the initial shape.
+
+\n The first \b Rotation algorithm needs you to define an \b Object to
+be rotated, an \b Axis of rotation and an \b Angle of rotation.
+\n <b>TUI Command:</b> <em>geompy.MakeRotation(Shape, Axis, Angle)</em>
+\n <b>Arguments:</b> 1 shape + 1 vector for direction of rotation + 1
+angle.
+
+\image html transformation4.png
+
+\b Reverse checkbox allows to specify the direction of rotation.
+\n <b>Create a copy</b> checkbox allows to keep the initial object,
+otherwise it will be removed.
+\n The \b Result will be any \b GEOM_Object.
+
+\n The second algorithm allows to define the rotated \b Object by
+three points. Rotation axis will pass through the <b>Central Point</b>
+and will be will be orthogonal to a plane defned by three points. In
+this case rotation \b Angle is the angle between two vectors directed
+from the first point to the second and to the third.
+\n <b>TUI Command:</b> <em>geompy.MakeRotationThreePoints(Shape, CentralPoint, Point1, Point2)</em>
+\n <b>Arguments:</b> 1 shape + 3 points.
+
+\image html transformation4a.png
+
+\n <b>Example:</b>
+
+\image html rotationsn1.png
+
+\image html rotationsn2.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_rotation "Transformation Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page scale_operation_page Scale Transform
+
+\n To produce a <b>Scale Transform</b> in the <b>Main Menu</b> select
+<b>Operations - > Transformation - > Scale Transform</b>
+
+\n This operation creates a scaled shape basing on the initial
+shape. For this, you need to define the \b Shape to be scaled, the
+<b>Central Point</b> of scale and the Scale Factor.
+\n The \b Result will be a \b GEOM_Object.
+\n <b>TUI Command:</b> <em>geompy.MakeScaleTransform(Shape, CenterOfScale, Factor)</em>
+\n <b>Arguments:</b> Name + 1 shape(s) + 1 vertex + 1 Scale Factor.
+
+\image html transformation10.png
+
+\n <b>Example:</b>
+
+\image html scale_transformsn1.png
+
+\image html scale_transformsn2.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_scale "Transformation Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page section_opeartion_page Section
+
+\n To produce a \b Section operation in the <b>Main Menu</b> select
+<b>Operations - > Boolean - > Section</b>
+
+\n This operation creates the section between 2 shapes.
+
+\n The \b Result will be a \b GEOM_Object (COMPOUND).
+\n <b>TUI Command:</b> <em>geompy.MakeSection(s1, s2)</em>
+\n <b>Arguments:</b> Name + 2 shapes.
+
+\image html neo-section.png
+
+\n <b>Example:</b>
+
+\image html fusesn1.png
+
+\image html sectionsn.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_section "Boolean Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page sewing_operation_page Sewing
+
+\n To produce a \b Sewing operation in the <b>Main Menu</b> select <b>Repair - > Sewing</b>.
+
+\n This operation allows to sew several shapes.
+
+\n The \b Result will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b> <em>geompy.MakeSewing(ListOfShape, Precision),</em>
+ where \em ListOfShape is list of shapes to be sewed, \em Precision is a
+precision for sewing.
+
+\image html repair6.png
+
+\n <b>Arguments:</b> Name + 1 or more shapes + 1 value (sew
+precision).
+\n \b Detect button allows to display the number of free boundaries in
+your shape:
+
+\image html neo-detect2.png
+
+\n <b>Example:</b>
+
+\image html image112.jpg
+
+\image html image113.jpg
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_sewing "Repairing Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page shape_processing_operation_page Shape Processing
+
+\n To produce a <b>Shape Processing</b> operation in the <b>Main Menu</b>
+select <b>Repair - > Shape Processing</b>.
+\n This operation processes one or more shapes using various operators.
+
+\n The \b Result will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b> <em>geompy.ProcessShape(Shape, Operators,
+Parameters, Values),</em> where \em Shape is a processed shape, \em Operators
+is a list of operators ("FixShape", "SplitClosedFaces", etc.),
+\em Parameters is a list of parameters ("FixShape.Tolerance3d",
+etc), \em Values is a list of values of parameters placed in the same
+order as in the list of Parameters.
+
+\n In this dialog box you can select the object that you need to
+process, define its name and operators applied to it during
+processing.
+
+\image html repair1.png
+
+<b>Operators and Parameters</b> (TUI names are given in brackets):
+
+<ul>
+<li><b>Fix Shape</b> (FixShape) - corrects invalid shapes.</li>
+<ul>
+<li><b>3D Tolerance</b> (FixShape.Tolerance3d) - work tolerance for
+detection of the problems and correction of them.</li>
+<li><b>Max 3D Tolerance</b> (FixShape.MaxTolerance3d) - maximal
+possible tolerance of the shape after correction.</li>
+</ul>
+<li><b>Fix Face Size</b> (FixFaceSize) - removes small faces, such as
+spots and strips.</li>
+<ul>
+<li><b>Tolerance</b> (FixFaceSize.Tolerance) - defines minimum
+possible face size.</li>
+</ul>
+<li><b>Drop Small Edges</b> (DropSmallEdges) - removes edges, which
+merge with neighbouring edges.</li>
+<ul>
+<li><b>3D Tolerance</b> (DropSmallEdges.Tolerance3d) - defines minimum
+possible distance between two parallel edges.</li>
+</ul>
+<li><b>Split Angle</b> (SplitAngle) - splits faces based on conical
+surfaces, surfaces of revolution and cylindrical surfaces in segments
+using a certain angle.</li>
+<ul>
+<li><b>Angle</b> (SplitAngle.Angle) - the central angle of the
+resulting segments (i.e. we obtain two segments if Angle=180, four if
+Angle=90, etc).</li>
+<li><b>Max. Tolerance</b> (SplitAngle.MaxTolerance) - maximum possible
+tolerance among the resulting segments.</li>
+</ul>
+<li><b>Split Closed Faces</b> (SplitClosedFaces) - splits closed faces
+in segments. The number of segments depends on the number of splitting
+points.</li>
+<ul>
+<li><b>Number of splitting points</b> (SplitClosedFaces.NbSplitPoints) - the number of splitting points.</li>
+</ul>
+<li><b>Split Continuity</b> (SplitContinuity) - splits shapes to
+reduce continuities of curves and surfaces.</li>
+<ul>
+<li><b>3D Tolerance</b> (SplitContinuity.Tolerance3d) - 3D tolerance for correction of geometry.</li>
+<li><b>Surface Continuity</b> (SplitContinuity.SurfaceContinuity) - required continuity for surfaces.</li>
+<li><b>Curve Continuity</b> (SplitContinuity.CurveContinuity) - required continuity for curves.</li>
+</ul>
+\n This and the previous parameters can take the following values:
+\par
+<b>Parametric Continuity</b>
+\n \b C0 (Positional Continuity): curves are joined (the end positions
+of curves or surfaces are coincidental. The curves or surfaces may
+still meet at an angle, giving rise to a sharp corner or edge).
+\n \b C1 (Tangential Continuity): first derivatives are equal (the end
+vectors of curves or surfaces are parallel, ruling out sharp edges).
+\n \b C2 (Curvature Continuity): first and second derivatives are
+equal (the end vectors of curves or surfaces are of the same
+magnitude).
+\n \b CN N-th derivatives are equal (both the direction and the
+magnitude of the Nth derivatives of curves or surfaces (d/du C(u)) are
+the same at junction.
+\par
+<b>Geometric Continuity</b>
+\n \b G1: first derivatives are proportional at junction.
+\n The curve tangents thus have the same direction, but not necessarily
+the same magnitude. i.e., C1'(1) = (a,b,c) and C2'(0) = (k*a, k*b,
+k*c).
+\n \b G2: first and second derivatives are proportional at junction.
+\n As the names imply, geometric continuity requires the geometry to
+be continuous, while parametric continuity requires that the
+underlying parameterization was continuous as well.
+\n Parametric continuity of order n implies geometric continuity of
+order n, but not vice-versa.
+
+<li><b>Bspline Restriction</b> (BsplineRestriction) - converts curves
+and surfaces to Bsplines and processes them with the following
+parameters:</li>
+<ul>
+<li><b>Surface Mode</b> (BSplineRestriction.SurfaceMode) -
+approximation of surfaces if restriction is necessary.</li>
+<li><b>3D Curve Mode</b> (BSplineRestriction.Curve3dMode) - conversion
+of any 3D curve to BSpline and approximation.</li>
+<li><b>2D Curve Mode</b> (BSplineRestriction.Curve2dMode) - conversion
+of any 2D curve to BSpline and approximation.</li>
+<li><b>3D Tolerance</b> (BSplineRestriction.Tolerance3d) - defines the
+possibility of surfaces and 3D curves approximation with the specified
+parameters.</li>
+<li><b>2D Tolerance</b> (BSplineRestriction.Tolerance2d) - defines the
+possibility of surfaces and 2D curves approximation with the specified
+parameters.</li>
+<li><b>Required Degree</b> (BSplineRestriction.RequiredDegree) -
+required degree of the resulting BSplines.</li>
+<li><b>Required number of segments</b>
+(BSplineRestriction.RequiredNbSegments) - required maximum number of
+segments of resultant BSplines.</li>
+<li><b>3D Continuity</b> (BSplineRestriction.Continuity3d) -
+continuity of the resulting surfaces and 3D curves.</li>
+<li><b>2D Continuity</b> (BSplineRestriction.Continuity2d) -
+continuity of the resulting 2D curves.</li>
+</ul>
+<li><b>To Bezier</b> (ToBezier) - converts curves and surfaces of any
+type to Bezier curves and surfaces.</li>
+<ul>
+<li><b>Surface Mode</b> (ToBezier.SurfaceMode) - if checked in, allows
+conversion of surfaces.</li>
+<li><b>3D Curve Mode</b> (ToBezier.Curve3dMode) - if checked in,
+allows conversion of 2D curves.</li>
+<li><b>2D Curve Mode</b> (ToBezier.Curve2dMode) - if checked in,
+allows conversion of 3D curves.</li>
+<li><b>Max Tolerance</b> (ToBezier.MaxTolerance) - defines tolerance
+for detection and correction of problems.</li>
+</ul>
+<li><b>Same Parameter</b> (SameParameter) - fixes edges of 2D and 3D
+curves not having the same parameter.</li>
+<ul>
+<li><b>3D Tolerance</b> (SameParameter.Tolerance3d) - defines tolerance for fixing of edges.</li>
+</ul>
+</ul>
+
+\n <b>Example:</b>
+
+\image html image154.jpg
+<center><em>Shape before applying Shape Processing (FixShape
+operator). View # 1.</em></center>
+
+\image html image156.jpg
+<center><em>Shape before applying Shape Processing (FixShape
+operator). View # 2.</em></center>
+
+\image html image160.jpg
+<center><em>The same shape after applying Shape
+Processing.</em></center>
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_shape_processing "Repairing Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page suppress_faces_operation_page Suppress Faces
+
+\n To produce a <b>Suppress Faces</b> operation in the <b>Main
+Menu</b> select <b>Repair - > Suppress Faces</b>.
+
+\n This operation suppresses a face of a shape. This operation is
+available in <b>OCC Viewer</b> only.
+
+\n The \b Result will be a \b GEOM_Object (ListOfGeomShapes).
+
+\n <b>TUI Command:</b> <em>geompy.SuppressFaces(Shape, ListOfID),</em>
+where \em Shape is a shape to be processed, \em ListOfID is a list of faces
+ID's to be removed.
+\n <b>Arguments:</b> Name + Faces which should be removed (you can
+select them in the 3D viewer).
+
+\image html repair2.png
+
+\n <b>Example:</b>
+
+\image html suppress_faces1.png
+
+\image html suppress_faces2.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_suppress_faces "Repairing Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page suppress_holes_operation_page Suppress Holes
+
+\n To <b>Suppress Holes</b> in the <b>Main Menu</b> select <b>Repair - > Suppress Holes</b>.
+
+\n This operation removes holes on a selected shape. This operation is
+available in <b>OCC Viewer</b> only.
+
+\n The \b Result will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b> <em>geompy.SuppressHoles(Shape,
+ListOfWireID),</em> where \em Shape is a shape where holes must be
+removed, \em ListOfWireID is a list of wire sub shapes ID's. If it is
+empty, then all holes are removed.
+
+\image html repair5.png
+
+\n <b>Arguments:</b> Name + 1 shape + Wires which should be removed.
+\n <b>Remove all holes</b> checkbox allows to fill all holes of a definite shape.
+\n \b Detect button allows to display the number of free boundaries in
+your shape:
+
+\image html neo-detect2.png
+
+\n <b>Example:</b>
+
+\image html image109.jpg
+
+\image html image110.jpg
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_suppress_holes "Repairing Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page suppress_internal_wires_operation_page Suppress Internal Wires
+
+\n To <b>Suppress Internal Wires</b> in the <b>Main Menu</b> select
+<b>Repair - > Suppress Internal Wires</b>.
+
+\n This operation removes all internal wires or specified internal
+wires from user specified faces. This operation is available in <b>OCC
+Viewer</b> only.
+
+\n The \b Result will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b> <em>geompy.SuppressInternalWires(Shape, Wires),
+</em> where \em Shape is a shape where wires are to be removed, \em Wires is a
+list of wires ID's to be removed; if the list is empty then all
+internal wires are removed.
+
+<b>Arguments:</b>
+<ul>
+<li>Name of the resulting object</li>
+<li>User specified face</li>
+<li>User specified internal wires (lying on this face except for its
+boundary), or, in case the <b>Remove all internal wires</b> box is
+checked, all internal wires</li>
+</ul>
+
+\image html repair4.png
+
+\n <b>Example:</b>
+
+\image html supp_int_wires1.png
+
+\image html supp_int_wires2.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_suppress_internal_wires "Repairing Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page transformation_operations_page Transformation Operations
+
+<ul>
+<li>\subpage translation_operation_page</li>
+<li>\subpage rotation_operation_page</li>
+<li>\subpage modify_location_operation_page</li>
+<li>\subpage mirror_operation_page</li>
+<li>\subpage scale_operation_page</li>
+<li>\subpage offset_operation_page</li>
+<li>\subpage multi_translation_operation_page</li>
+<li>\subpage multi_rotation_operation_page</li>
+<li>\subpage fillet_operation_page</li>
+<li>\subpage chamfer_operation_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page transform_geom_obj_page Transforming geometrical objects
+
+<ul>
+<li>\subpage basic_operations_page</li>
+<ul>
+<li>\ref partition_page</li>
+<li>\ref archimede_page</li>
+</ul>
+<li>\subpage boolean_operations_page</li>
+<ul>
+<li>\ref using_boolean_operations_page</li>
+<li>\ref fuse_operation_page</li>
+<li>\ref common_operation_page</li>
+<li>\ref cut_operation_page</li>
+<li>\ref section_opeartion_page</li>
+</ul>
+<li>\subpage transformation_operations_page</li>
+<ul>
+<li>\ref translation_operation_page</li>
+<li>\ref rotation_operation_page</li>
+<li>\ref modify_location_operation_page</li>
+<li>\ref mirror_operation_page</li>
+<li>\ref scale_operation_page</li>
+<li>\ref offset_operation_page</li>
+<li>\ref multi_translation_operation_page</li>
+<li>\ref multi_rotation_operation_page</li>
+<li>\ref fillet_operation_page</li>
+<li>\ref chamfer_operation_page</li>
+</ul>
+<li>\subpage blocks_operations_page</li>
+<ul>
+<li>\ref multi_transformation_operation_page</li>
+<li>\ref explode_on_blocks_operation_page</li>
+<li>\ref propagate_operation_page</li>
+</ul>
+<li>\subpage repairing_operations_page</li>
+<ul>
+<li>\ref shape_processing_operation_page</li>
+<li>\ref suppress_faces_operation_page</li>
+<li>\ref close_contour_operation_page</li>
+<li>\ref suppress_internal_wires_operation_page</li>
+<li>\ref suppress_holes_operation_page</li>
+<li>\ref sewing_operation_page</li>
+<li>\ref glue_faces_operation_page</li>
+<li>\ref add_point_on_edge_operation_page</li>
+<li>\ref check_free_boundaries_operation_page</li>
+<li>\ref check_free_faces_operation_page</li>
+<li>\ref change_orientation_operation_page</li>
+</ul>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page translation_operation_page Translation
+
+\n To produce a \b Translation in the <b>Main Menu</b> select
+<b>Operations - > Transformation - > Translation</b>
+
+This Operation makes a translation of an \b Object. To translate a
+shape you need to define the base shape and the coordinates of the
+vector of translation. <b>Create a copy</b> checkbox allows to keep the
+initial object, otherwise it will be removed.
+\n The \b Result of all operations will be any \b GEOM_Object.
+
+\n Firstly you can define an \b Object and the vector coordinates along the
+axes.
+\n <b>TUI Command:</b> <em>geompy.MakeTranslation(Shape, DX, DY,
+DZ),</em> where Shape is a shape to be translated, DX, DY, DZ are
+components of translation vector.
+\n <b>Arguments:</b> Name + 1 shape + 3 values (coordinates).
+
+\image html transformation1.png
+
+\n Secondly you can define an \b Object and the start and the end points
+of the vector.
+\n <b>TUI Command:</b> <em>geompy.MakeTranslationTwoPoints(Object, Point1, Point2)</em>
+\n <b>Arguments:</b> Name + 1 shape + 2 vertices
+
+\image html transformation2.png
+
+\n Finally you can define an \b Object and the vector
+\n <b>TUI Command:</b> <em>geompy.MakeTranslationVector(Object, Vector)</em>
+\n <b>Arguments:</b> Name + 1 shape + 1 vector.
+
+\image html transformation3.png
+
+\n <b>Example:</b>
+
+\image html translationsn1.png
+
+\image html translationsn2.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_translation "Transformation Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page transparency_page Transparency
+
+\n You can change the transparency of a shape in the range between 0
+(absolutely opaque) and 1 (absolutely transparent and thus invisible)
+in the following dialog box.
+
+\image html neo-transparency.png
+
+or using a <b>TUI Command:</b> <em>gg.setTransparency(ID, Double)</em>
+
+\n <b>Examples:</b>
+
+\image html colorsn.png
+<center><em>Opaque</em></center>
+
+\image html transparencysn.png
+<center><em>50% Transparent</em></center>
+
+Our <b>TUI Scripts</b> provide you with useful examples of
+\ref tui_change_transparency "Changing Display Parameters".
+
+*/
+
--- /dev/null
+/*!
+
+\page tui_advanced_geom_objs_page Advanced Geometrical Objects
+
+\anchor tui_creation_edge
+<br><h2>Creation of an Edge</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p0 = geompy.MakeVertex(0. , 0. , 0. )
+pxyz = geompy.MakeVertex(100., 100., 100.)
+
+# create an edge
+edge = geompy.MakeEdge(p0, pxyz)
+
+# add object in the study
+id_edge = geompy.addToStudy(edge,"Edge")
+
+# display an edge
+gg.createAndDisplayGO(id_edge)
+\endcode
+
+\anchor tui_creation_wire
+<br><h2>Creation of a Wire</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+px = geompy.MakeVertex(100., 0. , 0. )
+py = geompy.MakeVertex(0. , 100., 0. )
+pz = geompy.MakeVertex(0. , 0. , 100.)
+
+# create a vector from two points
+vxy = geompy.MakeVector(px, py)
+
+# create an arc from three points
+arc = geompy.MakeArc(py, pz, px)
+
+# create a wire
+wire = geompy.MakeWire([vxy, arc])
+
+# add an object in the study
+id_wire = geompy.addToStudy(wire,"Wire")
+
+# display the wire
+gg.createAndDisplayGO(id_wire)
+\endcode
+
+\anchor tui_creation_face
+<br><h2>Creation of a Face</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p0 = geompy.MakeVertex(0. , 0. , 0. )
+px = geompy.MakeVertex(100., 0. , 0. )
+py = geompy.MakeVertex(0. , 100., 0. )
+pz = geompy.MakeVertex(0. , 0. , 100.)
+pxyz = geompy.MakeVertex(100., 100., 100.)
+
+# create a vector from two points
+vxy = geompy.MakeVector(px, py)
+
+# create an arc from three points
+arc = geompy.MakeArc(py, pz, px)
+
+# create a wire
+wire = geompy.MakeWire([vxy, arc])
+
+# create sketchers
+sketcher1 = geompy.MakeSketcher("Sketcher:F -100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WW",
+ [100,0,0, 1,1,1, -1,1,0])
+sketcher2 = geompy.MakeSketcher("Sketcher:F 0 0:TT 70 0:TT 70 70:TT 0 70:WW")
+sketcher3 = geompy.MakeSketcher("Sketcher:F 20 20:TT 50 20:TT 50 50:TT 20 50:WW")
+isPlanarFace = 1
+
+# create a face from the wire
+face1 = geompy.MakeFace(wire, isPlanarFace)
+
+# create faces from two wires
+face2 = geompy.MakeFaceWires([wire, sketcher1],isPlanarFace)
+face3 = geompy.MakeFaces([sketcher2, sketcher3],isPlanarFace)
+
+# add objects in the study
+id_face1 = geompy.addToStudy(face1,"Face1")
+id_face2 = geompy.addToStudy(face2,"Face2")
+id_face3 = geompy.addToStudy(face3,"Face3")
+
+# display the faces
+gg.createAndDisplayGO(id_face1)
+gg.setDisplayMode(id_face1,1)
+gg.setTransparency(id_face1,0.2)
+gg.createAndDisplayGO(id_face2)
+gg.setDisplayMode(id_face2,1)
+gg.setTransparency(id_face2,0.2)
+gg.createAndDisplayGO(id_face3)
+gg.setDisplayMode(id_face3,1)
+gg.setTransparency(id_face3,0.2)
+\endcode
+
+\anchor tui_creation_shell
+<br><h2>Creation of a Shell</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+#create vertices
+p0 = geompy.MakeVertex( 0., 0., 0.)
+pxyz = geompy.MakeVertex( 5., 5., 40.)
+
+# create sketchers
+sketcher1 = geompy.MakeSketcher("Sketcher:F 0 0:TT 70 0:TT 70 70:TT 0 70:WW")
+sketcher2 = geompy.MakeSketcher("Sketcher:F 20 20:TT 50 20:TT 50 50:TT 20 50:WW")
+isPlanarFace = 1
+
+# create a face from two wires
+face = geompy.MakeFaces([sketcher1, sketcher2],isPlanarFace)
+
+# create a prism
+prism = geompy.MakePrism(face, p0, pxyz)
+
+# explode the prism into faces
+prism_faces = geompy.SubShapeAllSorted(prism, geompy.ShapeType["FACE"])
+
+# create a shell from a set of faces
+shell = geompy.MakeShell([prism_faces[0], prism_faces[2], prism_faces[3],
+ prism_faces[7], prism_faces[9]])
+
+# add objects in the study
+id_shell = geompy.addToStudy(shell,"Shell")
+
+# display the shell
+gg.createAndDisplayGO(id_shell)
+gg.setDisplayMode(id_shell,1)
+\endcode
+
+\anchor tui_creation_solid
+<br><h2>Creation of a Solid</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+#create vertices
+p0 = geompy.MakeVertex( 0., 0., 0.)
+pz = geompy.MakeVertex( 0., 0., 40.)
+
+# create sketchers
+sketcher = geompy.MakeSketcher("Sketcher:F -50 -50:TT 100 -50:R 0:C 50 70:R 0:L 100:WW")
+
+# create faces from two wires
+face = geompy.MakeFace(sketcher,1)
+
+# create a prism
+prism = geompy.MakePrism(face, p0, pz)
+
+# explode the prism into faces
+prism_faces = geompy.SubShapeAllSorted(prism, geompy.ShapeType["FACE"])
+
+# create a shell from a set of faces
+shell = geompy.MakeShell([prism_faces[0], prism_faces[1],
+ prism_faces[3], prism_faces[4],
+ prism_faces[5], prism_faces[2]])
+
+# create a solid, bounded by the given shells
+solid = geompy.MakeSolid([shell])
+
+# add objects in the study
+id_solid = geompy.addToStudy(solid,"Solid")
+
+# display the solid
+gg.createAndDisplayGO(id_solid)
+gg.setDisplayMode(id_solid,1)
+\endcode
+
+\anchor tui_creation_compound
+<br><h2>Creation of a Compound</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex( -30., -30., 50.)
+p2 = geompy.MakeVertex( -60., -60., 30.)
+p3 = geompy.MakeVertex( -30., -30., 10.)
+
+# create an arc from three points
+arc = geompy.MakeArc(p1, p2, p3)
+ShapeListCompound = []
+i = 0
+while i <= 3 :
+ S = geompy.MakeTranslation(arc, i * 50., 0., 0.)
+ ShapeListCompound.append(S)
+ i = i + 1
+
+# create a compund of the given shapes
+compound = geompy.MakeCompound(ShapeListCompound)
+
+# add object in the study
+id_compound = geompy.addToStudy(compound,"Compound")
+
+# display the compound
+gg.createAndDisplayGO(id_compound)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_basic_geom_objs_page Basic Geometrical Objects
+
+\anchor tui_creation_point
+<br><h2>Creation of a Point</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p0 = geompy.MakeVertex(0., 0., 0.)
+p100 = geompy.MakeVertexWithRef(p0, 100., 100., 100.)
+px = geompy.MakeVertex(100., 0., 0.)
+py = geompy.MakeVertex(0., 100., 0.)
+pz = geompy.MakeVertex(0., 0., 100.)
+
+# create a curve and a vertex on it
+Arc = geompy.MakeArc(py, pz, px)
+p_on_arc = geompy.MakeVertexOnCurve(Arc, 0.25)
+
+# add objects in the study
+id_p0 = geompy.addToStudy(p0, "Vertex 0")
+id_p100 = geompy.addToStudy(p100, "Vertex 100")
+id_px = geompy.addToStudy(px, "Vertex X")
+id_py = geompy.addToStudy(py, "Vertex Y")
+id_pz = geompy.addToStudy(pz, "Vertex Z")
+id_Arc = geompy.addToStudy(Arc, "Arc")
+id_p_on_arc = geompy.addToStudy(p_on_arc, "Vertex on Arc")
+
+# display vertices
+gg.createAndDisplayGO(id_p0)
+gg.createAndDisplayGO(id_p100)
+gg.createAndDisplayGO(id_Arc)
+gg.createAndDisplayGO(id_p_on_arc)
+\endcode
+
+\anchor tui_creation_line
+<br><h2>Creation of a Line</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p0 = geompy.MakeVertex(0., 0., 0.)
+p100 = geompy.MakeVertexWithRef(p0, 100., 100., 100.)
+px = geompy.MakeVertex(100., 0. , 0. )
+py = geompy.MakeVertex(0. , 100., 0. )
+pz = geompy.MakeVertex(0. , 0. , 100.)
+
+# create a vector from two points
+vxy = geompy.MakeVector(px, py)
+
+# create a line from a point and a vector
+line1 = geompy.MakeLine(pz, vxy)
+
+#create a line from two points
+line2 = geompy.MakeLineTwoPnt(p0, p100)
+
+# add objects in the study
+id_vxy = geompy.addToStudy(vxy, "Vector")
+id_line1 = geompy.addToStudy(line1,"Line1")
+id_line2 = geompy.addToStudy(line2,"Line2")
+
+# display lines
+gg.createAndDisplayGO(id_vxy)
+gg.createAndDisplayGO(id_line1)
+gg.createAndDisplayGO(id_line2)
+\endcode
+
+\anchor tui_creation_circle
+<br><h2>Creation of a Circle</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p0 = geompy.MakeVertex(0., 0., 0.)
+px = geompy.MakeVertex(100., 0. , 0. )
+py = geompy.MakeVertex(0. , 100., 0. )
+pz = geompy.MakeVertex(0. , 0. , 100.)
+
+# create a vector on two points
+vxy = geompy.MakeVector(px, py)
+
+# create a circle from a point, a vector and a radius
+circle1 = geompy.MakeCircle(pz, vxy, 30)
+
+#create a circle from three points
+circle2 = geompy.MakeCircleThreePnt(p0, px, py)
+
+# add objects in the study
+id_vxy = geompy.addToStudy(vxy, "Vector")
+id_circle1 = geompy.addToStudy(circle1,"Circle1")
+id_circle2 = geompy.addToStudy(circle2,"Circle2")
+
+# display circles
+gg.createAndDisplayGO(id_vxy)
+gg.createAndDisplayGO(id_circle1)
+gg.createAndDisplayGO(id_circle2)
+\endcode
+
+\anchor tui_creation_ellipse
+<br><h2>Creation of an Ellipse</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p0 = geompy.MakeVertex(0., 0., 0.)
+p50 = geompy.MakeVertex(50., 50., 50.)
+
+# create a vector from two points
+vector = geompy.MakeVector(p0, p50)
+
+# create an ellipse from a point, a vector and radiuses
+ellipse = geompy.MakeEllipse(p50, vector, 50, 25)
+
+# add objects in the study
+id_vector = geompy.addToStudy(vector, "Vector")
+id_ellipse = geompy.addToStudy(ellipse,"Ellipse")
+
+# display the ellipse and its normal vector
+gg.createAndDisplayGO(id_vector)
+gg.createAndDisplayGO(id_ellipse)
+\endcode
+
+\anchor tui_creation_curve
+<br><h2>Creation of a Curve</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p0 = geompy.MakeVertex(0. , 0. , 0. )
+p1 = geompy.MakeVertex(50. , 100., 200.)
+p2 = geompy.MakeVertex(150., 50., 100.)
+p3 = geompy.MakeVertex(100., 150., 170.)
+p4 = geompy.MakeVertex(200., 200., 150.)
+
+# create a polyline from a list of points
+polyline = geompy.MakePolyline([p0, p1, p2, p3, p4])
+
+# create a bezier curve from a list of points
+bezier = geompy.MakeBezier([p0, p1, p2, p3, p4])
+
+#create a b-spline curve from a list of points
+interpol = geompy.MakeInterpol([p0, p1, p2, p3, p4])
+
+# add objects in the study
+id_p0 = geompy.addToStudy(p0, "Point1")
+id_p1 = geompy.addToStudy(p1, "Point2")
+id_p2 = geompy.addToStudy(p2, "Point3")
+id_p3 = geompy.addToStudy(p3, "Point4")
+id_p4 = geompy.addToStudy(p4, "Point5")
+id_polyline = geompy.addToStudy(polyline, "Polyline")
+id_bezier = geompy.addToStudy(bezier, "Bezier")
+id_interpol = geompy.addToStudy(interpol, "Interpol")
+
+# display the points and the curves
+gg.createAndDisplayGO(id_p0)
+gg.createAndDisplayGO(id_p1)
+gg.createAndDisplayGO(id_p2)
+gg.createAndDisplayGO(id_p3)
+gg.createAndDisplayGO(id_p4)
+gg.createAndDisplayGO(id_polyline)
+gg.createAndDisplayGO(id_bezier)
+gg.createAndDisplayGO(id_interpol)
+\endcode
+
+\anchor tui_creation_vector
+<br><h2>Creation of a Vector</h2>
+
+\code
+mport geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p1 = geompy.MakeVertex(10., 50., 20.)
+p2 = geompy.MakeVertex(70., 70., 70.)
+
+# create a vector from two points
+vector1 = geompy.MakeVector(p1, p2)
+
+# create a vector from the given components
+vector2 = geompy.MakeVectorDXDYDZ(30, 30, 100)
+
+# add objects in the study
+id_p1 = geompy.addToStudy(p1, "Point1")
+id_p2 = geompy.addToStudy(p2, "Point2")
+id_vector1 = geompy.addToStudy(vector1,"Vector1")
+id_vector2 = geompy.addToStudy(vector2,"Vector2")
+
+# display the points and the vectors
+gg.createAndDisplayGO(id_p1)
+gg.createAndDisplayGO(id_p2)
+gg.createAndDisplayGO(id_vector1)
+gg.createAndDisplayGO(id_vector2)
+\endcode
+
+\anchor tui_creation_plane
+<br><h2>Creation of a Plane</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p1 = geompy.MakeVertex( 0., 0., 100.)
+p2 = geompy.MakeVertex(100., 0., 0.)
+p3 = geompy.MakeVertex(200., 200., 200.)
+p4 = geompy.MakeVertex(100., 100., 0.)
+p5 = geompy.MakeVertex(0. , 100., 0.)
+
+# create a vector from the given components
+vector = geompy.MakeVectorDXDYDZ(100., 100., 100.)
+
+# create a vector from two points
+vector_arc = geompy.MakeVector(p2, p5)
+
+# create an arc from three points
+arc = geompy.MakeArc(p2, p4, p5)
+
+# create a wire
+wire = geompy.MakeWire([vector_arc, arc])
+
+# create a face
+isPlanarWanted = 1
+face = geompy.MakeFace(wire, isPlanarWanted)
+trimsize = 1000.
+
+# create a plane from a point, a vector and a trimsize
+plane1 = geompy.MakePlane(p1, vector, trimsize)
+
+# create a plane from three points and a trimsize
+plane2 = geompy.MakePlaneThreePnt(p1, p2, p3, trimsize)
+
+# create a plane from the given face
+plane3 = geompy.MakePlaneFace(face, trimsize)
+
+# add objects in the study
+id_face = geompy.addToStudy(face, "Face")
+id_plane1 = geompy.addToStudy(plane1,"Plane1")
+id_plane2 = geompy.addToStudy(plane2,"Plane2")
+id_plane3 = geompy.addToStudy(plane3,"Plane3")
+
+# display the points and the vectors
+gg.createAndDisplayGO(id_face)
+gg.createAndDisplayGO(id_plane1)
+gg.createAndDisplayGO(id_plane2)
+gg.createAndDisplayGO(id_plane3)
+gg.setDisplayMode(id_plane1,1)
+gg.setTransparency(id_plane1,0.5)
+gg.setDisplayMode(id_plane2,1)
+gg.setTransparency(id_plane2,0.5)
+gg.setDisplayMode(id_plane3,1)
+gg.setTransparency(id_plane3,0.5)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_basic_operations_page Basic Operations
+
+\anchor tui_partition
+<br><h2>Partition</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p0 = geompy.MakeVertex( 0., 0., 0.)
+p200 = geompy.MakeVertex(200., 200., 200.)
+pz = geompy.MakeVertex( 0., 0., 100.)
+
+# create a vector
+vxyz = geompy.MakeVectorDXDYDZ(100., 100., 100.)
+
+# create a box from two points
+box = geompy.MakeBoxTwoPnt(p0, p200)
+
+# create a plane
+trimsize = 500.
+plane = geompy.MakePlane(pz, vxyz, trimsize)
+
+# create partition objects
+partition1 = geompy.MakePartition([box], [plane])
+partition2 = geompy.Partition([box], [plane])
+partition3 = geompy.MakeHalfPartition(box, plane)
+
+# add objects in the study
+id_box = geompy.addToStudy(box,"Box")
+id_plane = geompy.addToStudy(plane,"Plane")
+id_partition1 = geompy.addToStudy(partition1,"MakePartition")
+id_partition2 = geompy.addToStudy(partition2,"Partition")
+id_partition3 = geompy.addToStudy(partition3,"MakeHalfPartition")
+
+# display the partition objects and the plane
+gg.createAndDisplayGO(id_box)
+gg.setDisplayMode(id_box,1)
+gg.createAndDisplayGO(id_plane)
+gg.setDisplayMode(id_plane,1)
+gg.createAndDisplayGO(id_partition1)
+gg.createAndDisplayGO(id_partition2)
+gg.createAndDisplayGO(id_partition3)
+\endcode
+
+\anchor tui_archimede
+<br><h2>Archimede</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p0 = geompy.MakeVertex( 0., 0., 0.)
+p200 = geompy.MakeVertex(200., 200., 200.)
+
+# create a box from two points
+box = geompy.MakeBoxTwoPnt(p0, p200)
+
+# perform an Archimede operation on the selected shape with selected parameters
+weight = 1000000.
+waterdensity = 1.
+meshingdeflection = 0.01
+archimede = geompy.Archimede(box, weight, waterdensity, meshingdeflection)
+
+# add objects in the study
+id_box = geompy.addToStudy(box,"Box")
+id_archimede = geompy.addToStudy(archimede,"Archimede")
+
+# display the box and the result of Archimede operation
+gg.createAndDisplayGO(id_box)
+gg.setDisplayMode(id_box,1)
+gg.createAndDisplayGO(id_archimede)
+gg.setDisplayMode(id_archimede,1)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_blocks_operations_page Blocks Operations
+
+\anchor tui_multi_transformation
+<br><h2>Multi Transformation</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p_25_25_50 = geompy.MakeVertex(25., 25., 50.)
+p_50_25_25 = geompy.MakeVertex(50., 25., 25.)
+p_25_50_25 = geompy.MakeVertex(25., 50., 25.)
+
+box = geompy.MakeBoxDXDYDZ(50, 50, 50)
+
+top_face = geompy.GetFaceNearPoint(box, p_25_25_50)
+yz_face = geompy.GetFaceNearPoint(box, p_50_25_25)
+xz_face = geompy.GetFaceNearPoint(box, p_25_50_25)
+
+top_face_ind = geompy.GetSubShapeID(box, top_face)
+yz_face_ind = geompy.GetSubShapeID(box, yz_face)
+xz_face_ind = geompy.GetSubShapeID(box, xz_face)
+
+# Multi-transformate block and glue the result
+box_tr1 = geompy.MakeMultiTransformation1D(box, yz_face_ind, top_face_ind, 3)
+box_tr2 = geompy.MakeMultiTransformation2D(box, xz_face_ind, yz_face_ind, 3, top_face_ind, 0, 2)
+
+# add objects in the study
+id_box = geompy.addToStudy(box, "Box")
+id_box_tr1 = geompy.addToStudy(box_tr1, "Multi-transformed Block 1D")
+id_box_tr2 = geompy.addToStudy(box_tr2, "Multi-transformed Block 2D")
+
+# display the results
+gg.createAndDisplayGO(id_box)
+gg.setDisplayMode(id_box,1)
+gg.createAndDisplayGO(id_box_tr1)
+gg.createAndDisplayGO(id_box_tr2)
+\endcode
+
+\anchor tui_explode_on_blocks
+<br><h2>Explode on Blocks</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a box and a sphere
+box = geompy.MakeBoxDXDYDZ(200, 200, 200)
+sphere = geompy.MakeSphereR(100)
+
+# make a compound
+compound = geompy.MakeCompound([box, sphere])
+
+# get all the blocks of the given compound, by criteria: min_nb_faces <= nb. of faces <= max_nb_faces
+min_nb_faces = 6
+max_nb_faces = 6
+make_block_explode = geompy.MakeBlockExplode(compound, min_nb_faces, max_nb_faces)
+
+# add objects in the study
+id_compound = geompy.addToStudy(compound, "Compound")
+id_make_block_explode = geompy.addToStudyInFather(compound, make_block_explode[0], "MakeBlockExplode")
+
+# display the results
+gg.createAndDisplayGO(id_compound)
+gg.createAndDisplayGO(id_make_block_explode)
+gg.setDisplayMode(id_make_block_explode,1)
+\endcode
+
+\anchor tui_propagate
+<br><h2>Propagate</h2>
+
+\code
+import geompy
+import salome
+
+# create a box
+box = geompy.MakeBoxDXDYDZ(200, 200, 200)
+
+# build all possible propagation groups
+listChains = geompy.Propagate(check_box)
+
+# add objects in the study
+geompy.addToStudy(check_box, "Box")
+ii = 1
+for chain in listChains:
+ geompy.addToStudyInFather(check_box, chain, "propagation chain " + `ii`)
+ ii = ii + 1
+ pass
+
+salome.sg.updateObjBrowser(1)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_boolean_operations_page Boolean Operations
+
+\anchor tui_fuse
+<br><h2>Fuse</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(25, 55, 0)
+p2 = geompy.MakeVertex( 0, 0, 0)
+v = geompy.MakeVector(p1, p2)
+
+# create a cylinder
+height = 35
+radius1 = 20
+cylinder = geompy.MakeCylinder(p1, v, radius1, height)
+
+# create a sphere
+sphere = geompy.MakeSphereR(40)
+
+# fuse
+fuse = geompy.MakeFuse(cylinder, sphere)
+
+# add objects in the study
+id_cylinder = geompy.addToStudy(cylinder, "Cylinder")
+id_sphere = geompy.addToStudy(sphere, "Sphere")
+id_fuse = geompy.addToStudy(fuse, "Fuse")
+
+# display results
+gg.createAndDisplayGO(id_cylinder)
+gg.setDisplayMode(id_cylinder,1)
+gg.createAndDisplayGO(id_sphere)
+gg.setDisplayMode(id_sphere,1)
+gg.createAndDisplayGO(id_fuse)
+gg.setDisplayMode(id_fuse,1)
+\endcode
+
+\anchor tui_common
+<br><h2>Common</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(25, 55, 0)
+p2 = geompy.MakeVertex( 0, 0, 0)
+v = geompy.MakeVector(p1, p2)
+
+# create a cylinder
+height = 35
+radius1 = 20
+cylinder = geompy.MakeCylinder(p1, v, radius1, height)
+
+# create a sphere
+sphere = geompy.MakeSphereR(40)
+
+# make common
+common = geompy.MakeCommon(cylinder, sphere)
+
+# add objects in the study
+id_common = geompy.addToStudy(common, "Common")
+
+# display the results
+gg.createAndDisplayGO(id_common)
+gg.setDisplayMode(id_common,1)
+\endcode
+
+\anchor tui_cut
+<br><h2>Cut</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(25, 55, 0)
+p2 = geompy.MakeVertex( 0, 0, 0)
+v = geompy.MakeVector(p1, p2)
+
+# create a cylinder
+height = 35
+radius1 = 20
+cylinder = geompy.MakeCylinder(p1, v, radius1, height)
+
+# create a sphere
+sphere = geompy.MakeSphereR(40)
+
+#cut
+cut = geompy.MakeCut(cylinder, sphere)
+
+# add objects in the study
+id_cut = geompy.addToStudy(cut, "Cut")
+
+# display the results
+gg.createAndDisplayGO(id_cut)
+gg.setDisplayMode(id_cut,1)
+\endcode
+
+\anchor tui_section
+<br><h2>Section</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(25, 55, 0)
+p2 = geompy.MakeVertex( 0, 0, 0)
+v = geompy.MakeVector(p1, p2)
+
+# create a cylinder
+height = 35
+radius1 = 20
+cylinder = geompy.MakeCylinder(p1, v, radius1, height)
+
+# create a sphere
+sphere = geompy.MakeSphereR(40)
+
+# make a section
+section = geompy.MakeSection(cylinder, sphere)
+
+# add objects in the study
+id_section = geompy.addToStudy(section, "Section")
+
+# display the results
+gg.createAndDisplayGO(id_section)
+gg.setDisplayMode(id_section,1)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_building_by_blocks_page Building by Blocks
+
+<br><h2>Quadrangle Face</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p1 = geompy.MakeVertex( 0., 0., 0.)
+p2 = geompy.MakeVertex(150., 30., 0.)
+p3 = geompy.MakeVertex( 0., 120., 50.)
+p4 = geompy.MakeVertex( 0., 40., 70.)
+
+# create edges
+edge1 = geompy.MakeEdge(p1, p2)
+edge2 = geompy.MakeEdge(p2, p3)
+edge3 = geompy.MakeEdge(p3, p4)
+edge4 = geompy.MakeEdge(p4, p1)
+
+# create a quadrangle face from four edges
+qface1 = geompy.MakeQuad(edge1, edge2, edge3, edge4)
+
+# create a quadrangle face from two edges
+qface2 = geompy.MakeQuad2Edges(edge1, edge3)
+
+# create a quadrangle from four points in its corners
+qface3 = geompy.MakeQuad4Vertices(p1, p2, p3, p4)
+
+# add objects in the study
+id_p1 = geompy.addToStudy(p1,"Point1")
+id_p2 = geompy.addToStudy(p2,"Point2")
+id_p3 = geompy.addToStudy(p3,"Point3")
+id_p4 = geompy.addToStudy(p4,"Point4")
+id_edge1 = geompy.addToStudy(edge1,"Edge1")
+id_edge2 = geompy.addToStudy(edge2,"Edge2")
+id_edge3 = geompy.addToStudy(edge3,"Edge3")
+id_edge4 = geompy.addToStudy(edge4,"Edge4")
+id_qface1 = geompy.addToStudy(qface1,"Qface1")
+id_qface2 = geompy.addToStudy(qface2,"Qface2")
+id_qface3 = geompy.addToStudy(qface3,"Qface3")
+
+# display the vertices, the edges and the quadrangle faces
+gg.createAndDisplayGO(id_p1)
+gg.createAndDisplayGO(id_p2)
+gg.createAndDisplayGO(id_p3)
+gg.createAndDisplayGO(id_p4)
+gg.createAndDisplayGO(id_edge1)
+gg.createAndDisplayGO(id_edge2)
+gg.createAndDisplayGO(id_edge3)
+gg.createAndDisplayGO(id_edge4)
+gg.createAndDisplayGO(id_qface1)
+gg.setDisplayMode(id_qface1,1)
+gg.createAndDisplayGO(id_qface2)
+gg.setDisplayMode(id_qface2,1)
+gg.createAndDisplayGO(id_qface3)
+gg.setDisplayMode(id_qface3,1)
+\endcode
+
+<br><h2>Hexagonal Solid</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p0 = geompy.MakeVertex( 0., 0., 0.)
+p1 = geompy.MakeVertex( 0., 0., 40.)
+p2 = geompy.MakeVertex( 70., -15., 0.)
+p3 = geompy.MakeVertex( 70., -15., 70.)
+
+p4 = geompy.MakeVertex( 0., 70., 0.)
+p5 = geompy.MakeVertex( 0., 70., 40.)
+p6 = geompy.MakeVertex( 70., 70., 0.)
+p7 = geompy.MakeVertex( 70., 70., 70.)
+
+p8 = geompy.MakeVertex( 0., -50., 0.)
+p9 = geompy.MakeVertex( 0., -50., 40.)
+p10 = geompy.MakeVertex( 70., -35., 0.)
+p11 = geompy.MakeVertex( 70., -35., 70.)
+
+# create faces
+qface1 = geompy.MakeQuad4Vertices(p0, p1, p2, p3)
+qface2 = geompy.MakeQuad4Vertices(p4, p5, p6, p7)
+qface3 = geompy.MakeQuad4Vertices(p0, p1, p4, p5)
+qface4 = geompy.MakeQuad4Vertices(p2, p3, p6, p7)
+qface5 = geompy.MakeQuad4Vertices(p0, p2, p4, p6)
+qface6 = geompy.MakeQuad4Vertices(p1, p3, p5, p7)
+qface7 = geompy.MakeQuad4Vertices(p8, p9, p10, p11)
+
+# create a hexahedral solid between two given faces
+solid1 = geompy.MakeHexa2Faces(qface1, qface7)
+
+# create a hexahedral solid, bounded by six given faces
+solid2 = geompy.MakeHexa(qface1, qface2, qface3, qface4, qface5, qface6)
+
+# add objects in the study
+geompy.addToStudy(qface1,"qface1")
+geompy.addToStudy(qface2,"qface2")
+geompy.addToStudy(qface3,"qface3")
+geompy.addToStudy(qface4,"qface4")
+geompy.addToStudy(qface5,"qface5")
+geompy.addToStudy(qface6,"qface6")
+geompy.addToStudy(qface7,"qface7")
+
+id_solid1 = geompy.addToStudy(solid1,"Solid1")
+id_solid2 = geompy.addToStudy(solid2,"Solid2")
+
+# display solids
+gg.createAndDisplayGO(id_solid1)
+gg.setDisplayMode(id_solid1, 1)
+gg.createAndDisplayGO(id_solid2)
+gg.setDisplayMode(id_solid2, 1)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_complex_objs_page Complex Objects
+
+\anchor tui_creation_prism
+<br><h2>Creation of a Prism</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex( 0., 0., 0.)
+p2 = geompy.MakeVertex( 100., 0., 0.)
+p3 = geompy.MakeVertex( 100., 100., 0.)
+p4 = geompy.MakeVertex( 0., 100., 0.)
+p5 = geompy.MakeVertex( 0., 0., 60.)
+p6 = geompy.MakeVertex(-100., 0., 0.)
+p7 = geompy.MakeVertex(-100.,-100., 0.)
+p8 = geompy.MakeVertex( 0.,-100., 0.)
+
+# create a vector from the given components
+vector = geompy.MakeVectorDXDYDZ(50., 50., 50.)
+
+#create vectors from two points
+vector1_arc1 = geompy.MakeVector(p1, p2)
+vector2_arc1 = geompy.MakeVector(p1, p4)
+vector1_arc2 = geompy.MakeVector(p1, p6)
+vector2_arc2 = geompy.MakeVector(p1, p8)
+
+# create arcs from three points
+arc1 = geompy.MakeArc(p2, p3, p4)
+arc2 = geompy.MakeArc(p6, p7, p8)
+
+# create wires
+wire1 = geompy.MakeWire([vector1_arc1, arc1, vector2_arc1])
+wire2 = geompy.MakeWire([vector1_arc2, arc2, vector2_arc2])
+
+# create faces
+isPlanarWanted = 1
+face1 = geompy.MakeFace(wire1, isPlanarWanted)
+face2 = geompy.MakeFace(wire2, isPlanarWanted)
+
+# create prisms
+prism1 = geompy.MakePrism(face2, p1, p5)
+prism2 = geompy.MakePrismVecH(face1, vector, 50)
+
+# add objects in the study
+id_face1 = geompy.addToStudy(face1,"Face1")
+id_face2 = geompy.addToStudy(face2,"Face2")
+id_prism1 = geompy.addToStudy(prism1,"Prism1")
+id_prism2 = geompy.addToStudy(prism2,"Prism2")
+
+# display cylinders
+gg.createAndDisplayGO(id_face1)
+gg.setDisplayMode(id_face1,1)
+gg.createAndDisplayGO(id_face2)
+gg.setDisplayMode(id_face2,1)
+gg.createAndDisplayGO(id_prism1)
+gg.setDisplayMode(id_prism1,1)
+gg.createAndDisplayGO(id_prism2)
+gg.setDisplayMode(id_prism2,1)
+\endcode
+
+\anchor tui_creation_revolution
+<br><h2>Creation of a Revolution</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex( 10., 10., 10.)
+p2 = geompy.MakeVertex( 15., 15., 50.)
+p3 = geompy.MakeVertex( 40., 40., 0.)
+
+#create vectors from two points
+vector1 = geompy.MakeVector(p1, p2)
+vector2 = geompy.MakeVector(p1, p3)
+
+# create a vector from the given components
+vector3 = geompy.MakeVectorDXDYDZ(-20., -20., 100.)
+
+# create a wire
+wire = geompy.MakeWire([vector1, vector2])
+
+# create a revolution
+revolution = geompy.MakeRevolution(wire, vector3, 2.3)
+
+# add objects in the study
+id_vector3 = geompy.addToStudy(vector3,"Axis")
+id_wire = geompy.addToStudy(wire,"Wire")
+id_revolution = geompy.addToStudy(revolution,"Revolution")
+
+# display the vector, the wire and the revolution
+gg.createAndDisplayGO(id_vector3)
+gg.createAndDisplayGO(id_wire)
+gg.createAndDisplayGO(id_revolution)
+gg.setDisplayMode(id_revolution,1)
+\endcode
+
+\anchor tui_creation_filling
+<br><h2>Creation of a Filling</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+mindeg = 2
+maxdeg = 5
+tol3d = 0.0001
+tol2d = 0.0001
+nbiter = 5
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex( -30., -30., 50.)
+p2 = geompy.MakeVertex( -60., -60., 30.)
+p3 = geompy.MakeVertex( -30., -30., 10.)
+
+# create an arc from three points
+arc = geompy.MakeArc(p1, p2, p3)
+ShapeListCompound = []
+i = 0
+while i <= 3 :
+ S = geompy.MakeTranslation(arc, i * 50., 0., 0.)
+ ShapeListCompound.append(S)
+ i = i + 1
+
+compound = geompy.MakeCompound(ShapeListCompound)
+
+# create a filling
+filling = geompy.MakeFilling(compound, mindeg, maxdeg, tol3d, tol2d, nbiter)
+
+# add objects in the study
+id_compound = geompy.addToStudy(compound,"Compound")
+id_filling = geompy.addToStudy(filling,"Filling")
+
+# display the compound and the filling
+gg.createAndDisplayGO(id_compound)
+gg.createAndDisplayGO(id_filling)
+gg.setDisplayMode(id_filling,1)
+\endcode
+
+\anchor tui_creation_pipe
+<br><h2>Creation of a Pipe</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p0 = geompy.MakeVertex(0. , 0. , 0. )
+px = geompy.MakeVertex(100., 0. , 0. )
+py = geompy.MakeVertex(0. , 100., 0. )
+pz = geompy.MakeVertex(0. , 0. , 100.)
+pxyz = geompy.MakeVertex(100., 100., 100.)
+
+# create a vector from two points
+vxy = geompy.MakeVector(px, py)
+
+# create an arc from three points
+arc = geompy.MakeArc(py, pz, px)
+
+# create a wire
+wire = geompy.MakeWire([vxy, arc])
+
+# create an edge
+edge = geompy.MakeEdge(p0, pxyz)
+
+# create a pipe
+pipe = geompy.MakePipe(wire, edge)
+
+# add objects in the study
+id_wire = geompy.addToStudy(wire,"Wire")
+id_edge = geompy.addToStudy(edge,"Edge")
+id_pipe = geompy.addToStudy(pipe,"Pipe")
+
+# display the wire, the edge (path) and the pipe
+gg.createAndDisplayGO(id_wire)
+gg.createAndDisplayGO(id_edge)
+gg.createAndDisplayGO(id_pipe)
+gg.setDisplayMode(id_pipe,1)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_creating_geom_objs_page Creating Geometric Objects
+
+<ul>
+<li>\subpage tui_basic_geom_objs_page</li>
+<li>\subpage tui_primitives_page</li>
+<li>\subpage tui_complex_objs_page</li>
+<li>\subpage tui_working_with_groups_page</li>
+<li>\subpage tui_building_by_blocks_page</li>
+<li>\subpage tui_sketcher_page</li>
+<li>\subpage tui_advanced_geom_objs_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_measurement_tools_page Measurement Tools
+
+<br><h2>Point Coordinates</h2>
+
+\code
+import math
+import geompy
+
+# create a point
+point = geompy.MakeVertex(15., 23., 80.)
+
+# get the coordinates of the point and check its values
+coords = geompy.PointCoordinates(point)
+
+# check the obtained coordinate values
+tolerance = 1.e-07
+def IsEqual(val1, val2): return (math.fabs(val1 - val2) < tolerance)
+
+if IsEqual(coords[0], 15.) and IsEqual(coords[1], 23.) and IsEqual(coords[2], 80.):
+ print "All values are OK."
+else :
+ print "Coordinates of point must be (15, 23, 80), but returned (",
+ print coords[0], ", ", coords[1], ", ", coords[2], ")"
+ pass
+\endcode
+
+<br><h2>Basic Properties</h2>
+
+\code
+import geompy
+import math
+
+# create a box
+box = geompy.MakeBoxDXDYDZ(100,30,100)
+props = geompy.BasicProperties(box)
+print "\nBox 100x30x100 Basic Properties:"
+print " Wires length: ", props[0]
+print " Surface area: ", props[1]
+print " Volume : ", props[2]
+length = math.sqrt((props[0] - 1840)*(props[0] - 1840))
+area = math.sqrt((props[1] - 32000)*(props[1] - 32000))
+volume = math.sqrt((props[2] - 300000)*(props[2] - 300000))
+if length > 1e-7 or area > 1e-7 or volume > 1e-7:
+ print "While must be:"
+ print " Wires length: ", 1840
+ print " Surface area: ", 32000
+ print " Volume : ", 300000.
+\endcode
+
+<br><h2>Center of masses</h2>
+
+\code
+import geompy
+import math
+
+# create a box
+box = geompy.MakeBoxDXDYDZ(100,30,100)
+cm = geompy.MakeCDG(box)
+if cm is None:
+ raise RuntimeError, "MakeCDG(box) failed"
+else:
+ print "\nCentre of gravity of box has been successfully obtained:"
+ coords = geompy.PointCoordinates(cm)
+ print "(", coords[0], ", ", coords[1], ", ", coords[2], ")"
+ dx = math.sqrt((coords[0] - 50)*(coords[0] - 50))
+ dy = math.sqrt((coords[1] - 15)*(coords[1] - 15))
+ dz = math.sqrt((coords[2] - 50)*(coords[2] - 50))
+ if dx > 1e-7 or dy > 1e-7 or dz > 1e-7:
+ print "But must be (50, 15, 50)"
+\endcode
+
+<br><h2>Inertia</h2>
+
+\code
+import geompy
+import math
+
+# create a box
+box = geompy.MakeBoxDXDYDZ(100,30,100)
+In = geompy.Inertia(box)
+print "\nInertia matrix of box 100x30x100:"
+print " (", In[0], ", ", In[1], ", ", In[2], ")"
+print " (", In[3], ", ", In[4], ", ", In[5], ")"
+print " (", In[6], ", ", In[7], ", ", In[8], ")"
+print "Main moments of inertia of box 100x30x100:"
+print " Ix = ", In[9], ", Iy = ", In[10], ", Iz = ", In[11]
+\endcode
+
+<br><h2>Bounding Box</h2>
+
+\code
+import geompy
+
+# create a box
+box = geompy.MakeBoxDXDYDZ(100,30,100)
+bb = geompy.BoundingBox(box)
+print "\nBounding Box of box 100x30x100:"
+print " Xmin = ", bb[0], ", Xmax = ", bb[1]
+print " Ymin = ", bb[2], ", Ymax = ", bb[3]
+print " Zmin = ", bb[4], ", Zmax = ", bb[5]
+\endcode
+
+<br><h2>Minimal Distance</h2>
+
+\code
+import geompy
+
+# create boxes
+box1 = geompy.MakeBoxDXDYDZ(100,30,100)
+box2 = geompy.MakeBox(105,0,0,200,30,100)
+min_dist = geompy.MinDistance(box1,box2)
+print "\nMinimal distance between box1 and box2 = ", min_dist
+\endcode
+
+<br><h2>Tolerance</h2>
+
+\code
+import geompy
+
+# create a box
+box = geompy.MakeBoxDXDYDZ(100,30,100)
+Toler = geompy.Tolerance(box)
+print "\nBox 100x30x100 tolerance:"
+print " Face min. tolerance: ", Toler[0]
+print " Face max. tolerance: ", Toler[1]
+print " Edge min. tolerance: ", Toler[2]
+print " Edge max. tolerance: ", Toler[3]
+print " Vertex min. tolerance: ", Toler[4]
+print " Vertex max. tolerance: ", Toler[5]
+\endcode
+
+<br><h2>What Is</h2>
+
+\code
+import geompy
+
+# create a box
+box = geompy.MakeBoxDXDYDZ(100,30,100)
+Descr = geompy.WhatIs(box)
+print "\nBox 100x30x100 description:"
+print Descr
+\endcode
+
+<br><h2>Check Shape</h2>
+
+\code
+import geompy
+
+# create a box
+box = geompy.MakeBoxDXDYDZ(100,30,100)
+IsValid = geompy.CheckShape(box)
+if IsValid == 0:
+ raise RuntimeError, "Invalid box created"
+else:
+ print "\nBox is valid"
+\endcode
+
+<br><h2>Check Compound of Blocks</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create boxes
+box1 = geompy.MakeBox(0,0,0,100,50,100)
+box2 = geompy.MakeBox(100,0,0,250,50,100)
+
+# make a compound
+compound = geompy.MakeCompound([box1, box2])
+
+# glue the faces of the compound
+tolerance = 1e-5
+glue = geompy.MakeGlueFaces(compound, tolerance)
+IsValid = geompy.CheckCompoundOfBlocks(glue)
+if IsValid == 0:
+ raise RuntimeError, "Invalid compound created"
+else:
+ print "\nCompound is valid"
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_primitives_page Primitives
+
+\anchor tui_creation_box
+<br><h2>Creation of a Box</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p0 = geompy.MakeVertex(15, 25, 35)
+p70 = geompy.MakeVertex(70, 70, 70)
+
+# create boxes
+box1 = geompy.MakeBoxDXDYDZ(10, 20, 30)
+box2 = geompy.MakeBox(10,20,30, 15,25,35)
+box3 = geompy.MakeBoxTwoPnt(p0, p70)
+
+# add objects in the study
+id_box1 = geompy.addToStudy(box1,"Box1")
+id_box2 = geompy.addToStudy(box2,"Box2")
+id_box3 = geompy.addToStudy(box3,"Box3")
+
+# display the boxes
+gg.createAndDisplayGO(id_box1)
+gg.setDisplayMode(id_box1,1)
+gg.createAndDisplayGO(id_box2)
+gg.setDisplayMode(id_box2,1)
+gg.createAndDisplayGO(id_box3)
+gg.setDisplayMode(id_box3,1)
+\endcode
+
+\anchor tui_creation_cylinder
+<br><h2>Creation of a Cylinder</h2>
+
+\code
+import geompy
+import salome
+
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(25, 35, 45)
+p2 = geompy.MakeVertex(70, 70, 70)
+v = geompy.MakeVector(p1, p2)
+
+# create cylinders
+height = 40
+
+radius1 = 15
+cylinder1 = geompy.MakeCylinder(p1, v, radius1, height)
+
+radius2 = 30
+cylinder2 = geompy.MakeCylinderRH(radius2, height)
+
+# add objects in the study
+id_cylinder1 = geompy.addToStudy(cylinder1,"Cylinder1")
+id_cylinder2 = geompy.addToStudy(cylinder2,"Cylinder2")
+
+# display the cylinders
+gg.createAndDisplayGO(id_cylinder1)
+gg.setDisplayMode(id_cylinder1,1)
+gg.createAndDisplayGO(id_cylinder2)
+gg.setDisplayMode(id_cylinder2,1)
+\endcode
+
+\anchor tui_creation_sphere
+<br><h2>Creation of a Sphere</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex
+p = geompy.MakeVertex(55, 45, 25)
+
+# create spheres
+radius1 = 20
+sphere1 = geompy.MakeSpherePntR(p, radius1)
+radius2 = 15
+sphere2 = geompy.MakeSphere(0, 0, 45, radius2)
+radius3 = 30
+sphere3 = geompy.MakeSphereR(radius3)
+
+# add objects in the study
+id_sphere1 = geompy.addToStudy(sphere1,"Sphere1")
+id_sphere2 = geompy.addToStudy(sphere2,"Sphere2")
+id_sphere3 = geompy.addToStudy(sphere3,"Sphere3")
+
+# display spheres
+gg.createAndDisplayGO(id_sphere1)
+gg.setDisplayMode(id_sphere1,1)
+gg.createAndDisplayGO(id_sphere2)
+gg.setDisplayMode(id_sphere2,1)
+gg.createAndDisplayGO(id_sphere3)
+gg.setDisplayMode(id_sphere3,1)
+\endcode
+
+\anchor tui_creation_torus
+<br><h2>Creation of a Torus</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(35, 40, 45)
+p2 = geompy.MakeVertex(35, 45, 70)
+v = geompy.MakeVector(p1, p2)
+
+# create toruses
+torus1 = geompy.MakeTorus(p1, v, 20, 10)
+torus2 = geompy.MakeTorusRR(30, 15)
+
+# add objects in the study
+id_torus1 = geompy.addToStudy(torus1,"Torus1")
+id_torus2 = geompy.addToStudy(torus2,"Torus2")
+
+# display toruses
+gg.createAndDisplayGO(id_torus1)
+gg.setDisplayMode(id_torus1,1)
+gg.createAndDisplayGO(id_torus2)
+gg.setDisplayMode(id_torus2,1)
+\endcode
+
+\anchor tui_creation_cone
+<br><h2>Creation of a Cone</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(35, 35, 0)
+p2 = geompy.MakeVertex(35, 35, 70)
+v = geompy.MakeVector(p1, p2)
+
+# create cones
+cone1 = geompy.MakeCone(p1, v, 17, 1, 20)
+cone2 = geompy.MakeConeR1R2H(30, 10, 30)
+
+# add objects in the study
+id_cone1 = geompy.addToStudy(cone1,"Cone1")
+id_cone2 = geompy.addToStudy(cone2,"Cone2")
+
+# display cones
+gg.createAndDisplayGO(id_cone1)
+gg.setDisplayMode(id_cone1,1)
+gg.createAndDisplayGO(id_cone2)
+gg.setDisplayMode(id_cone2,1)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_repairing_operations_page Repairing Operations
+
+\anchor tui_shape_processing
+<br><h2>Shape Processing</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices, an edge, an arc, a wire, a face and a prism
+p1 = geompy.MakeVertex(0,0,0)
+p2 = geompy.MakeVertex(200,0,0)
+p3 = geompy.MakeVertex(100,150,0)
+edge = geompy.MakeEdge(p1,p2)
+arc = geompy.MakeArc(p1,p3,p2)
+wire = geompy.MakeWire([edge,arc])
+face = geompy.MakeFace(wire, 1)
+theShape = geompy.MakePrismVecH(face, edge, 130)
+
+# check the shape at the beginning
+print "Before ProcessShape:"
+isValid = geompy.CheckShape(theShape)
+if isValid == 0:
+ print "The shape is not valid"
+else:
+ print "The shape seems to be valid"
+
+# process the Shape
+Operators = ["FixShape"]
+Parameters = ["FixShape.Tolerance3d"]
+Values = ["1e-7"]
+PS = geompy.ProcessShape(theShape, Operators, Parameters, Values)
+
+# check the shape at the end
+print "After ProcessShape:"
+isValid = geompy.CheckShape(PS)
+if isValid == 0:
+ print "The shape is not valid"
+ raise RuntimeError, "It seems, that the ProcessShape() has failed"
+else:
+ print "The shape seems to be valid"
+
+# add in the study and display
+Id_Shape = geompy.addToStudy(theShape, "Invalid Shape")
+Id_PS = geompy.addToStudy(PS, "Processed Shape")
+gg.createAndDisplayGO(Id_Shape)
+gg.setDisplayMode(Id_Shape,1)
+gg.createAndDisplayGO(Id_PS)
+gg.setDisplayMode(Id_PS,1)
+\endcode
+
+\anchor tui_suppress_faces
+<br><h2>Suppress Faces</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a box
+box = geompy.MakeBoxDXDYDZ(200, 200, 200)
+
+# The list of IDs (IDList) for suppress faces
+sup_faces = []
+sup_faces = geompy.SubShapeAllSorted(box, geompy.ShapeType["FACE"])
+
+# get indices of the sub-shape
+f1_id = geompy.GetSubShapeID(box, sup_faces[3])
+
+# remove faces from the given object (shape)
+result = geompy.SuppressFaces(box, [f1_id])
+
+# add objects in the study
+id_box = geompy.addToStudy(box, "Box")
+id_result = geompy.addToStudy(result, "Result")
+
+# display the results
+gg.createAndDisplayGO(id_box)
+gg.setDisplayMode(id_box,1)
+gg.createAndDisplayGO(id_result)
+gg.setDisplayMode(id_result,1)
+\endcode
+
+\anchor tui_close_contour
+<br><h2>Close Contour</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices and vectors
+p0 = geompy.MakeVertex( 0., 0., 0.)
+px = geompy.MakeVertex(100., 0., 0.)
+py = geompy.MakeVertex( 0., 100., 0.)
+py1 = geompy.MakeVertex( 0., 140., 0.)
+pz = geompy.MakeVertex( 0., 0., 100.)
+vxy = geompy.MakeVector(px, py)
+
+# create an arc
+arc = geompy.MakeArc(py1, pz, px)
+
+# create a wire
+wire = geompy.MakeWire([vxy, arc])
+
+# close an open wire by creation of an edge between ends
+wire_close = geompy.CloseContour(wire, [1], 0)
+
+# add objects in the study
+id_wire = geompy.addToStudy(wire, "Wire")
+id_wire_close = geompy.addToStudy(wire_close, "Wire close")
+
+# display the results
+gg.createAndDisplayGO(id_wire)
+gg.createAndDisplayGO(id_wire_close)
+\endcode
+
+\anchor tui_suppress_internal_wires
+<br><h2>Suppress Internal Wires</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(55, 65, 50)
+p2 = geompy.MakeVertex(55, 0, 50)
+v = geompy.MakeVector(p1, p2)
+
+# create a cylinder
+height = 100
+radius1 = 40
+cylinder = geompy.MakeCylinder(p1, v, radius1, height)
+
+# create a box
+box = geompy.MakeBoxDXDYDZ(100, 100, 100)
+
+# make a cut
+cut = geompy.MakeCut(box, cylinder)
+
+# suppress all internal wires
+result = geompy.SuppressInternalWires(cut, [])
+
+# add objects in the study
+id_cut = geompy.addToStudy(cut, "Cut")
+id_result = geompy.addToStudy(result, "Result")
+
+# display the results
+gg.createAndDisplayGO(id_cut)
+gg.setDisplayMode(id_cut,1)
+gg.createAndDisplayGO(id_result)
+gg.setDisplayMode(id_result,1)
+\endcode
+
+\anchor tui_suppress_holes
+<br><h2>Suppress Holes</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(35, 35, 0)
+p2 = geompy.MakeVertex(35, 35, 50)
+v = geompy.MakeVector(p1, p2)
+
+# create a cylinder
+height = 20
+radius1 = 20
+cylinder = geompy.MakeCylinder(p1, v, radius1, height)
+
+# create a cone
+cone = geompy.MakeCone(p1, v, 70, 0, 80)
+
+# make a cut
+cut = geompy.MakeCut(cone, cylinder)
+
+# get faces as sub-shapes
+faces = []
+faces = geompy.SubShapeAllSorted(cut, geompy.ShapeType["FACE"])
+f_2 = geompy.GetSubShapeID(cut, faces[2])
+
+# remove one face from the shape
+cut_without_f_2 = geompy.SuppressFaces(cut, [f_2])
+
+# get wires as sub-shapes
+wires = []
+wires = geompy.SubShapeAllSorted(cut_without_f_2, geompy.ShapeType["WIRE"])
+w_0 = geompy.GetSubShapeID(cut_without_f_2, wires[0])
+
+# suppress the selected wire
+result = geompy.SuppressHoles(cut_without_f_2, [w_0])
+
+# add objects in the study
+id_cut = geompy.addToStudy(cut, "Cut")
+id_cut_without_f_2 = geompy.addToStudy(cut_without_f_2, "Cut without f_2")
+id_result = geompy.addToStudy(result, "Result")
+
+# display the results
+gg.createAndDisplayGO(id_cut)
+gg.setDisplayMode(id_cut,1)
+gg.createAndDisplayGO(id_cut_without_f_2)
+gg.setDisplayMode(id_cut_without_f_2,1)
+gg.createAndDisplayGO(id_result)
+gg.setDisplayMode(id_result,1)
+\endcode
+
+\anchor tui_sewing
+<br><h2>Sewing</h2>
+
+\code
+import geompy
+import salome
+import math
+gg = salome.ImportComponentGUI("GEOM")
+
+# create base points
+px = geompy.MakeVertex(100., 0., 0.)
+py = geompy.MakeVertex(0., 100., 0.)
+pz = geompy.MakeVertex(0., 0., 100.)
+
+# create base geometry 2D & 3D
+vector = geompy.MakeVector(px, py)
+arc = geompy.MakeArc(py, pz, px)
+
+# create base objects
+angle = 45. * math.pi / 180
+WantPlanarFace = 1 #True
+wire = geompy.MakeWire([vector, arc])
+face = geompy.MakeFace(wire, WantPlanarFace)
+face_rot = geompy.MakeRotation(face, vector, angle)
+
+# make sewing
+precision = 0.00001
+sewing = geompy.MakeSewing([face, face_rot], precision)
+
+# add objects in the study
+id_face = geompy.addToStudy(face, "Face")
+id_face_rot = geompy.addToStudy(face_rot, "Face rotation")
+id_sewing = geompy.addToStudy(sewing, "Sewing")
+
+# display the results
+gg.createAndDisplayGO(id_face)
+gg.setDisplayMode(id_face,1)
+gg.createAndDisplayGO(id_face_rot)
+gg.setDisplayMode(id_face_rot,1)
+gg.createAndDisplayGO(id_sewing)
+gg.setDisplayMode(id_sewing,1)
+\endcode
+
+\anchor tui_glue_faces
+<br><h2>Glue Faces</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create boxes
+box1 = geompy.MakeBox(0,0,0,100,50,100)
+box2 = geompy.MakeBox(100,0,0,250,50,100)
+
+# make compound
+compound = geompy.MakeCompound([box1, box2])
+
+# glue compound's faces
+tolerance = 1e-5
+glue = geompy.MakeGlueFaces(compound, tolerance)
+
+# add objects in study
+id_box1 = geompy.addToStudy(box1, "Box1")
+id_box2 = geompy.addToStudy(box2, "Box2")
+id_compound = geompy.addToStudy(compound, "Compound")
+id_glue = geompy.addToStudy(glue, "Glue faces")
+
+# display results
+gg.createAndDisplayGO(id_box1)
+gg.setDisplayMode(id_box1,1)
+gg.createAndDisplayGO(id_box2)
+gg.setDisplayMode(id_box2,1)
+gg.createAndDisplayGO(id_compound)
+gg.setDisplayMode(id_compound,1)
+gg.createAndDisplayGO(id_glue)
+gg.setDisplayMode(id_glue,1)
+\endcode
+
+\anchor tui_add_point_on_edge
+<br><h2>Add Point on Edge</h2>
+
+\code
+import geompy
+import salome
+
+# create vertices
+p1 = geompy.MakeVertex(0,0,50)
+p2 = geompy.MakeVertex(60,0,50)
+
+# make an edge
+edge = geompy.MakeEdge(p1, p2) #geompy.GetSubShape(box, edge_ind)
+
+# divide an edge
+divide = geompy.DivideEdge(edge, -1, 0.5, 0)
+
+# add objects in the study
+id_edge = geompy.addToStudy(edge, "Edge")
+edge_points = geompy.SubShapeAllSorted(edge, geompy.ShapeType["VERTEX"])
+for point in edge_points:
+ geompy.addToStudyInFather(edge, point, "Edge's point")
+
+id_divide = geompy.addToStudy(divide, "Divided edge")
+edge_points = geompy.SubShapeAllSorted(divide, geompy.ShapeType["VERTEX"])
+for point in edge_points:
+ geompy.addToStudyInFather(divide, point, "Edge's point after divide")
+
+salome.sg.updateObjBrowser(1)
+\endcode
+
+\anchor tui_check_free_boundaries
+<br><h2>Check Free Boundaries</h2>
+
+\code
+import os
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create boxes
+box1 = geompy.MakeBox(0,0,0,100,50,100)
+box2 = geompy.MakeBox(100,0,0,250,50,100)
+
+# make a compound
+compound = geompy.MakeCompound([box1, box2])
+
+# import from *.brep
+ImportFromBREP = geompy.ImportBREP(os.getenv("DATA_DIR")+"/Shapes/Brep/flight_solid.brep")
+
+# get a face
+faces = geompy.SubShapeAllSorted(ImportFromBREP, geompy.ShapeType["FACE"])
+
+# get the free boundary for face 32
+Res = geompy.GetFreeBoundary(faces[32])
+isSuccess = Res[0]
+ClosedWires = Res[1]
+OpenWires = Res[2]
+
+if isSuccess == 1 :
+ print "Checking free boudaries is OK."
+else :
+ print "Checking free boudaries is KO!"
+print "len(ClosedWires) = ", len(ClosedWires)
+
+i = 0
+for wire in ClosedWires :
+ wire_name = "Face 32 -> Close wires : WIRE %d"%(i+1)
+ geompy.addToStudy(ClosedWires[i], wire_name)
+ if i < len(ClosedWires) :
+ i = i+ 1
+
+print "len(OpenWires) = ", len(OpenWires)
+
+i = 0
+for wire in OpenWires :
+ wire_name = "Face 32 -> Open wires : WIRE %d"%(i+1)
+ geompy.addToStudy(OpenWires[i], wire_name)
+ if i < len(OpenWires) :
+ i = i+ 1
+
+# get the free boundary for face 41
+Res = geompy.GetFreeBoundary(faces[41])
+isSuccess = Res[0]
+ClosedWires = Res[1]
+OpenWires = Res[2]
+
+if isSuccess == 1 :
+ print "Checking free boudaries is OK."
+else :
+ print "Checking free boudaries is KO!"
+print "len(ClosedWires) = ", len(ClosedWires)
+
+i = 0
+for wire in ClosedWires :
+ wire_name = "Face 41 -> Close wires : WIRE %d"%(i+1)
+ geompy.addToStudy(ClosedWires[i], wire_name)
+ if i < len(ClosedWires) :
+ i = i+ 1
+
+print "len(OpenWires) = ", len(OpenWires)
+
+i = 0
+for wire in OpenWires :
+ wire_name = "Face 41 -> Open wires : WIRE %d"%(i+1)
+ geompy.addToStudy(OpenWires[i], wire_name)
+ if i < len(OpenWires) :
+ i = i+ 1
+
+# add the imported object to the study
+id_ImportFromBREP = geompy.addToStudy(ImportFromBREP, "ImportFromBREP")
+salome.sg.updateObjBrowser(1)
+\endcode
+
+\anchor tui_check_free_faces
+<br><h2>Check Free Faces</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(35, 35, 0)
+p2 = geompy.MakeVertex(35, 35, 50)
+v = geompy.MakeVector(p1, p2)
+
+# create a cylinder
+cylinder = geompy.MakeCone(p1, v, 30, 20, 20)
+
+# create a cone
+cone = geompy.MakeCone(p1, v, 70, 40, 60)
+
+# make cut
+cut = geompy.MakeCut(cone, cylinder)
+
+# get faces as sub-shapes
+faces = []
+faces = geompy.SubShapeAllSorted(cut, geompy.ShapeType["FACE"])
+f_2 = geompy.GetSubShapeID(cut, faces[0])
+
+# remove one face from the shape
+cut_without_f_2 = geompy.SuppressFaces(cut, [f_2])
+
+# suppress the specified wire
+result = geompy.GetFreeFacesIDs(cut_without_f_2)
+print "A number of free faces is ", len(result)
+
+# add objects in the study
+all_faces = geompy.SubShapeAllSorted(cut_without_f_2, geompy.ShapeType["FACE"])
+for face in all_faces :
+ sub_shape_id = geompy.GetSubShapeID(cut_without_f_2, face)
+ if result.count(sub_shape_id) > 0 :
+ face_name = "Free face %d"%(sub_shape_id)
+ geompy.addToStudy(face, face_name)
+
+# in this example all faces from cut_without_f_2 are free
+id_cut_without_f_2 = geompy.addToStudy(cut_without_f_2, "Cut without f_2")
+
+# display the results
+gg.createAndDisplayGO(id_cut_without_f_2)
+gg.setDisplayMode(id_cut_without_f_2,1)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_scripts_page TUI Scripts
+
+<ul>
+<li>\subpage tui_viewing_geom_objs_page</li>
+<li>\subpage tui_creating_geom_objs_page</li>
+<ul>
+<li>\ref tui_basic_geom_objs_page</li>
+<li>\ref tui_primitives_page</li>
+<li>\ref tui_complex_objs_page</li>
+<li>\ref tui_working_with_groups_page</li>
+<li>\ref tui_building_by_blocks_page</li>
+<li>\ref tui_sketcher_page</li>
+<li>\ref tui_advanced_geom_objs_page</li>
+</ul>
+<li>\subpage tui_transformation_page</li>
+<ul>
+<li>\ref tui_basic_operations_page</li>
+<li>\ref tui_boolean_operations_page</li>
+<li>\ref tui_transformation_operations_page</li>
+<li>\ref tui_blocks_operations_page</li>
+<li>\ref tui_repairing_operations_page</li>
+</ul>
+<li>\subpage tui_measurement_tools_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_sketcher_page Sketcher
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices
+p1 = geompy.MakeVertex(70., 0., 0.)
+p2 = geompy.MakeVertex(70., 70., 80.)
+p3 = geompy.MakeVertex( 0., 70., 0.)
+
+#create a vector from two points
+vector_arc = geompy.MakeVector(p1, p3)
+
+# create an arc from three points
+arc = geompy.MakeArc(p1, p2, p3)
+
+# create a wire
+wire = geompy.MakeWire([vector_arc, arc])
+
+# create a planar face
+isPlanarWanted = 1
+face = geompy.MakeFace(wire, isPlanarWanted)
+
+# create a sketcher (face), following the textual description
+sketcher1 = geompy.MakeSketcher("Sketcher:F -100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WF",
+ [100,0,0, 1,1,1, -1,1,0])
+
+# create a sketcher (wire) on the given face
+sketcher2 = geompy.MakeSketcherOnPlane("Sketcher:F 10 -30:R 10:C 20 180:R 15:L 50:WW", face)
+
+# add objects in the study
+id_face = geompy.addToStudy(face,"Face")
+id_sketcher1 = geompy.addToStudy(sketcher1,"Sketcher1")
+id_sketcher2 = geompy.addToStudy(sketcher2,"Sketcher2")
+
+# display the first sketcher and the second sketcher with its planar face
+gg.createAndDisplayGO(id_face)
+gg.setDisplayMode(id_face,1)
+gg.setTransparency(id_face,0.5)
+gg.createAndDisplayGO(id_sketcher1)
+gg.createAndDisplayGO(id_sketcher2)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_transformation_page Transformation
+
+<ul>
+<li>\subpage tui_basic_operations_page</li>
+<li>\subpage tui_boolean_operations_page</li>
+<li>\subpage tui_transformation_operations_page</li>
+<li>\subpage tui_blocks_operations_page</li>
+<li>\subpage tui_repairing_operations_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_transformation_operations_page Transformation Operations
+
+\anchor tui_translation
+<br><h2>Translation</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(10, 40, 0)
+p2 = geompy.MakeVertex( 0, 0, 50)
+p3 = geompy.MakeVertex(50, 80, 0)
+v = geompy.MakeVector(p1, p2)
+vt = geompy.MakeVector(p1, p3)
+
+# create a cylinder
+height = 35
+radius1 = 20
+cylinder = geompy.MakeCylinder(p1, v, radius1, height)
+
+# translate the given object along the vector, specified by its end points
+# (all three functions produce the same result)
+translation1 = geompy.MakeTranslationTwoPoints(cylinder, p1, p3)
+translation2 = geompy.MakeTranslation(cylinder, 40, 40, 0)
+translation3 = geompy.MakeTranslationVector(cylinder, vt)
+
+# add objects in the study
+id_cylinder = geompy.addToStudy(cylinder, "Cylinder")
+id_translation1 = geompy.addToStudy(translation1, "Translation1")
+id_translation2 = geompy.addToStudy(translation2, "Translation2")
+id_translation3 = geompy.addToStudy(translation3, "Translation3")
+
+# display the results
+gg.createAndDisplayGO(id_cylinder)
+gg.setDisplayMode(id_cylinder,1)
+gg.createAndDisplayGO(id_translation1)
+gg.setDisplayMode(id_translation1,1)
+gg.createAndDisplayGO(id_translation2)
+gg.setDisplayMode(id_translation2,1)
+gg.createAndDisplayGO(id_translation3)
+gg.setDisplayMode(id_translation3,1)
+\endcode
+
+\anchor tui_rotation
+<br><h2>Rotation</h2>
+
+\code
+import geompy
+import salome
+import math
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(10, 40, 0)
+p2 = geompy.MakeVertex( 0, 0, 50)
+p3 = geompy.MakeVertex(10, 50,-20)
+p4 = geompy.MakeVertex(10, 50, 60)
+v = geompy.MakeVector(p1, p2)
+vr = geompy.MakeVector(p3, p4)
+
+# create a cylinder
+height = 35
+radius1 = 20
+cylinder = geompy.MakeCylinder(p1, v, radius1, height)
+
+# rotate the given object around the given axis by the given angle
+rotation1 = geompy.MakeRotation(cylinder, vr, math.pi)
+rotation2 = geompy.MakeRotationThreePoints(cylinder, p4, p1, p2)
+
+# add objects in the study
+id_vr = geompy.addToStudy(vr, "Rotation 1 axis")
+id_p4 = geompy.addToStudy(p4, "Rotation 2 center")
+id_p1 = geompy.addToStudy(p1, "Rotation 2 point 1")
+id_p2 = geompy.addToStudy(p2, "Rotation 2 point 2")
+id_cylinder = geompy.addToStudy(cylinder, "Cylinder")
+id_rotation1 = geompy.addToStudy(rotation1, "Rotation 1")
+id_rotation2 = geompy.addToStudy(rotation2, "Rotation 2")
+
+# display the results
+gg.createAndDisplayGO(id_vr)
+gg.createAndDisplayGO(id_p4)
+gg.createAndDisplayGO(id_p1)
+gg.createAndDisplayGO(id_p2)
+gg.createAndDisplayGO(id_cylinder)
+gg.setDisplayMode(id_cylinder,1)
+gg.createAndDisplayGO(id_rotation1)
+gg.createAndDisplayGO(id_rotation2)
+gg.setDisplayMode(id_rotation1,1)
+gg.setDisplayMode(id_rotation2,1)
+\endcode
+
+\anchor tui_modify_location
+<br><h2>Modify Location</h2>
+
+\code
+import geompy
+import salome
+import math
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a vertex and a vector
+p1 = geompy.MakeVertex(10, 40, 0)
+p2 = geompy.MakeVertex( 0, 0, 50)
+v = geompy.MakeVector(p1, p2)
+
+# create a cylinder
+height = 35
+radius1 = 20
+cylinder = geompy.MakeCylinder(p1, v, radius1, height)
+
+# create local coordinate systems
+cs1 = geompy.MakeMarker( 0, 0, 0, 1,0,0, 0,1,0)
+cs2 = geompy.MakeMarker(30,40,40, 1,0,0, 0,1,0)
+
+# modify the location of the given object
+position = geompy.MakePosition(cylinder, cs1, cs2)
+
+# add objects in the study
+id_cs1 = geompy.addToStudy(cs1, "Coordinate system 1")
+id_cs2 = geompy.addToStudy(cs2, "Coordinate system 2")
+id_cylinder = geompy.addToStudy(cylinder, "Cylinder")
+id_position = geompy.addToStudy(position, "Position")
+
+# display the results
+gg.createAndDisplayGO(id_cylinder)
+gg.setDisplayMode(id_cylinder,1)
+gg.createAndDisplayGO(id_position)
+gg.setDisplayMode(id_position,1)
+\endcode
+
+\anchor tui_mirror
+<br><h2>Mirror Image</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a box
+box = geompy.MakeBoxDXDYDZ(200, 200, 200)
+
+# create an object, symmetrical to another object through the given plane
+p1 = geompy.MakeVertex( 0, 25, 0)
+p2 = geompy.MakeVertex( 5, 25, 0)
+p3 = geompy.MakeVertex( 0,-30, 40)
+plane = geompy.MakePlaneThreePnt(p1, p2, p3, 1000.)
+mirror1 = geompy.MakeMirrorByPlane(box, plane)
+
+# create an object, symmetrical to another object through the given axis
+p4 = geompy.MakeVertex( 210, 210, -20)
+p5 = geompy.MakeVertex( 210, 210, 220)
+axis = geompy.MakeVector(p4, p5)
+mirror2 = geompy.MakeMirrorByAxis(box, axis)
+
+# create an object, symmetrical to another object through the given point
+mirror3 = geompy.MakeMirrorByPoint(box, p4)
+
+# add objects in the study
+id_box = geompy.addToStudy(box, "Box")
+id_plane = geompy.addToStudy(plane, "Plane")
+id_mirror1 = geompy.addToStudy(mirror1, "Mirror plane")
+id_axis = geompy.addToStudy(axis, "Axis")
+id_mirror2 = geompy.addToStudy(mirror2, "Mirror axis")
+id_p4 = geompy.addToStudy(p4, "Point")
+id_mirror3 = geompy.addToStudy(mirror3, "Mirror point")
+
+# display the results
+gg.createAndDisplayGO(id_box)
+gg.setDisplayMode(id_box,1)
+gg.createAndDisplayGO(id_plane)
+gg.createAndDisplayGO(id_mirror1)
+gg.setDisplayMode(id_mirror1,1)
+gg.createAndDisplayGO(id_axis)
+gg.createAndDisplayGO(id_mirror2)
+gg.setDisplayMode(id_mirror2,1)
+gg.createAndDisplayGO(id_p4)
+gg.createAndDisplayGO(id_mirror3)
+gg.setDisplayMode(id_mirror3,1)
+\endcode
+
+\anchor tui_scale
+<br><h2>Scale Transform</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a box and a sphere
+box = geompy.MakeBoxDXDYDZ(200, 200, 200)
+
+# scale the given object by the factor
+p0 = geompy.MakeVertex(100, 100, 100)
+factor = 0.5
+scale = geompy.MakeScaleTransform(box, p0, factor)
+
+# add objects in the study
+id_box = geompy.addToStudy(box, "Box")
+id_scale = geompy.addToStudy(scale, "Scale")
+
+# display the results
+gg.createAndDisplayGO(id_box)
+gg.setDisplayMode(id_box,1)
+gg.setTransparency(id_box,0.5)
+gg.createAndDisplayGO(id_scale)
+gg.setDisplayMode(id_scale,1)
+\endcode
+
+\anchor tui_offset
+<br><h2>Offset Surface</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create a box and a sphere
+box = geompy.MakeBox(20, 20, 20, 200, 200, 200)
+
+# create a new object as offset of the given object
+offset = geompy.MakeOffset(box, 70.)
+
+# add objects in the study
+id_box = geompy.addToStudy(box, "Box")
+id_offset = geompy.addToStudy(offset, "Offset")
+
+# display the results
+gg.createAndDisplayGO(id_box)
+gg.setDisplayMode(id_box,1)
+gg.createAndDisplayGO(id_offset)
+\endcode
+
+\anchor tui_multi_translation
+<br><h2>Multi Translation</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices and vectors
+p0 = geompy.MakeVertex( 0., 0., 0.)
+px = geompy.MakeVertex(20., 0., 0.)
+py = geompy.MakeVertex( 0., 20., 0.)
+pz = geompy.MakeVertex( 0., 0., 20.)
+pxy = geompy.MakeVertex( 50., 0., 0.)
+pxyz = geompy.MakeVertex( 50., 50., 50.)
+vz = geompy.MakeVector(p0, pz)
+vxy = geompy.MakeVector(px, py)
+vtr1d = geompy.MakeVector(p0, pxyz)
+vtr2d = geompy.MakeVector(p0, pxy)
+
+# create an arc
+arc = geompy.MakeArc(py, pz, px)
+
+# create a wire
+wire = geompy.MakeWire([vxy, arc])
+
+# create a planar face
+face = geompy.MakeFace(wire, 1)
+
+# create a prism
+prism = geompy.MakePrismVecH(face, vz, 20.0)
+
+# translate the given object along the given vector a given number of times
+tr1d = geompy.MakeMultiTranslation1D(prism, vtr1d, 20, 4)
+
+# consequently apply two specified translations to the object a given number of times
+tr2d = geompy.MakeMultiTranslation2D(prism, vtr1d, 20, 4, vtr2d, 80, 3)
+
+# add objects in the study
+id_prism = geompy.addToStudy(prism,"Prism")
+id_tr1d = geompy.addToStudy(tr1d,"Translation 1D")
+id_tr2d = geompy.addToStudy(tr2d,"Translation 2D")
+
+# display the prism and the results of fillet operation
+gg.createAndDisplayGO(id_prism)
+gg.setDisplayMode(id_prism,1)
+gg.createAndDisplayGO(id_tr1d)
+gg.setDisplayMode(id_tr1d,1)
+gg.createAndDisplayGO(id_tr2d)
+gg.setDisplayMode(id_tr2d,1)
+\endcode
+
+\anchor tui_multi_rotation
+<br><h2>Multi Rotation</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create vertices and vectors
+p0 = geompy.MakeVertex( 0., 0., 0.)
+px = geompy.MakeVertex(20., 0., 0.)
+py = geompy.MakeVertex( 0., 20., 0.)
+pz = geompy.MakeVertex( 0., 0., 20.)
+pxyz = geompy.MakeVertex( 50., 50., 10.)
+vz = geompy.MakeVector(p0, pz)
+vxy = geompy.MakeVector(px, py)
+vrot1d = geompy.MakeVector(p0, pxyz)
+
+# create an arc
+arc = geompy.MakeArc(py, pz, px)
+
+# create a wire
+wire = geompy.MakeWire([vxy, arc])
+
+# create a planar face
+face = geompy.MakeFace(wire, 1)
+
+# create a prism
+prism = geompy.MakePrismVecH(face, vz, 20.0)
+
+# rotate the given object around the given axis by the given angle a given number of times
+rot1d = geompy.MultiRotate1D(prism, vrot1d, 4)
+
+# rotate the given object around the given axis by the given angle a given number of times
+# and multi-translate the result of each rotation
+rot2d = geompy.MultiRotate2D(prism, vrot1d, 60, 4, 50, 5)
+
+# add objects in the study
+id_prism = geompy.addToStudy(prism,"Prism")
+id_rot1d = geompy.addToStudy(rot1d,"Rotation 1D")
+id_rot2d = geompy.addToStudy(rot2d,"Rotation 2D")
+
+# display the prism and the results of fillet operation
+gg.createAndDisplayGO(id_prism)
+gg.setDisplayMode(id_prism,1)
+gg.createAndDisplayGO(id_rot1d)
+gg.setDisplayMode(id_rot1d,1)
+gg.createAndDisplayGO(id_rot2d)
+gg.setDisplayMode(id_rot2d,1)
+\endcode
+
+\anchor tui_fillet
+<br><h2>Fillet</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+radius = 10.
+ShapeTypeEdge = geompy.ShapeType["EDGE"]
+
+# create vertices and vectors
+p0 = geompy.MakeVertex( 0., 0., 0.)
+px = geompy.MakeVertex(100., 0., 0.)
+py = geompy.MakeVertex( 0., 100., 0.)
+pz = geompy.MakeVertex( 0., 0., 100.)
+vz = geompy.MakeVector(p0, pz)
+vxy = geompy.MakeVector(px, py)
+
+# create an arc
+arc = geompy.MakeArc(py, pz, px)
+
+# create a wire
+wire = geompy.MakeWire([vxy, arc])
+
+# create a planar face
+face = geompy.MakeFace(wire, 1)
+
+# create a prism
+prism = geompy.MakePrismVecH(face, vz, 100.0)
+
+# get the list of IDs (IDList) for the fillet
+prism_edges = geompy.SubShapeAllSorted(prism, ShapeTypeEdge)
+IDlist_e = []
+IDlist_e.append(geompy.GetSubShapeID(prism, prism_edges[0]))
+IDlist_e.append(geompy.GetSubShapeID(prism, prism_edges[1]))
+IDlist_e.append(geompy.GetSubShapeID(prism, prism_edges[2]))
+
+# make a fillet on the specified edges of the given shape
+fillet = geompy.MakeFillet(prism, radius, ShapeTypeEdge, IDlist_e)
+
+# make a fillet on all edges of the given shape
+filletall = geompy.MakeFilletAll(prism, radius)
+
+# add objects in the study
+id_prism = geompy.addToStudy(prism,"Prism")
+id_fillet = geompy.addToStudy(fillet,"Fillet")
+id_filletall = geompy.addToStudy(filletall,"Fillet all")
+
+# display the prism and the results of fillet operation
+gg.createAndDisplayGO(id_prism)
+gg.setDisplayMode(id_prism,1)
+gg.createAndDisplayGO(id_fillet)
+gg.setDisplayMode(id_fillet,1)
+gg.createAndDisplayGO(id_filletall)
+gg.setDisplayMode(id_filletall,1)
+\endcode
+
+\anchor tui_chamfer
+<br><h2>Chamfer</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+d1 = 10.
+d2 = 10.
+ShapeTypeFace = geompy.ShapeType["FACE"]
+
+# create vertices and vectors
+p0 = geompy.MakeVertex( 0., 0., 0.)
+px = geompy.MakeVertex(100., 0., 0.)
+py = geompy.MakeVertex( 0., 100., 0.)
+pz = geompy.MakeVertex( 0., 0., 100.)
+vz = geompy.MakeVector(p0, pz)
+vxy = geompy.MakeVector(px, py)
+
+# create an arc
+arc = geompy.MakeArc(py, pz, px)
+
+# create a wire
+wire = geompy.MakeWire([vxy, arc])
+
+# create a planar face
+face = geompy.MakeFace(wire, 1)
+
+# create a prism
+prism = geompy.MakePrismVecH(face, vz, 100.0)
+
+# get the list of IDs (IDList) for the chamfer
+prism_faces = geompy.SubShapeAllSorted(prism, ShapeTypeFace)
+f_ind_1 = geompy.GetSubShapeID(prism, prism_faces[0])
+f_ind_2 = geompy.GetSubShapeID(prism, prism_faces[1])
+IDlist_f = [f_ind_1, f_ind_2]
+
+# perform a chamfer on the edges common to the specified faces
+chamfer_e = geompy.MakeChamferEdge(prism, d1, d2, f_ind_1, f_ind_2)
+
+# perform a chamfer on all edges of the specified faces
+chamfer_f = geompy.MakeChamferFaces(prism, d1, d2, IDlist_f)
+chamfer_f1 = geompy.MakeChamfer(prism, d1, d2, ShapeTypeFace, IDlist_f)
+
+# perform a symmetric chamfer on all edges of the given shape
+chamfer_all = geompy.MakeChamferAll(prism, d1)
+
+# add objects in the study
+id_prism = geompy.addToStudy(prism,"Prism")
+id_chamfer_e = geompy.addToStudy(chamfer_e,"Chamfer edge")
+id_chamfer_f = geompy.addToStudy(chamfer_f,"Chamfer faces")
+id_chamfer_f1 = geompy.addToStudy(chamfer_f1,"Chamfer faces 1")
+id_chamfer_all = geompy.addToStudy(chamfer_all,"Chamfer all")
+
+# display the prism and the results of chamfer operation
+gg.createAndDisplayGO(id_prism)
+gg.setDisplayMode(id_prism,1)
+gg.createAndDisplayGO(id_chamfer_e)
+gg.setDisplayMode(id_chamfer_e,1)
+gg.createAndDisplayGO(id_chamfer_f)
+gg.setDisplayMode(id_chamfer_f,1)
+gg.createAndDisplayGO(id_chamfer_f1)
+gg.setDisplayMode(id_chamfer_f1,1)
+gg.createAndDisplayGO(id_chamfer_all)
+gg.setDisplayMode(id_chamfer_all,1)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_viewing_geom_objs_page Viewing Geometrical Objects
+
+\anchor tui_change_disp_mode
+<br><h2>Changing Display Mode</h2>
+
+\code
+import salome
+import geompy
+box = geompy.MakeBox(0,0,0, 50,50,50)
+
+sphere = geompy.MakeSphere(50,50,50, 30)
+fuse = geompy.MakeBoolean(box,sphere,3)
+fuse_id = geompy.addToStudy(fuse,"Fuse")
+
+gg = salome.ImportComponentGUI("GEOM")
+gg.createAndDisplayGO(fuse_id)
+gg.setDisplayMode(fuse_id,1)
+\endcode
+
+\anchor tui_change_color
+<br><h2> Changing Color</h2>
+
+\code
+import salome
+import geompy
+box = geompy.MakeBox(0,0,0, 50,50,50)
+
+sphere = geompy.MakeSphere(50,50,50, 30)
+fuse = geompy.MakeBoolean(box,sphere,3)
+fuse_id = geompy.addToStudy(fuse,"Fuse")
+
+gg = salome.ImportComponentGUI("GEOM")
+gg.createAndDisplayGO(fuse_id)
+gg.setDisplayMode(fuse_id,1)
+gg.setColor(fuse_id,218,165,31)
+\endcode
+
+\anchor tui_change_transparency
+<br><h2>Changing Transparency</h2>
+
+\code
+import salome
+import geompy
+
+box = geompy.MakeBox(0,0,0, 50,50,50)
+sphere = geompy.MakeSphere(50,50,50, 30)
+
+fuse = geompy.MakeBoolean(box,sphere,3)
+fuse_id = geompy.addToStudy(fuse,"Fuse")
+
+gg = salome.ImportComponentGUI("GEOM")
+gg.createAndDisplayGO(fuse_id)
+gg.setDisplayMode(fuse_id,1)
+gg.setColor(fuse_id,218,165,31)
+gg.setTransparency(fuse_id,0.5)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page tui_working_with_groups_page Working with Groups
+
+<br><h2>Creation of a group</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create two vertices
+p0 = geompy.MakeVertex(0. , 0. , 0. )
+p200 = geompy.MakeVertex(200., 200., 200.)
+
+# create a box from two points
+Box = geompy.MakeBoxTwoPnt(p0, p200)
+
+# create a group from the faces of the box
+group = geompy.CreateGroup(Box, geompy.ShapeType["FACE"])
+
+# add objects to the group
+SubFaceList = geompy.SubShapeAllSorted(Box, geompy.ShapeType["FACE"])
+for i in [0, 3, 5] :
+ FaceID = geompy.GetSubShapeID(Box, SubFaceList[i])
+ geompy.AddObject(group, FaceID)
+
+# add all selected shapes from the list to the group
+# (the program doesn't raise error, if some shapes are already included)
+geompy.UnionList(group, [SubFaceList[0], SubFaceList[2], SubFaceList[5]])
+
+# remove an object from the group
+geompy.RemoveObject(group, FaceID)
+
+# remove all selected shapes from the group
+# (the program doesn't raise error, if some shapes are not included)
+geompy.DifferenceList(group, [SubFaceList[2], SubFaceList[3], SubFaceList[4]])
+id_group1 = geompy.addToStudy(group, "Group1")
+
+# display the contents of the group
+gg.createAndDisplayGO(id_group1)
+salome.sg.updateObjBrowser(1)
+\endcode
+
+<br><h2>Adding an object to the group</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create two vertices
+p0 = geompy.MakeVertex(0. , 0. , 0. )
+p200 = geompy.MakeVertex(200., 200., 200.)
+
+# create a box from two points
+Box = geompy.MakeBoxTwoPnt(p0, p200)
+
+# create a group from the faces of the box
+group = geompy.CreateGroup(Box, geompy.ShapeType["FACE"])
+
+# add objects to the group
+SubFaceList = geompy.SubShapeAllSorted(Box, geompy.ShapeType["FACE"])
+for i in [0, 3, 5] :
+ FaceID = geompy.GetSubShapeID(Box, SubFaceList[i])
+ geompy.AddObject(group, FaceID)
+id_group1 = geompy.addToStudy(group, "Group1")
+
+# display the contents of the group
+gg.createAndDisplayGO(id_group1)
+salome.sg.updateObjBrowser(1)
+\endcode
+
+<br><h2>Removing an object from the group</h2>
+
+\code
+import geompy
+import salome
+gg = salome.ImportComponentGUI("GEOM")
+
+# create two vertices
+p0 = geompy.MakeVertex(0. , 0. , 0. )
+p200 = geompy.MakeVertex(200., 200., 200.)
+
+# create a box from two points
+Box = geompy.MakeBoxTwoPnt(p0, p200)
+
+# create a group from the faces of the box
+group = geompy.CreateGroup(Box, geompy.ShapeType["FACE"])
+
+# add objects to the group
+SubFaceList = geompy.SubShapeAllSorted(Box, geompy.ShapeType["FACE"])
+for i in [0, 3, 5] :
+ FaceID = geompy.GetSubShapeID(Box, SubFaceList[i])
+ geompy.AddObject(group, FaceID)
+
+# add all selected shapes from the list to the group
+# (the program doesn't raise errors, if some shapes are already included)
+geompy.UnionList(group, [SubFaceList[0], SubFaceList[2], SubFaceList[5]])
+
+# remove an object from the group
+geompy.RemoveObject(group, FaceID)
+id_group1 = geompy.addToStudy(group, "Group1")
+
+# display the contents of the group
+gg.createAndDisplayGO(id_group1)
+salome.sg.updateObjBrowser(1)
+\endcode
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page using_boolean_operations_page Using Boolean Operations
+
+\n You can use the following boolean operations for construction of more
+complex geometrical objects (2D & 3D elements):
+
+<ul>
+<li>\ref fuse_operation_page "Fuse"</li>
+<li>\ref common_operation_page "Common"</li>
+<li>\ref cut_operation_page "Cut"</li>
+<li>\ref section_opeartion_page "Section"</li>
+</ul>
+
+There is a general TUI command covering all these operations, which
+can be used alongside with separate commands for each operation.
+\par
+<em>geompy.MakeBoolean(Shape1, Shape2, Operation),</em> where \em
+Shape1 is the first argument and \em Shape2 is the second argument of
+Boolean operation, \em Operation is a type of the Boolean operation (1
+— Common, 2 — Cut, 3 — Fuse, 4 — Section).
+
+\n Our <b>TUI Scripts</b> provide you with useful examples of the use of
+\ref tui_boolean_operations_page "Boolean Operations".
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page using_measurement_tools_page Using measurement tools
+
+\n Measurement tools in GEOM are necessary for getting different data
+concerning created or imported geometrical objects. They are:
+
+<ul>
+<li>\ref point_coord_anchor "Point coordinates"</li>
+<li>\ref basic_prop_anchor "Basic properties"</li>
+<li>\ref center_mass_anchor "Center of mass"</li>
+<li>\ref inertia_anchor "Inertia"</li>
+<li>\ref bounding_box_anchor "Bounding box"</li>
+<li>\ref min_distance_anchor "Min. distance"</li>
+<li>\ref tolerance_anchor "Tolerance"</li>
+<li>\ref whatis_anchor "WhatIs"</li>
+<li>\ref check_anchor "Check"</li>
+<li>\ref check_compound_anchor "Check compound of blocks"</li>
+</ul>
+
+\n Our <b>TUI Scripts</b> show how to use
+\ref tui_measurement_tools_page "Measurement Tools" with <b>TUI
+commands</b>.
+
+\n <em>To use measurement tools:</em>
+\par
+In the <b>Main menu</b> select \b Measures submenu.
+
+\anchor point_coord_anchor
+<br><h2>Point coordinates</h2>
+
+\n Returns the coordinates of a point.
+
+\n <b>Result:</b> Point coordinates (X, Y, Z) in 3D space in the form of Python Tuple.
+\n <b>TUI Command:</b> <em>geompy.PointCoordinates(Point),</em>
+where \em Point is a point whose coordinates are inquired.
+
+\image html measures1.png
+
+\anchor basic_prop_anchor
+<br><h2>Basic properties</h2>
+
+\n Returns the properties (Length, Surface & Volume) for the selected
+geometrical object.
+
+\n <b>Result:</b> Display Length, Surface & Volume in the form of
+Python Tuple.
+\n <b>TUI Command:</b> <em>geompy.BasicProperties(Shape),</em> where
+\em Shape is a shape whose properties are inquired.
+
+\image html neo-basicprop.png
+
+\anchor center_mass_anchor
+<br><h2>Center of mass</h2>
+
+\n Calculates and returns the coordinates of the gravity center for
+the selected geometrical object.
+
+\n <b>Result:</b> GEOM_Object (vertex).
+\n <b>TUI Command:</b> <em> geompy.MakeCDG(Shape),</em> where \em Shape is
+the shape for which a center of gravity is computed.
+
+\image html measures3.png
+
+\anchor inertia_anchor
+<br><h2>Inertia</h2>
+
+Returns the axis of inertia for the selected geometrical object.
+
+\n <b>Result:</b> Displays the matrix and moments of inertia in the
+form of Python Tuple <center>(I11, I12, I13,</center>
+ <center>I21, I22, I23,</center>
+ <center>I31, I32, I33,</center>
+ <center>Ix, Iy, Iz).</center>
+\n <b>TUI Command:</b> <em>geompy.Inertia(Shape),</em> where \em Shape is
+a shape for which a matrix of inertia and moment of inertia are
+returned.
+
+\image html measures4.png
+
+\anchor bounding_box_anchor
+<br><h2>Bounding box</h2>
+
+\n Returns the dimensions of the bounding box for the selected
+geometrical object.
+
+\n <b>Result:</b> Displays the dimensions of the bounding box of a
+geometrical object in the form of Python Tuple (Xmin, Xmax, Ymin,
+Ymax, Zmin, Zmax).
+\n <b>TUI Command:</b> <em>geompy.BoundingBox(Shape),</em> where \em Shape
+is a shape for which a bounding box is computed.
+
+\image html measures5.png
+
+\anchor min_distance_anchor
+<br><h2>Min. distance</h2>
+
+\n Returns the minimum distance between two geometrical objects.
+
+\n <b>TUI Command:</b> <em>geompy.MinDistance(Shape1, Shape2),</em>
+where \em Shape1 and \em Shape2 are shapes between which the minimal distance
+computed.
+
+\image html distance.png
+
+\anchor tolerance_anchor
+<br><h2>Tolerance</h2>
+
+\n Returns the maximum and the minimum tolerance for the selected
+geometrical object.
+
+\n <b>Result:</b> Displays the tolerance values (FaceMinTol,
+FaceMaxTol, EgdeMinTol, EgdeMaxTol, VertexMinTol, VertexMaxTol).
+\n <b>TUI Command:</b> <em>geompy.Tolerance(Shape),</em> where \em Shape
+is a shape for which minimal and maximal tolerances are returned.
+
+\image html new-tolerance.png
+
+\anchor whatis_anchor
+<br><h2>WhatIs</h2>
+
+\n Displays types and quantities of all elements composing the
+selected geometrical object.
+
+\n <b>TUI Command:</b> <em>geompy.WhatIs(Shape),</em> where \em Shape is a
+shape from which a description is returned.
+
+\image html measures8.png
+
+\anchor check_anchor
+<br><h2>Check</h2>
+
+\n Checks the topology of the selected geometrical object and returns
+True if it is valid. Check also geometry checkbox allows to test the
+geometry as well.
+
+\n <b>Result:</b> Boolean.
+\n <b>TUI Command:</b> <em>geompy.(theShape, theIsCheckGeom = 0),</em>
+where is shape which is checked for validity.
+
+\image html measures9.png
+
+\anchor check_compound_anchor
+<br><h2>Check compound of blocks</h2>
+
+\n Checks whether a shape is a compound of glued blocks. To be
+considered as a compound of blocks, the given shape must satisfy the
+following conditions:
+<ul>
+<li>Each element of the compound should be a Block (6 faces and 12 edges);</li>
+<li>A connection between two Blocks should be an entire quadrangle face or an entire edge;</li>
+<li>The compound should be connected;</li>
+<li>Two quadrangle faces should be glued.</li>
+</ul>
+
+\n Informs of the following possible errors:
+<ul>
+<li>not a block;</li>
+<li>not glued;</li>
+<li>not connected;</li>
+<li>extra or degenerated edge.</li>
+</ul>
+
+\n <b>Result:</b> Boolean; highlight in the viewer.
+\n <b>TUI Command:</b>
+<em>geompy.CheckCompoundOfBlocks(Compound).</em> Checks if the shape
+is a valid compound of blocks. If it is true, then the validity flag
+is returned, and encountered errors are printed in the python console.
+
+\image html measures10.png
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page view_geom_obj_page Overview
+
+\n Newly created geometrical objects are automatically displayed in
+the <b>OCC 3D Viewer</b>.
+
+\n <b>OCC 3D Viewer</b> is described in the documentation on <b>GUI
+module</b>.
+\n After the object has appeared in the Viewer, you can select it with
+left mouse click to change its presentation parameters and access to
+other useful options by right-clicking on the selected object.
+
+\image html image1.jpg
+
+<ul>
+<li><b>Rename</b> - allows to change the name of the geometric
+object.</li>
+<li>\ref display_mode_page "Display Mode" - allows to select between
+Wireframe and Shading presentation.</li>
+<li>\ref color_page "Color" - allows to change the filling color in
+the standard <b>Select Color</b> menu.</li>
+<li>\ref transparency_page "Transparency" - allows to change the
+transparency of mesh elements.</li>
+<li>\ref isolines_page "Isos" - allows to change the number of
+isolines displayed within a shape.</li>
+<li><b>Erase</b> - allows to hide the selected mesh from the
+viewer. TUI Command : <em>sg.EraseOnly(ID)</em>
+\n \image html image18.gif
+</li>
+<li><b>Erase all</b> - allows to hide all objects from the viewer. TUI
+Command: <em>sg.EraseAll()</em>
+\n \image html image26.gif
+</li>
+<li><b>Display Only</b> - allows to display only the selected mesh,
+hiding all other from the viewer. TUI Command: <em>sg.DisplayOnly(ID)</em>
+\n \image html image33.gif
+</li>
+<li><b>Update</b> - refreshes the presentation of your mesh in the
+Object Browser, applying all recent changes.</li>
+<li><b>Dump view</b> - exports an object from the viewer in bmp, png,
+jpg or jpeg image format.</li>
+<li><b>Change background</b> - allows to redefine the background
+color. By default it is black.
+\n\n Some of these functionalities are available through right-clicking
+on the viewer background:
+
+\image html image2.jpg <br></li>
+
+<li><b>Select Only</b> provides a filter for exclusive selection of objects of a certain type.</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page view_geom_obj_chapter_page Viewing Geometrical Objects
+
+<ul>
+<li>\subpage view_geom_obj_page</li>
+<li>\subpage display_mode_page</li>
+<li>\subpage color_page</li>
+<li>\subpage transparency_page</li>
+<li>\subpage isolines_page</li>
+</ul>
+
+*/
\ No newline at end of file
--- /dev/null
+/*!
+
+\page work_with_groups_page Working with groups
+
+Creation and editing groups of subshapes of a geometrical object makes
+handling subshapes much easier. This functionality is available in OCC
+viewer only.
+
+<br><h2>Create a group</h2>
+
+\image html image56.gif
+
+To create a group of subshapes of a geometrical object in the main
+menu select <b>New entity > Group > Create</b>
+\n The following menu will appear:
+
+\image html geomcreategroup.png
+
+In this Menu:
+
+<ul>
+<li><b>Shape Type</b> radio button define the type of elements for the
+group (points, lines, planes or shapes).</li>
+<li><b>Group Name</b> - here you can enter the name of the group, by
+default, it is Group_n.</li>
+<li>Then, using the "Select" button, select the <b>Main Shape</b> (a
+geometrical object on which the group will be created). You can select
+the elements of your group in two ways: </li>
+<ul>
+<li>Clicking <b>Select Sub-Shapes</b> button you can select them
+manually in the 3D Viewer, and add to the group by clicking the \b Add
+button (keep down the Shift button on the keyboard to select several
+elements and add all them together). The indexes of the selected
+elements will be displayed in the list. To delete elements from the
+list, select them and click \b Remove button.</li>
+<li>Clicking <b>Select All</b> button you can add all object's
+elements of a certain type in the list of the elements of the
+group. To delete elements from the list, select them and click \b
+Remove button.</li>
+</ul>
+<li>Finally, confirm your selection by clicking \b OK (also closes the
+Menu) or \b Apply (leaves the Menu open for creation of other groups),
+or skip it by clicking \b Close button.</li>
+</ul>
+
+\n The Result of the operation will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b> <em>geompy.CreateGroup(MainShape,
+ShapeType),</em> where MainShape is a shape for which the group is
+created, ShapeType is a type of shapes in the created group.
+\n <b>Arguments:</b> 1 Shape + Type of subshape.
+
+<b>Example:</b>
+
+\image html image193.jpg
+
+
+<br><h2>Edit a group</h2>
+
+\image html image57.gif
+
+To \b Edit an existing group in the main menu select <b>New entity >
+Group > Edit</b>. This menu is designed in the same way as the
+<b>Create a group</b> menu.
+
+\n The \b Result of the operation will be a \b GEOM_Object.
+
+\n <b>TUI Command:</b>
+<ul>
+<li><em>geompy.AddObject(Group, SubShapeID),</em> where Group is a
+group to which a sub shape has to be added, SubShapeID is an ID of the
+sub shape to be added to the group.</li>
+<li><em>geompy.RemoveObject(Group, SubShapeID),</em> where Group is a
+group from which a sub shape has to be removed, SubShapeID is an ID of
+the sub shape to be removed from the group.</li>
+<li><em>geompy.GetObjectIDs(Group),</em> where Group is a group for which its object's are returned.
+\n Returns: List of IDs.</li>
+</ul>
+
+\n <b>Arguments:</b> 1 Shape + its subshapes.
+
+\n <b>Dialog Box:</b>
+
+\image html editgroup.png
+
+Our <b>TUI Scripts</b> provide you with useful examples of
+\ref tui_working_with_groups_page "Working with Groups".
+
+*/
\ No newline at end of file
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Isos</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">
-<!--
-p.whs1 { font-size:12pt; }
-p.whs2 { font-size:12pt; margin-left:40px; }
-img_whs3 { border:none; width:255px; height:150px; float:none; border-style:none; }
-img_whs4 { border:none; width:400px; height:420px; float:none; border-style:none; }
-p.whs5 { font-family:'Times New Roman' , serif; font-size:12pt; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nViewing geometrical objects\nIsolines");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Isolines</h1>
-
-<p class="whs1">In this menu you can change the number of isolines
- displayed within a shape.</p>
-
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
- 2 values (number of isolines).</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"><img src="pics/neo-isos.png" x-maintain-ratio="TRUE" width="255px" height="150px" border="0" class="img_whs3"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="400px" height="420px" border="0" class="img_whs4"> <img src="pics/isos_u12_v12sn.png" x-maintain-ratio="TRUE" width="400px" height="420px" border="0" class="img_whs4"></p>
-
-<p class="whs5"> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Line</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 { border:none; width:26px; height:23px; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }
-p.whs5 { color:#808080; font-size:12pt; }
-p.whs6 { font-size:12pt; color:#000000; }
-p.whs7 { color:#808080; font-size:12pt; margin-left:40px; }
-img_whs8 { border:none; width:357px; height:322px; float:none; border-style:none; }
-p.whs9 { font-size:12pt; 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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nLine");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><b><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="image5.gif" width="26px" height="23px" border="0" class="img_whs1"> </font></span></b>Line</h1>
-
-<p>To create a <span style="font-weight: bold;"><B>Line</B></span> in the <span
- style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
- Entity - > Basic - > Line</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">To create a <span style="font-weight: bold;"><B>Line</B></span>
- you should define <span style="font-weight: bold;"><B>Point1</B></span> and <span
- style="font-weight: bold;"><B>Point2</B></span>, which are the points through
- which the
- <span style="font-weight: bold;"><B>Line</B></span> passes.</p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">of the operation will be a</span></b>
- GEOM_Object (edge).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
- <span style="font-style: italic;"><I>geompy.MakeLineTwoPnt(Point1, Point2)</I></span>
- </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 2 vertices.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/line.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs5"> </p>
-
-<p class="whs7"><img src="pics/lines.png" x-maintain-ratio="TRUE" width="357px" height="322px" border="0" class="img_whs8"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs9">NB! <span style="font-weight: normal;">There
- is another way to create a line, which is currently accessible only via</span>
- TUI <span style="font-weight: normal;">commands.</span></p>
-
-<p class="whs9"> </p>
-
-<p class="whs9"><span style="font-weight: normal;">You
- can define a line passing
- through the given</span> Point <span style="font-weight: normal;">and
- parallel to the given</span> Vector. </p>
-
-<p class="whs9"><b style="font-weight: bold;">TUI
- Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeLine(Point,
- Vector)</I></span> </p>
-
-<p class="whs9"> </p>
-
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
- provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark1">Basic
- Geometric Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Local Coordinate System</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 { border:none; width:16px; height:16px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-weight:bold; font-size:14pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:391px; float:none; border-style:none; }
-p.whs5 { font-weight:bold; font-size:14pt; }
-p.whs6 { font-size:12pt; font-weight:normal; }
-img_whs7 { border:none; width:312px; height:289px; float:none; border-style:none; }
-p.whs8 { font-size:12pt; font-weight:bold; }
-img_whs9 { border:none; width:312px; height:359px; float:none; border-style:none; }
-p.whs10 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }
-p.whs11 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }
-p.whs12 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }
-img_whs13 { border:none; width:200px; height:219px; 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.whs10 {text-indent:1pt; }";
- strNSS += "p.whs11 {text-indent:1pt; }";
- strNSS += "p.whs12 {text-indent: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nLocal Coordinate System");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image35.gif" width="16px" height="16px" border="0" class="img_whs1"></font></span>Local Coordinate
- System</h1>
-
-<p>To create a <span style="font-weight: bold;"><B>Local Coordinate System</B></span>
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
- style="font-weight: bold;"><B>New Entity - > Basic - > Local Coordinate
- System</B></span></p>
-
-<p class="whs2">There are three algorithms to choose from.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Firstly, you can define the values of X, Y,
- and Z coordinates of origin and the directions of X and Y axes directly
- in the menu.</p>
-
-<p class="whs2"><span style="font-weight: bold;"><B>TUI command:</B></span>
- <span style="font-style: italic;"><I>geompy.MakeMarker(OX, OY, OZ, XDX, XDY,
- XDZ, YDX, YDY, YDZ)</I></span>, where OX, OY, OZ are coordinates of the origin
- of LCS, XDX, XDY, XDZ is a vector of OX direction
- of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + Coordinates of origin, X axis direction, Y axis direction.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/neo-localcs1.png" x-maintain-ratio="TRUE" width="312px" height="391px" border="0" class="img_whs4"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs6">Secondly, you can simply
- select any object in the object browser or 3D viewer, in this case the
- coordinates of origin and axes direction of the LCS are calculated automatically
- basing on the selected object. </p>
-
-<p class="whs6"><b style="font-weight: bold;">Arguments:
- </b>Name + reference object.</p>
-
-<p class="whs6"> </p>
-
-<p class="whs3"><img src="pics/neo-localcs2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs7"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">The last algorithm of LCS construction allows
- to define the coordinates of origin by a point and axes directions by
- a line or a vector. </p>
-
-<p class="whs8"><b style="font-weight: bold;">Arguments:</b>
- <span style="font-weight: normal;">Name + 1 point of origin + X axis direction,
- Y axis direction.</span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/neo-localcs3.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs9"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Press «OK» or «Apply» button to create an LCS
- at the location with the specified coordinates. The new object is shown
- in the Object Browser and in 3D viewer.</p>
-
-<p class="whs10"> </p>
-
-<p class="whs11">Example:</p>
-
-<p class="whs12"><img src="image145.jpg" width="200px" height="219px" border="0" class="img_whs13"></p>
-
-<p class="whs12"> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Measurement Tools</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
-p.whs2 { font-family:'Times New Roman' , serif; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nMeasurement Tools");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Measurement Tools</h1>
-
-<h3>Point Coordinates</h3>
-
-<p class="whs1">import math</p>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a point</p>
-
-<p class="whs1">point = geompy.MakeVertex(15.,
- 23., 80.)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># get the coordinates
- of the point and check its values</p>
-
-<p class="whs1">coords = geompy.PointCoordinates(point)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># check the obtained
- coordinate values </p>
-
-<p class="whs1">tolerance = 1.e-07</p>
-
-<p class="whs1">def IsEqual(val1,
- val2): return (math.fabs(val1 - val2) < tolerance)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">if IsEqual(coords[0],
- 15.) and IsEqual(coords[1], 23.) and IsEqual(coords[2], 80.):</p>
-
-<p class="whs1"> print
- "All values are OK."</p>
-
-<p class="whs1">else :</p>
-
-<p class="whs1"> print
- "Coordinates of point must be (15, 23, 80), but returned (",</p>
-
-<p class="whs1"> print
- coords[0], ", ", coords[1], ", ", coords[2], ")"</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;"> pass</span>
- </p>
-
-<h3>Basic Properties</h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import math</p>
-
-<p> </p>
-
-<p># create a box</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
-
-<p class="whs1">props = geompy.BasicProperties(box)</p>
-
-<p class="whs1">print "\nBox
- 100x30x100 Basic Properties:"</p>
-
-<p class="whs1">print " Wires
- length: ", props[0]</p>
-
-<p class="whs1">print " Surface
- area: ", props[1]</p>
-
-<p class="whs1">print " Volume
- :
- ", props[2]</p>
-
-<p class="whs1">length = math.sqrt((props[0]
- - 1840)*(props[0] - 1840))</p>
-
-<p class="whs1">area = math.sqrt((props[1]
- - 32000)*(props[1] - 32000))</p>
-
-<p class="whs1">volume = math.sqrt((props[2]
- - 300000)*(props[2] - 300000))</p>
-
-<p class="whs1">if length > 1e-7
- or area > 1e-7 or volume > 1e-7:</p>
-
-<p class="whs1"> print
- "While must be:"</p>
-
-<p class="whs1"> print
- " Wires length: ", 1840</p>
-
-<p class="whs1"> print
- " Surface area: ", 32000</p>
-
-<p class="whs1"> print
- " Volume :
- ", 300000.</p>
-
-<h3>Center of masses</h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import math</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a box</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
-
-<p class="whs1">cm = geompy.MakeCDG(box)</p>
-
-<p class="whs1">if cm is None:</p>
-
-<p class="whs1"> raise
- RuntimeError, "MakeCDG(box) failed"</p>
-
-<p class="whs1">else:</p>
-
-<p class="whs1"> print
- "\nCentre of gravity of box has been successfully obtained:"</p>
-
-<p class="whs1"> coords
- = geompy.PointCoordinates(cm)</p>
-
-<p class="whs1"> print
- "(", coords[0], ", ", coords[1], ", ", coords[2],
- ")"</p>
-
-<p class="whs1"> dx
- = math.sqrt((coords[0] - 50)*(coords[0] - 50))</p>
-
-<p class="whs1"> dy
- = math.sqrt((coords[1] - 15)*(coords[1] - 15))</p>
-
-<p class="whs1"> dz
- = math.sqrt((coords[2] - 50)*(coords[2] - 50))</p>
-
-<p class="whs1"> if
- dx > 1e-7 or dy > 1e-7 or dz > 1e-7:</p>
-
-<p class="whs1"> print
- "But must be (50, 15, 50)" </p>
-
-<h3>Inertia</h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import math</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a box</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
-
-<p class="whs1">In = geompy.Inertia(box)</p>
-
-<p class="whs1">print "\nInertia
- matrix of box 100x30x100:"</p>
-
-<p class="whs1">print " (",
- In[0], ", ", In[1], ", ", In[2], ")"</p>
-
-<p class="whs1">print " (",
- In[3], ", ", In[4], ", ", In[5], ")"</p>
-
-<p class="whs1">print " (",
- In[6], ", ", In[7], ", ", In[8], ")"</p>
-
-<p class="whs1">print "Main moments
- of inertia of box 100x30x100:"</p>
-
-<p class="whs1">print " Ix =
- ", In[9], ", Iy = ", In[10], ", Iz = ", In[11]
- </p>
-
-<p class="whs1"> </p>
-
-<h3>Bounding Box</h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a box</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
-
-<p class="whs1">bb = geompy.BoundingBox(box)</p>
-
-<p class="whs1">print "\nBounding
- Box of box 100x30x100:"</p>
-
-<p class="whs1">print " Xmin
- = ", bb[0], ", Xmax = ", bb[1]</p>
-
-<p class="whs1">print " Ymin
- = ", bb[2], ", Ymax = ", bb[3]</p>
-
-<p class="whs1">print " Zmin
- = ", bb[4], ", Zmax = ", bb[5] </p>
-
-<p class="whs1"> </p>
-
-<p class="whs1"> </p>
-
-<h3>Minimal Distance </h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create boxes</p>
-
-<p class="whs1">box1 = geompy.MakeBoxDXDYDZ(100,30,100)</p>
-
-<p class="whs1">box2 = geompy.MakeBox(105,0,0,200,30,100)</p>
-
-<p class="whs1">min_dist = geompy.MinDistance(box1,box2)</p>
-
-<p class="whs1">print "\nMinimal
- distance between box1 and box2 = ", min_dist </p>
-
-<p class="whs1"> </p>
-
-<h3>Tolerance</h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a box</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
-
-<p class="whs1">Toler = geompy.Tolerance(box)</p>
-
-<p class="whs1">print "\nBox
- 100x30x100 tolerance:"</p>
-
-<p class="whs1">print " Face
- min. tolerance: ", Toler[0]</p>
-
-<p class="whs1">print " Face
- max. tolerance: ", Toler[1]</p>
-
-<p class="whs1">print " Edge
- min. tolerance: ", Toler[2]</p>
-
-<p class="whs1">print " Edge
- max. tolerance: ", Toler[3]</p>
-
-<p class="whs1">print " Vertex
- min. tolerance: ", Toler[4]</p>
-
-<p class="whs1">print " Vertex
- max. tolerance: ", Toler[5] </p>
-
-<p class="whs1"> </p>
-
-<h3>What Is</h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a box</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
-
-<p class="whs1">Descr = geompy.WhatIs(box)</p>
-
-<p class="whs1">print "\nBox
- 100x30x100 description:"</p>
-
-<p class="whs1">print Descr </p>
-
-<p class="whs1"> </p>
-
-<h3>Check Shape</h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a box</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>
-
-<p class="whs1">IsValid = geompy.CheckShape(box)</p>
-
-<p class="whs1">if IsValid == 0:</p>
-
-<p class="whs1"> raise
- RuntimeError, "Invalid box created"</p>
-
-<p class="whs1">else:</p>
-
-<p class="whs1"> print
- "\nBox is valid" </p>
-
-<p class="whs1"> </p>
-
-<p class="whs1"> </p>
-
-<h3>Check Compound of Blocks</h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create boxes</p>
-
-<p class="whs1">box1 = geompy.MakeBox(0,0,0,100,50,100)</p>
-
-<p class="whs1">box2 = geompy.MakeBox(100,0,0,250,50,100)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># make a compound</p>
-
-<p class="whs1">compound = geompy.MakeCompound([box1,
- box2])</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># glue the faces of the
- compound</p>
-
-<p class="whs1">tolerance = 1e-5</p>
-
-<p class="whs1">glue = geompy.MakeGlueFaces(compound,
- tolerance)</p>
-
-<p class="whs1">IsValid = geompy.CheckCompoundOfBlocks(glue)</p>
-
-<p class="whs1">if IsValid == 0:</p>
-
-<p class="whs1"> raise
- RuntimeError, "Invalid compound created"</p>
-
-<p class="whs1">else:</p>
-
-<p class="whs1"> print
- "\nCompound is valid" </p>
-
-<p class="whs1"> </p>
-
-<p class="whs1"> </p>
-
-<p class="whs1"> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Mirror Image</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">
-<!--
-p.whs1 { font-size:12pt; }
-p.whs2 { font-size:12pt; margin-left:40px; }
-img_whs3 { border:none; width:312px; height:350px; float:none; border-style:none; }
-img_whs4 { border:none; width:174px; height:233px; float:none; border-style:none; }
-img_whs5 { border:none; float:none; width:174px; height:233px; border-style:none; }
-img_whs6 { border:none; width:227px; height:176px; float:none; border-style:none; }
-img_whs7 { border:none; float:none; width:199px; height:177px; border-style:none; }
-img_whs8 { border:none; float:none; width:250px; height:350px; border-style:none; }
-img_whs9 { border:none; float:none; width:248px; height:349px; border-style:none; }
-p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nMirror Image");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Mirror Image</h1>
-
-<p class="whs1"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Mirror Image</B></span> in the Main Menu
- select <span style="font-weight: bold;"><B>Operations - > Transformation
- - > Mirror Image</B></span></p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">This operation creates a symmetrical copy of
- an <span style="font-weight: bold;"><B>Object, </B></span>which can be mirrored
- in three different ways.<span style="font-weight: bold;"><B> Create a copy
- </B></span>checkbox allows to keep the initial object, otherwise it will be
- removed.</p>
-
-<p class="whs1"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Firstly an Object
- can be mirrored through a Point of symmetry</font></span></p>
-
-<p class="whs1"><b style="font-weight: bold;">TUI Command:
- </b><span style="font-style: italic;"><I>geompy.MakeMirrorByPoint(Object,
- Point)</I></span> </p>
-
-<p class="whs1"><b style="font-weight: bold;">Arguments: <span
- style="font-weight: normal;">Name + </span></b>1 shape + 1 vertex.</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"><img src="pics/transformation7.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"> </p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"><img src="pics/mirror_pointsn1.png" x-maintain-ratio="TRUE" width="174px" height="233px" border="0" class="img_whs4"> <img src="pics/mirror_pointsn2.png" x-maintain-ratio="TRUE" width="174px" height="233px" border="0" class="img_whs5"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs1"> </p>
-
-<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Secondly an
- Object can be mirrored through an Axis of symmetry </font></span></p>
-
-<p class="whs1"><b style="font-weight: bold;">TUI Command:
- </b><span style="font-style: italic;"><I>geompy.MakeMirrorByAxis(Object,
- Axis)</I></span> </p>
-
-<p class="whs1"><b style="font-weight: bold;">Arguments: <span
- style="font-weight: normal;">Name + </span></b>1 shape + 1 vector.</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"><img src="pics/transformation8.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"> </p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"><img src="pics/mirror_axissn1.png" x-maintain-ratio="TRUE" width="227px" height="176px" border="0" class="img_whs6"> <img src="pics/mirror_axissn2.png" x-maintain-ratio="TRUE" width="199px" height="177px" border="0" class="img_whs7"></p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">Finally an <span style="font-weight: bold;"><B>Object</B></span>
- can be mirrored through a <span style="font-weight: bold;"><B>Plane</B></span>
- of symmetry </p>
-
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeMirrorByPlane(Shape,
- Plane)</I></span>, </p>
-
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b>
- <b><span style="font-weight: normal;">Name + </span></b>1 shape + 1 plane</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"><img src="pics/transformation9.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"> </p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"><img src="pics/mirror_planesn1.png" x-maintain-ratio="TRUE" width="250px" height="350px" border="0" class="img_whs8"> <img src="pics/mirror_planesn2.png" x-maintain-ratio="TRUE" width="248px" height="349px" border="0" class="img_whs9"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs10"> <span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark5">Transformation
- Operations</a>. </font></span></p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Modify the Location</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 { border:none; width:25px; height:22px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:350px; float:none; border-style:none; }
-img_whs5 { border:none; width:431px; height:233px; border-style:none; }
-img_whs6 { border:none; width:312px; height:385px; float:none; border-style:none; }
-img_whs7 { border:none; width:214px; height:222px; border-style:none; }
-table.whs8 { x-cell-content-align:top; width:100%; border-spacing:0px; }
-col.whs9 { width:50%; }
-tr.whs10 { x-cell-content-align:top; }
-td.whs11 { width:50%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; }
-td.whs12 { width:50%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; }
-td.whs13 { width:50%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-bottom-style:none; }
-img_whs14 { border:none; width:238px; height:218px; border-style:none; }
-td.whs15 { width:50%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; }
-img_whs16 { border:none; width:316px; height:215px; border-style:none; }
-p.whs17 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs17 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nModify the Location");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="image59.gif" width="25px" height="22px" border="0" class="img_whs1"> </font></span>Modify the Location</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o<span
- style="font-weight: bold;"><B> Modify the Location</B></span> in the Main Menu
- select <span style="font-weight: bold;"><B>Operations - > Transformation
- - > Modify the Location.</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">This operation modifies the <span style="font-weight: bold;"><B>Location</B></span>
- of an <span style="font-weight: bold;"><B>Object. </B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">The first algorithm places the object so that
- its center coincides with the center of an End Local Coordinate System.</p>
-
-<p class="whs2"><span style="font-weight: bold;"><B>Create a copy
- </B></span>checkbox allows to keep the initial object, otherwise it will be
- removed.</p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span><b style="font-weight: bold;">A</span>rguments:</b>
- Name + 1 Object + End Coordinate System.</font></span></p>
-
-<p> </p>
-
-<p class="whs3"><img src="pics/transformation5.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs4"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">In the picture the initial cube with the global
- coordinate system is to
- the right and the modified cube with the Local Coordinate System in the
- center of it is to the left . </p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="image30.gif" width="431px" height="233px" border="0" class="img_whs5"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">The second algorithm modifies
- the location of an object using Start and End LSC, although the final
- position of the object will not coincide with the center of either
- of the two systems. In this method the object is shifted from its initial
- position by the value of the remainder after subtraction of the coordinates
- of the Start LSC from the coordinates of the End LSC. </p>
-
-<p class="whs2"><span style="font-weight: bold;"><B>Create a copy
- </B></span>checkbox allows to keep the initial object, otherwise it will be
- removed.</p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 Object + Start Coordinate System + End Coordinate System.</font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/transformation6.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs6"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">In this picture we see the initial cube with
- the global coordinate system and two LCS: LocalCS1 (GCS+100 along x-axis)
- and LocalCS2 (GCS+200 along x-axis) </p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="image1.gif" width="214px" height="222px" border="0" class="img_whs7"></p>
-
-<p class="whs2"> </p>
-
-<table x-use-null-cells cellspacing="0" width="100%" class="whs8">
-<col class="whs9">
-<col class="whs9">
-
-<tr valign="top" class="whs10">
-<td width="50%" class="whs11">
-<p class="whs2">Selecting Start LCS = LCS1 and End LCS = LCS2,
- we obtain the translated cube at the position (100;0;0)</p>
-<p> </td>
-<td width="50%" class="whs12">
-<p class="whs2">Selecting Start LCS = LCS2 and End LCS = LCS1,
- we obtain the translated cube at the position (-100;0;0)</td></tr>
-
-<tr valign="top" class="whs10">
-<td width="50%" class="whs13">
-<p><img src="image2.gif" width="238px" height="218px" border="0" class="img_whs14"></td>
-<td width="50%" class="whs15">
-<p><img src="image4.gif" width="316px" height="215px" border="0" class="img_whs16"></td></tr>
-</table>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where theObject
- is a shape, location of which is modified, theStartLCS is a location to
- move the shape from, theEndLCS is a location to move the shape to.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs17"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark2">Transformation
- Operations</a>. </font></span></p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Multi Rotation</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-size:12pt; font-weight:bold; }
-p.whs4 { font-size:12pt; font-weight:normal; }
-p.whs5 { font-size:12pt; margin-left:40px; }
-img_whs6 { border:none; width:312px; height:346px; float:none; border-style:none; }
-img_whs7 { border:none; float:none; width:315px; height:260px; border-style:none; }
-img_whs8 { border:none; float:none; width:301px; height:260px; border-style:none; }
-img_whs9 { border:none; width:312px; height:450px; float:none; border-style:none; }
-img_whs10 { border:none; float:none; width:310px; height:405px; border-style:none; }
-img_whs11 { border:none; float:none; width:337px; height:405px; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nMulti Rotation");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Multi
- Rotation</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Multi Rotation</B></span> in the Main Menu
- select <span style="font-weight: bold;"><B>Operations - > Transformation
- - > Multi Rotation</B></span> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">This operation creates several geometrical
- objects rotated in <span style="font-weight: bold;"><B>one </B></span>or <span
- style="font-weight: bold;"><B>two </B></span>dimensions basing on the initial
- geometrical object. </p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
- style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will
- be one or several</span></b> GEOM_Objects (compound).</font></span></p>
-
-<p> </p>
-
-<p class="whs2">To produce a <span style="font-weight: bold;"><B>Simple
- Multi Rotation</B></span> (in one dimension) you need to define a <span style="font-weight: bold;"><B>Shape</B></span>
- to be rotated, an <span style="font-weight: bold;"><B>Axis</B></span> of rotation
- and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape
- must be rotated. <span style="font-weight: bold;"><B>Rotation Angle</B></span>
- will be 2*PI/NbTimes</p>
-
-<p class="whs3"><b style="font-weight: bold;">TUI
- Command: </b><span style="font-style: italic; font-weight: normal;"><I>geompy.MultiRotate1D(Shape,
- Axis, NbTimes)</I></span></p>
-
-<p class="whs3"><b style="font-weight: bold;">Arguments:
- </b><span style="font-weight: normal;">Name + 1 shape + 1 vector for direction
- + 1 value (repetition).</span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs4">There is a <span style="font-weight: bold;"><B>TUI</B></span>-only<span
- style="font-weight: bold;"> <B></B></span>command <span style="font-style: italic;"><I>geompy.MakeMultiRotation1D(Shape,
- Dir, Point, NbTimes)</I></span> which works in the same way, but the Axis
- is defined by
- direction and point. </p>
-
-<p class="whs3"> </p>
-
-<p class="whs5"><img src="pics/neo-mrot1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs6"> </p>
-
-<p class="whs5"><img src="pics/multi_rotation1d1.png" x-maintain-ratio="TRUE" width="315px" height="260px" border="0" class="img_whs7"> <img src="pics/multi_rotation1d2.png" x-maintain-ratio="TRUE" width="301px" height="260px" border="0" class="img_whs8"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><span style="font-weight: bold;"><B>Double Multi
- Rotation</B></span> (in two dimensions) rotates the given <span style="font-weight: bold;"><B>Object</B></span>
- around the given <span style="font-weight: bold;"><B>Axis</B></span> on the given
- <span style="font-weight: bold;"><B>Angle</B></span> a given <span style="font-weight: bold;"><B>Number
- of Times</B></span> and multi-translates each rotation result. Translation
- direction passes through the center of gravity of the rotated shape and
- its projection on the rotation axis. <span style="font-weight: bold;"><B>Reverse
- </B></span>checkbox allows to set the direction of rotation.</p>
-
-<p class="whs2"><b style="font-weight: bold;">T<span style="font-weight: bold;"><B>UI
- Command: </B></span><span style="font-weight: normal;">g</span></b><span style="font-style: italic;"><I>eompy.MultiRotate2D(Shape,
- Axis, Angle, NbTimes1, Step, NbTimes2)</I></span></p>
-
-<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
- style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 vector
- for direction + 1 angle + 1 value (repetition) + 1 step value + 1 value
- (repetition);</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">There is a <span style="font-weight: bold;"><B>TUI</B></span>-only
- command <span style="font-style: italic;"><I>geompy.MakeMultiRotation2D(Shape,
- Dir, Point, Angle, nbtimes1, Step, nbtimes2)</I></span> which works in the
- same way, but the Axis is defined by
- direction and point. </p>
-
-<p class="whs2"> </p>
-
-<p class="whs5"><img src="pics/neo-mrot2.png" x-maintain-ratio="TRUE" width="312px" height="450px" border="0" class="img_whs9"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs5"><img src="pics/multi_rotation2d1.png" x-maintain-ratio="TRUE" width="310px" height="405px" border="0" class="img_whs10"> <img src="pics/multi_rotation2d2.png" x-maintain-ratio="TRUE" width="337px" height="405px" border="0" class="img_whs11"></p>
-
-<p class="whs2"> <span
- style="font-size: 12pt; margin-left: 40px;"><font size=3 style="font-size:12pt;"> </font></span></p>
-
-<p class="whs5">Our <span style="font-weight: bold;"><B>TUI
- Scripts</B></span> provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark9">Transformation
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Multi Transformation</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 { border:none; width:24px; height:22px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-size:12pt; font-weight:bold; }
-p.whs4 { font-size:12pt; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:381px; float:none; border-style:none; }
-img_whs6 { border:none; width:301px; height:306px; float:none; border-style:none; }
-img_whs7 { border:none; width:312px; height:494px; float:none; border-style:none; }
-img_whs8 { border:none; width:277px; height:304px; float:none; border-style:none; }
-p.whs9 { font-weight:bold; }
-p.whs10 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs10 {text-indent: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nBlocks Operations\nMulti Transformation");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><img src="image52.gif" width="24px" height="22px" border="0" class="img_whs1"> Block Multi Transformation</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Multi Transformation</B></span> operation
- in the Main Menu select <span style="font-weight: bold;"><B>Operations -
- > Blocks - > Multi Transformation</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">This operation makes several translations of
- a block (solid) in <span style="font-weight: bold;"><B>one</B></span> or <span
- style="font-weight: bold;"><B>two</B></span> directions depending on the arguments
- specified by the user.</p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result<span style="font-weight: normal;"> in both cases will be a</span></b>
- GEOM_Object.</p>
-
-<p> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Simple Multi
- Transformation (in one direction).</b></p>
-
-<p class="whs3"><b style="font-weight: bold;">TUI
- Command:</b><i> </i><span style="font-style: italic; font-weight: normal;"><I>geompy.
- MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes), </I></span><span
- style="font-weight: normal;">where</span><span style="font-style: italic; font-weight: normal;"><I>
- Block </I></span><span style="font-weight: normal;">is a block to be transformed,</span><span
- style="font-style: italic; font-weight: normal;"><I> DirFaceID1 </I></span><span
- style="font-weight: normal;">is an ID of the face which defines the first
- direction of transformation,</span><span style="font-style: italic; font-weight: normal;"><I>
- DirFaceID2 </I></span><span style="font-weight: normal;">is an ID of the face
- which defines the second direction of transformation,</span><span style="font-style: italic; font-weight: normal;"><I>
- NbTimes </I></span><span style="font-weight: normal;">is a number of transformations.</span></p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
- + 1 hexahedral solid + 1 or 2 faces + 1 integer (number of blocks).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/mtransf1.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs5"> <img src="pics/multi_transformationsn1d.png" x-maintain-ratio="TRUE" width="301px" height="306px" border="0" class="img_whs6"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Double
- Multi Transformation (in two directions).</b></font></span></p>
-
-<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
- Command:</b><i> </i></B></span><span style="font-size: 12pt; font-style: italic;"><font size=3 style="font-size:12pt;"><I>geompy.
- MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU, DirFaceID1V,
- DirFaceID2V, NbTimesV)</I></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Block
- is a block to be transformed, DirFaceID1U and DirFaceID2U are IDs of the
- faces, which define directions of the first transformation, DirFaceID1V
- and DirFaceID2V are ID\92s of the faces which define directions of the second
- transformation, NbTimesU and NbTimesV are numbers of transformations.</font></span></p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b><span
- style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name
- + 1 hexahedral solid + 2, 3 or 4 faces + 2 integers (number of blocks).</font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/mtransf2.png" x-maintain-ratio="TRUE" width="312px" height="494px" border="0" class="img_whs7"> <img src="pics/multi_transformationsn2d.png" x-maintain-ratio="TRUE" width="277px" height="304px" border="0" class="img_whs8"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs9"> <span
- style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Our</font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> TUI Scripts</font></span><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">
- provide you with useful examples of the use of</font></span><span style="font-size: 12pt;">
- <font size=3 style="font-size:12pt;"><a href="blocks_operations.htm#bookmark4">Blocks Operations</a>. </font></span></p>
-
-<p class="whs9"> </p>
-
-<p> </p>
-
-<p class="whs10"> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Multi Translation</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:398px; float:none; border-style:none; }
-img_whs5 { border:none; height:203px; float:none; width:282px; border-style:none; }
-img_whs6 { border:none; width:291px; height:202px; float:none; border-style:none; }
-img_whs7 { border:none; width:312px; height:509px; float:none; border-style:none; }
-img_whs8 { border:none; float:none; width:292px; height:209px; border-style:none; }
-img_whs9 { border:none; width:288px; height:209px; float:none; border-style:none; }
-p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nMulti Translation");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Multi Translation</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Multi Translation</B></span> in the Main
- Menu select <span style="font-weight: bold;"><B>Operations - > Transformation
- - > Multi Translation</B></span> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: normal;">This operation</b>
- makes several translations of a shape in <span style="font-weight: bold;"><B>one</B></span>
- or <span style="font-weight: bold;"><B>two</B></span> directions.</p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be one or several</span></b>
- GEOM_Objects (compound).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">To produce a <span style="font-weight: bold;"><B>Simple
- Multi Translation</B></span> (in one direction) you need to indicate a <span
- style="font-weight: bold;"><B>Shape</B></span> to be translated, a <span style="font-weight: bold;"><B>Vector</B></span>
- of translation, a <span style="font-weight: bold;"><B>Step</B></span> of translation
- and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape
- must be moved.</p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:
- </b><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape,
- Dir, Step, NbTimes)</I></span></p>
-
-<p class="whs2"><b>A<span style="font-weight: bold;"><B>rguments:
- </B></span></b>Name + 1 shape + 1 vector (for direction) + 1 step value +
- 1 value (repetition).</p>
-
-<p class="whs3"><img src="pics/mtrans1.png" x-maintain-ratio="TRUE" width="312px" height="398px" border="0" class="img_whs4"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><img src="pics/multi_translation_initialsn.png" x-maintain-ratio="TRUE" height="203px" width="282px" border="0" class="img_whs5"> <img src="pics/multi_translation1dsn.png" x-maintain-ratio="TRUE" width="291px" height="202px" border="0" class="img_whs6"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">To produce a
- </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Double Multi
- Translation</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> (in two directions)
- you need to indicate a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Shape</B></font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> to be translated and a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Vector</B></font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> of translation, a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Step</B></font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> of translation and a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Number
- of Times</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> the shape must be moved
- along each axis.</font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:
- <span style="font-style: italic; font-weight: normal;"><I>g</I></span></b><span
- style="font-style: italic;"><I>eompy.MakeMultiTranslation2D(Shape, Dir1,
- Step1, NbTimes1, Dir2, Step2, NbTimes2)</I></span>, where <span style="font-style: italic;"><I>Shape</I></span>
- is a shape to be translated, <span style="font-style: italic;"><I>Dir1</I></span>
- is the first direction of translation, <span style="font-style: italic;"><I>Step1</I></span>
- of the first translation, <span style="font-style: italic;"><I>NbTimes1</I></span>
- is a number of translations to be done along <span style="font-style: italic;"><I>Dir1</I></span>,
- <span style="font-style: italic;"><I>Dir2</I></span> is the second direction
- of translation, <span style="font-style: italic;"><I>Step2</I></span> of the
- second translation, <span style="font-style: italic;"><I>NbTimes2</I></span>
- is a number of translations to be done along <span style="font-style: italic;"><I>Dir2</I></span>.</p>
-
-<p class="whs2"><b style="font-weight: bold;">A<span style="font-weight: bold;"><B>rguments:
- </B></span></b>Name + 1 shape + 2 vectors defining the direction + 2 step
- values + 2 values (repetitions).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/mtrans2.png" x-maintain-ratio="TRUE" width="312px" height="509px" border="0" class="img_whs7"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><img src="pics/multi_translation_initialsn.png" x-maintain-ratio="TRUE" width="292px" height="209px" border="0" class="img_whs8"> <img src="pics/multi_translation2dsn.png" x-maintain-ratio="TRUE" width="288px" height="209px" border="0" class="img_whs9"></p>
-
-<p class="whs2"> <span style="list-style: disc;
- margin-left: 0in;
- margin-right: 0in;
- margin-top: 0px;
- margin-bottom: 0px;"> </span></p>
-
-<p class="whs10"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark8">Transformation
- Operations</a>. </font></span></p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Blocks</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">
-<!--
-p.whs1 { font-size:14pt; font-weight:bold; }
-img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
-ul.whs3 { list-style:disc; }
-img_whs4 { border:none; width:23px; height:22px; border-style:none; }
-p.whs5 { font-size:12pt; }
-p.whs6 { font-size:12pt; font-style:italic; font-weight:normal; }
-table.whs7 { x-cell-content-align:top; width:66.515%; border-spacing:0px; }
-col.whs8 { width:32.996%; }
-col.whs9 { width:33.052%; }
-col.whs10 { width:33.952%; }
-tr.whs11 { x-cell-content-align:top; }
-td.whs12 { width:32.996%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
-img_whs13 { border:none; width:312px; height:410px; float:none; border-style:none; }
-td.whs14 { width:33.052%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
-td.whs15 { width:33.952%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
-p.whs16 { font-weight:bold; }
-p.whs17 { margin-left:40px; }
-img_whs18 { border:none; width:250px; height:195px; border-style:none; }
-img_whs19 { border:none; width:24px; height:22px; border-style:none; }
-table.whs20 { x-cell-content-align:top; width:40.406%; border-spacing:0px; }
-col.whs21 { width:49.761%; }
-col.whs22 { width:50.239%; }
-td.whs23 { width:49.761%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
-img_whs24 { border:none; width:312px; height:324px; float:none; border-style:none; }
-td.whs25 { width:50.239%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
-img_whs26 { border:none; width:312px; height:464px; float:none; border-style:none; }
-td.whs27 { width:49.761%; padding-right:10px; padding-left:10px; border-left-style:none; border-right-style:none; border-bottom-style:none; }
-td.whs28 { width:50.239%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; }
-p.whs29 { font-size:12pt; font-weight:bold; }
-p.whs30 { font-size:12pt; font-weight:bold; margin-left:0px; }
-img_whs31 { border:none; width:300px; height:234px; float:none; border-style:none; }
-img_whs32 { border:none; width:251px; height:234px; border-style:none; }
-p.whs33 { font-size:12pt; margin-left:40px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs30 {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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nBuilding by blocks");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Building by blocks</h1>
-
-<p class="whs1"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Introduction.</B></font></span></p>
-
-<p> </p>
-
-<p>Below are some general notions about blocks:</p>
-
-<p> </p>
-
-<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><img src="i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"></b></font></span>A block is a an elementary geometric solid that
- has specific geometric constraints oriented for meshing. In the hexahedral
- case, blocks have 6 faces and each face has 4 edges. </p>
-
-<p> </p>
-
-<p>Tetrahedral Block - is a block with constraints for tetrahedral meshing.
- </p>
-
-<p> </p>
-
-<p>Hexahedral Block - is a block with constraints for hexahedral meshing.</p>
-
-<p> </p>
-
-<p>Block Compound - is a compound composed of blocks only.</p>
-
-<p> </p>
-
-<p>These functionalities are available from the main menu via <span style="font-style: italic;"><I>New
- Entity / Blocks.</I></span></p>
-
-<p> </p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p><a href="#QuadrangleFace">Quadrangle face</a></p></li>
-
- <li class=kadov-p><p><a href="#HexahedralSolid">Hexahedral solid</a></p></li>
-</ul>
-
-<p> </p>
-
-<p> </p>
-
-<p><a name=QuadrangleFace><img src="image29.gif" width="23px" height="22px" border="0" class="img_whs4"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Quadrangle
- face</B></font></span></a></p>
-
-<p> </p>
-
-<p class="whs5"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
- Builds a face using the below mentioned arguments. This operation allows
- to build a face bypassing the intermediate stage of building edges and
- wires (in the case of building by 4 points) or wires (in the case of building
- by 4 or 2 edges).</font></span></p>
-
-<p class="whs5"> </p>
-
-<p class="whs5"><b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">T</b><b>he</font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> Result </font></span><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">of
- the operation will be a</font></span></b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b> GEOM_Object</b></font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> (face).</font></span></p>
-
-<p class="whs5"> </p>
-
-<p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p class="whs6"><b style="font-weight: normal;">geompy.MakeQuad4Vertices(V1,
- V2, V3, V4), <span style="font-style: normal;">where V1, V2, V3, V4 are
- four vertices from which a face is constructed. Edges are created automatically.</span></b></p></li>
-
- <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeQuad2Edges(E1,
- E2)</I></span>, where E1, E2 are edges from which the face is constructed,
- two other edges are created automatically.</p></li>
-
- <li class=kadov-p><p class="whs5"><b style="font-weight: normal;"><span
- style="font-style: italic;"><I>g</b>eompy.MakeQuad(E1, E2, E3, E4)</I></span>,
- where E1, E2, E3, E4 are four edges from which the face is constructed.</p></li>
-</ul>
-
-<p class="whs5"> </p>
-
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b>
- </p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p class="whs5">Name + 4 Points, or</p></li>
-
- <li class=kadov-p><p class="whs5">Name + 2 Edges, or </p></li>
-
- <li class=kadov-p><p class="whs5">Name + 4 Edges.</p></li>
-</ul>
-
-<p class="whs5"> </p>
-
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
-
-<table x-use-null-cells cellspacing="0" width="66.515%" class="whs7">
-<col class="whs8">
-<col class="whs9">
-<col class="whs10">
-
-<tr valign="top" class="whs11">
-<td width="32.996%" class="whs12">
-<p><img src="pics/block1.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td>
-<td width="33.052%" class="whs14">
-<p><img src="pics/block2.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td>
-<td width="33.952%" class="whs15">
-<p><img src="pics/block3.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td></tr>
-</table>
-
-<p class="whs5"> </p>
-
-<p> </p>
-
-<p class="whs16">Example:</p>
-
-<p class="whs16"> </p>
-
-<p class="whs17"><img src="image185.jpg" width="250px" height="195px" border="0" class="img_whs18"> </p>
-
-<p> </p>
-
-<p> </p>
-
-<p><a name=HexahedralSolid><img src="image51.gif" width="24px" height="22px" border="0" class="img_whs19"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Hexahedral
- solid</B></font></span></a></p>
-
-<p> </p>
-
-<p class="whs5"><b style="font-weight: bold;">Description:</b>
- Builds a hexahedral solid. either of the below mentioned arguments. This
- operation allows to build a solid bypassing the intermediate stage of
- building a shell and 4 faces (in the case of building by 2 faces) or just
- a shell (in the case of building by 6 faces).</p>
-
-<p class="whs5"> </p>
-
-<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result<span style="font-weight: normal;"> of the operation will be a</span></b><b>
- GEOM_Object</b> (solid).</p>
-
-<p> </p>
-
-<p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexa2Faces(F1,
- F2)</I></span><span style="font-style: italic;"><I>, where F1 and F2 are faces
- from which the hexahedron is constructed, other four faces are created
- automatically.</I></span></p></li>
-
- <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexa(F1,
- F2, F3, F4, F5, F6)</I></span>, where F1 \96 F6 are six faces from which the
- hexahedron is constructed.</p></li>
-</ul>
-
-<p class="whs5"> </p>
-
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b>
- </p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p class="whs5">Name + 2 Faces, or </p></li>
-
- <li class=kadov-p><p class="whs5">Name + 6 Faces.</p></li>
-</ul>
-
-<p class="whs5"> </p>
-
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
-
-<p class="whs5"> </p>
-
-<table x-use-null-cells cellspacing="0" width="40.406%" class="whs20">
-<col class="whs21">
-<col class="whs22">
-
-<tr valign="top" class="whs11">
-<td width="49.761%" class="whs23">
-<p class="whs5"><b style="font-weight: bold;"> <img src="pics/block4.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs24"></b></td>
-<td width="50.239%" class="whs25">
-<p><img src="pics/block5.png" x-maintain-ratio="TRUE" width="312px" height="464px" border="0" class="img_whs26"></td></tr>
-
-<tr valign="top" class="whs11">
-<td colspan="1" rowspan="1" width="49.761%" class="whs27">
-<p class="whs5"> </td>
-<td colspan="1" rowspan="1" width="50.239%" class="whs28">
-<p> </td></tr>
-</table>
-
-<p class="whs5"> </p>
-
-<p class="whs29">Example:</p>
-
-<p class="whs29"> </p>
-
-<p class="whs30"><img src="image180.jpg" x-maintain-ratio="TRUE" width="300px" height="234px" border="0" class="img_whs31"> <img src="image181.jpg" width="251px" height="234px" border="0" class="img_whs32"> </p>
-
-<p class="whs33"><b style="font-weight: bold;"> </b> </p>
-
-<p class="whs5">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
- provide you with useful examples of <a href="building_by_blocks.htm">Building
- by Blocks</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Offset Surface</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 { border:none; width:24px; height:22px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-size:12pt; margin-left:40px; font-weight:bold; }
-img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
-p.whs5 { font-size:12pt; font-weight:bold; }
-p.whs6 { font-size:12pt; margin-left:40px; }
-img_whs7 { border:none; width:235px; height:236px; float:none; border-style:none; }
-p.whs8 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs8 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nOffset Surface");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image37.gif" width="24px" height="22px" border="0" class="img_whs1"></font></span>Offset Surface</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- an <span style="font-weight: bold;"><B>Offset Surface</B></span> in the Main
- Menu select <span style="font-weight: bold;"><B>Operations - > Transformation
- - ></B></span> <span style="font-weight: bold;"><B>Offset Surface</B></span></p>
-
-<p> </p>
-
-<p class="whs2">This operation<span style="font-weight: bold;">
- <B></B></span>translates each point of an<span style="font-weight: bold;"><B> Object</B></span>
- (a set of Objects) along a local normal by a given <span style="font-weight: bold;"><B>Offset</B></span>
- distance (signed number, negative value meaning inner offset). <span style="font-weight: bold;"><B>Offset</B></span>
- operation is applicable to faces, shells and solids.</p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object
- </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: bold;"><B>T</B></span>UI
- Command: </b><span style="font-style: italic;"><I>geompy.MakeOffset(Shape,
- Offset)</I></span>, where Shape is a shape which has to be an offset, Offset
- is a value of the offset.</p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + Object (face, shell, solid, compound)
- + Offset value </font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/transformation11.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs5">Example:</p>
-
-<p class="whs6"><img src="pics/offsetsn.png" x-maintain-ratio="TRUE" width="235px" height="236px" border="0" class="img_whs7"></p>
-
-<p class="whs6"> </p>
-
-<p class="whs8"> <span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark7">Transformation
- Operations</a>. </font></span></p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Partition</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-size:12pt; font-weight:normal; }
-p.whs4 { font-weight:bold; font-size:14pt; }
-p.whs5 { font-size:12pt; margin-left:40px; }
-img_whs6 { border:none; width:400px; height:350px; float:none; border-style:none; }
-img_whs7 { border:none; width:400px; height:324px; float:none; border-style:none; }
-img_whs8 { border:none; float:none; width:297px; height:245px; border-style:none; }
-img_whs9 { border:none; float:none; width:273px; height:245px; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nBasic Operations\nPartition");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Partition</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Partition</B></span> in the <span style="font-weight: bold;"><B>Main
- Menu</B></span> select <span style="font-weight: bold;"><B>Operations - >
- Partition</B></span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><b><span style="font-weight: normal;">This
- operation </b>builds a shape by intersection of two shapes or a shape
- and a plane.</span></p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be any</span> </b>GEOM_Object.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><b><span style="font-weight: bold;"><B>Intersection
- of two shapes.</B></span></b></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3">As far as the intersection
- of two objects can produce any type of geometrical objects, <span style="font-weight: bold;"><B>Reconstruction
- Limit</B></span> box allows to choose the preferrable result, i.e. a solid,
- a shell, a list of faces, etc.</p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes,
- ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs,
- ListOfMaterials)</I></span>, where <span style="font-style: italic;"><I>ListOfShapes</I></span>
- is a list of shapes to be intersected and <span
- style="font-style: italic;"><I>ListOfTools</I></span>
- is a list of shapes to intersect the shapes from ListOfShapes. </p>
-
-<p class="whs2">Since the implementation of a new version of
- PartitionAlgo other parameters are ignored by the current functionality
- and remain there only to support the old scripts. </p>
-
-<p class="whs2"><b>Arguments:</b> Name + 2 lists of shapes
- (the shapes from the first list will be intersected with the shapes from
- the second list) + reconstruction limit.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs5"><img src="pics/partition1.png" x-maintain-ratio="TRUE" width="400px" height="350px" border="0" class="img_whs6"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs4">Intersection of a Shape
- and a Plane.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><span style="font-weight: bold;"><B>TUI Command</B></span>
- <span style="font-style: italic;"><I>geompy.MakeHalfPartition(Shape,
- Plane), </I></span>where<span style="font-style: italic;"><I> Shape</I></span> is
- a Shape to be intersected and <span style="font-style: italic;"><I>Plane</I></span>
- is a Tool shape, to intersect the <span style="font-style: italic;"><I>Shape</I></span>.</p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
- + 1 shape which will be intersected + 1 cutting face.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs5"><img src="pics/partition2.png" x-maintain-ratio="TRUE" width="400px" height="324px" border="0" class="img_whs7"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs5"><img src="pics/partitionsn1.png" x-maintain-ratio="TRUE" width="297px" height="245px" border="0" class="img_whs8"> <img src="pics/partitionsn2.png" x-maintain-ratio="TRUE" width="273px" height="245px" border="0" class="img_whs9"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of the use of <a href="basic_operations.htm#bookmark">Basic Operations</a>.
- </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Pipe Creation</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }
-img_whs5 { border:none; width:260px; height:200px; float:none; border-style:none; }
-img_whs6 { border:none; float:none; width:260px; height:200px; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nPipe");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Pipe Construction</h1>
-
-<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate
- a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Pipe</B></font></span>
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
- style="font-weight: bold;"><B>New Entity - > Generation -
- > Extrusion along a path</B></span></p>
-
-<p> </p>
-
-<p>To create an extruded <span style="font-weight: bold;"><B>Pipe</B></span> shape,
- you need to define the <span style="font-weight: bold;"><B>Base Object </B></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">(vertex, edge, wire, face or shell)</font></span><span
- style="font-weight: bold;"><B>,</B></span> which will be extruded and the <span
- style="font-weight: bold;"><B>Path Object</B></span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">(edge,
- face or shell) </font></span>along which the Base Object will be extruded. </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">of the operation will be a</span></b>
- GEOM_Object (edge, face, solid or compsolid).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakePipe(baseShape, pathShape)</I></span>
- </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
- + 1 shape (edge, face or shell) for definition of the path.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/pipe.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/pipe_wire_edgesn.png" x-maintain-ratio="TRUE" width="260px" height="200px" border="0" class="img_whs5"> <img src="pics/pipesn.png" x-maintain-ratio="TRUE" width="260px" height="200px" border="0" class="img_whs6"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="complex_objects.htm#bookmark3">Complex Geometric
- Objects</a>. </p>
-
-<p> </p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Plane</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:346px; float:none; border-style:none; }
-p.whs5 { font-size:12pt; font-weight:bold; }
-img_whs6 { border:none; width:312px; height:385px; float:none; border-style:none; }
-img_whs7 { border:none; width:400px; height:315px; float:none; }
-table.whs8 { x-cell-content-align:top; width:72.604%; border-spacing:0px; }
-col.whs9 { width:32.089%; }
-col.whs10 { width:32.008%; }
-col.whs11 { width:35.903%; }
-tr.whs12 { x-cell-content-align:top; }
-td.whs13 { width:32.089%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
-img_whs14 { border:none; width:258px; height:249px; float:none; border-style:none; }
-td.whs15 { width:32.008%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
-img_whs16 { border:none; width:291px; height:181px; float:none; border-style:none; }
-td.whs17 { width:35.903%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nPlane");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Plane</h1>
-
-<p>To create a <span style="font-weight: bold;"><B>Plane</B></span> in the <span
- style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
- Entity - > Basic - > Plane</B></span></p>
-
-<p> </p>
-
-<p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create
- a plane in the 3D space.</font></span></p>
-
-<p><b style="font-weight: bold;"><span style="font-weight: normal;">The</span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> Result </font></span><span style="font-weight: normal;">of
- each operation will be a</span></b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> GEOM_Object
- (face).</font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Plane</B></span>
- by a <span style="font-weight: bold;"><B>Point </B></span>through which the
- plane passes, a <span style="font-weight: bold;"><B>Vector </B></span>giving
- a normal of the plane and a <span style="font-weight: bold;"><B>Size of the
- Plane</B></span> (size of a side of quadrangle face, representing the plane).</p>
-
-<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
- Command:</b> </B></span><span style="font-style: italic;"><I>geompy.MakePlane(Point,
- Vector, TrimSize)</I></span></p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
- + 1 vertex + 1 vector +
- 1 value (to define the size of the plane).</p>
-
-<p class="whs3"><b style="font-weight: bold;"><img src="pics/plane1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs4"></b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Secondly, you can define a <span style="font-weight: bold;"><B>Plane</B></span>
- by three <span style="font-weight: bold;"><B>Points </B></span>through which
- the plane
- passes and a <span style="font-weight: bold;"><B>Size of the Plane</B></span>.</p>
-
-<p class="whs5"><b style="font-weight: bold;">TUI
- Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakePlaneThreePnt(Point1,
- Point2, Point3, TrimSize)</I></span> </p>
-
-<p class="whs5"><b style="font-weight: bold;">Arguments:
- </b><span style="font-weight: normal;">Name + 3 vertices + 1 value (to
- define the size of the plane).</span></p>
-
-<p class="whs5"> </p>
-
-<p class="whs3"><img src="pics/plane2.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs6"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Finally, you can define a <span style="font-weight: bold;"><B>Plane
- </B></span>by another <span style="font-weight: bold;"><B>Plane</B></span> or <span
- style="font-weight: bold;"><B>Local Coordinate System</B></span> and a <span
- style="font-weight: bold;"><B>Size of the Plane</B></span>. </p>
-
-<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
- Command:</b> </B></span>geompy.MakePlaneFace(Face, TrimSize) </p>
-
-<p class="whs2"><b>Arguments: </b>Name + 1 face + 1 value (to
- define the size of the plane).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/plane3.png" x-maintain-ratio="TRUE" width="400px" height="315px" border="0" class="img_whs7"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs5">Examples:</p>
-
-<p class="whs2"> </p>
-
-<p class="whs5"><span style="font-weight: normal; font-style: italic;"><I>Planes</I></span>
- <span
- style="font-weight: normal; font-style: italic;"><I>A
- Plane created on a Plane of another size</I></span></p>
-
-<p class="whs2"> </p>
-
-<table x-use-null-cells cellspacing="0" width="72.604%" class="whs8">
-<col class="whs9">
-<col class="whs10">
-<col class="whs11">
-
-<tr valign="top" class="whs12">
-<td width="32.089%" class="whs13">
-<p class="whs2"><img src="pics/planes1.png" x-maintain-ratio="TRUE" width="258px" height="249px" border="0" class="img_whs14"></td>
-<td width="32.008%" class="whs15">
-<p class="whs2"><img src="pics/plane_on_face.png" x-maintain-ratio="TRUE" width="291px" height="181px" border="0" class="img_whs16"></td>
-<td width="35.903%" class="whs17">
-<p class="whs2"> </td></tr>
-</table>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="basic_geometrical_objects.htm#bookmark6">Basic
- Geometric Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Point</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:332px; float:none; border-style:none; }
-img_whs5 { border:none; width:312px; height:473px; float:none; border-style:none; }
-p.whs6 { font-size:12pt; margin-left:120px; }
-p.whs7 { font-size:12pt; margin-left:0px; }
-p.whs8 { font-size:12pt; font-style:italic; margin-left:0px; }
-img_whs9 { border:none; width:312px; height:421px; float:none; border-style:none; }
-p.whs10 { font-size:12pt; color:#000000; }
-p.whs11 { color:#808080; font-size:12pt; }
-img_whs12 { border:none; width:354px; height:326px; float:none; border-style:none; }
-p.whs13 { color:#808080; font-size:12pt; margin-left:40px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs7 {margin-left:1pt; }";
- strNSS += "p.whs8 {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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nPoint");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Point</h1>
-
-<p>To create a <span style="font-weight: bold;"><B>Point</B></span> in the <span
- style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
- Entity - > Basic - > Point</B></span></p>
-
-<p> </p>
-
-<p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create
- a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Point</B></font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> in the 3D space.</font></span></p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Each
- time the</span> Result <span style="font-weight: normal;">of the operation
- will be a</span></b> GEOM_Object (vertex).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
- we can define a point by setting its X, Y and Z </span><span style="font-weight: bold;"><B>C</B></span></b><b><span
- style="font-weight: bold;"><B>oordinates</B></span><span style="font-weight: normal;">.</span>
- </b></p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b>
- <span style="font-style: italic;"><I>g</I></span>eompy.MakeVertex(X,
- Y, Z) </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
- <b><span style="font-weight: normal;">(Vertex_n by default) </span></b>+
- X, Y and Z coordinates of the point.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/point1.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs4"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Secondly, we
- can define a point by a <span style="font-weight: bold;"><B>Reference</B></span>
- to another point and the shift of the coordinates of the new point regarding
- the coordinates of the old one. </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b>
- <span style="font-style: italic;"><I>geompy.MakeVertexWithRef(Reference,
- X, Y, Z).</I></span></p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
- + 1 reference point + 3 coordinates defining the position of this point
- regarding the reference one.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><span style="font-style: italic;"><I><img src="pics/neo-point2.png" x-maintain-ratio="TRUE" width="312px" height="473px" border="0" class="img_whs5"></I></span></p>
-
-<p class="whs6"> </p>
-
-<p class="whs7">Finally, we can define a
- point by an <span style="font-weight: bold;"><B>Edge</B></span> and a <span style="font-weight: bold;"><B>Parameter</B></span>
- indicating
- its position on the Edge. For example, 0.5 means that the point is located
- in the middle of the edge.<span style="font-style: italic;"> <I></I></span></p>
-
-<p class="whs8"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI
- Command :</b> geompy.MakeVertexOnCurve(Edge,
- Parameter).</I></span></p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: N</b>ame
- + 1 edge +
- 1 Parameter defining the position of the point on the given edge.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><span style="font-style: italic;"><I><b
- style="font-weight: bold;"><img src="pics/point3.png" x-maintain-ratio="TRUE" width="312px" height="421px" border="0" class="img_whs9"></b></I></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs10"><span style="font-style: italic;"><I><span
- style="font-size: 12pt; color: #000000;"><font size=3 color=black style="font-size:12.000000pt;"><b style="font-weight: bold;"><b
- style="font-weight: bold;">E</b>xample:</b></font></span></I></span></p>
-
-<p class="whs11"> </p>
-
-<p class="whs3"><span style="font-style: italic;"><I><b
- style="font-weight: bold;"><img src="pics/points.png" x-maintain-ratio="TRUE" width="354px" height="326px" border="0" class="img_whs12"></b></I></span></p>
-
-<p class="whs13"> </p>
-
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
- provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark" style="font-style: normal;">Basic
- Geometric Objects</a>. </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Primitives</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nPrimitives");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Primitives</h1>
-
-<h3><a name=bookmark>Creation of a Box</a></h3>
-
-<p>i<span style="font-family: 'Lucida Console', monospace;">mport geompy</span></p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p0 = geompy.MakeVertex(15,
- 25, 35)</p>
-
-<p class="whs1">p70 = geompy.MakeVertex(70,
- 70, 70)</p>
-
-<p> </p>
-
-<p># create boxes</p>
-
-<p class="whs1">box1 = geompy.MakeBoxDXDYDZ(10,
- 20, 30)</p>
-
-<p class="whs1">box2 = geompy.MakeBox(10,20,30,
- 15,25,35)</p>
-
-<p class="whs1">box3 = geompy.MakeBoxTwoPnt(p0,
- p70)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_box1 = geompy.addToStudy(box1,"Box1")</p>
-
-<p class="whs1">id_box2 = geompy.addToStudy(box2,"Box2")</p>
-
-<p class="whs1">id_box3 = geompy.addToStudy(box3,"Box3")</p>
-
-<p> </p>
-
-<p># display the boxes</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_box1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box2)</p>
-
-<p class="whs1">gg.setDisplayMode(id_box2,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box3)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_box3,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark1>Creation of a Cylinder</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(25,
- 35, 45)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(70,
- 70, 70)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create cylinders</p>
-
-<p class="whs1">height = 40</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">radius1 = 15</p>
-
-<p class="whs1">cylinder1 = geompy.MakeCylinder(p1,
- v, radius1, height)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">radius2 = 30</p>
-
-<p class="whs1">cylinder2 = geompy.MakeCylinderRH(radius2,
- height)</p>
-
-<p class="whs1"> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_cylinder1 = geompy.addToStudy(cylinder1,"Cylinder1")</p>
-
-<p class="whs1">id_cylinder2 = geompy.addToStudy(cylinder2,"Cylinder2")</p>
-
-<p> </p>
-
-<p># display the cylinders</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cylinder1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_cylinder1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cylinder2)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cylinder2,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark2>Creation of a Sphere</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex</p>
-
-<p class="whs1">p = geompy.MakeVertex(55,
- 45, 25)</p>
-
-<p> </p>
-
-<p># create spheres</p>
-
-<p class="whs1">radius1 = 20</p>
-
-<p class="whs1">sphere1 = geompy.MakeSpherePntR(p,
- radius1)</p>
-
-<p class="whs1">radius2 = 15</p>
-
-<p class="whs1">sphere2 = geompy.MakeSphere(0,
- 0, 45, radius2)</p>
-
-<p class="whs1">radius3 = 30</p>
-
-<p class="whs1">sphere3 = geompy.MakeSphereR(radius3)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_sphere1 = geompy.addToStudy(sphere1,"Sphere1")</p>
-
-<p class="whs1">id_sphere2 = geompy.addToStudy(sphere2,"Sphere2")</p>
-
-<p class="whs1">id_sphere3 = geompy.addToStudy(sphere3,"Sphere3")</p>
-
-<p> </p>
-
-<p># display spheres</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_sphere1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_sphere1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_sphere2)</p>
-
-<p class="whs1">gg.setDisplayMode(id_sphere2,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_sphere3)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_sphere3,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark3>Creation of a Torus</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(35,
- 40, 45)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(35,
- 45, 70)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create toruses</p>
-
-<p class="whs1">torus1 = geompy.MakeTorus(p1,
- v, 20, 10)</p>
-
-<p class="whs1">torus2 = geompy.MakeTorusRR(30,
- 15)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_torus1 = geompy.addToStudy(torus1,"Torus1")</p>
-
-<p class="whs1">id_torus2 = geompy.addToStudy(torus2,"Torus2")</p>
-
-<p> </p>
-
-<p># display toruses</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_torus1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_torus1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_torus2)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_torus2,1)</span>
- </p>
-
-<h3><a name=bookmark4>Creation of a Cone</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(35,
- 35, 0)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(35,
- 35, 70)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create cones</p>
-
-<p class="whs1">cone1 = geompy.MakeCone(p1,
- v, 17, 1, 20)</p>
-
-<p class="whs1">cone2 = geompy.MakeConeR1R2H(30,
- 10, 30)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_cone1 = geompy.addToStudy(cone1,"Cone1")</p>
-
-<p class="whs1">id_cone2 = geompy.addToStudy(cone2,"Cone2")</p>
-
-<p> </p>
-
-<p># display cones</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cone1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_cone1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cone2)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cone2,1)</span>
- </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Propagate</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 { border:none; width:23px; height:21px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { margin-left:40px; font-size:12pt; }
-img_whs4 { border:none; width:312px; height:230px; float:none; border-style:none; }
-p.whs5 { font-size:12pt; margin-left:40px; text-indent:-40px; }
-p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
-p.whs7 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }
-img_whs8 { border:none; width:250px; height:236px; border-style:none; }
-img_whs9 { border:none; width:250px; height:233px; border-style:none; }
-p.whs10 { font-weight:bold; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs5 {text-indent:1pt; }";
- strNSS += "p.whs6 {text-indent:1pt; }";
- strNSS += "p.whs7 {text-indent: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nBlocks Operations\nPropagate");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><img src="image3.gif" width="23px" height="21px" border="0" class="img_whs1"> Propagate</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Propagate</B></span> operation in the Main
- Menu select <span style="font-weight: bold;"><B>Operations - > Blocks
- - ></B></span> <span style="font-weight: bold;"><B>Propagate</B></span></p>
-
-<p> </p>
-
-<p class="whs2">This operation breaks a multitude of edges
- of a shape into groups (builds all possible propagation groups).</p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b> List of
- GEOM_Objects. Each Geom Object will contain a group of edges.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.Propagate(Shape)</I></span>,
- where Shape is a shape to build propagation groups on.</p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: <span
- style="font-weight: normal;">1 Shape.</span></b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/mtransf4.png" x-maintain-ratio="TRUE" width="312px" height="230px" border="0" class="img_whs4"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs6">Example:</p>
-
-<p class="whs6"> </p>
-
-<p class="whs7"><img src="image15.jpg" width="250px" height="236px" border="0" class="img_whs8"> <img src="image16.jpg" width="250px" height="233px" border="0" class="img_whs9"> </p>
-
-<p class="whs7"> </p>
-
-<p class="whs10"> <span
- style="font-weight: normal;">Our</span> TUI
- Scripts<span style="font-weight: normal;"> provide you with useful examples
- of the use of</span> <a href="blocks_operations.htm#bookmark6">Blocks
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Repairing Operations</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
-p.whs2 { font-family:'Times New Roman' , serif; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nTransformation\nRepairing Operations");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Repairing Operations</h1>
-
-<h3><a name=bookmark>Shape Processing</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices, an edge, an arc, a wire, a face and a prism</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(0,0,0)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(200,0,0)</p>
-
-<p class="whs1">p3 = geompy.MakeVertex(100,150,0)</p>
-
-<p class="whs1">edge = geompy.MakeEdge(p1,p2)</p>
-
-<p class="whs1">arc =
- geompy.MakeArc(p1,p3,p2)</p>
-
-<p class="whs1">wire = geompy.MakeWire([edge,arc])</p>
-
-<p class="whs1">face = geompy.MakeFace(wire,
- 1)</p>
-
-<p class="whs1">theShape = geompy.MakePrismVecH(face,
- edge, 130)</p>
-
-<p> </p>
-
-<p># check the shape at the beginning</p>
-
-<p class="whs1">print "Before
- ProcessShape:"</p>
-
-<p class="whs1">isValid = geompy.CheckShape(theShape)</p>
-
-<p class="whs1">if isValid == 0:</p>
-
-<p class="whs1"> print
- "The shape is not valid"</p>
-
-<p class="whs1">else:</p>
-
-<p class="whs1"> print
- "The shape seems to be valid"</p>
-
-<p class="whs1"> </p>
-
-<p># process the Shape</p>
-
-<p class="whs1">Operators = ["FixShape"]</p>
-
-<p class="whs1">Parameters = ["FixShape.Tolerance3d"]</p>
-
-<p class="whs1">Values = ["1e-7"]</p>
-
-<p class="whs1">PS = geompy.ProcessShape(theShape,
- Operators, Parameters, Values)</p>
-
-<p> </p>
-
-<p># check the shape at the end</p>
-
-<p class="whs1">print "After
- ProcessShape:"</p>
-
-<p class="whs1">isValid = geompy.CheckShape(PS)</p>
-
-<p class="whs1">if isValid == 0:</p>
-
-<p class="whs1"> print
- "The shape is not valid"</p>
-
-<p class="whs1"> raise
- RuntimeError, "It seems, that the ProcessShape() has failed"</p>
-
-<p class="whs1">else:</p>
-
-<p class="whs1"> print
- "The shape seems to be valid"</p>
-
-<p> </p>
-
-<p># add in the study and display</p>
-
-<p class="whs1">Id_Shape = geompy.addToStudy(theShape,
- "Invalid Shape")</p>
-
-<p class="whs1">Id_PS =
- geompy.addToStudy(PS, "Processed Shape")</p>
-
-<p class="whs1">gg.createAndDisplayGO(Id_Shape)</p>
-
-<p class="whs1">gg.setDisplayMode(Id_Shape,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(Id_PS)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(Id_PS,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark1>Suppress Faces</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a box</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
- 200, 200)</p>
-
-<p> </p>
-
-<p># The list of IDs (IDList) for suppress faces</p>
-
-<p class="whs1">sup_faces = []</p>
-
-<p class="whs1">sup_faces = geompy.SubShapeAllSorted(box,
- geompy.ShapeType["FACE"])</p>
-
-<p> </p>
-
-<p># get indices of the sub-shape </p>
-
-<p class="whs1">f1_id = geompy.GetSubShapeID(box,
- sup_faces[3])</p>
-
-<p> </p>
-
-<p># remove faces from the given object (shape)</p>
-
-<p class="whs1">result = geompy.SuppressFaces(box,
- [f1_id])</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_box = geompy.addToStudy(box,
- "Box")</p>
-
-<p class="whs1">id_result = geompy.addToStudy(result,
- "Result")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>
-
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_result)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_result,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark2>Close Contour</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices and vectors</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex( 0.,
- 0.,
- 0.)</p>
-
-<p class="whs1">px =
- geompy.MakeVertex(100., 0.,
- 0.)</p>
-
-<p class="whs1">py =
- geompy.MakeVertex( 0.,
- 100., 0.)</p>
-
-<p class="whs1">py1 = geompy.MakeVertex(
- 0., 140.,
- 0.)</p>
-
-<p class="whs1">pz =
- geompy.MakeVertex( 0.,
- 0.,
- 100.)</p>
-
-<p class="whs1">vxy = geompy.MakeVector(px,
- py)</p>
-
-<p> </p>
-
-<p># create an arc</p>
-
-<p class="whs1">arc = geompy.MakeArc(py1,
- pz, px)</p>
-
-<p> </p>
-
-<p># create a wire</p>
-
-<p class="whs1">wire = geompy.MakeWire([vxy,
- arc])</p>
-
-<p> </p>
-
-<p># close an open wire by creation of an edge between ends</p>
-
-<p class="whs1">wire_close = geompy.CloseContour(wire,
- [1], 0)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_wire = geompy.addToStudy(wire,
- "Wire")</p>
-
-<p class="whs1">id_wire_close = geompy.addToStudy(wire_close,
- "Wire close")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_wire_close)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark3>Suppress Internal Wires</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(55,
- 65, 50)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(55,
- 0, 50)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create a cylinder</p>
-
-<p class="whs1">height = 100</p>
-
-<p class="whs1">radius1 = 40</p>
-
-<p class="whs1">cylinder = geompy.MakeCylinder(p1,
- v, radius1, height)</p>
-
-<p> </p>
-
-<p># create a box</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,
- 100, 100)</p>
-
-<p> </p>
-
-<p># make a cut</p>
-
-<p class="whs1">cut = geompy.MakeCut(box,
- cylinder)</p>
-
-<p> </p>
-
-<p># suppress all internal wires</p>
-
-<p class="whs1">result = geompy.SuppressInternalWires(cut,
- [])</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_cut = geompy.addToStudy(cut,
- "Cut")</p>
-
-<p class="whs1">id_result = geompy.addToStudy(result,
- "Result")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cut)</p>
-
-<p class="whs1">gg.setDisplayMode(id_cut,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_result)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_result,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark4>Suppress Holes</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(35,
- 35, 0)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(35,
- 35, 50)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create a cylinder</p>
-
-<p class="whs1">height = 20</p>
-
-<p class="whs1">radius1 = 20</p>
-
-<p class="whs1">cylinder = geompy.MakeCylinder(p1,
- v, radius1, height)</p>
-
-<p> </p>
-
-<p># create a cone</p>
-
-<p class="whs1">cone = geompy.MakeCone(p1,
- v, 70, 0, 80)</p>
-
-<p> </p>
-
-<p># make a cut</p>
-
-<p class="whs1">cut = geompy.MakeCut(cone,
- cylinder)</p>
-
-<p> </p>
-
-<p># get faces as sub-shapes</p>
-
-<p class="whs1">faces = []</p>
-
-<p class="whs1">faces = geompy.SubShapeAllSorted(cut,
- geompy.ShapeType["FACE"])</p>
-
-<p class="whs1">f_2 = geompy.GetSubShapeID(cut,
- faces[2])</p>
-
-<p> </p>
-
-<p># remove one face from the shape</p>
-
-<p class="whs1">cut_without_f_2 =
- geompy.SuppressFaces(cut, [f_2])</p>
-
-<p> </p>
-
-<p># get wires as sub-shapes</p>
-
-<p class="whs1">wires = []</p>
-
-<p class="whs1">wires = geompy.SubShapeAllSorted(cut_without_f_2,
- geompy.ShapeType["WIRE"])</p>
-
-<p class="whs1">w_0 = geompy.GetSubShapeID(cut_without_f_2,
- wires[0])</p>
-
-<p> </p>
-
-<p># suppress the selected wire</p>
-
-<p class="whs1">result = geompy.SuppressHoles(cut_without_f_2,
- [w_0])</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_cut = geompy.addToStudy(cut,
- "Cut")</p>
-
-<p class="whs1">id_cut_without_f_2
- = geompy.addToStudy(cut_without_f_2, "Cut without f_2")</p>
-
-<p class="whs1">id_result = geompy.addToStudy(result,
- "Result")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cut)</p>
-
-<p class="whs1">gg.setDisplayMode(id_cut,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cut_without_f_2)</p>
-
-<p class="whs1">gg.setDisplayMode(id_cut_without_f_2,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_result)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_result,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark5>Sewing</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">import math</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create base points</p>
-
-<p class="whs1">px = geompy.MakeVertex(100.,
- 0., 0.)</p>
-
-<p class="whs1">py = geompy.MakeVertex(0.,
- 100., 0.)</p>
-
-<p class="whs1">pz = geompy.MakeVertex(0.,
- 0., 100.)</p>
-
-<p> </p>
-
-<p># create base geometry 2D & 3D</p>
-
-<p class="whs1">vector = geompy.MakeVector(px,
- py)</p>
-
-<p class="whs1">arc = geompy.MakeArc(py,
- pz, px)</p>
-
-<p> </p>
-
-<p># create base objects</p>
-
-<p class="whs1">angle = 45. * math.pi
- / 180</p>
-
-<p class="whs1">WantPlanarFace = 1
- #True</p>
-
-<p class="whs1">wire = geompy.MakeWire([vector,
- arc])</p>
-
-<p class="whs1">face = geompy.MakeFace(wire,
- WantPlanarFace)</p>
-
-<p class="whs1">face_rot = geompy.MakeRotation(face,
- vector, angle)</p>
-
-<p> </p>
-
-<p># make sewing</p>
-
-<p class="whs1">precision = 0.00001</p>
-
-<p class="whs1">sewing = geompy.MakeSewing([face,
- face_rot], precision)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_face = geompy.addToStudy(face,
- "Face")</p>
-
-<p class="whs1">id_face_rot = geompy.addToStudy(face_rot,
- "Face rotation")</p>
-
-<p class="whs1">id_sewing = geompy.addToStudy(sewing,
- "Sewing")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_face)</p>
-
-<p class="whs1">gg.setDisplayMode(id_face,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_face_rot)</p>
-
-<p class="whs1">gg.setDisplayMode(id_face_rot,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_sewing)</p>
-
-<p class="whs1">gg.setDisplayMode(id_sewing,1)
- </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=bookmark6>Glue Faces</a></h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create boxes</p>
-
-<p class="whs1">box1 = geompy.MakeBox(0,0,0,100,50,100)</p>
-
-<p class="whs1">box2 = <span style="font-family: 'Lucida Console', monospace;">geompy.MakeBox(100,0,0,250,50,100)</span></p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># make compound</p>
-
-<p class="whs1">compound = geompy.MakeCompound([box1,
- box2])</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># glue compound's faces</p>
-
-<p class="whs1">tolerance = 1e-5</p>
-
-<p class="whs1">glue = geompy.MakeGlueFaces(compound,
- tolerance)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># add objects in study</p>
-
-<p class="whs1">id_box1 = geompy.addToStudy(box1,
- "Box1")</p>
-
-<p class="whs1">id_box2 = geompy.addToStudy(box2,
- "Box2")</p>
-
-<p class="whs1">id_compound = geompy.addToStudy(compound,
- "Compound")</p>
-
-<p class="whs1">id_glue = geompy.addToStudy(glue,
- "Glue faces")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># display results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_box1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box2)</p>
-
-<p class="whs1">gg.setDisplayMode(id_box2,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_compound)</p>
-
-<p class="whs1">gg.setDisplayMode(id_compound,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_glue)</p>
-
-<p class="whs1">gg.setDisplayMode(id_glue,1)
- </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=bookmark7>Add Point on Edge</a></h3>
-
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
- geompy</span></p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create vertices</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(0,0,50)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(60,0,50)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># make an edge</p>
-
-<p class="whs1">edge = geompy.MakeEdge(p1,
- p2) #geompy.GetSubShape(box, edge_ind)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># divide an edge</p>
-
-<p class="whs1">divide = geompy.DivideEdge(edge,
- -1, 0.5, 0)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># add objects in the
- study</p>
-
-<p class="whs1">id_edge = geompy.addToStudy(edge,
- "Edge")</p>
-
-<p class="whs1">edge_points = geompy.SubShapeAllSorted(edge,
- geompy.ShapeType["VERTEX"])</p>
-
-<p class="whs1">for point in edge_points:</p>
-
-<p class="whs1"> geompy.addToStudyInFather(edge,
- point, "Edge's point")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">id_divide = geompy.addToStudy(divide,
- "Divided edge")</p>
-
-<p class="whs1">edge_points = geompy.SubShapeAllSorted(divide,
- geompy.ShapeType["VERTEX"])</p>
-
-<p class="whs1">for point in edge_points:</p>
-
-<p class="whs1"> geompy.addToStudyInFather(divide,
- point, "Edge's point after divide")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">salome.sg.updateObjBrowser(1)
- </p>
-
-<p class="whs2"> </p>
-
-<h3><a name=bookmark8>Check Free Boundaries</a></h3>
-
-<p class="whs1">import os</p>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># create boxes</p>
-
-<p class="whs1">box1 = geompy.MakeBox(0,0,0,100,50,100)</p>
-
-<p class="whs1">box2 = geompy.MakeBox(100,0,0,250,50,100)</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># make a compound</p>
-
-<p class="whs1">compound = geompy.MakeCompound([box1,
- box2])</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># import from *.brep</p>
-
-<p class="whs1">ImportBREP = geompy.ImportBREP("<span
- style="font-family: 'Lucida Console', monospace;">os.getenv("DATA_DIR")+"/Shapes/Brep/flight_solid.brep")</span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># get a face</p>
-
-<p class="whs1">faces = geompy.SubShapeAllSorted(ImportBREP,
- geompy.ShapeType["FACE"])</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># get the free boundary
- for face 32</p>
-
-<p class="whs1">Res = geompy.GetFreeBoundary(faces[32])</p>
-
-<p class="whs1">isSuccess =
- Res[0]</p>
-
-<p class="whs1">ClosedWires = Res[1]</p>
-
-<p class="whs1">OpenWires =
- Res[2]</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">i<span style="font-family: 'Lucida Console', monospace;">f
- isSuccess == 1 :</span></p>
-
-<p class="whs1"> print
- "Checking free boudaries is OK."</p>
-
-<p class="whs1">else :</p>
-
-<p class="whs1"> print
- "Checking free boudaries is KO!"</p>
-
-<p class="whs1">print "len(ClosedWires)
- = ", len(ClosedWires)</p>
-
-<p class="whs1">i = 0</p>
-
-<p class="whs1">for wire in ClosedWires
- :</p>
-
-<p class="whs1"> wire_name
- = "Face 32 -> Close wires : WIRE %d"%(i+1)</p>
-
-<p class="whs1"> geompy.addToStudy(ClosedWires[i],
- wire_name)</p>
-
-<p class="whs1"> if
- i < len(ClosedWires) :</p>
-
-<p class="whs1"> i
- = i+ 1</p>
-
-<p class="whs1">print "len(OpenWires)
- = ", len(OpenWires)</p>
-
-<p class="whs1">i = 0</p>
-
-<p class="whs1">for wire in OpenWires
- :</p>
-
-<p class="whs1"> wire_name
- = "Face 32 -> Open wires : WIRE %d"%(i+1)</p>
-
-<p class="whs1"> geompy.addToStudy(OpenWires[i],
- wire_name)</p>
-
-<p class="whs1"> if
- i < len(OpenWires) :</p>
-
-<p class="whs1"> i
- = i+ 1</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># get the free boundary
- for face 41</p>
-
-<p class="whs1">Res = geompy.GetFreeBoundary(faces[41])</p>
-
-<p class="whs1">isSuccess =
- Res[0]</p>
-
-<p class="whs1">ClosedWires = Res[1]</p>
-
-<p class="whs1">OpenWires =
- Res[2]</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">if isSuccess == 1
- :</p>
-
-<p class="whs1"> print
- "Checking free boudaries is OK."</p>
-
-<p class="whs1">else :</p>
-
-<p class="whs1"> print
- "Checking free boudaries is KO!"</p>
-
-<p class="whs1">print "len(ClosedWires)
- = ", len(ClosedWires)</p>
-
-<p class="whs1">i = 0</p>
-
-<p class="whs1">for wire in ClosedWires
- :</p>
-
-<p class="whs1"> wire_name
- = "Face 41 -> Close wires : WIRE %d"%(i+1)</p>
-
-<p class="whs1"> geompy.addToStudy(ClosedWires[i],
- wire_name)</p>
-
-<p class="whs1"> if
- i < len(ClosedWires) :</p>
-
-<p class="whs1"> i
- = i+ 1</p>
-
-<p class="whs1">print "len(OpenWires)
- = ", len(OpenWires)</p>
-
-<p class="whs1">i = 0</p>
-
-<p class="whs1">for wire in OpenWires
- :</p>
-
-<p class="whs1"> wire_name
- = "Face 41 -> Open wires : WIRE %d"%(i+1)</p>
-
-<p class="whs1"> geompy.addToStudy(OpenWires[i],
- wire_name)</p>
-
-<p class="whs1"> if
- i < len(OpenWires) :</p>
-
-<p class="whs1"> i
- = i+ 1</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"># add the imported object
- to the study</p>
-
-<p class="whs1">id_ImportBREP = geompy.addToStudy(ImportBREP,
- "ImportBREP")</p>
-
-<p class="whs2"><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
- </p>
-
-<p class="whs2"> </p>
-
-<h3><a name=bookmark9>Check Free Faces</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(35,
- 35, 0)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(35,
- 35, 50)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create a cylinder</p>
-
-<p class="whs1">cylinder = geompy.MakeCone(p1,
- v, 30, 20, 20)</p>
-
-<p> </p>
-
-<p># create a cone</p>
-
-<p class="whs1">cone = geompy.MakeCone(p1,
- v, 70, 40, 60)</p>
-
-<p> </p>
-
-<p># make cut</p>
-
-<p class="whs1">cut = geompy.MakeCut(cone,
- cylinder)</p>
-
-<p> </p>
-
-<p># get faces as sub-shapes</p>
-
-<p class="whs1">faces = []</p>
-
-<p class="whs1">faces = geompy.SubShapeAllSorted(cut,
- geompy.ShapeType["FACE"])</p>
-
-<p class="whs1">f_2 = geompy.GetSubShapeID(cut,
- faces[0])</p>
-
-<p> </p>
-
-<p># remove one face from the shape</p>
-
-<p class="whs1">cut_without_f_2 =
- geompy.SuppressFaces(cut, [f_2])</p>
-
-<p> </p>
-
-<p># suppress the specified wire</p>
-
-<p class="whs1">result = geompy.GetFreeFacesIDs(cut_without_f_2)</p>
-
-<p class="whs1">print "A number
- of free faces is ", len(result)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">all_faces = geompy.SubShapeAllSorted(cut_without_f_2,
- geompy.ShapeType["FACE"])</p>
-
-<p class="whs1">for face in all_faces
- :</p>
-
-<p class="whs1"> sub_shape_id
- = geompy.GetSubShapeID(cut_without_f_2, face)</p>
-
-<p class="whs1"> if
- result.count(sub_shape_id) > 0 :</p>
-
-<p class="whs1"> face_name
- = "Free face %d"%(sub_shape_id)</p>
-
-<p class="whs1"> geompy.addToStudy(face,
- face_name)</p>
-
-<p> </p>
-
-<p># in this example all faces from cut_without_f_2 are free</p>
-
-<p class="whs1">id_cut_without_f_2
- = geompy.addToStudy(cut_without_f_2, "Cut without f_2")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cut_without_f_2)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cut_without_f_2,1)</span>
- </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Revolution</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:350px; float:none; border-style:none; }
-img_whs5 { border:none; width:268px; height:275px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nRevolution");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span>Revolution</h1>
-
-<p><b><span style="font-weight: normal;">T</span></b><b><span style="font-weight: normal;">o</span>
- <span style="font-weight: normal; font-size: 12pt;"><font size=3 style="font-size:12pt;">create an extruded
- shape by</font></span><span style="font-size: 12pt;"> <font size=3 style="font-size:12pt;"></font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Revolution</B></font></span><span
- style="font-weight: normal;"> in the </span><span style="font-weight: bold;"><B>Main
- Menu</B></span><span style="font-weight: normal;"> select </span><span style="font-weight: bold;"><B>New
- Entity - > Generation -
- > Revolution</B></span></b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">To create an extruded shape by <span style="font-weight: bold;"><B>Revolution</B></span>
- you need to define the source <span style="font-weight: bold;"><B>Object</B></span>
- to rotate, the <span style="font-weight: bold;"><B>Axis</B></span> of revolution
- and the <span style="font-weight: bold;"><B>Angle</B></span> by which the Shape
- has to be rotated around the <span style="font-weight: bold;"><B>Axis</B></span>
- (in degrees).</p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
- style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">of
- the operation will be a</span></b> GEOM_Object (edge, face, solid or compsolid).</font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeRevolution(Shape, Axis,
- Angle)</I></span>.</p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
- + 1 vector (for direction) + 1 value (angle).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/revolution.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs4"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/revolutionsn.png" x-maintain-ratio="TRUE" width="268px" height="275px" border="0" class="img_whs5"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
- provide you with useful examples of creation of <a href="complex_objects.htm#bookmark1">Complex
- Geometric Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Rotation</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:400px; height:388px; float:none; border-style:none; }
-p.whs5 { font-weight:bold; font-size:12pt; }
-p.whs6 { font-size:12pt; margin-left:0px; }
-img_whs7 { border:none; width:400px; height:432px; float:none; border-style:none; }
-p.whs8 { margin-left:40px; }
-img_whs9 { border:none; width:247px; height:292px; float:none; border-style:none; }
-img_whs10 { border:none; width:257px; height:291px; float:none; border-style:none; }
-p.whs11 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs6 {margin-left:1pt; }";
- strNSS += "p.whs11 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nRotation");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Rotation</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Rotation</B></span> in the Main Menu select
- <span style="font-weight: bold;"><B>Operations - > Transformation - >
- Rotation</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">This operation <span style="font-weight: bold;"><B>rotates</B></span>
- the initial shape. </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The
- first</span> </b><span style="font-weight: bold;"><B>Rotation</B></span> algorithm
- needs you to define an <span style="font-weight: bold;"><B>Object</B></span>
- to be rotated,
- an <span style="font-weight: bold;"><B>Axis</B></span> of rotation and an <span
- style="font-weight: bold;"><B>Angle</B></span> of rotation.</p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeRotation(Shape, Axis,
- Angle)</I></span> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- 1 shape + 1 vector for direction of rotation + 1 angle.</p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><img src="pics/transformation4.png" x-maintain-ratio="TRUE" width="400px" height="388px" border="0" class="img_whs4"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs5"><span style="font-weight: bold; font-size: 12pt;"><font size=3 style="font-size:12pt;"><B>Reverse
- <span style="font-weight: normal;">checkbox allows to specify the direction
- of rotation.</span></B></font></span></p>
-
-<p class="whs2"><span style="font-weight: bold;"><B>Create a copy
- </B></span>checkbox allows to keep the initial object, otherwise it will be
- removed.</p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be any</span> </b>GEOM_Object.</p>
-
-<p class="whs3"> </p>
-
-<p class="whs6">The second algorithm allows
- to define the rotated <span style="font-weight: bold;"><B>Object</B></span> by
- three points. Rotation axis will pass through the <span style="font-weight: bold;"><B>Central
- Point</B></span> and will be will be orthogonal to a plane defned by three
- points. In this case rotation <span style="font-weight: bold;"><B>Angle</B></span>
- is the angle between two vectors directed from the first point to the
- second and to the third.</p>
-
-<p class="whs6"><span style="font-weight: bold;"><B>TUI
- Command:</B></span> <span style="font-style: italic;"><I>geompy.MakeRotationThreePoints(Shape,
- CentralPoint, Point1, Point2).</I></span></p>
-
-<p class="whs6"><span style="font-weight: bold;"><B>Arguments:</B></span>
- 1 shape + 3 points. </p>
-
-<p class="whs6"> </p>
-
-<p class="whs3"><img src="pics/transformation4a.png" x-maintain-ratio="TRUE" width="400px" height="432px" border="0" class="img_whs7"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs8"><img src="pics/rotationsn1.png" x-maintain-ratio="TRUE" width="247px" height="292px" border="0" class="img_whs9"> <img src="pics/rotationsn2.png" x-maintain-ratio="TRUE" width="257px" height="291px" border="0" class="img_whs10"></p>
-
-<p class="whs11"> </p>
-
-<p class="whs11"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark1">Transformation
- Operations</a>. </font></span></p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Scale Transform</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:350px; float:none; border-style:none; }
-p.whs5 { margin-left:40px; font-size:12pt; }
-img_whs6 { border:none; width:206px; height:233px; float:none; border-style:none; }
-img_whs7 { border:none; float:none; width:216px; height:234px; border-style:none; }
-p.whs8 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs8 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nScale Transform");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Scale
- Transform</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Scale Transform</B></span> in the Main
- Menu select <span style="font-weight: bold;"><B>Operations - > Transformation
- - > Scale Transform</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">This operation creates a scaled shape basing
- on the initial shape. For this, you need to define the <span style="font-weight: bold;"><B>Shape</B></span>
- to be scaled, the <span style="font-weight: bold;"><B>Central Point</B></span>
- of scale and the Scale Factor.</p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeScaleTransform(Shape,
- CenterOfScale, Factor)</I></span>, </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 shape(s) + 1 vertex + 1 Scale Factor.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/transformation10.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs4"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs5"><img src="pics/scale_transformsn1.png" x-maintain-ratio="TRUE" width="206px" height="233px" border="0" class="img_whs6"> <img src="pics/scale_transformsn2.png" x-maintain-ratio="TRUE" width="216px" height="234px" border="0" class="img_whs7"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs8"> <span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark6">Transformation
- Operations</a>. </font></span></p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Section</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-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
-p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
-img_whs6 { border:none; width:253px; height:266px; float:none; border-style:none; }
-img_whs7 { border:none; width:215px; height:265px; float:none; border-style:none; }
-p.whs8 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
- strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
- strNSS += "p.whs8 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nSection");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Section</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Section</B></span> operation in the Main
- Menu select <span style="font-weight: bold;"><B>Operations - > Boolean
- - > Section</B></span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">This
- operation creates</span> </b>the section between 2 shapes. </p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span> </b>GEOM_Object
- (COMPOUND).</p>
-
-<p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span>
- <span style="font-style: italic;"><I>geompy.MakeSection(s1,
- s2)</I></span> </p>
-
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
- Name + 2 shapes.</p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><img src="pics/neo-section.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> <img src="pics/sectionsn.png" x-maintain-ratio="TRUE" width="215px" height="265px" border="0" class="img_whs7"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs8"> <span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
- provide you with useful examples of the use of <a href="boolean_operations.htm#bookmark3">Boolean
- Operations</a>. </font></span></p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Sewing</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-family:'Times New Roman' , serif; font-size:12pt; }
-p.whs4 { font-size:12pt; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
-img_whs6 { border:none; width:343px; height:123px; float:none; border-style:none; }
-img_whs7 { border:none; width:150px; height:132px; border-style:none; }
-p.whs8 { 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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nSewing");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Sewing</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Sewing</B></span> operation in the Main
- Menu select <span style="font-weight: bold;"><B>Repair - > Sewing</B></span>.</p>
-
-<p> </p>
-
-<p class="whs3">This
- operation allows to sew several shapes.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b><span
- style="font-weight: normal;">T</b>he</span> Result <span style="font-weight: normal;">will
- be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object. </B></span></b></font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeSewing(ListOfShape, Precision)</I></span>,
- where ListOfShape is list of shapes to be sewed, Precision is a precision
- for sewing.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/repair6.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 or more shapes + 1 value (sew precision).</p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>Detect
- </B></span>button allows to display the number of free boundaries in your
- shape:</font></span></p>
-
-<p class="whs4"> </p>
-
-<p class="whs4"><img src="pics/neo-detect2.png" x-maintain-ratio="TRUE" width="343px" height="123px" border="0" class="img_whs6"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="image112.jpg" width="150px" height="132px" border="0" class="img_whs7"> <img src="image113.jpg" width="150px" height="132px" border="0" class="img_whs7"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs8"><span style="font-weight: normal;">Our</span>
- TUI Scripts<span style="font-weight: normal;"> provide you with useful
- examples of the use of</span> <a href="repairing_operations.htm#bookmark5">Repairing
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Shape Processing</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 { border:none; width:25px; height:24px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:403px; height:469px; float:none; border-style:none; }
-p.whs5 { font-size:12pt; font-weight:bold; }
-ul.whs6 { list-style:disc; }
-p.whs7 { font-size:12pt; margin-left:48px; }
-p.whs8 { font-size:12pt; margin-left:0px; }
-p.whs9 { font-size:12pt; margin-left:0px; font-weight:bold; }
-p.whs10 { font-size:12pt; font-weight:bold; margin-left:48px; }
-p.whs11 { font-size:12pt; margin-left:48px; font-weight:normal; }
-p.whs12 { font-size:12pt; margin-left:88px; font-weight:normal; }
-p.whs13 { font-size:12pt; margin-left:0px; font-weight:normal; }
-p.whs14 { font-size:12pt; margin-left:48px; font-weight:bold; }
-p.whs15 { font-size:12pt; font-weight:bold; margin-left:0px; }
-img_whs16 { border:none; width:300px; height:214px; border-style:none; }
-img_whs17 { border:none; width:244px; height:214px; border-style:none; }
-p.whs18 { font-family:'Times New Roman' , serif; font-size:14pt; }
-p.whs19 { font-family:'Times New Roman' , serif; font-size:12pt; }
-img_whs20 { border:none; width:239px; height:214px; border-style:none; }
-p.whs21 { font-weight:bold; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs8 {margin-left:1pt; }";
- strNSS += "p.whs9 {margin-left:1pt; }";
- strNSS += "p.whs13 {margin-left:1pt; }";
- strNSS += "p.whs15 {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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nShape Processing");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image41.gif" width="25px" height="24px" border="0" class="img_whs1"></font></span>Shape Processing</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Shape Processing</B></span> operation in
- the Main Menu select <span style="font-weight: bold;"><B>Repair - ></B></span>
- <span style="font-weight: bold;"><B>Shape Processing.</B></span></p>
-
-<p class="whs2">This operation processes one or more shapes
- using various operators.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b><b> <span
- style="font-weight: bold;"><B>GEOM_Object</b>.</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.ProcessShape(Shape, Operators,
- Parameters, Values)</I></span>, where Shape is a processed shape, Operators
- is a list of operators ("FixShape", "SplitClosedFaces",
- etc.), Parameters is a list of parameters (\93FixShape.Tolerance3d\94, etc),
- Values is a list of values of parameters placed in the same order as in
- the list of Parameters .</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">In this dialog box you can select the object
- that you need to process, define its name and operators applied to it
- during processing. </p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/repair1.png" x-maintain-ratio="TRUE" width="403px" height="469px" border="0" class="img_whs4"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs5">Operators and Parameters<span
- style="font-weight: normal;"> (TUI names are given in brackets)</span></p>
-
-<p class="whs2"> </p>
-
-<ul type="disc" class="whs6">
-
- <li class=kadov-p><p class="whs2"><span style="font-weight: bold;"><B>Fix
- Shape</B></span> (FixShape) - corrects invalid shapes. </p></li>
-
- <li class=kadov-p><p class="whs7"><span
- style="font-weight: bold;"><B>3D Tolerance</B></span> (FixShape.Tolerance3d)
- - work tolerance for detection of the problems and correction of them.</p></li>
-
- <li class=kadov-p><p class="whs7"><span
- style="font-weight: bold;"><B>Max 3D Tolerance</B></span> (FixShape.MaxTolerance3d)
- - maximal
- possible tolerance of the shape after correction.</p></li>
-
- <li class=kadov-p><p class="whs8"><span
- style="font-weight: bold;"><B>Fix Face Size</B></span> (FixFaceSize) - removes
- small faces, such as spots and strips. </p></li>
-
- <li class=kadov-p><p class="whs7"><span
- style="font-weight: bold;"><B>Tolerance</B></span> (FixFaceSize.Tolerance) -
- defines minimum possible face size.</p></li>
-
- <li class=kadov-p><p class="whs8"><span
- style="font-weight: bold;"><B>Drop Small Edges</B></span> (DropSmallEdges) -
- removes edges, which merge with neighbouring edges.</p></li>
-
- <li class=kadov-p><p class="whs7"><span
- style="font-weight: bold;"><B>3D Tolerance</B></span> (DropSmallEdges.Tolerance3d)
- - defines minimum possible distance between two parallel edges.</p></li>
-
- <li class=kadov-p><p class="whs8"><span
- style="font-weight: bold;"><B>Split Angle</B></span> (SplitAngle) - splits faces
- based on conical surfaces, surfaces of revolution and cylindrical surfaces
- in segments using a certain angle . </p></li>
-
- <li class=kadov-p><p class="whs7"><span
- style="font-weight: bold;"><B>Angle</B></span> (SplitAngle.Angle) - the central
- angle of the resulting segments (i.e. we obtain two segments if Angle=180,
- four if Angle=90, etc).</p></li>
-
- <li class=kadov-p><p class="whs7"><span
- style="font-weight: bold;"><B>Max. Tolerance</B></span> (SplitAngle.MaxTolerance)
- - maximum possible tolerance among the resulting segments.</p></li>
-
- <li class=kadov-p><p class="whs9">Split Closed Faces
- <span style="font-weight: normal;">(SplitClosedFaces)</span> - <span style="font-weight: normal;">splits
- closed faces in segments. The number of segments depends on the number
- of splitting points.</span></p></li>
-
- <li class=kadov-p><p class="whs7"><span
- style="font-weight: bold;"><B>Number of splitting points</B></span> (SplitClosedFaces.NbSplitPoints)
- - the number of splitting points.</p></li>
-
- <li class=kadov-p><p class="whs9">Split Continuity<span
- style="font-weight: normal;"> (SplitContinuity) - splits shapes to reduce
- continuities of curves and surfaces.</span></p></li>
-
- <li class=kadov-p><p class="whs10">3D Tolerance<span style="font-weight: normal;">
- (SplitContinuity.Tolerance3d) - 3D tolerance for correction of geometry.</span></p></li>
-
- <li class=kadov-p><p class="whs10">Surface Continuity<span
- style="font-weight: normal;"> (SplitContinuity.SurfaceContinuity) - required
- continuity for surfaces.</span></p></li>
-
- <li class=kadov-p><p class="whs10">Curve Continuity <span
- style="font-weight: normal;">(SplitContinuity.CurveContinuity)</span>
- - <span style="font-weight: normal;">required continuity for curves.</span></p></li>
-</ul>
-
-<p class="whs11">This and the previous parameters can
- take the following values:</p>
-
-<p class="whs12"><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;"><span
- style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">P</font></span>arametric Continuity
- </font></span></p>
-
-<p class="whs12"><span style="font-weight: bold;"><B>C0</B></span>
- (Positional Continuity): curves are joined (the end positions of curves
- or surfaces are coincidental. The curves or surfaces may still meet at
- an angle, giving rise to a sharp corner or edge).</p>
-
-<p class="whs12"><span style="font-weight: bold;"><B>C1</B></span>
- (Tangential Continuity): first derivatives are equal (the end vectors
- of curves or surfaces are parallel, ruling out sharp edges). </p>
-
-<p class="whs12"><span style="font-weight: bold;"><B>C2</B></span>
- (Curvature Continuity): first and second derivatives are equal (the end
- vectors of curves or surfaces are of the same magnitude).</p>
-
-<p class="whs12"><span style="font-weight: bold;"><B>CN</B></span>
- N-th derivatives are equal (both the direction and the magnitude of the
- Nth derivatives of curves or surfaces (d/du C(u)) are the same at junction.</p>
-
-<p class="whs12">Geometric Continuity </p>
-
-<p class="whs12"><span style="font-weight: bold;"><B>G1</B></span>:
- first derivatives are proportional at junction</p>
-
-<p class="whs12">The curve tangents thus have the same
- direction, but not necessarily the same magnitude. i.e., C1'(1) = (a,b,c)
- and C2'(0) = (k*a, k*b, k*c). </p>
-
-<p class="whs12"><span style="font-weight: bold;"><B>G2</B></span>:
- first and second derivatives are proportional at junction </p>
-
-<p class="whs12">As the names imply, geometric continuity
- requires the geometry to be continuous, while parametric continuity requires
- that the underlying parameterization was continuous as well. </p>
-
-<p class="whs12">Parametric continuity of order n implies
- geometric continuity of order n, but not vice-versa. </p>
-
-<ul type="disc" class="whs6">
-
- <li class=kadov-p><p class="whs13"><span style="font-weight: bold;"><B>Bspline
- Restriction</B></span> (BsplineRestriction) - converts curves and surfaces
- to Bsplines and processes them with the following parameters:</p></li>
-
- <li class=kadov-p><p class="whs14">Surface Mode<span style="font-weight: normal;">
- (BSplineRestriction.SurfaceMode) - approximation of surfaces if restriction
- is necessary.</span></p></li>
-
- <li class=kadov-p><p class="whs14">3D Curve Mode<span
- style="font-weight: normal;"> (BSplineRestriction.Curve3dMode) - conversion
- of any 3D curve to BSpline and approximation.</span></p></li>
-
- <li class=kadov-p><p class="whs14">2D Curve Mode<span
- style="font-weight: normal;"> (BSplineRestriction.Curve2dMode) -</span>
- <span style="font-weight: normal;">conversion of any 2D curve to BSpline
- and approximation.</span></p></li>
-
- <li class=kadov-p><p class="whs11"><span style="font-weight: bold;"><B>3D
- Tolerance</B></span> (BSplineRestriction.Tolerance3d) - defines the possibility
- of surfaces and 3D curves approximation with the specified parameters.</p></li>
-
- <li class=kadov-p><p class="whs11"><span style="font-weight: bold;"><B>2D
- Tolerance</B></span> (BSplineRestriction.Tolerance2d) - defines the possibility
- of surfaces and 2D curves approximation with the specified parameters.</p></li>
-
- <li class=kadov-p><p class="whs11"><span style="font-weight: bold;"><B>Required
- Degree</B></span> (BSplineRestriction.RequiredDegree) - required degree of
- the resulting BSplines.</p></li>
-
- <li class=kadov-p><p class="whs11"><span style="font-weight: bold;"><B>Required
- number of segments</B></span> (BSplineRestriction.RequiredNbSegments) - required
- maximum number of segments of resultant BSplines</p></li>
-
- <li class=kadov-p><p class="whs11"><span style="font-weight: bold;"><B>3D
- Continuity</B></span> (BSplineRestriction.Continuity3d) - continuity of the
- resulting surfaces and 3D curves.</p></li>
-
- <li class=kadov-p><p class="whs11"><span style="font-weight: bold;"><B>2D
- Continuity</B></span> (BSplineRestriction.Continuity2d) - continuity of the
- resulting 2D curves.</p></li>
-
- <li class=kadov-p><p class="whs8"><span
- style="font-weight: bold;"><B>To Bezier</B></span> (ToBezier) - converts curves
- and surfaces of any type to Bezier curves and surfaces. </p></li>
-
- <li class=kadov-p><p class="whs14">Surface Mode<span style="font-weight: normal;">
- (ToBezier.SurfaceMode) - if checked in, allows conversion of surfaces.</span></p></li>
-
- <li class=kadov-p><p class="whs14">3D Curve Mode <span
- style="font-weight: normal;">(ToBezier.Curve3dMode) - if checked in, allows
- conversion of 2D curves.</span></p></li>
-
- <li class=kadov-p><p class="whs14">2D Curve Mode <span
- style="font-weight: normal;">(ToBezier.Curve2dMode) - if checked in, allows
- conversion of 3D curves.</span></p></li>
-
- <li class=kadov-p><p class="whs14">Max Tolerance<span
- style="font-weight: normal;"> (ToBezier.MaxTolerance) </span>- <span style="font-weight: normal;">defines</span>
- <span style="font-weight: normal;">tolerance for detection and correction
- of problems.</span> </p></li>
-
- <li class=kadov-p><p class="whs15">Same Parameter<span
- style="font-weight: normal;"> (SameParameter) \96 fixes
- edges of 2D and 3D curves not having the same parameter.</span> </p></li>
-
- <li class=kadov-p><p class="whs7"><span
- style="font-weight: bold;"><B>3D Tolerance</B></span> (SameParameter.Tolerance3d)
- \96 defines<span style="font-weight: bold;"> <B></B></span>tolerance for fixing
- of edges.<span style="font-weight: bold;"> <B></B></span></p></li>
-</ul>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/repair1.png" x-maintain-ratio="TRUE" width="403px" height="469px" border="0" class="img_whs4"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p> </p>
-
-<p class="whs2">Shape before applying Shape Processing (FixShape
- operator).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="image154.jpg" width="300px" height="214px" border="0" class="img_whs16"> <img src="image156.jpg" width="244px" height="214px" border="0" class="img_whs17"></p>
-
-<p class="whs18"> </p>
-
-<p class="whs19">The
- same shape after applying Shape Processing.</p>
-
-<p class="whs18"> </p>
-
-<p class="whs3"><img src="image160.jpg" width="239px" height="214px" border="0" class="img_whs20"></p>
-
-<p class="whs21"> </p>
-
-<p class="whs21"><span style="font-weight: normal;">Our</span>
- TUI Scripts<span style="font-weight: normal;"> provide you with useful
- examples of the use of</span> <a href="repairing_operations.htm#bookmark">Repairing
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Shell</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; }
-img_whs5 { border:none; width:188px; height:178px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nShell");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Shell</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o create
- a <span style="font-weight: bold;"><B>Shell</B></span> in the Main Menu select
- <span style="font-weight: bold;"><B>New Entity - > Build - > Shell</B></span></p>
-
-<p> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">You
- can</span> <span style="font-weight: normal;">c</span></b>reate a <span
- style="font-weight: bold;"><B>Shell</B></span> from a list of faces and (or)
- shells.</p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result<span style="font-weight: normal;"> will be a </b> </span>GEOM_Object
- (shell).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeShell(ListOfShape)</I></span>
- </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">List of faces having connected edges.</font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/neo-obj5.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs4"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/shellsn.png" x-maintain-ratio="TRUE" width="188px" height="178px" border="0" class="img_whs5"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="geometrical_objects.htm#bookmark2">Advanced Geometric
- Objects</a>. </p>
-
-<p> </p>
-
-<p class="whs2"> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Sketcher</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 { border:none; float:none; width:30px; height:30px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { margin-left:108px; font-size:12pt; }
-ul.whs4 { list-style:disc; }
-p.whs5 { margin-left:40px; font-size:12pt; }
-img_whs6 { border:none; width:321px; height:496px; float:none; border-style:none; }
-p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; }
-p.whs8 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
-p.whs9 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }
-img_whs10 { border:none; width:200px; height:200px; 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.whs7 {text-indent:1pt; }";
- strNSS += "p.whs8 {text-indent:1pt; }";
- strNSS += "p.whs9 {text-indent: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nSketcher");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Sketcher</h1>
-
-<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><img src="i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs1"></b></font></span>Sketcher allows to create curves of 2 types: line
- segment and arc. The
- curve is created from the current point (center of coordinates when the
- sketcher is started). The
- end of the curve is defined by means of "destination", which
- can be a destination point (for segment only) or destination direction
- coupled with length of a segment or angle and radius of an arc.</p>
-
-<p> </p>
-
-<p>Sketcher is able to create planar curves only. Therefore, it is necessary
- to select a working plane before starting a sketch (by default, XOY plane
- is used). Sketcher creates curves lying in the current working plane (New
- Entity -> Basic -> Working Plane).</p>
-
-<p> </p>
-
-<p>This functionality is available from the main menu via <span style="font-style: italic;"><I>New
- Entity / Sketch.</I></span></p>
-
-<p> </p>
-
-<p class="whs2"><b><span style="font-weight: normal;">T</span></b><b><span
- style="font-weight: normal;">he</span> Result <span style="font-weight: normal;">of
- the operation will be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object</b>.</B></span></p>
-
-<p> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeSketcher(Command, WorkingPlane)</I></span></p>
-
-<p class="whs3">This algorithm creates
- a sketcher (wire or face), following the textual description, passed through
- the Command argument. The edges of the resulting wire or face will be
- arcs of circles and/or linear segments.</p>
-
-<p class="whs3"><span style="font-style: italic;"><I>Command</I></span>
- is a string, defining the sketcher by the coordinates of points in the
- local working plane.</p>
-
-<p class="whs3"><span style="font-style: italic;"><I>WorkingPlane</I></span>
- is a planar face of the working plane (a list of 9 doubles which are coordinates
- of OZ and OX of the local working plane).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- </p>
-
-<p class="whs2"><span><font size=3 style="font-size:12pt;">1. Element type (segment or arc).</font></span></p>
-
-<p class="whs2">2. Destination type (point or direction).</p>
-
-<p class="whs2">3. <span>Destination point by means of:</span></p>
-
-<ul type="disc" class="whs4">
-
- <li class=kadov-p><p class="whs2">absolute coordinates
- X,Y;</p></li>
-
- <li class=kadov-p><p class="whs2">relative coordinates
- DX, DY (with respect to the current point);</p></li>
-
- <li class=kadov-p><p class="whs2">selection of an existing
- point.</p></li>
-</ul>
-
-<p class="whs2">4. Destination direction by means of:</p>
-
-<ul type="disc" class="whs4">
-
- <li class=kadov-p><p class="whs2">angle between the new
- segment and the previous one;</p></li>
-
- <li class=kadov-p><p class="whs2">perpendicular to the
- previous segment (same as previous, but angle is predefined and is equal
- to 90 degrees);</p></li>
-
- <li class=kadov-p><p class="whs2">tangent to the previous
- segment;</p></li>
-
- <li class=kadov-p><p class="whs2">vector components DX,
- DY.</p></li>
-</ul>
-
-<p class="whs2">5. Parameters of an element (for segment :
- length or target X or Y coordinate value, for arc : radius and angle).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs5"><img src="pics/neo-scetcher1.png" x-maintain-ratio="TRUE" width="321px" height="496px" border="0" class="img_whs6"> <img src="pics/neo-scetcher2.png" x-maintain-ratio="TRUE" width="321px" height="496px" border="0" class="img_whs6"></p>
-
-<p class="whs7"> </p>
-
-<p class="whs8">Example:</p>
-
-<p class="whs9"> </p>
-
-<p class="whs9"><img src="image204.jpg" width="200px" height="200px" border="0" class="img_whs10"> <img src="image206.jpg" width="200px" height="200px" border="0" class="img_whs10"></p>
-
-<p class="whs9"> </p>
-
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
- provide you with useful examples of the use of <a href="sketcher_tui.htm">Sketcher</a>.
- </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Sketcher</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
-p.whs2 { font-family:'MS Sans Serif' , sans-serif; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nSketcher");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Sketcher</h1>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(70.,
- 0., 0.)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(70.,
- 70., 80.)</p>
-
-<p class="whs1">p3 = geompy.MakeVertex(
- 0., 70., 0.)</p>
-
-<p> </p>
-
-<p>#create a vector from two points</p>
-
-<p class="whs1">vector_arc = geompy.MakeVector(p1,
- p3)</p>
-
-<p> </p>
-
-<p># create an arc from three points</p>
-
-<p class="whs1">arc = geompy.MakeArc(p1,
- p2, p3)</p>
-
-<p> </p>
-
-<p># create a wire</p>
-
-<p class="whs1">wire = geompy.MakeWire([vector_arc,
- arc])</p>
-
-<p> </p>
-
-<p># create a planar face</p>
-
-<p class="whs1">isPlanarWanted = 1</p>
-
-<p class="whs1">face = geompy.MakeFace(wire,
- isPlanarWanted)</p>
-
-<p> </p>
-
-<p># create a sketcher (face), following the textual description</p>
-
-<p class="whs1">sketcher1 = geompy.MakeSketcher("Sketcher:F
- -100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WF",</p>
-
-<p class="whs1"> [100,0,0,
- 1,1,1, -1,1,0])</p>
-
-<p> </p>
-
-<p># create a sketcher (wire) on the given face</p>
-
-<p class="whs1">sketcher2 = geompy.MakeSketcherOnPlane("Sketcher:F
- 10 -30:R 10:C 20 180:R 15:L 50:WW",</p>
-
-<p class="whs1"> face)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs2">id_face = geompy.addToStudy(face,"Face")</p>
-
-<p class="whs2">id_sketcher1 = geompy.addToStudy(sketcher1,"Sketcher1")</p>
-
-<p class="whs2">id_sketcher2 = geompy.addToStudy(sketcher2,"Sketcher2")</p>
-
-<p> </p>
-
-<p># display the first sketcher and the second sketcher with its planar
- face</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_face)</p>
-
-<p class="whs1">gg.setDisplayMode(id_face,1)</p>
-
-<p class="whs1">gg.setTransparency(id_face,0.5)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_sketcher1)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_sketcher2)</span>
- </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Solid</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-size:12pt; font-weight:bold; }
-p.whs4 { font-size:12pt; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:315px; float:none; border-style:none; }
-img_whs6 { border:none; width:215px; height:190px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nSolid");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Solid</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o create
- a <span style="font-weight: bold;"><B>Solid</B></span> in the Main Menu select
- <span style="font-weight: bold;"><B>New Entity - > Build - > Solid.</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><span style="font-weight: normal;">You
- can create a</span> Solid <span style="font-weight: normal;">from a list
- of shells.</span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span><span style="font-weight: normal;">
- </b> </span>GEOM_Object
- (SOLID).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeSolid(ListOfShape)</I></span>,
- where ListOfShape is a list of shells from which the solid is constructed.</p>
-
-<p class="whs2"><b>Arguments:</b> Name + A closed shell or
- a list of shells.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/neo-obj6.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs5"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3">Example:</p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><img src="pics/solidsn.png" x-maintain-ratio="TRUE" width="215px" height="190px" border="0" class="img_whs6"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="geometrical_objects.htm#bookmark3">Advanced Geometric
- Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!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; }
-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; }
-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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nSphere");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</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_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>
-
-<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>
-
-<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>
-
-<p class="whs3"><img src="pics/sphere2.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
-
-<p class="whs5"> </p>
-
-<p class="whs5">NB! <span style="font-weight: normal;">The
- 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>
-
-<p class="whs5"><span style="font-weight: normal;">You
- can define the</span> Sphere <span style="font-weight: normal;">by the
- 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>
-
-<p class="whs5"><b style="font-weight: bold;">TUI
- 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>
-
-<p class="whs3"><img src="pics/spheres.png" x-maintain-ratio="TRUE" width="286px" height="284px" border="0" class="img_whs6"></p>
-
-<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>
--- /dev/null
+H1 {
+ text-align: center;
+}
+
+CAPTION {
+ font-weight: bold
+}
+
+/* Link in the top navbar */
+A.qindex {}
+
+A.qindexRef {}
+
+/* Link to any cross-referenced Doxygen element */
+A.el {
+ text-decoration: none;
+ font-weight: bold
+}
+
+A.elRef {
+ font-weight: bold
+}
+
+/* Link to any cross-referenced Doxygen element inside a code section
+ (ex: header)
+*/
+A.code {
+ text-decoration: none;
+ font-weight: normal;
+ color: #4444ee
+}
+
+A.codeRef {
+ font-weight: normal;
+ color: #4444ee
+}
+
+A:hover {
+ text-decoration: none;
+ background-color: lightblue
+}
+
+DL.el {
+ margin-left: -1cm
+}
+
+/* A code fragment (ex: header) */
+DIV.fragment {
+ width: 100%;
+ border: none;
+ background-color: #CCCCCC
+}
+
+/* In the alpha list (coumpound index), style of an alphabetical index letter */
+DIV.ah {
+ background-color: #CCCCCC;
+ font-weight: bold;
+ color: #ffffff;
+ margin-bottom: 3px;
+ margin-top: 3px
+}
+
+/* Method name (+ type) */
+TD.md {
+ background-color: lightblue;
+ font-weight: bold;
+}
+
+/* Method parameter (some of them) */
+TD.mdname1 {
+ background-color: lightblue;
+ font-weight: bold; color: #602020;
+}
+
+/* Method parameter (some of them) */
+TD.mdname {
+ background-color: lightblue;
+ font-weight: bold;
+ color: #602020;
+ width: 600px;
+}
+
+/* Separator between methods group (usually empty, seems not supported by IE) */
+DIV.groupHeader {
+ margin-left: 16px;
+ margin-top: 12px;
+ margin-bottom: 6px;
+ font-weight: bold
+}
+
+DIV.groupText {
+ margin-left: 16px;
+ font-style: italic;
+ font-size: smaller
+}
+
+BODY {
+ background: #FFFFFF;
+}
+
+/*div.div-page {
+ background-color: #FFFFFF;
+ margin-left: 1em;
+ margin-right: 1em;
+ margin-top: 1em;
+ margin-bottom: 0.1em;
+
+ padding-left: 1em;
+ padding-right: 1em;
+ padding-top: 0.5em;
+ padding-bottom: 0.5em;
+
+ border: 2px solid #0D299A;
+ border-width: 2px;
+ border-color: #0D299A;
+}*/
+
+div.tabs {
+ text-align: justify;
+ margin-left : 2px;
+ margin-right : 2px;
+ margin-top : 2px;
+ margin-bottom : 2px
+ font-weight: bold;
+ color: #FFFFFF;
+}
+
+DIV.div-footer {
+ margin-left: 1em;
+ margin-right: 1em;
+ margin-bottom: 0.2em;
+ text-align: right;
+ font-size: 9pt;
+}
+
+/* In File List, Coumpound List, etc, 1st column of the index */
+TD.indexkey {
+ background-color: #CCCCCC;
+ font-weight: bold;
+ padding-right : 10px;
+ padding-top : 2px;
+ padding-left : 10px;
+ padding-bottom : 2px;
+ margin-left : 0px;
+ margin-right : 0px;
+ margin-top : 2px;
+ margin-bottom : 2px
+}
+
+/* In File List, Coumpound List, etc, 2nd column of the index */
+TD.indexvalue {
+ background-color: #CCCCCC;
+ font-style: italic;
+ padding-right : 10px;
+ padding-top : 2px;
+ padding-left : 10px;
+ padding-bottom : 2px;
+ margin-left : 0px;
+ margin-right : 0px;
+ margin-top : 2px;
+ margin-bottom : 2px
+}
+
+span.keyword { color: #008000 }
+span.keywordtype { color: #604020 }
+span.keywordflow { color: #e08000 }
+span.comment { color: #800000 }
+span.preprocessor { color: #806020 }
+span.stringliteral { color: #002080 }
+span.charliteral { color: #008080 }
--- /dev/null
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+</head>
+<body>
+<hr style="width: 100%; height: 2px;">
+<div style="text-align: center;">Copyright © 2003-2007 CEA, EDF<br>
+</div>
+</body>
+</html>
--- /dev/null
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>$title</title>
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</head>
+<hr>
+<center>
+SALOME documentation central
+</center>
+<hr>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Suppress Faces</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; }
-img_whs5 { border:none; float:none; width:222px; height:213px; border-style:none; }
-img_whs6 { border:none; float:none; width:210px; height:214px; border-style:none; }
-p.whs7 { 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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nSuppress Faces");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Suppress Faces</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Suppress Faces</B></span> operation in
- the Main Menu select <span style="font-weight: bold;"><B>Repair - > Suppress
- Faces</B></span>.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">This operation suppresses a face of a shape.
- This operation is available in <span style="font-weight: bold;"><B>OCC Viewer</B></span>
- only. </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b><b> <span
- style="font-weight: bold;"><B>GEOM_Object </B></span></b>(ListOfGeomShapes).<span
- style="font-weight: bold;"><B>.</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b>TUI Command:</b><i> </i><span style="font-style: italic;"><I>geompy.SuppressFaces(Shape,
- ListOfID)</I></span>, where Shape is a shape to be processed, ListOfID is
- a list of faces ID's to be removed.</p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + Faces which should be removed (you can select them in the 3D viewer).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/repair2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs4"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/suppress_faces1.png" x-maintain-ratio="TRUE" width="222px" height="213px" border="0" class="img_whs5"> <img src="pics/suppress_faces2.png" x-maintain-ratio="TRUE" width="210px" height="214px" border="0" class="img_whs6"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs7"><span style="font-weight: normal;">Our</span>
- TUI Scripts <span style="font-weight: normal;">provide you with useful
- examples of the use of</span> <a href="repairing_operations.htm#bookmark1">Repairing
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Suppress Holes</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:381px; float:none; border-style:none; }
-img_whs5 { border:none; width:343px; height:123px; float:none; border-style:none; }
-img_whs6 { border:none; width:150px; height:136px; border-style:none; }
-p.whs7 { 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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nSuppress Holes");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Suppress Holes</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o <span
- style="font-weight: bold;"><B>Suppress Holes</B></span> in the Main Menu select
- <span style="font-weight: bold;"><B>Repair - > Suppress Holes</B></span>.</p>
-
-<p> </p>
-
-<p>This operation removes holes on a selected shape. <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">This
- operation is available in </font></span><span style="font-weight: bold;"><B>OCC
- Viewer</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> only. </font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b><span
- style="font-weight: normal;">T</b>he</span> Result <span style="font-weight: normal;">will
- be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object. </B></span></b></font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.SuppressHoles(Shape, ListOfWireID)</I></span>,
- where Shape is a shape where holes must be removed, ListOfWireID is a
- list of wire sub shapes ID\92s. If it is empty, then all holes are removed.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/repair5.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs4"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
- + 1 shape + Wires which should be removed.</p>
-
-<p class="whs2"><span style="font-weight: bold;"><B>Remove all
- holes </B></span>checkbox allows to fill all holes of a definite shape.</p>
-
-<p class="whs2"><span style="font-weight: bold;"><B>Detect </B></span>button
- allows to display the number of free boundaries in your shape:</p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"><img src="pics/neo-detect2.png" x-maintain-ratio="TRUE" width="343px" height="123px" border="0" class="img_whs5"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs3"> </p>
-
-<p class="whs3"> <img src="image109.jpg" width="150px" height="136px" border="0" class="img_whs6"> <img src="image110.jpg" width="150px" height="136px" border="0" class="img_whs6"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs7"><span style="font-weight: normal;">Our</span>
- TUI Scripts<span style="font-weight: normal;"> provide you with useful
- examples of the use of</span> <a href="repairing_operations.htm#bookmark4">Repairing
- Operations</a>. </p>
-
-<p> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Suppress Internal Wires</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; }
-ul.whs3 { list-style:disc; }
-p.whs4 { font-size:12pt; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:350px; float:none; border-style:none; }
-p.whs6 { font-size:12pt; font-weight:bold; }
-img_whs7 { border:none; width:225px; height:268px; float:none; border-style:none; }
-img_whs8 { border:none; float:none; width:234px; height:267px; border-style:none; }
-p.whs9 { 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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nSuppress Internal Wires");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Suppress Internal
- Wires</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o <span
- style="font-weight: bold;"><B>Suppress Internal Wires</B></span> in the Main
- Menu select <span style="font-weight: bold;"><B>Repair - > Suppress Internal
- Wires</B></span>.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">This operation removes all internal wires or
- specified internal wires from user specified faces. This operation is
- available in <span style="font-weight: bold;"><B>OCC Viewer</B></span> only.
- </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">will be a</span></b><b> <span
- style="font-weight: bold;"><B>GEOM_Object. </B></span></b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.SuppressInternalWires(Shape,
- Wires)</I></span>, where Shape is a shape where wires are to be removed, Wires
- is a list of wires ID\92s to be removed; if the list is empty then all internal
- wires are removed.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b></p>
-
-<ul type="disc" class="whs3">
-
- <li class=kadov-p><p class="whs2">Name of the resulting
- object</p></li>
-
- <li class=kadov-p><p class="whs2">User specified face</p></li>
-
- <li class=kadov-p><p class="whs2">User specified internal
- wires (lying on this face except for its boundary), or, in case the <span
- style="font-weight: bold;"><B>Remove all internal wires</B></span> box is checked,
- all internal wires</p></li>
-</ul>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/repair4.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs5"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs6">Example:</p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/supp_int_wires1.png" x-maintain-ratio="TRUE" width="225px" height="268px" border="0" class="img_whs7"> <img src="pics/supp_int_wires2.png" x-maintain-ratio="TRUE" width="234px" height="267px" border="0" class="img_whs8"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs9"><span style="font-weight: normal;">Our</span>
- TUI Scripts<span style="font-weight: normal;"> provide you with useful
- examples of the use of</span> <a href="repairing_operations.htm#bookmark3">Repairing
- Operations</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Transformation Operations</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">
-<!--
-p.whs1 { font-family:'Lucida Console' , monospace; }
-p.whs2 { font-family:'Times New Roman' , serif; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTUI Scripts\nTransformation\nTransformation Operations");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Transformation Operations</h1>
-
-<h3><a name=bookmark>Translation</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(10,
- 40, 0)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(
- 0, 0, 50)</p>
-
-<p class="whs1">p3 = geompy.MakeVertex(50,
- 80, 0)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p class="whs1">vt = geompy.MakeVector(p1,
- p3)</p>
-
-<p> </p>
-
-<p># create a cylinder</p>
-
-<p class="whs1">height = 35</p>
-
-<p class="whs1">radius1 = 20</p>
-
-<p class="whs1">cylinder = geompy.MakeCylinder(p1,
- v, radius1, height)</p>
-
-<p> </p>
-
-<p># translate the given object along the vector, specified by its end
- points</p>
-
-<p># (all three functions produce the same result)</p>
-
-<p class="whs1">translation1 = geompy.MakeTranslationTwoPoints(cylinder,
- p1, p3)</p>
-
-<p class="whs1">translation2 = geompy.MakeTranslation(cylinder,
- 40, 40, 0)</p>
-
-<p class="whs1">translation3 = geompy.MakeTranslationVector(cylinder,
- vt)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_cylinder = geompy.addToStudy(cylinder,
- "Cylinder")</p>
-
-<p class="whs1">id_translation1 =
- geompy.addToStudy(translation1, "Translation1")</p>
-
-<p class="whs1">id_translation2 =
- geompy.addToStudy(translation2, "Translation2")</p>
-
-<p class="whs1">id_translation3 =
- geompy.addToStudy(translation3, "Translation3")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>
-
-<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_translation1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_translation1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_translation2)</p>
-
-<p class="whs1">gg.setDisplayMode(id_translation2,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_translation3)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_translation3,1)</span>
- </p>
-
-<h3><a name=bookmark1>Rotation</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">import math</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(10, 40, 0)</p>
-<p class="whs1">p2 = geompy.MakeVertex( 0, 0, 50)</p>
-<p class="whs1">p3 = geompy.MakeVertex(10, 50,-20)</p>
-<p class="whs1">p4 = geompy.MakeVertex(10, 50, 60)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1, p2)</p>
-<p class="whs1">vr = geompy.MakeVector(p3, p4)</p>
-
-<p> </p>
-
-<p># create a cylinder</p>
-
-<p class="whs1">height = 35</p>
-<p class="whs1">radius1 = 20</p>
-
-<p class="whs1">cylinder = geompy.MakeCylinder(p1, v, radius1, height)</p>
-
-<p> </p>
-
-<p># rotate the given object around the given axis by the given angle</p>
-
-<p class="whs1">rotation1 = geompy.MakeRotation(cylinder, vr, math.pi)</p>
-<p class="whs1">rotation2 = geompy.MakeRotationThreePoints(cylinder, p4, p1, p2)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_vr = geompy.addToStudy(vr, "Rotation 1 axis")</p>
-<p class="whs1">id_p4 = geompy.addToStudy(p4, "Rotation 2 center")</p>
-<p class="whs1">id_p1 = geompy.addToStudy(p1, "Rotation 2 point 1")</p>
-<p class="whs1">id_p2 = geompy.addToStudy(p2, "Rotation 2 point 2")</p>
-<p class="whs1">id_cylinder = geompy.addToStudy(cylinder, "Cylinder")</p>
-<p class="whs1">id_rotation1 = geompy.addToStudy(rotation1, "Rotation 1")</p>
-<p class="whs1">id_rotation2 = geompy.addToStudy(rotation2, "Rotation 2")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_vr)</p>
-<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
-<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
-<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
-<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>
-<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>
-<p class="whs1">gg.createAndDisplayGO(id_rotation1)</p>
-<p class="whs1">gg.createAndDisplayGO(id_rotation2)</p>
-<p class="whs1">gg.setDisplayMode(id_rotation1,1)</p>
-<p class="whs1">gg.setDisplayMode(id_rotation2,1)</p>
-
-<p> </p>
-
-<h3><a name=bookmark4>Modify Location</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">import math</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a vertex and a vector</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(10,
- 40, 0)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(
- 0, 0, 50)</p>
-
-<p class="whs1">v = geompy.MakeVector(p1,
- p2)</p>
-
-<p> </p>
-
-<p># create a cylinder</p>
-
-<p class="whs1">height = 35</p>
-
-<p class="whs1">radius1 = 20</p>
-
-<p class="whs1">cylinder = geompy.MakeCylinder(p1,
- v, radius1, height)</p>
-
-<p> </p>
-
-<p># create local coordinate systems</p>
-
-<p class="whs1">cs1 = geompy.MakeMarker(
- 0, 0, 0, 1,0,0, 0,1,0)</p>
-
-<p class="whs1">cs2 = geompy.MakeMarker(30,40,40,
- 1,0,0, 0,1,0)</p>
-
-<p> </p>
-
-<p># modify the location of the given object</p>
-
-<p class="whs1">position = geompy.MakePosition(cylinder,
- cs1, cs2)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_cs1 = geompy.addToStudy(cs1,
- "Coordinate system 1")</p>
-
-<p class="whs1">id_cs2 = geompy.addToStudy(cs2,
- "Coordinate system 2")</p>
-
-<p class="whs1">id_cylinder = geompy.addToStudy(cylinder,
- "Cylinder")</p>
-
-<p class="whs1">id_position = geompy.addToStudy(position,
- "Position")</p>
-
-<p class="whs1"> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>
-
-<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_position)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_position,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark5>Mirror Image</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a box</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
- 200, 200)</p>
-
-<p> </p>
-
-<p># create an object, symmetrical to another object through the given
- plane</p>
-
-<p class="whs1">p1 = geompy.MakeVertex(
- 0, 25, 0)</p>
-
-<p class="whs1">p2 = geompy.MakeVertex(
- 5, 25, 0)</p>
-
-<p class="whs1">p3 = geompy.MakeVertex(
- 0,-30, 40)</p>
-
-<p class="whs1">plane = geompy.MakePlaneThreePnt(p1,
- p2, p3, 1000.)</p>
-
-<p class="whs1">mirror1 = geompy.MakeMirrorByPlane(box,
- plane)</p>
-
-<p> </p>
-
-<p># create an object, symmetrical to another object through the given
- axis</p>
-
-<p class="whs1">p4 = geompy.MakeVertex(
- 210, 210, -20)</p>
-
-<p class="whs1">p5 = geompy.MakeVertex(
- 210, 210, 220)</p>
-
-<p class="whs1">axis = geompy.MakeVector(p4,
- p5)</p>
-
-<p class="whs1">mirror2 = geompy.MakeMirrorByAxis(box,
- axis)</p>
-
-<p> </p>
-
-<p># create an object, symmetrical to another object through the given
- point</p>
-
-<p class="whs1">mirror3 = geompy.MakeMirrorByPoint(box,
- p4)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_box = geompy.addToStudy(box,
- "Box")</p>
-
-<p class="whs1">id_plane = geompy.addToStudy(plane,
- "Plane")</p>
-
-<p class="whs1">id_mirror1 = geompy.addToStudy(mirror1,
- "Mirror plane")</p>
-
-<p class="whs1">id_axis = geompy.addToStudy(axis,
- "Axis")</p>
-
-<p class="whs1">id_mirror2 = geompy.addToStudy(mirror2,
- "Mirror axis")</p>
-
-<p class="whs1">id_p4 = geompy.addToStudy(p4,
- "Point")</p>
-
-<p class="whs1">id_mirror3 = geompy.addToStudy(mirror3,
- "Mirror point")</p>
-
-<p> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>
-
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_plane)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_mirror1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_mirror1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_axis)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_mirror2)</p>
-
-<p class="whs1">gg.setDisplayMode(id_mirror2,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_mirror3)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_mirror3,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark6>Scale Transform </a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1"> </p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># create a box and a
- sphere</p>
-
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
- 200, 200)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># scale the given object
- by the factor</p>
-
-<p class="whs1">p0 = geompy.MakeVertex(100,
- 100, 100)</p>
-
-<p class="whs1">factor = 0.5</p>
-
-<p class="whs1">scale = geompy.MakeScaleTransform(box,
- p0, factor)</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># add objects in the
- study</p>
-
-<p class="whs1">id_box = geompy.addToStudy(box,
- "Box")</p>
-
-<p class="whs1">id_scale = geompy.addToStudy(scale,
- "Scale")</p>
-
-<p class="whs1"> </p>
-
-<p class="whs2"># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>
-
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>
-
-<p class="whs1">gg.setTransparency(id_box,0.5)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_scale)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_scale,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark7>Offset Surface</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create a box and a sphere</p>
-
-<p class="whs1">box = geompy.MakeBox(20,
- 20, 20, 200, 200, 200)</p>
-
-<p> </p>
-
-<p># create a new object as offset of the given object</p>
-
-<p class="whs1">offset = geompy.MakeOffset(box,
- 70.)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_box = geompy.addToStudy(box,
- "Box")</p>
-
-<p class="whs1">id_offset = geompy.addToStudy(offset,
- "Offset")</p>
-
-<p class="whs1"> </p>
-
-<p># display the results</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>
-
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_offset)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark8>Multi Translation</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices and vectors</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex( 0., 0.,
- 0.)</p>
-
-<p class="whs1">px =
- geompy.MakeVertex(20., 0.,
- 0.)</p>
-
-<p class="whs1">py =
- geompy.MakeVertex( 0., 20., 0.)</p>
-
-<p class="whs1">pz =
- geompy.MakeVertex( 0., 0.,
- 20.)</p>
-
-<p class="whs1">pxy = geompy.MakeVertex(
- 50., 0., 0.)</p>
-
-<p class="whs1">pxyz = geompy.MakeVertex(
- 50., 50., 50.)</p>
-
-<p class="whs1">vz =
- geompy.MakeVector(p0, pz)</p>
-
-<p class="whs1">vxy = geompy.MakeVector(px,
- py)</p>
-
-<p class="whs1">vtr1d = geompy.MakeVector(p0,
- pxyz)</p>
-
-<p class="whs1">vtr2d = geompy.MakeVector(p0,
- pxy)</p>
-
-<p> </p>
-
-<p># create an arc</p>
-
-<p class="whs1">arc = geompy.MakeArc(py,
- pz, px)</p>
-
-<p> </p>
-
-<p># create a wire</p>
-
-<p class="whs1">wire = geompy.MakeWire([vxy,
- arc])</p>
-
-<p> </p>
-
-<p># create a planar face</p>
-
-<p class="whs1">face = geompy.MakeFace(wire,
- 1)</p>
-
-<p> </p>
-
-<p># create a prism</p>
-
-<p class="whs1">prism = geompy.MakePrismVecH(face,
- vz, 20.0)</p>
-
-<p> </p>
-
-<p># translate the given object along the given vector a given number of
- times</p>
-
-<p class="whs1">tr1d = geompy.MakeMultiTranslation1D(prism,
- vtr1d, 20, 4)</p>
-
-<p> </p>
-
-<p># consequently apply two specified translations to the object a given
- number of times</p>
-
-<p class="whs1">tr2d = geompy.MakeMultiTranslation2D(prism,
- vtr1d, 20, 4, vtr2d, 80, 3)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_prism = geompy.addToStudy(prism,"Prism")</p>
-
-<p class="whs1">id_tr1d = geompy.addToStudy(tr1d,"Translation
- 1D")</p>
-
-<p class="whs1">id_tr2d = geompy.addToStudy(tr2d,"Translation
- 2D")</p>
-
-<p> </p>
-
-<p># display the prism and the results of fillet operation</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_prism)</p>
-
-<p class="whs1">gg.setDisplayMode(id_prism,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_tr1d)</p>
-
-<p class="whs1">gg.setDisplayMode(id_tr1d,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_tr2d)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_tr2d,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark9>Multi Rotation</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p> </p>
-
-<p># create vertices and vectors</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex( 0., 0.,
- 0.)</p>
-
-<p class="whs1">px =
- geompy.MakeVertex(20., 0.,
- 0.)</p>
-
-<p class="whs1">py =
- geompy.MakeVertex( 0., 20., 0.)</p>
-
-<p class="whs1">pz =
- geompy.MakeVertex( 0., 0.,
- 20.)</p>
-
-<p class="whs1">pxyz = geompy.MakeVertex(
- 50., 50., 10.)</p>
-
-<p class="whs1">vz =
- geompy.MakeVector(p0, pz)</p>
-
-<p class="whs1">vxy = geompy.MakeVector(px,
- py)</p>
-
-<p class="whs1">vrot1d = geompy.MakeVector(p0,
- pxyz)</p>
-
-<p> </p>
-
-<p># create an arc</p>
-
-<p class="whs1">arc = geompy.MakeArc(py,
- pz, px)</p>
-
-<p> </p>
-
-<p># create a wire</p>
-
-<p class="whs1">wire = geompy.MakeWire([vxy,
- arc])</p>
-
-<p> </p>
-
-<p># create a planar face</p>
-
-<p class="whs1">face = geompy.MakeFace(wire,
- 1)</p>
-
-<p> </p>
-
-<p># create a prism</p>
-
-<p class="whs1">prism = geompy.MakePrismVecH(face,
- vz, 20.0)</p>
-
-<p> </p>
-
-<p># rotate the given object around the given axis by the given angle a
- given number of times</p>
-
-<p class="whs1">rot1d = geompy.MultiRotate1D(prism,
- vrot1d, 4)</p>
-
-<p> </p>
-
-<p># rotate the given object around the given axis by the given angle a
- given number of times</p>
-
-<p># and multi-translate the result of each rotation</p>
-
-<p class="whs1">rot2d = geompy.MultiRotate2D(prism,
- vrot1d, 60, 4, 50, 5)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_prism = geompy.addToStudy(prism,"Prism")</p>
-
-<p class="whs1">id_rot1d = geompy.addToStudy(rot1d,"Rotation
- 1D")</p>
-
-<p class="whs1">id_rot2d = geompy.addToStudy(rot2d,"Rotation
- 2D")</p>
-
-<p> </p>
-
-<p># display the prism and the results of fillet operation</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_prism)</p>
-
-<p class="whs1">gg.setDisplayMode(id_prism,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_rot1d)</p>
-
-<p class="whs1">gg.setDisplayMode(id_rot1d,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_rot2d)</p>
-
-<p class="whs1">gg.setDisplayMode(id_rot2d,1)
- </p>
-
-<p class="whs1"> </p>
-
-<h3><a name=bookmark2>Fillet</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1">radius =
- 10.</p>
-
-<p class="whs1">ShapeTypeEdge = geompy.ShapeType["EDGE"]</p>
-
-<p class="whs1"> </p>
-
-<p># create vertices and vectors</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex( 0.,
- 0.,
- 0.)</p>
-
-<p class="whs1">px =
- geompy.MakeVertex(100., 0.,
- 0.)</p>
-
-<p class="whs1">py =
- geompy.MakeVertex( 0.,
- 100., 0.)</p>
-
-<p class="whs1">pz =
- geompy.MakeVertex( 0.,
- 0.,
- 100.)</p>
-
-<p class="whs1">vz =
- geompy.MakeVector(p0, pz)</p>
-
-<p class="whs1">vxy = geompy.MakeVector(px,
- py)</p>
-
-<p> </p>
-
-<p># create an arc</p>
-
-<p class="whs1">arc = geompy.MakeArc(py,
- pz, px)</p>
-
-<p> </p>
-
-<p># create a wire</p>
-
-<p class="whs1">wire = geompy.MakeWire([vxy,
- arc])</p>
-
-<p> </p>
-
-<p># create a planar face</p>
-
-<p class="whs1">face = geompy.MakeFace(wire,
- 1)</p>
-
-<p> </p>
-
-<p># create a prism</p>
-
-<p class="whs1">prism = geompy.MakePrismVecH(face,
- vz, 100.0)</p>
-
-<p> </p>
-
-<p># get the list of IDs (IDList) for the fillet</p>
-
-<p class="whs1">prism_edges = geompy.SubShapeAllSorted(prism,
- ShapeTypeEdge)</p>
-
-<p class="whs1">IDlist_e = []</p>
-
-<p class="whs1">IDlist_e.append(geompy.GetSubShapeID(prism,
- prism_edges[0]))</p>
-
-<p class="whs1">IDlist_e.append(geompy.GetSubShapeID(prism,
- prism_edges[1]))</p>
-
-<p class="whs1">IDlist_e.append(geompy.GetSubShapeID(prism,
- prism_edges[2]))</p>
-
-<p> </p>
-
-<p># make a fillet on the specified edges of the given shape</p>
-
-<p class="whs1">fillet = geompy.MakeFillet(prism,
- radius, ShapeTypeEdge, IDlist_e)</p>
-
-<p> </p>
-
-<p># make a fillet on all edges of the given shape</p>
-
-<p class="whs1">filletall = geompy.MakeFilletAll(prism,
- radius)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_prism = geompy.addToStudy(prism,"Prism")</p>
-
-<p class="whs1">id_fillet = geompy.addToStudy(fillet,"Fillet")</p>
-
-<p class="whs1">id_filletall = geompy.addToStudy(filletall,"Fillet
- all")</p>
-
-<p> </p>
-
-<p># display the prism and the results of fillet operation</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_prism)</p>
-
-<p class="whs1">gg.setDisplayMode(id_prism,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_fillet)</p>
-
-<p class="whs1">gg.setDisplayMode(id_fillet,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_filletall)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_filletall,1)</span>
- </p>
-
-<p> </p>
-
-<h3><a name=bookmark3>Chamfer</a></h3>
-
-<p class="whs1">import geompy</p>
-
-<p class="whs1">import salome</p>
-
-<p class="whs1">gg = salome.ImportComponentGUI("GEOM")</p>
-
-<p class="whs1">d1 = 10.</p>
-
-<p class="whs1">d2 = 10.</p>
-
-<p class="whs1">ShapeTypeFace = geompy.ShapeType["FACE"]</p>
-
-<p> </p>
-
-<p># create vertices and vectors</p>
-
-<p class="whs1">p0 =
- geompy.MakeVertex( 0.,
- 0.,
- 0.)</p>
-
-<p class="whs1">px =
- geompy.MakeVertex(100., 0.,
- 0.)</p>
-
-<p class="whs1">py =
- geompy.MakeVertex( 0.,
- 100., 0.)</p>
-
-<p class="whs1">pz =
- geompy.MakeVertex( 0.,
- 0.,
- 100.)</p>
-
-<p class="whs1">vz =
- geompy.MakeVector(p0, pz)</p>
-
-<p class="whs1">vxy = geompy.MakeVector(px,
- py)</p>
-
-<p> </p>
-
-<p># create an arc</p>
-
-<p class="whs1">arc = geompy.MakeArc(py,
- pz, px)</p>
-
-<p> </p>
-
-<p># create a wire</p>
-
-<p class="whs1">wire = geompy.MakeWire([vxy,
- arc])</p>
-
-<p> </p>
-
-<p># create a planar face</p>
-
-<p class="whs1">face = geompy.MakeFace(wire,
- 1)</p>
-
-<p> </p>
-
-<p># create a prism</p>
-
-<p class="whs1">prism = geompy.MakePrismVecH(face,
- vz, 100.0)</p>
-
-<p> </p>
-
-<p># get the list of IDs (IDList) for the chamfer</p>
-
-<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism,
- ShapeTypeFace)</p>
-
-<p class="whs1">f_ind_1 = geompy.GetSubShapeID(prism,
- prism_faces[0])</p>
-
-<p class="whs1">f_ind_2 = geompy.GetSubShapeID(prism,
- prism_faces[1])</p>
-
-<p class="whs1">IDlist_f = [f_ind_1,
- f_ind_2]</p>
-
-<p> </p>
-
-<p># perform a chamfer on the edges common to the specified faces</p>
-
-<p class="whs1">chamfer_e = geompy.MakeChamferEdge(prism,
- d1, d2, f_ind_1, f_ind_2)</p>
-
-<p> </p>
-
-<p># perform a chamfer on all edges of the specified faces</p>
-
-<p class="whs1">chamfer_f = geompy.MakeChamferFaces(prism,
- d1, d2, IDlist_f)</p>
-
-<p class="whs1">chamfer_f1 = geompy.MakeChamfer(prism,
- d1, d2, ShapeTypeFace, IDlist_f)</p>
-
-<p> </p>
-
-<p># perform a symmetric chamfer on all edges of the given shape</p>
-
-<p class="whs1">chamfer_all = geompy.MakeChamferAll(prism,
- d1)</p>
-
-<p> </p>
-
-<p># add objects in the study</p>
-
-<p class="whs1">id_prism = geompy.addToStudy(prism,"Prism")</p>
-
-<p class="whs1">id_chamfer_e = geompy.addToStudy(chamfer_e,"Chamfer
- edge")</p>
-
-<p class="whs1">id_chamfer_f = geompy.addToStudy(chamfer_f,"Chamfer
- faces")</p>
-
-<p class="whs1">id_chamfer_f1 = geompy.addToStudy(chamfer_f1,"Chamfer
- faces 1")</p>
-
-<p class="whs1">id_chamfer_all = geompy.addToStudy(chamfer_all,"Chamfer
- all")</p>
-
-<p> </p>
-
-<p># display the prism and the results of chamfer operation</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_prism)</p>
-
-<p class="whs1">gg.setDisplayMode(id_prism,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_chamfer_e)</p>
-
-<p class="whs1">gg.setDisplayMode(id_chamfer_e,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_chamfer_f)</p>
-
-<p class="whs1">gg.setDisplayMode(id_chamfer_f,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_chamfer_f1)</p>
-
-<p class="whs1">gg.setDisplayMode(id_chamfer_f1,1)</p>
-
-<p class="whs1">gg.createAndDisplayGO(id_chamfer_all)</p>
-
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_chamfer_all,1)</span>
- </p>
-
-<p> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Translation</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-size:12pt; font-weight:bold; }
-p.whs4 { font-size:12pt; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:393px; float:none; border-style:none; }
-img_whs6 { border:none; width:312px; height:385px; float:none; border-style:none; }
-p.whs7 { margin-left:40px; }
-img_whs8 { border:none; width:331px; height:334px; float:none; border-style:none; }
-img_whs9 { border:none; width:320px; height:333px; float:none; border-style:none; }
-p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nTranslation");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Translation</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce
- a <span style="font-weight: bold;"><B>Translation</B></span> in the Main Menu
- select <span style="font-weight: bold;"><B>Operations - > Transformation
- - > Translation</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">This Operation makes a translation of an <span
- style="font-weight: bold;"><B>Object</B></span>. To translate a shape you need
- to define the base shape and the coordinates of the vector of translation.
- <span style="font-weight: bold;"><B>Create a copy </B></span>checkbox allows
- to keep the initial object, otherwise it will be removed.</p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">of all operations will be any</span></b>
- GEOM_Object.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Firstly you can define an <span style="font-weight: bold;"><B>Object</B></span>
- and the vector coordinates along the axes. </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeTranslation(Shape, DX,
- DY, DZ)</I></span>, where Shape is a shape to be translated, DX, DY, DZ are
- components of translation vector.</p>
-
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
- <b><span style="font-weight: normal;">Name + </b>1 shape + 3 values (coordinates).</span></p>
-
-<p class="whs3"> </p>
-
-<p class="whs4"><img src="pics/transformation1.png" x-maintain-ratio="TRUE" width="312px" height="393px" border="0" class="img_whs5"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Secondly you can define an <span style="font-weight: bold;"><B>Object</B></span>
- and the start and the end points of the vector </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:
- </b><span style="font-style: italic;"><I>geompy.MakeTranslationTwoPoints(Object,
- Point1, Point2)</I></span> </p>
-
-<p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments</font></span>:
- <span style="font-weight: normal;">Name + </span></b>1 shape + 2 vertices</p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/transformation2.png" x-maintain-ratio="TRUE" width="312px" height="393px" border="0" class="img_whs5"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><span><font size=3 style="font-size:12pt;">Finally you can define an Object and
- the vector </font></span></p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:
- </b>geompy.MakeTranslationVector(Object, Vector)</p>
-
-<p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments</font></span>:
- <span style="font-weight: normal;">Name + </span></b>1 shape + 1 vector.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs4"><img src="pics/transformation3.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs6"></p>
-
-<p class="whs4"> </p>
-
-<p class="whs4"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs7"><img src="pics/translationsn1.png" x-maintain-ratio="TRUE" width="331px" height="334px" border="0" class="img_whs8"> <img src="pics/translationsn2.png" x-maintain-ratio="TRUE" width="320px" height="333px" border="0" class="img_whs9"></p>
-
-<p class="whs7"> </p>
-
-<p class="whs10"> <span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark">Transformation
- Operations</a>. </font></span></p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Transparency</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">
-<!--
-p.whs1 { font-size:12pt; font-weight:normal; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:354px; height:177px; float:none; border-style:none; }
-p.whs5 { font-size:12pt; font-style:italic; font-weight:normal; }
-img_whs6 { border:none; float:none; height:430px; width:400px; border-style:none; }
-img_whs7 { border:none; height:430px; float:none; width:400px; border-style:none; }
-p.whs8 { margin-left:40px; font-size:12pt; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nViewing geometrical objects\nTransparency");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Transparency</h1>
-
-<p class="whs1">You can change the transparency
- of a shape in the range between 0 (absolutely opaque) and 1 (absolutely
- transparent and thus invisible) in the following dialog box.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/neo-transparency.png" x-maintain-ratio="TRUE" width="354px" height="177px" border="0" class="img_whs4"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">or
- using a</span> TUI Command:</b><i> gg.setTransparency(ID, Double)</i></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs5">Opaque 50%
- Transparent</p>
-
-<p class="whs3"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" height="430px" width="400px" border="0" class="img_whs6"> <img src="pics/transparencysn.png" x-maintain-ratio="TRUE" height="430px" width="400px" border="0" class="img_whs7"></p>
-
-<p class="whs8"> </p>
-
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our TUI Scripts
- provide you with useful examples of <a href="changing_display_parameters.htm#bookmark2">Changing
- Display Parameters</a>. </font></span></p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Turus</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; }
-p.whs4 { font-weight:bold; margin-left:40px; }
-img_whs5 { border:none; width:312px; height:376px; float:none; border-style:none; }
-p.whs6 { margin-left:40px; }
-img_whs7 { border:none; width:272px; height:275px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nTorus");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</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_image102.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Torus</h1>
-
-<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Torus</B></span>
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
- style="font-weight: bold;"><B>New Entity - > Primitives - > Torus</B></span></p>
-
-<p> </p>
-
-<p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Torus</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>Firstly, you can define a <span style="font-weight: bold;"><B>Torus</B></span>
- by the given <span style="font-weight: bold;"><B>Base Point</B></span>, the normal
- <span style="font-weight: bold;"><B>Vector</B></span> and the Major and Minor
- <span style="font-weight: bold;"><B>Radiuses</B></span>. </p>
-
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeTorus(Point,
- Vector, RadiusMajor, RadiusMinor) </I></span>, </p>
-
-<p class="whs3"><b style="font-weight: bold;">Arguments:
- </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 1 vertex
- + 1 vector (for direction) + 2 values (1 & 2 Radius).</font></span></p>
-
-<p class="whs4"><b style="font-weight: bold;"><img src="pics/torus1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs5"></b></p>
-
-<p> </p>
-
-<p>Secondly, you can define a Torus with the center at the origin of coordinates
- by its Major and Minor <span style="font-weight: bold;"><B>Radiuses</B></span>.
- </p>
-
-<p><b style="font-weight: bold;">TUI Command:</b> g<span style="font-style: italic;"><I>eompy.MakeTorusRR(RadiusMajor,
- RadiusMinor)</I></span> </p>
-
-<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:
- </b>Name + </font></span>2 values (1 & 2 Radius from the origin).</p>
-
-<p class="whs6"><img src="pics/torus2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs5"></p>
-
-<p> </p>
-
-<p><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs6"> </p>
-
-<p class="whs6"><img src="pics/toruses.png" x-maintain-ratio="TRUE" width="272px" height="275px" 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#bookmark3">Primitives</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Vector</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-size:12pt; font-style:italic; }
-p.whs4 { font-size:12pt; font-weight:bold; }
-p.whs5 { font-size:12pt; margin-left:40px; }
-img_whs6 { border:none; width:312px; height:324px; float:none; border-style:none; }
-img_whs7 { border:none; width:312px; height:358px; float:none; border-style:none; }
-p.whs8 { font-size:12pt; margin-left:40px; font-weight:bold; }
-img_whs9 { border:none; width:156px; height:203px; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nVector");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Vector</h1>
-
-<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: normal;">T</b></font></span>o
- create a <span style="font-weight: bold;"><B>Vector</B></span> in the <span style="font-weight: bold;"><B>Main
- Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
- Basic - > Vector</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">There
- are 2 algorithms to create a</span> Vector <span style="font-weight: normal;">in
- the 3D space.</span> </b></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 (edge).</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
- you can define a</span> Vector <span style="font-weight: normal;">by its</span>
- Start <span style="font-weight: normal;">and</span> End Points</b></p>
-
-<p class="whs3"><b style="font-style: normal;"><span
- style="font-weight: bold;"><B>TUI Command:</b><b> </B></span><span
- style="font-weight: normal;">g</b>eompy.MakeVector(Point1,
- Point2)</span></p>
-
-<p class="whs4"><b style="font-weight: bold;">Arguments
- : </b><span style="font-weight: normal;">Name + 2 vertices.</span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs5"><img src="pics/vector1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs6"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Secondly, you can define a <span style="font-weight: bold;"><B>Vector</B></span>
- starting in the <span style="font-weight: bold;"><B>Origin of coordinates</B></span>
- by its <span style="font-weight: bold;"><B>End Point.</B></span> </p>
-
-<p class="whs2"><b><span style="font-weight: bold;"><B>TUI Command:</b><b>
- </B></span><span style="font-weight: bold; font-style: italic;"><I><B> </B></I></span></b><span
- style="font-style: italic;"><I>geompy.MakeVectorDXDYDZ(DX,
- DY, DZ)</I></span> </p>
-
-<p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments
- : </b></font></span>Name + 3 values </p>
-
-<p class="whs2"> </p>
-
-<p class="whs5"><img src="pics/vector2.png" x-maintain-ratio="TRUE" width="312px" height="358px" border="0" class="img_whs7"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs8"><img src="image34.gif" width="156px" height="203px" border="0" class="img_whs9"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="basic_geometrical_objects.htm#bookmark5">Basic
- Geometric Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Viewing Geometrical Objects</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 { border:none; width:340px; height:308px; border-style:none; }
-ul.whs2 { list-style:disc; }
-p.whs3 { font-weight:bold; }
-img_whs4 { border:none; width:26px; height:26px; border-style:none; }
-img_whs5 { border:none; width:23px; height:24px; border-style:none; }
-img_whs6 { border:none; width:279px; height:230px; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nViewing geometrical objects\nViewing Geometrical Objects");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Viewing Geometrical Objects</h1>
-
-<p>Newly created geometrical objects are automatically displayed in the
- <span style="font-weight: bold;"><B>OCC 3D Viewer</B></span>. </p>
-
-<p> </p>
-
-<p><span style="font-weight: bold;"><B>OCC 3D Viewer</B></span> is described in
- the documentation on <span style="font-weight: bold;"><B>GUI module</B></span>.</p>
-
-<p>After the object has appeared in the Viewer, you can select it with
- left mouse click to change its presentation parameters and access to other
- useful options by right-clicking on the selected object<span style="font-weight: bold;"><B>.</B></span></p>
-
-<p> </p>
-
-<p><img src="image1.jpg" width="340px" height="308px" border="0" class="img_whs1"></p>
-
-<p> </p>
-
-<ul type="disc" class="whs2">
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Rename - </B></span>allows
- to change the name of the geometric object.<span style="font-weight: bold;">
- <B></B></span></p></li>
-
- <li class=kadov-p><p class="whs3"><a href="wireframe_and_shading.htm">Display
- Mode</a> - <span style="font-weight: normal;">allows to select between
- Wireframe and Shading presentation.</span></p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B><a href="color.htm">Color</a>
- - </B></span>allows to change the filling color in the standard<span style="font-weight: bold;"><B>
- Select Color</B></span> menu.<span style="font-weight: bold;"> <B></B></span></p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B><a href="transparency.htm">T</B></span><span
- style="font-weight: bold;"><B>ransparency</B></span></a> - allows to change the
- transparency of mesh elements.</p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B><a href="isos.htm">Isos</a></B></span>
- - allows to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">change the number of isolines
- displayed within a shape.</font></span></p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B><img src="image18.gif" width="26px" height="26px" border="0" class="img_whs4"> Erase</B></span> - allows to hide the selected mesh from the
- viewer. <b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">TUI Command</font></span><span
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> :</b><i> sg.EraseOnly(ID)</i></font></span></p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B><img src="image26.gif" width="26px" height="26px" border="0" class="img_whs4"> Erase all</B></span> -
- allows to hide all objects from the viewer. <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b
- style="font-weight: normal;">TUI Command:</b><i> sg.EraseAll()</i></font></span></p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B><img src="image33.gif" width="23px" height="24px" border="0" class="img_whs5"> Display Only</B></span> -allows to display only the selected
- mesh, hiding all other from the viewer. <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b
- style="font-weight: normal;">TUI Command:</b><i> sg.DisplayOnly(ID)</i></font></span></p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Update</B></span>
- - refreshes the presentation of your mesh in the Object Browser, applying
- all recent changes.</p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Dump view</B></span>
- - exports an object from the viewer in bmp,
- png, jpg or
- jpeg image format. </p></li>
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Change background</B></span>
- - allows to redefine the background color. By default it is black. </p></li>
-</ul>
-
-<p> </p>
-
-<p>Some of these functionalities are available through right-clicking on
- the viewer background:</p>
-
-<p> </p>
-
-<p><img src="image2.jpg" width="279px" height="230px" border="0" class="img_whs6"></p>
-
-<p> </p>
-
-<ul type="disc" class="whs2">
-
- <li class=kadov-p><p><span style="font-weight: bold;"><B>Select Only</B></span>
- provides a filter for exclusive selection of objects of a certain type.
- </p></li>
-</ul>
-
-<p> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<html>
-<script language="javascript1.2" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2">
-<!--
-if(gbIE4||gbNav61)
-{
- document.write("<body></body>");
-}
-else
-{
- document.write("<frameset rows=\"100%,*\"><frame name=\"data_frm\" src=\"about:blank\"><frame name=\"dumb_frm\" src=\"about:blank\"></frameset>");
-}
-var gCSHFileName="whcshdata.htm";
-
-var gHomePage="index.htm";
-var gaProj=new Array();
-gaProj[0]=new Object();
-gaProj[0].sProjPath=_replaceSlash(_getPath(document.location.href));
-gaProj[0].nLoadState=0;
-var gCurrent=0;
-
-var gsTopicURL="";
-var gnCurProj=0;
-var gnCommand=-1;
-var CMD_SHOWTOC=1;
-var CMD_SHOWINDEX=2;
-var CMD_SHOWSEARCH=3;
-var CMD_SHOWGLOSSARY=4;
-var CMD_SHOWNONE=0;
-
-var RHWO_LOCATION=0x01; /*need location bar?*/
-var RHWO_MENUBAR=0x02; /*need menubar?*/
-var RHWO_RESIZABLE=0x04; /*resizable window?*/
-var RHWO_TOOLBAR=0x08; /*need toolbar?*/
-var RHWO_STATUS=0x10; /*need statusbar?*/
-var RHWO_SCROLLBARS=0x20; /*need scrollbars?*/
-
-var gsStr="";
-var gnId=-1;
-var gsWindow="";
-var gsJava="false";
-var gbUseStr=false;
-var gbURLReady=false;
-var goWnd=new Object();
-goWnd.sName="whCshDefault";
-goWnd.nBOptions=RHWO_RESIZABLE|RHWO_SCROLLBARS;
-goWnd.sBLeft="49%";
-goWnd.sBTop="0";
-goWnd.sBWidth="49%";
-goWnd.sBHeight="49%";
-goWnd.nPanes=1;
-var goFullWnd=new Object();
-goFullWnd.sName="whDefault";
-goFullWnd.nBOptions=RHWO_RESIZABLE|RHWO_SCROLLBARS;
-goFullWnd.sBLeft="20%";
-goFullWnd.sBTop="0";
-goFullWnd.sBWidth="79%";
-goFullWnd.sBHeight="79%";
-goFullWnd.nPanes=2;
-
-var goNewWnd=null;
-var gbLoadWnd=false;
-var gsURL="";
-
-function showCSH(sParam)
-{
- //id=
- //str=
- //url=
- //cmd=
- //with the format #<a=xxx>>b=xxx>>c=xxx...
- parseParam(sParam);
- SwitchURL();
-}
-
-function IsWndReady()
-{
- if(gaProj[0].nLoadState==0)
- {
- var sCshFile=_getFullPath(gaProj[0].sProjPath,gCSHFileName);
- gaProj[0].nLoadState=1;
- setTimeout("loadFail("+0+");",3000);
- loadDataCsh(sCshFile);
- gbLoadWnd=true;
- return false;
- }
- else
- return true;
-}
-
-function SwitchURL()
-{
- if(gbURLReady)
- {
- var sURL="";
- var oWnd=null;
- if(gsTopicURL)
- {
- sURL=_getPath(document.location.href)+gHomePage+"#"+gsTopicURL;
- oWnd=goWnd;
- }
- else
- {
- if(gnCommand!=-1)
- sURL=_getPath(document.location.href)+gHomePage+"#>>cmd="+gnCommand;
- else
- sURL=_getPath(document.location.href)+gHomePage;
- oWnd=goFullWnd;
- }
- if(gsWindow)
- {
- if(!IsWndReady())
- return false;
- if(gaProj[gnCurProj].aWnd)
- {
- var aWnd=gaProj[gnCurProj].aWnd;
- var bFound=false;
- for(var i=0;i<aWnd.length;i++)
- {
- if(aWnd[i].sName.toLowerCase()==gsWindow.toLowerCase())
- {
- oWnd=aWnd[i];
- bFound=true;
- break;
- }
- }
- if(!bFound&&gnCurProj!=0)
- {
- var aWnd=gaProj[0].aWnd;
- for(var j=0;j<aWnd.length;j++)
- {
- if(aWnd[j].sName.toLowerCase()==gsWindow.toLowerCase())
- {
- oWnd=aWnd[j];
- break;
- }
- }
- }
- }
- }
-
- if(sURL&&oWnd)
- {
- strURLOpt="";
- if(oWnd.sCaption)
- strURLOpt+=">>cap="+oWnd.sCaption;
- if(oWnd.nPanes==1)
- strURLOpt+=">>pan="+oWnd.nPanes;
- else if(oWnd.nPanes==2)
- {
- strURLOpt+=">>pan="+oWnd.nPanes;
- if(oWnd.nPOptions)
- strURLOpt+=">>pot="+oWnd.nPOptions;
- if(oWnd.sPButtons)
- strURLOpt+=">>pbs="+oWnd.sPButtons;
- if(oWnd.sPDefBtn)
- strURLOpt+=">>pdb="+oWnd.sPDefBtn;
- }
- if(strURLOpt)
- {
- if(sURL.indexOf("#")==-1)
- sURL+="#";
- sURL+=strURLOpt;
- }
- if(gsJava=="false")
- {
- var strOpt=getBrowserOptionString(oWnd);
- var sNewName=convertWindowName(oWnd.sName);
- if(gbNav4)
- {
- if (gbNav6)
- {
- gsURL = sURL;
- goNewWnd=window.open("about:blank",sNewName,strOpt);
- setTimeout("postWindowNSOpen();",100);
- }
- else
- {
- window.open("about:blank",sNewName,strOpt);
- var oNewWnd=window.open(sURL,sNewName);
- window.close();
- oNewWnd.focus();
- }
- }
- else
- {
- if(gbIE5)
- {
- window.open("about:blank",sNewName,strOpt);
- goNewWnd=window.open(sURL,sNewName);
- }
- else
- {
- gsURL = sURL; // IE4 had hard time to handle bookmark.
- goNewWnd=window.open("about:blank",sNewName,strOpt);
- }
- setTimeout("postWindowOpen();",100);
- }
- }
- else
- document.location=sURL;
- }
- }
-}
-
-function convertWindowName(strName)
-{
- var strNewName = strName;
- var strResultName = "";
- var re=new RegExp("_","g");
- strNewName = strName.replace(re,"__");
- for (var i=0;i<strNewName.length;i++)
- if (!(strNewName[i] == '_' ||
- (strNewName[i] <= '9' && strNewName[i] >= '0') ||
- (strNewName[i] <= 'z' && strNewName[i] >= 'a') ||
- (strNewName[i] <= 'Z' && strNewName[i] >= 'A')))
- {
- strResultName += "_" + strNewName.charCodeAt(i);
- }
- else
- strResultName += strNewName[i];
- return strResultName;
-}
-
-function postWindowNSOpen()
-{
- if(goNewWnd)
- {
- if (gsURL)
- goNewWnd.document.location.href=gsURL;
- window.close();
- goNewWnd.focus();
- }
-}
-
-function postWindowOpen()
-{
- if(goNewWnd)
- {
- if (gsURL&&!gbIE5&&gbIE4)
- goNewWnd.document.location.href=gsURL;
- goNewWnd.focus();
- }
-}
-
-function parseParam(sParam)
-{
- if(sParam)
- {
- var nBPos=0;
- do
- {
- var nPos=sParam.indexOf(">>",nBPos);
- if(nPos!=-1)
- {
- if(nPos>0)
- {
- var sPart=sParam.substring(nBPos,nPos);
- parsePart(sPart);
- }
- nBPos=nPos+2;
- }
- else
- {
- var sPart=sParam.substring(nBPos);
- parsePart(sPart);
- break;
- }
- }while(nBPos<sParam.length);
- }
-}
-
-function parsePart(sPart)
-{
- if(sPart.toLowerCase().indexOf("id=")==0)
- {
- fetchURLById(sPart.substring(3));
- gbURLReady=false;
- }
- else if(sPart.toLowerCase().indexOf("str=")==0)
- {
- fetchURLByStr(sPart.substring(4));
- gbURLReady=false;
- }
- else if(sPart.toLowerCase().indexOf("url=")==0)
- {
- gsTopicURL=sPart.substring(4);
- gbURLReady=true;
- }
- else if(sPart.toLowerCase().indexOf("cmd=")==0)
- {
- var sCmd=sPart.substring(4);
- if(sCmd.toLowerCase()=="toc")
- {
- gnCommand=CMD_SHOWTOC;
- }
- else if(sCmd.toLowerCase()=="idx")
- {
- gnCommand=CMD_SHOWINDEX;
- }
- else if(sCmd.toLowerCase()=="fts")
- {
- gnCommand=CMD_SHOWSEARCH;
- }
- else if(sCmd.toLowerCase()=="glo")
- {
- gnCommand=CMD_SHOWGLOSSARY;
- }
- else if(sCmd.toLowerCase()=="none")
- {
- gnCommand=CMD_SHOWNONE;
- }
- gbURLReady=true;
- }
- else if(sPart.toLowerCase().indexOf("wnd=")==0)
- {
- gsWindow=_browserStringToText(sPart.substring(4));
- }
- else if(sPart.toLowerCase().indexOf("java=")==0)
- {
- gsJava=sPart.substring(5);
- }
-}
-
-function fetchURLById(sId)
-{
- var nId=parseInt(sId);
- gsTopicURL="";
- fetchURL("",nId,false);
-}
-
-function fetchURLByStr(sStr)
-{
- gsTopicURL="";
- fetchURL(sStr,0,true);
-}
-
-function fetchURL(sStr,nId,bUseStr)
-{
- var bNeedLoad=false;
- var bFound=false;
- for(var i=0;i<gaProj.length;i++)
- {
- if(gaProj[i].nLoadState==3)
- {
- if(gaProj[i].aCsh)
- {
- for(var j=0;j<gaProj[i].aCsh.length;j++)
- {
- var sTopicURL="";
- if(bUseStr)
- {
- if(gaProj[i].aCsh[j].strAliasId.toLowerCase()==sStr.toLowerCase())
- sTopicURL=gaProj[i].aCsh[j].strUrl;
- }
- else
- {
- if(gaProj[i].aCsh[j].nTopicNum==nId)
- sTopicURL=gaProj[i].aCsh[j].strUrl;
- }
- if(sTopicURL)
- {
- if(i!=0)
- {
- gnCurProj=i;
- if(gaProj[i].sProjPath.indexOf(gaProj[0].sProjPath)==0)
- {
- var sRelPath=gaProj[i].sProjPath.substring(gaProj[0].sProjPath.length);
- gsTopicURL=sRelPath+sTopicURL;
- }
- else
- gsTopicURL=gaProj[i].sProjPath+sTopicURL;
- }
- else
- gsTopicURL=sTopicURL;
- bFound=true;
- break;
- }
- }
- }
-
- }
- else if(gaProj[i].nLoadState==0)
- {
- gsStr=sStr;
- gnId=nId;
- gbUseStr=bUseStr;
- var sCshFile=_getFullPath(gaProj[i].sProjPath,gCSHFileName);
- gaProj[i].nLoadState=1;
- setTimeout("loadFail("+i+");",3000);
- loadDataCsh(sCshFile);
- bNeedLoad=true;
- }
- if(bFound||bNeedLoad)
- break;
- }
- if(!bNeedLoad)
- {
- gbURLReady=true;
- SwitchURL();
- }
-}
-
-function loadDataCsh(sFile)
-{
- if(gbIE4||gbNav61)
- loadData(sFile);
- else
- {
- window.frames[0].location=sFile;
- }
-}
-
-function loadFail(nProj)
-{
- if(gaProj[nProj].nLoadState==1)
- {
- gaProj[nProj].nLoadState=2;
- if(!gbLoadWnd)
- fetchURL(gsStr,gnId,gbUseStr);
- else
- SwitchURL();
- }
-}
-
-function putCshData(strProj,aCsh,aWnd,aRmtProj)
-{
- if(strProj)
- {
- strProj=_replaceSlash(strProj);
- if(strProj.lastIndexOf("/")!=strProj.length-1)
- strProj+="/";
- for(var i=0;i<gaProj.length;i++)
- {
- if(gaProj[i].sProjPath)
- {
- if(isSamePath(gaProj[i].sProjPath,strProj))
- {
- gaProj[i].nLoadState=3;
- gaProj[i].aCsh=aCsh;
- gaProj[i].aWnd=aWnd;
- break;
- }
- }
- }
- if(aRmtProj&&aRmtProj.length)
- {
- for(var j=0;j<aRmtProj.length;j++)
- {
- var strRPath=_getFullPath(strProj,aRmtProj[j]);
- var bFound=false;
- for (var k=0;k<gaProj.length;k++)
- {
- if(gaProj[k].sProjPath)
- {
- if(isSamePath(gaProj[k].sProjPath,strRPath))
- {
- bFound=true;
- break;
- }
- }
- }
- if(!bFound)
- {
- var len=gaProj.length;
- gaProj[len]=new Object();
- gaProj[len].sProjPath=strRPath;
- gaProj[len].nLoadState=0;
- }
- }
- }
- if(!gbLoadWnd)
- fetchURL(gsStr,gnId,gbUseStr);
- else
- SwitchURL();
-
- }
-}
-
-function isSamePath(strPath1,strPath2)
-{
- return strPath1.toLowerCase()==strPath2.toLowerCase();
-}
-
-function getRelHomePage(strLocation)
-{
- var strCurPPath=_getPath(strLocation);
- var strOriPPath=_getPath(getHomePage());
- var strRelPath=_getRelativeFileName(strOriPPath,strCurPPath);
- var strURL=getHomePage()+"#"+strRelPath;
- return strURL;
-}
-
-function getHomePage()
-{
- var strHomePage;
- var strTmp=location.toString();
- var nPos=strTmp.indexOf("#");
- if(nPos!=-1)
- {
- strHomePage=strTmp.substring(0,nPos);
- }
- else
- {
- strHomePage=strTmp;
- }
- return strHomePage;
-}
-
-function getBrowserOptionString(oWnd)
-{
- var strOpts="";
- if(oWnd.bUseDefault)
- return strOpts;
- if(oWnd.nBOptions&RHWO_LOCATION)
- strOpts+="location=yes";
- else
- strOpts+="location=no";
- if(oWnd.nBOptions&RHWO_TOOLBAR)
- strOpts+=",toolbar=yes";
- else
- strOpts+=",toolbar=no";
- if(oWnd.nBOptions&RHWO_MENUBAR)
- strOpts+=",menubar=yes";
- else
- strOpts+=",menubar=no";
- if(oWnd.nBOptions&RHWO_STATUS)
- strOpts+=",status=yes";
- else
- strOpts+=",status=no";
- if(oWnd.nBOptions&RHWO_SCROLLBARS)
- strOpts+=",scrollbars=yes";
- else
- strOpts+=",scrollbars=no";
- if(oWnd.nBOptions&RHWO_RESIZABLE)
- strOpts+=",resizable=yes";
- else
- strOpts+=",resizable=no";
- if(oWnd.sBTop)
- {
- var nTop=getSValue(oWnd.sBTop,screen.height);
- strOpts+=",top="+nTop;
- strOpts+=",screenY="+nTop;
- }
- if(oWnd.sBLeft)
- {
- var nLeft=getSValue(oWnd.sBLeft,screen.width);
- strOpts+=",left="+nLeft;
- strOpts+=",screenX="+nLeft;
- }
- if(oWnd.sBWidth)
- {
- var nWidth=getSValue(oWnd.sBWidth,screen.width);
- strOpts+=",width="+nWidth;
- strOpts+=",outerWidth="+nWidth;
- }
- if(oWnd.sBHeight)
- {
- var nHeight=getSValue(oWnd.sBHeight,screen.height);
- strOpts+=",height="+nHeight;
- strOpts+=",outerHeight="+nHeight;
- }
- return strOpts;
-}
-
-function getSValue(sValue,nLength)
-{
- var nValue=0;
- var nPos=sValue.indexOf("%");
- if(nPos!=-1)
- {
- if(nPos>0)
- {
- var nPart=parseInt(sValue.substring(0,nPos));
- nValue=nLength*nPart/100;
- }
- }
- else
- nValue=parseInt(sValue);
- return nValue;
-}
-
-
-window.onload=window_OnLoad;
-
-function window_OnLoad()
-{
- if(document.location.hash.length>0)
- {
- showCSH(document.location.hash.substring(1));
- }
-
- if(gsJava=="false")
- window.moveTo(screen.width,screen.height);
-}
-//-->
-</script>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Geometry Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body>
-<script language="javascript1.2" src="whver.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="JavaScript">
-<!--
-var gaCsh=new Array();
-
-var gaWindow=new Array();
-
-var gaRmtProj=new Array();
-
-var gsProjPath=_getPath(document.location.href);
-
-function CshEntityItem(strAliasId,nTopicNum,strUrl)
-{
- this.strAliasId=strAliasId;
- this.nTopicNum=nTopicNum;
- this.strUrl=strUrl;
-}
-
-function CshWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn)
-{
- this.sName=sWName;
- this.bUseDefault=bBUseDefault;
- if(!this.bUseDefault)
- {
- this.nBOptions=nWBOptions;
- this.sBLeft=sWBLeft;
- this.sBTop=sWBTop;
- this.sBWidth=sWBWidth;
- this.sBHeight=sWBHeight;
- }
- this.sCaption=sWCaption;
- this.nPanes=nWPanes;
- if(this.nPanes==2)
- {
- this.nPOptions=nWPOptions;
- this.sPButtons=sWPButtons;
- this.sPDefBtn=sWPDefBtn;
- }
-}
-
-function addRemoteProject(sPath)
-{
- if(sPath.length!=0)
- {
- if(sPath.lastIndexOf("/")!=sPath.length-1)
- sPath+="/";
- gaRmtProj[gaRmtProj.length]=sPath;
- }
-}
-
-//Set Context-sensitive help entity...
-function SetCsh(n,strAliasId,nTopicNum,strUrl)
-{
- gaCsh[n]=new CshEntityItem(strAliasId,nTopicNum,strUrl);
-}
-
-function addWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn)
-{
- gaWindow[gaWindow.length]=new CshWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn);
-}
-
-
-
-
-
-window.onload=window_OnLoad;
-
-function window_OnLoad()
-{
- if(parent&&parent!=this&&parent.putCshData)
- {
- parent.putCshData(gsProjPath,gaCsh,gaWindow,gaRmtProj);
- }
-}
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Navigator Pane</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body border=0 topmargin=0 bottommargin=0 rightmargin=0 leftmargin=0 scroll=no>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whphost.js"></script>
-<script language="javascript1.2">
-<!--
-var gsNavReDirect="whgdata/whnvp30.htm";
-var gbReDirectThis=false;
- var bPreferXML = false;
- var strProjectFileXML = "whproj.xml";
- var strProjectFileHTM = "whproj.htm";
-if(window.gbWhPHost)
-{
- addProject(bPreferXML, strProjectFileXML, strProjectFileHTM);
- addPane("toc","whtdhtml.htm");
- addPane("fts","whfdhtml.htm");
- addPane("glo","whgdhtml.htm");
- setShowPane("toc");
-
-}
-else
- document.location.reload();
-
-if (window.gbNav6)
-{
- var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);
- SendMessage(oMsg);
-}
-
-//-->
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Navigation Pane</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-</head>
-<frameset rows="30, *" border="0" frameborder="0">
- <frame name="navtabs" title="tab selection frame" src="whd_tabs.htm" noresize frameborder="no" scrolling="no" border="0" marginheight="0" marginwidth="0" ></frame>
- <frame name="navpane" title="navigation frame" src="whd_dpns.htm" ></frame>
-</frameset>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>navigation pane</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2">
-<!--
-var gsInitPane="toc";
-var gsCurrentPane="";
-var gbLoading = "unknown";
-var gbTryTime = 0;
-var gbMaxTryTime = 6;
-var gbPassPhase0 = 0;
-var gbretried = 0;
-var gbmaxretry = 3;
-var gbretrytime = new Array();
-
-var origWidth = 0;
-var origHeight = 0;
-
-gbretrytime[0]= 5000;
-gbretrytime[1]= 30000;
-gbretrytime[2]= 60000;
-
-function addPane(sName, sFile)
-{
-}
-
-function setShowPane(sName)
-{
- gsInitPane=sName;
-}
-
- addPane("toc","whtdhtml.htm");
- addPane("fts","whfdhtml.htm");
- addPane("glo","whgdhtml.htm");
- setShowPane("toc");
-
-
-function window_unload()
-{
- UnRegisterListener2(this, WH_MSG_SHOWTOC);
- UnRegisterListener2(this, WH_MSG_SHOWIDX);
- UnRegisterListener2(this, WH_MSG_SHOWFTS);
- UnRegisterListener2(this, WH_MSG_SHOWGLO);
- UnRegisterListener2(this, WH_MSG_SYNCTOC);
- UnRegisterListener2(this, WH_MSG_SEARCHTHIS);
- UnRegisterListener2(this, WH_MSG_GETPANEINFO);
-}
-
-function window_OnLoad()
-{
- var bHidePane=false;
- var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);
- if (SendMessage(oMsg))
- {
- if(oMsg.oParam>0)
- {
- if(oMsg.oParam==1)
- gsInitPane="toc";
- else if(oMsg.oParam==2)
- gsInitPane="idx";
- else if(oMsg.oParam==3)
- gsInitPane="fts";
- else if(oMsg.oParam==4)
- gsInitPane="glo";
- }
- else if(oMsg.oParam==0)
- {
- bHidePane=true;
- }
- }
- if (bHidePane)
- {
- oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null)
- SendMessage(oMsg);
- }
- else if (gsInitPane == "toc")
- {
- oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null)
- SendMessage(oMsg);
- }
- else if (gsInitPane=="idx")
- {
- oMsg=new whMessage(WH_MSG_SHOWIDX,this,1,null)
- SendMessage(oMsg);
- }
- else if (gsInitPane=="fts")
- {
- oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null)
- SendMessage(oMsg);
- }
- else if (gsInitPane=="glo")
- {
- oMsg=new whMessage(WH_MSG_SHOWGLO,this,1,null)
- SendMessage(oMsg);
- }
-}
-
-function CheckLoadingPhase0()
-{
- if (!gbPassPhase0) {
- setTimeout("CheckLoadingPhase0()", 1000);
- document.applets[0];
- gbPassPhase0 = 1;
- }
- else {
- CheckLoadingPhase1();
- }
-}
-
-function CheckLoadingPhase1()
-{
- if (gbNav4) {
- if ("unknown" == gbLoading && document.readystate < 4) {
- setTimeout("CheckLoadingPhase1()", 1000);
- }
- else if ("unknown" == gbLoading) {
- CheckLoadingPhase2();
- }
- }
-}
-
-function CheckLoadingPhase2()
-{
- if (gbNav4) {
- gbTryTime ++;
- if ("unknown" == gbLoading) {
- if (gbTryTime <= gbMaxTryTime )
- setTimeout("CheckLoadingPhase2()", 1000);
- else {
- if (gnVerMinor != 4.60) {
- alert("Unable to load applet. If you are using an old version of Netscape, the prefs.js file needs to be edited.");
- }
- }
- }
- }
-}
-
-function CheckAppletLoaded()
-{
- if (typeof(document.webhelp) == "undefined")
- {
- document.location.reload();
- if (gbretried < gbmaxretry)
- {
- gbretried ++;
- setTimeout("CheckAppletLoaded();", gbretrytime[gbretried]);
- }
- }
-}
-
-function reDo()
-{
- if (innerWidth != origWidth || innerHeight != origHeight)
- {
- //reloaded applet if nessary
- gbretried = 0;
-
- if (gnVerMinor == 4.60)
- {
- //reload the applet again.
- document.location.reload();
- gbretried ++;
- }
- setTimeout("CheckAppletLoaded();", gbretrytime[gbretried]);
- }
-}
-
-function onSendMessage(oMsg)
-{
- if (oMsg)
- {
- var nMsgId = oMsg.nMessageId;
- var WebHelpApplet = null;
- if (gbNav4)
- {
- WebHelpApplet = document.applets["WebHelp"];
- if (!WebHelpApplet.Command)
- document.location="whgdata/whnvp30.htm";
- }
- else
- WebHelpApplet = WebHelp;
-
- if(nMsgId==WH_MSG_GETPANEINFO)
- {
- oMsg.oParam=gsCurrentPane;
- return false;
- }
- else if (gbLoading!="unknown"||gbNav6)
- {
- if (nMsgId == WH_MSG_SHOWTOC)
- {
- gsCurrentPane="toc";
- WebHelpApplet .Command("Contents", null);
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "toc");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if (nMsgId == WH_MSG_SHOWIDX)
- {
- gsCurrentPane="idx";
- WebHelpApplet .Command("Index", null);
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "idx");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if (nMsgId == WH_MSG_SHOWFTS)
- {
- gsCurrentPane="fts";
- WebHelpApplet .Command("Search", null);
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "fts");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if (nMsgId == WH_MSG_SHOWGLO)
- {
- gsCurrentPane="glo";
- WebHelpApplet .Command("Glossary", null);
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "glo");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if (nMsgId == WH_MSG_SYNCTOC)
- {
- gsCurrentPane="toc";
- var oTopicParam = oMsg.oParam;
- if (oTopicParam && oTopicParam.aPaths && oTopicParam.aPaths.length > 0 && oTopicParam.sPPath)
- {
- var sPPath = _browserStringToText(oTopicParam.sPPath);
- var sParam = "";
- for (var i = 0; i < oTopicParam.aPaths.length; i ++)
- {
- sParam += oTopicParam.aPaths[i] + "\r\r";
- }
- WebHelpApplet.Command("SyncToc", sPPath, sParam);
- }
- }
- else if(nMsgId==WH_MSG_SEARCHTHIS)
- {
- gsCurrentPane="fts";
- WebHelpApplet .Command("Search", oMsg.oParam);
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "fts");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- }
- }
- return true;
-}
-
-function getInitTocInfo()
-{
- // send message ask for the first time sync toc info.
- var oParam = new Object();
- oParam.oTocInfo = null;
- var oMsg = new whMessage(WH_MSG_GETTOCPATHS, this, 1, oParam);
- if (SendMessage(oMsg ))
- {
- var oTopicParam = oMsg.oParam.oTocInfo;
- if (oTopicParam && oTopicParam.aPaths && oTopicParam.aPaths.length > 0 && oTopicParam.sPPath)
- {
- var sPPath = _browserStringToText(oTopicParam.sPPath);
- var sParam = "";
- for (var i = 0; i < oTopicParam.aPaths.length; i ++)
- {
- sParam += oTopicParam.aPaths[i] + "\r\r";
- }
- var WebHelpApplet;
- if (gbNav4)
- WebHelpApplet = document.applets["WebHelp"];
- else
- WebHelpApplet = WebHelp;
- WebHelpApplet.Command("SyncToc", sPPath, sParam);
- }
- }
-}
-
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)
-{
- RegisterListener2(this, WH_MSG_SHOWTOC);
- RegisterListener2(this, WH_MSG_SHOWIDX);
- RegisterListener2(this, WH_MSG_SHOWFTS);
- RegisterListener2(this, WH_MSG_SHOWGLO);
- RegisterListener2(this, WH_MSG_SYNCTOC);
- RegisterListener2(this, WH_MSG_SEARCHTHIS);
- RegisterListener2(this, WH_MSG_GETPANEINFO);
-
- window.onunload = window_unload;
- window.onload=window_OnLoad;
- window.onerror = null;
- var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));
-
- if (gbNav4 && !gbNav6 && gbWindows) {
- setTimeout("CheckLoadingPhase0()", 1000);
- }
-
- if (gbNav4)
- {
- origWidth = innerWidth;
- origHeight = innerHeight;
- onresize = reDo;
- }
-}
-else
- document.location.reload();
-
-if (window.gbNav6)
-{
- var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);
- SendMessage(oMsg);
-}
-
-//-->
-</script>
-</head>
-<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor="c0c0c0">
-<applet code=WebHelp.class name=WebHelp archive=webhelp.jar width=100% height=100% MAYSCRIPT hspace=0 vspace=0>
-<PARAM name=ProjectFile value=whproj.xml><PARAM name=ResourceFile value=whres.xml>
-<PARAM name=Frame value=bsscright>
-<PARAM name=cabbase value=webhelp.cab>
-</applet>
-</body>
-</html>
+++ /dev/null
-<HTML>
-<HEAD>
-<TITLE>WebHelp Tabs Frame in Navigation Pane</TITLE>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<!-- WebHelp version 5.10 -->
-</HEAD>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2">
-<!--
-var gsBgColor="#c0c0c0"
-var gsBgImage="";
-var gnCurPane=0;
-var gsFirstPane="";
-var goTocFont=null;
-var goIdxFont=null;
-var goFtsFont=null;
-var goGloFont=null;
-var gPane=new Array();
-var gShowFirst=0;
-var gnTabType=0;
-
-function window_unload()
-{
- UnRegisterListener2(this,WH_MSG_SHOWTOC);
- UnRegisterListener2(this,WH_MSG_SHOWIDX);
- UnRegisterListener2(this,WH_MSG_SHOWFTS);
- UnRegisterListener2(this,WH_MSG_SHOWGLO);
-}
-
-
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Toc") goTocFont=vFont;
- else if(sType=="Idx") goIdxFont=vFont;
- else if(sType=="Fts") goFtsFont=vFont;
- else if(sType=="Glo") goGloFont=vFont;
-}
-
-function TocWriteClassStyle()
-{
- var sStyle="<STYLE TYPE='text/css'>";
- sStyle+=".TextTabToc {"+getFontStyle(goTocFont)+"}";
- sStyle+=".TextTabIdx {"+getFontStyle(goIdxFont)+"}";
- sStyle+=".TextTabFts {"+getFontStyle(goFtsFont)+"}";
- sStyle+=".TextTabGlo {"+getFontStyle(goGloFont)+"}";
- sStyle+="A:hover {text-decoration:underline;}";
- sStyle+="</STYLE>";
- document.write(sStyle);
-}
-
-function setBackgroundcolor(sBgColor)
-{
- if(sBgColor!=null&&sBgColor.length>0)
- gsBgColor=sBgColor;
-}
-
-function setBackground(sBgImage)
-{
- if(sBgImage!=null&&sBgImage.length>0)
- gsBgImage=sBgImage;
-}
-
-function selectToc()
-{
- var oMessage=new whMessage(WH_MSG_SHOWTOC,this,1,null);
- SendMessage(oMessage);
-}
-
-function selectIdx()
-{
- var oMessage=new whMessage(WH_MSG_SHOWIDX,this,1,null);
- SendMessage(oMessage);
-}
-function selectFts()
-{
- var oMessage=new whMessage(WH_MSG_SHOWFTS,this,1,null);
- SendMessage(oMessage);
-}
-
-function selectGlo()
-{
- var oMessage=new whMessage(WH_MSG_SHOWGLO,this,1,null);
- SendMessage(oMessage);
-}
-
-
-function onSendMessage(oMsg)
-{
- if(oMsg)
- {
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_SHOWTOC)
- {
- setTimeout("showTabByName(\"toc\");",1);
- }
- else if(nMsgId==WH_MSG_SHOWIDX)
- {
- setTimeout("showTabByName(\"idx\");",1);
- }
- else if(nMsgId==WH_MSG_SHOWFTS)
- {
- setTimeout("showTabByName(\"fts\");",1);
- }
- else if(nMsgId==WH_MSG_SHOWGLO)
- {
- setTimeout("showTabByName(\"glo\");",1);
- }
- }
- return true;
-}
-
-function showTabByName(sTabName)
-{
- for(var i=0;i<gPane.length;i++)
- {
- if(gPane[i]==sTabName)
- {
- showTab(i);
- break;
- }
- }
-}
-
-function showTab(n)
-{
- gnCurPane=n;
- if(gnTabType==0)
- {
- if(n<gPane.length)
- {
- if(document.images["TocTab"]&&document.images["TocTab"]!=null){
- if(gPane[n]=="toc")
- document.images["TocTab"].src=getBtnImage("toc",1);
- else
- document.images["TocTab"].src=getBtnImage("toc",0);
- }
- if(document.images["IndexTab"]&&document.images["IndexTab"]!=null){
- if(gPane[n]=="idx")
- document.images["IndexTab"].src=getBtnImage("idx",1);
- else
- document.images["IndexTab"].src=getBtnImage("idx",0);
- }
- if(document.images["FtsTab"]&&document.images["FtsTab"]!=null){
- if(gPane[n]=="fts")
- document.images["FtsTab"].src=getBtnImage("fts",1);
- else
- document.images["FtsTab"].src=getBtnImage("fts",0);
- }
- if(document.images["GloTab"]&&document.images["GloTab"]!=null){
- if(gPane[n]=="glo")
- document.images["GloTab"].src=getBtnImage("glo",1);
- else
- document.images["GloTab"].src=getBtnImage("glo",0);
- }
- }
- }
- else if(gnTabType==1)
- {
- }
- else if(gnTabType==2)
- {
- if(n<gPane.length)
- {
- if(document.images["tabSelection"]!=null)
- document.images["tabSelection"].src=getMapImage(gPane[n]);
- }
- }
-}
-
-function addPane(sName)
-{
- gPane[gPane.length]=sName;
-}
-
-function setShowPane(sName)
-{
- if(gsFirstPane!="")
- sName=gsFirstPane;
- for(var i=0;i<gPane.length;i++)
- {
- if(gPane[i]==sName)
- gShowFirst=i;
- }
-}
-
-function selectDefaultTab()
-{
- showTab(gShowFirst);
- if(document.body)
- {
- if(gsBgImage&&gsBgImage.length>0)
- {
- document.body.background=gsBgImage;
- }
- if(gsBgColor&&gsBgColor.length>0)
- {
- document.body.bgColor=gsBgColor;
- }
- }
-}
-
-function getTabsHTML()
-{
- var sHTML="";
- for(var i=0;i<gPane.length;i++)
- {
- if(gnTabType==0)
- sHTML+=getTabHTML(gPane[i]);
- else if(gnTabType==1)
- {
- if(sHTML.length>0)
- {
- sHTML+=getSeparator();
- }
- sHTML+=getTabHTMLText(gPane[i]);
- }
-
- }
- return sHTML;
-}
-
-function getSeparator()
-{
- var sSep="";
-
- return sSep;
-}
-
-function getTabHTML(sTabName)
-{
- if (sTabName == "toc")
- return "<a title=\"Contents\" href=\"javascript:void(0);\" onclick=\"selectToc();return false;\" onmouseover=\"mouseOverToc();\" onmouseout=\"mouseOutToc();\"><img name=\"TocTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
- else if (sTabName =="idx")
- return "<a title=\"Index\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\" onmouseover=\"mouseOverIdx();\" onmouseout=\"mouseOutIdx();\"><img name=\"IndexTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
- else if (sTabName == "fts")
- return "<a title=\"Search\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\" onmouseover=\"mouseOverFts();\" onmouseout=\"mouseOutFts();\"><img name=\"FtsTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
- else if (sTabName == "glo")
- return "<a title=\"Glossary\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\"onmouseover=\"mouseOverGlo();\" onmouseout=\"mouseOutGlo();\"><img name=\"GloTab\" src=\"" + getBtnImage(sTabName, 0) + "\" border=\"0\"></a>";
- return "";
-}
-
-function mouseOverToc()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "toc")
- {
- sImg = getBtnImage("toc", 3);
- }
- else
- {
- sImg = getBtnImage("toc", 2);
- }
- if (sImg.length > 0)
- document.images["TocTab"].src = sImg;
-}
-
-function mouseOverIdx()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "idx")
- {
- sImg = getBtnImage("idx", 3);
- }
- else
- {
- sImg = getBtnImage("idx", 2);
- }
- if (sImg.length > 0)
- document.images["IndexTab"].src = sImg;
-}
-
-function mouseOverFts()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "fts")
- {
- sImg = getBtnImage("fts", 3);
- }
- else
- {
- sImg = getBtnImage("fts", 2);
- }
- if (sImg.length > 0)
- document.images["FtsTab"].src = sImg;
-}
-
-function mouseOverGlo()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "glo")
- {
- sImg = getBtnImage("glo", 3);
- }
- else
- {
- sImg = getBtnImage("glo", 2);
- }
- if (sImg.length > 0)
- document.images["GloTab"].src = sImg;
-}
-
-function mouseOutToc()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "toc")
- {
- sImg = getBtnImage("toc", 1);
- }
- else
- {
- sImg = getBtnImage("toc", 0);
- }
- if (sImg.length > 0)
- document.images["TocTab"].src = sImg;
-}
-
-function mouseOutIdx()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "idx")
- {
- sImg = getBtnImage("idx", 1);
- }
- else
- {
- sImg = getBtnImage("idx", 0);
- }
- if (sImg.length > 0)
- document.images["IndexTab"].src = sImg;
-}
-
-function mouseOutFts()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "fts")
- {
- sImg = getBtnImage("fts", 1);
- }
- else
- {
- sImg = getBtnImage("fts", 0);
- }
- if (sImg.length > 0)
- document.images["FtsTab"].src = sImg;
-}
-
-function mouseOutGlo()
-{
- var sImg = "";
- if (gPane[gnCurPane] == "glo")
- {
- sImg = getBtnImage("glo", 1);
- }
- else
- {
- sImg = getBtnImage("glo", 0);
- }
- if (sImg.length > 0)
- document.images["GloTab"].src = sImg;
-}
-
-function getTabHTMLText(sTabName)
-{
- if (sTabName == "toc")
- return "<a class=\"TextTabToc\" href=\"javascript:void(0);\" onclick=\"selectToc();return false;\">Contents</a> ";
- else if (sTabName =="idx")
- return "<a class=\"TextTabIdx\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\">Index</a> ";
- else if (sTabName == "fts")
- return "<a class=\"TextTabFts\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\">Search</a> ";
- else if (sTabName == "glo")
- return "<a class=\"TextTabGlo\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\">Glossary</a> ";
- return "";
-}
-
-function getImageMap()
-{
- var sHTML = "<map name=\"tabSelectionMap\">";
- for (var i = 0; i < gPane.length; i ++)
- {
- sHTML += getMapArea(gPane[i]);
- }
- sHTML += "</map>";
- return sHTML;
-}
-
-function getMapArea(sTabName)
-{
- if (sTabName == "toc")
- return "<area title=\"Contents\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectToc();return false;\">";
- else if (sTabName =="idx")
- return "<area title=\"Index\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\">";
- else if (sTabName == "fts")
- return "<area title=\"Search\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\">";
- else if (sTabName == "glo")
- return "<area title=\"Glossary\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\">";
- return "";
-}
-
-function getBtnImage(sTabName, nStatus)
-{
- if (sTabName == "toc")
- {
- if (nStatus == 0)
- return "whd_tab2.gif";
- else if (nStatus == 1)
- return "whd_tab1.gif";
- else if (nStatus == 2)
- return "";
- else if (nStatus == 3)
- return "";
- }
- else if (sTabName =="idx")
- {
- if (nStatus == 0)
- return "whd_tab4.gif";
- else if (nStatus == 1)
- return "whd_tab3.gif";
- else if (nStatus == 2)
- return "";
- else if (nStatus == 3)
- return "";
- }
- else if (sTabName == "fts")
- {
- if (nStatus == 0)
- return "whd_tab6.gif";
- else if (nStatus == 1)
- return "whd_tab5.gif";
- else if (nStatus == 2)
- return "";
- else if (nStatus == 3)
- return "";
- }
- else if (sTabName == "glo")
- {
- if (nStatus == 0)
- return "whd_tab8.gif";
- else if (nStatus == 1)
- return "whd_tab7.gif";
- else if (nStatus == 2)
- return "";
- else if (nStatus == 3)
- return "";
- }
- return "";
-}
-
-function getMapImage(sTabName)
-{
- if (sTabName == "toc")
- return "";
- else if (sTabName =="idx")
- return "";
- else if (sTabName == "fts")
- return "";
- else if (sTabName == "glo")
- return "";
- return "";
-}
-
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)
-{
- window.onload = selectDefaultTab;
- RegisterListener2(this, WH_MSG_SHOWTOC);
- RegisterListener2(this, WH_MSG_SHOWIDX);
- RegisterListener2(this, WH_MSG_SHOWFTS);
- RegisterListener2(this, WH_MSG_SHOWGLO);
- window.onunload = window_unload;
- goTocFont=new whFont("Arial","9pt","#000000","normal","normal","none");
- goIdxFont=new whFont("Arial","9pt","#000000","normal","normal","none");
- goFtsFont=new whFont("Arial","9pt","#000000","normal","normal","none");
- goGloFont=new whFont("Arial","9pt","#000000","normal","normal","none");
-
- if (navigator.currentNavPen)
- gsFirstPane = navigator.currentNavPen;
-
- setBackgroundcolor("");
- setBackground("whd_tab0.gif");
-
-
-
-
- addPane("toc","whtdhtml.htm");
- addPane("fts","whfdhtml.htm");
- addPane("glo","whgdhtml.htm");
- setShowPane("toc");
-
-
- gnTabType = 0; // 0 button. // 1 text. // 2 image mapping.
- TocWriteClassStyle();
- var sHTML = "<body scroll=\"no\" bgcolor=\"#c0c0c0\" background=\"whd_tab0.gif\" style=\"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0\">";
- if (gPane.length > 0)
- {
- if (gnTabType == 0 || gnTabType == 1)
- {
- sHTML += "<table width=\"100%\">";
- sHTML += "<tr>";
- sHTML += "<td>";
- sHTML += "<nobr>";
- sHTML += getTabsHTML();
- sHTML += "</nobr></td></tr>";
- sHTML += " <tr><td height=\"2\"></td></tr>";
- sHTML += "</table>";
- }
- else if (gnTabType == 2)
- {
- sHTML += getImageMap();
- sHTML +="<img name=\"tabSelection\" src=\"" + getMapImage(gPane[0]) + "\" x-maintain-ratio=\"true\" usemap=\"#tabSelectionMap\"";
- if (gbIE)
- sHTML +=" style=\"border: none; width:px; height:px; float: none;\"";
- sHTML +=" width=\"\" height=\"\" border=\"0\">";
- }
- }
- sHTML += "</body>";
- document.write(sHTML);
-}
-else
- document.location.reload();
-
-if (window.gbNav6)
-{
- var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);
- SendMessage(oMsg);
-}
-//-->
-</script>
-</HTML>
\ No newline at end of file
+++ /dev/null
-<?xml version='1.0' encoding='ISO-8859-1' ?>
-<topictemplate>
- <topic type="normal">
- <add tag="head" pos="endbefore" >
- <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_MESSAGE_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript\" src=\"";SF_VERSION_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_PROXY_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_UTILS_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_TOPIC_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- ";
- OutputInTopicNavBarDataToc("addTocInfo(\"%s\");\r\n");
- OutputInTopicNavBarDataBrowse("addAvenueInfo(\"%s\",\"%s\",\"%s\");\r\n");
- OutputInTopicNavBarDataButtons("addButton(\"%s\",%s, \"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",%d,%d);\r\n");
- "
- }
-
-
- if (window.setRelStartPage)
- {
- ";
- OutputInTopicNavBarDataHomePage("setRelStartPage(\"%s\");\r\n");
- OutputInTopicNavBarDataWebSearch.href("addSearchFormHref(\"%s\");\r\n");
- "
- autoSync(";WH_USER_OPTIONS.autosync_toc;");
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-"]]>
- </add>
- <add tag="body" pos="beginafter">
- <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(";WH_WEBSKIN.topic.bar.top.pos;");
-//-->
-</script>"]]>
- </add>
- <add tag="body" pos="endbefore">
- <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(";WH_WEBSKIN.topic.bar.bottom.pos;");
-//-->
-</script>";
-OutputInTopicNavBarDataWebSearch.form();]]>
- </add>
- </topic>
- <topic type="frameset">
- <add tag="head" pos="endbefore" >
- <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_MESSAGE_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript\" src=\"";SF_VERSION_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_UTILS_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_FRAMESET_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_TOPIC_JS;"\"></script>
-<script type=\"text/javascript\" language=\"javascript1.2\">
-<!--
-if (window.setRelStartPage)
-{
-";
- OutputInTopicNavBarDataHomePage("setRelStartPage(\"%s\");\r\n");
- OutputInTopicNavBarDataToc("addTocInfo(\"%s\");\r\n");
- OutputInTopicNavBarDataBrowse("addAvenueInfo(\"%s\",\"%s\",\"%s\");\r\n");
-"
-if (window.autoSync)
- autoSync(1);
-}
-//-->
-</script>
-"]]>
- </add>
- </topic>
-</topictemplate>
+++ /dev/null
-<html>
-<head>
-<title>Search Result</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<base target="bsscright">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whlang.js"></script>
-<script language="javascript1.2" src="whfhost.js"></script>
-<script language="javascript1.2">
-<!--
-if(window.gbWhFHost)
-{
-
-
- setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
- setFont("Error", "Arial","9pt","#000000","normal","normal","none");
- setFont("Hover", "Arial","9pt","#007f00","normal","normal","underline");
- setActiveBgColor("#cccccc");
- setMargin("0pt");
- setIndent("9pt");
- FtsWriteClassStyle();
-}
-else
- document.location.reload();
-//-->
-</script>
-</head>
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" scroll="auto" bgcolor="white">
-</body>
-</html>
-
+++ /dev/null
-<html>
-<head>
-<title>Search Frame</TITLE>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script LANGUAGE="javascript1.2">
-<!--
-var gbIndexLayerInit = false;
-var strWrite="";
-if (window.gbWhVer&&window.gbWhProxy&&window.gbWhMsg)
-{
- if (gbMac)
- strWrite="<FRAMESET ROWS='45,100%' framespacing=0 frameborder=1>";
- else
- strWrite="<FRAMESET ROWS='60,100%' framespacing=0 frameborder=1>";
- strWrite +="<FRAME SRC='whfform.htm' title='search form frame' name='ftsform' noresize='yes' scrolling='no'>";
- strWrite +="<FRAME SRC='whfbody.htm' title='search result frame' name='ftsbody' scrolling='yes'>";
- strWrite +="</FRAMESET>";
- document.write(strWrite);
-}
-else
- document.location.reload();
-//-->
-</script>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Search Form</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<style>
-<!--
-body {margin:0;}
--->
-</style>
-<body bgcolor="#c0c0c0">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whform.js"></script>
-<script language="javascript1.2">
-<!--
-var gstrInput = "";
-function ftsLookup(bCR)
-{
- if (bCR)
- {
- var strInput = document.FtsInputForm.keywordField.value.toUpperCase();
- if (strInput != "") {
- var oMsg = new whMessage(WH_MSG_SEARCHFTSKEY, this, 1, strInput);
- if (!SendMessage(oMsg))
- {
- gstrInput = strInput;
- }
- else
- gstrInput = "";
- }
-
- if (gbMac) {
- document.FtsInputForm.keywordField.focus();
- }
- }
- return;
-}
-
-function beforeInit()
-{
- var oParam = new Object();
- oParam.sValue = "";
- var oMsg = new whMessage(WH_MSG_GETSEARCHS, this, 1, oParam);
- if (SendMessage(oMsg))
- {
- if (oParam.sValue != "" && oParam.sValue != "- Search -")
- {
- document.FtsInputForm.keywordField.value = oParam.sValue;
- gfunLookUp(true);
- }
- }
- init();
-}
-
-function window_unload()
-{
- UnRegisterListener2(this, WH_MSG_SHOWTOC);
- UnRegisterListener2(this, WH_MSG_SHOWIDX);
- UnRegisterListener2(this, WH_MSG_SHOWFTS);
- UnRegisterListener2(this, WH_MSG_SHOWGLO);
- UnRegisterListener2(this, WH_MSG_SEARCHTHIS);
- UnRegisterListener2(this, WH_MSG_BACKUPSEARCH);
-}
-
-function onSendMessage(oMsg)
-{
- if (oMsg.nMessageId == WH_MSG_SHOWFTS)
- {
- document.FtsInputForm.keywordField.focus();
- }
- else if (oMsg.nMessageId == WH_MSG_SHOWIDX ||
- oMsg.nMessageId == WH_MSG_SHOWTOC ||
- oMsg.nMessageId == WH_MSG_SHOWGLO)
- {
- document.FtsInputForm.keywordField.blur();
- }
- else if (oMsg.nMessageId == WH_MSG_SEARCHTHIS)
- {
- if (oMsg.oParam != "- Search -")
- {
- document.FtsInputForm.keywordField.value = oMsg.oParam;
- gfunLookUp(true);
- }
- }
- else if (oMsg.nMessageId == WH_MSG_BACKUPSEARCH)
- {
- if (gstrInput)
- {
- oMsg.oParam = gstrInput;
- gstrInput = "";
- return false;
- }
- }
- return true;
-}
-
-if (window.gbWhForm)
-{
- RegisterListener2(this, WH_MSG_SHOWTOC);
- RegisterListener2(this, WH_MSG_SHOWIDX);
- RegisterListener2(this, WH_MSG_SHOWFTS);
- RegisterListener2(this, WH_MSG_SHOWGLO);
- RegisterListener2(this, WH_MSG_SEARCHTHIS);
- RegisterListener2(this, WH_MSG_BACKUPSEARCH);
- gfunLookUp = ftsLookup;
- gfunInit = null;
- gstrFormName = "FtsInputForm"
- gsTitle = "Type in the word(s) to search for:";
- gsTitle = "Type in the word(s) to search for:";
- setGoImage1("");
-
-
-
-
-
-
- setGoText("Go");
- setFont("Title", "Arial","9pt","#000000","normal","normal","none");
-
-
- document.write(getFormHTML());
- writeFormStyle();
- window.onload = beforeInit;
- window.onunload=window_unload;
-}
-else
- document.location.reload();
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-// WebHelp 5.10.003
-var gsSK2=null;
-var gsSK=null;
-var gsFtsBreakChars="\t\r\n\"\\ .,!@#$%^&*()~'`:;<>?/{}[]|+-=\x85\x92\x93\x94\x95\x96\x97\x99\xA9\xAE\xB7";
-var gnCLF=0;
-var gsHelpCannotSearch="Cannot search for that phrase.";
-var gsNoTopics="No Topics Found.";
-var gsLoadingDivID="LoadingDiv";
-var gsLoadingMsg="Loading data, please wait...";
-var gsSearchMsg="Searching...";
-var gsResultDivID="ResultDiv";
-var gaaFCD=new Array();
-var gaaFTCD=new Array();
-var goCF=null;
-var goCTF=null;
-var gaTI=null;
-var gnCurrentOp=0;
-var gbNot=false;
-var gbReady=false;
-var gnLoadFts=1;
-var gnCacheLimits=5;
-var gaCCD=new Array();
-var gbXML=false;
-var gaData=new Array();
-var gsBgColor="#ffffff";
-var gsBgImage="";
-var gsMargin="0pt";
-var gsIndent="0pt";
-var gsCheckKey=null;
-var gnIndexNum=0;
-var gaFtsContentsCon=null;
-var gaTopicCheckInfo=null;
-var gnTopicCheck=0;
-var goFont=null;
-var goErrFont=null;
-var goHoverFont=null;
-var gsABgColor="#cccccc";
-var gbWhFHost=false;
-var gbFirst=false;
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Normal")
- goFont=vFont;
- else if(sType=="Error")
- goErrFont=vFont;
- else if(sType=="Hover")
- goHoverFont=vFont;
-}
-
-function setActiveBgColor(sBgColor)
-{
- gsABgColor=sBgColor;
-}
-
-function setMargin(sMargin)
-{
- gsMargin=sMargin;
-}
-
-function setIndent(sIndent)
-{
- gsIndent=sIndent;
-}
-
-function updateCache(oCF)
-{
- var len=gaCCD.length;
- if(len<gnCacheLimits*gnCLF)
- gaCCD[len]=oCF;
- else{
- gaCCD[0].aTopics=null;
- gaCCD[0].aFtsKeys=null;
- removeItemFromArray(gaCCD,0);
- gaCCD[len-1]=oCF;
- }
-}
-
-function addFtsInfo(sPPath,sDPath,sFtsFile)
-{
- gaData[gaData.length]=new ftsInfo(sPPath,sDPath,sFtsFile);
-}
-
-function onLoadXMLError()
-{
- if(gnLoadFts==1)
- {
- var aFCD=new Array();
- var aFTCD=new Array();
- ftsReady(aFCD,aFTCD);
- }
- else if(gnLoadFts==3)
- {
- var aTopics=new Array();
- putFtsTData(aTopics);
- }
- else if(gnLoadFts==2)
- {
- putFtsWData(aFtsContents);
- var aFtsContents=new Array();
- }
-}
-
-function putDataXML(xmlDoc,sDocPath)
-{
- if(gnLoadFts==1)
- {
- var node=xmlDoc.lastChild;
- if(node)
- {
- var oChild=node.firstChild;
- var aFCD=new Array();
- var aFTCD=new Array();
- while(oChild)
- {
- if(oChild.nodeName=="chunkinfo")
- {
- var sURL=oChild.getAttribute("url");
- var sFirst=oChild.getAttribute("first");
- var sLast=oChild.getAttribute("last");
- if(sURL&&sFirst&&sLast)
- {
- item=new Object();
- item.sStartKey=sFirst;
- item.sEndKey=sLast;
- item.sFileName=sURL;
- aFCD[aFCD.length]=item;
- }
- }
- else if(oChild.nodeName=="tchunkinfo")
- {
- var sURL=oChild.getAttribute("url");
- var nB=parseInt(oChild.getAttribute("first"));
- var nE=parseInt(oChild.getAttribute("last"));
- if(sURL&&sFirst&&sLast)
- {
- item=new Object();
- item.nBegin=nB;
- item.nEnd=nE;
- item.sFileName=sURL;
- aFTCD[aFTCD.length]=item;
- }
-
- }
- oChild=oChild.nextSibling;
- }
- ftsReady(aFCD,aFTCD);
- }
- }
- else if(gnLoadFts==3)
- {
- var node=xmlDoc.lastChild;
- if(node)
- {
- var oChild=node.firstChild;
- var aTopics=new Array();
- while(oChild)
- {
- if(oChild.nodeName=="topic")
- {
- var name=oChild.getAttribute("name");
- var sURL=oChild.getAttribute("url");
- if(name&&name.length>0&&sURL)
- {
- var topic=new Object();
- topic.sTopicTitle=name;
- topic.sTopicURL=sURL;
- aTopics[aTopics.length]=topic;
- }
- }
- oChild=oChild.nextSibling;
- }
- putFtsTData(aTopics);
- }
- }
- else if(gnLoadFts==2)
- {
- var node=xmlDoc.lastChild;
- if(node)
- {
- var oChild=node.firstChild;
- var aFtsContents=new Array();
- while(oChild)
- {
- if(oChild.nodeName=="key")
- {
- var name=oChild.getAttribute("name");
- if(name&&name.length>0)
- {
- var item=new Object();
- item.sItemName=name;
- aFtsContents[aFtsContents.length]=item;
- var oChildChild=oChild.firstChild;
- while(oChildChild)
- {
- if(oChildChild.nodeName=="#text")
- {
- var sIDs=oChildChild.nodeValue;
- if(sIDs)
- {
- var nBPos=0;
- do
- {
- var nPos=sIDs.indexOf(",",nBPos);
- var sID=null;
- if(nPos!=-1)
- sID=sIDs.substring(nBPos,nPos);
- else
- sID=sIDs.substring(nBPos);
-
- if(sID)
- {
- var id=parseInt(sID);
- if(!isNaN(id))
- {
- if(!item.aTopics)
- item.aTopics=new Array();
- item.aTopics[item.aTopics.length]=id;
- }
- }
- nBPos=nPos+1;
- }while(nBPos!=0&&nBPos<sIDs.length);
- }
- }
- oChildChild=oChildChild.nextSibling;
- }
- }
- }
- oChild=oChild.nextSibling;
- }
- putFtsWData(aFtsContents);
- }
- }
-}
-
-function ftsInfo(sPPath,sDPath,sFtsFile)
-{
- this.sPPath=sPPath;
- this.sDPath=sDPath;
- this.sFtsFile=sFtsFile;
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- {
- document.body.background=gsBgImage;
- }
- if(gsBgColor&&gsBgColor.length>0)
- {
- document.body.bgColor=gsBgColor;
- }
- writeResultDiv();
- loadFts();
- var oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null)
- SendMessage(oMsg);
-}
-
-function writeResultDiv()
-{
- var sHTML="<div id=\""+gsResultDivID+"\" style=\"POSITION:absolute;\"></div>";
- document.body.insertAdjacentHTML("beforeEnd",sHTML);
-}
-
-function loadFts()
-{
- if(!gbReady)
- {
- var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);
- if(SendMessage(oResMsg)&&oResMsg.oParam)
- {
- gbReady=true;
- var oProj=oResMsg.oParam;
- var aProj=oProj.aProj;
- gbXML=oProj.bXML;
- if(aProj.length>0)
- {
- var sLangId=aProj[0].sLangId;
- for(var i=0;i<aProj.length;i++)
- {
- if(aProj[i].sFts&&aProj[i].sLangId==sLangId)
- {
- addFtsInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sFts);
- }
- }
- }
- loadFD();
-
- }
- }
-}
-
-function loadFD()
-{
- if(gnCLF<gaData.length)
- {
- gnLoadFts=1;
- loadData2(gaData[gnCLF].sPPath+gaData[gnCLF].sDPath+gaData[gnCLF].sFtsFile);
- }
- else
- {
- var oMsg = new whMessage(WH_MSG_BACKUPSEARCH, this, 1, null);
- if (SendMessage(oMsg))
- {
- if (oMsg.oParam)
- {
- gsSK=oMsg.oParam.toLowerCase();
- findFTSKey();
- }
- }
- RegisterListener2(this, WH_MSG_SEARCHFTSKEY);
- }
-}
-
-function loadData2(sFile)
-{
- if(gbXML)
- loadDataXML(sFile);
- else
- loadData(sFile);
-}
-
-function findFTSKey()
-{
- gaTI=new Array();
- gnCurrentOp=1;
- gbNot=false;
- displayMsg(gsSearchMsg);
- if(gsSK!="")
- {
- gbFirst=true;
- findOneKey();
- }
-}
-
-function findOneKey()
-{
- if(gsSK && gsSK!="")
- {
- var sInput=gsSK;
- var sCW="";
- var nS=-1;
- var nSep=-1;
- for(var nChar=0;nChar<gsFtsBreakChars.length;nChar++){
- var nFound=sInput.indexOf(gsFtsBreakChars.charAt(nChar));
- if((nFound!=-1)&&((nS==-1)||(nFound<nS))){
- nS=nFound;
- nSep=nChar;
- }
- }
- if(nS==-1){
- sCW=sInput;
- sInput="";
- }else{
- sCW=sInput.substring(0,nS);
- sInput=sInput.substring(nS+1);
- }
-
- gsSK=sInput;
-
- if((sCW=="or")||((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="|"))){
- gnCurrentOp=0;
- gbNot=false;
- }else if((sCW=="and")||((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="&"))){
- gnCurrentOp=1;
- gbNot=false;
- }else if((sCW=="not")||
- ((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="~"))){
- gbNot=!gbNot;
- }else if(sCW!=""&&!IsStopWord(sCW,gaFtsStop)){
- var sCurrentStem=GetStem(sCW);
- gsCW=sCurrentStem;
- ftsFindKeyword();
- return;
- }
- findOneKey();
- }
- else{
- displayTopics();
- checkAgain();
- }
-}
-
-function checkAgain()
-{
- gsCheckKey = "";
- gnIndexNum = 0;
- gsSK=gsSK2;
- gsSK2=null;
- if(gsSK!=null)
- setTimeout("findFTSKey();",1);
-}
-
-function displayTopics()
-{
- var sHTML="";
- var sLine="";
- for(var i=0;i<gaTI.length;i++){
- sLine+="<dt><nobr><a href='"+gaTI[i].sTopicURL+"'>"+_textToHtml(gaTI[i].sTopicTitle)+"</a></nobr></dt>";
- if(i>>4<<4==i)
- {
- sHTML+=sLine;
- sLine="";
- }
- }
- if(sLine.length>0)
- sHTML+=sLine;
-
- if(sHTML.length==0)
- sHTML="<P>"+gsNoTopics+"</P>"
- else
- sHTML="<dl>"+sHTML+"</dl>";
-
- var resultDiv=getElement(gsResultDivID);
- if(resultDiv)
- resultDiv.innerHTML=sHTML;
-}
-
-function displayMsg(sErrorMsg)
-{
- var sHTML="<P>"+sErrorMsg+"</P>";
-
- var resultDiv=getElement(gsResultDivID);
- if(resultDiv)
- resultDiv.innerHTML=sHTML;
-}
-
-function ftsFindKeyword()
-{
- var sKey=gsCW;
- var bNeedLoad=false;
- var aFtsContentsCon=null;
- var s=0;
- if(sKey==null) return;
- if(!gsCheckKey||sKey!=gsCheckKey||gnIndexNum==0)
- {
- aFtsContentsCon=new Array();
- gnCheck=0;
- gsCheckKey=sKey;
- gnTopicCheck=0;
- gaTopicCheckInfo=null;
- }
- else{
- s=gnIndexNum;
- aFtsContentsCon=gaFtsContentsCon;
- }
- for(var i=gnCheck;i<gaaFCD.length;i++)
- {
- var oCF=getChunkedFts(i,sKey);
- if(oCF)
- {
- if(!oCF.aFtsKeys&&oCF.sFileName!=null)
- {
- bNeedLoad=true;
- oCF.nProjId=i;
- goCF=oCF;
- gnIndexNum=s;
- gnCheck=i;
- gaFtsContentsCon=aFtsContentsCon;
- gnLoadFts=2;
- beginLoading();
- loadData2(gaData[i].sPPath+gaData[i].sDPath+oCF.sFileName);
- break;
- }
- else{
- aFtsContentsCon[s++]=oCF;
- }
- }
- }
- if(!bNeedLoad)
- {
- var aTI=gaTopicCheckInfo;
- for(var m=gnTopicCheck;m<aFtsContentsCon.length;m++)
- {
- var aTIPart=getTopics(aFtsContentsCon[m],sKey);
- if(aTIPart==null)
- {
- gnCheck=gaaFCD.length;
- gnTopicCheck=m;
- gaTopicCheckInfo=aTI;
- gaFtsContentsCon=aFtsContentsCon;
- return;
- }
- if(m==0)
- aTI=aTIPart;
- else
- aTI=mergeTopics(aTI,aTIPart);
- }
- if(mergewithPreviousResult(aTI))
- {
- gbFirst=false;
- findOneKey();
- }
- else
- checkAgain();
- }
-}
-
-function mergewithPreviousResult(aTI)
-{
- if(aTI!=null&&aTI.length!=0)
- {
- var nNumTopics=aTI.length;
- if(gnCurrentOp==0||gbFirst){
- if(gbNot){
- displayMsg(gsHelpCannotSearch);
- return false;
- }else{
- var aLS,aSS;
- if(gaTI.length>=aTI.length)
- {
- aLS=gaTI;
- aSS=aTI;
- }
- else
- {
- aLS=aTI;
- aSS=gaTI;
- }
- var s=0;
- for(var i=0;i<aSS.length;i++)
- {
- var bAlreadyThere=false;
- for(var j=s;j<aLS.length;j++)
- {
- if(aSS[i].equalTo(aLS[j]))
- {
- bAlreadyThere=true;
- s=j;
- break;
- }
- }
- if(!bAlreadyThere)
- {
- insertTopic(aLS,aSS[i]);
- }
- }
- gaTI=aLS;
- }
- }else if(gnCurrentOp==1){
- if(gbNot){
- var s=0;
- for(var i=0;i<aTI.length;i++)
- {
- for(var j=s;j<gaTI.length;j++)
- {
- if(aTI[i].equalTo(gaTI[j]))
- {
- removeItemFromArray(gaTI,j);
- s=j;
- break;
- }
- }
- }
- }else{
- var s=0;
- for(var i=0;i<gaTI.length;i++)
- {
- var bFound=false;
- for(var j=s;j<aTI.length;j++)
- {
- if(gaTI[i].equalTo(aTI[j]))
- {
- bFound=true;
- s=j;
- }
- }
- if(!bFound)
- {
- removeItemFromArray(gaTI,i);
- i--;
- }
- }
- }
- }
- }else{
- if((gnCurrentOp==1)&&(!gbNot)){
- gaTI.length=0;
- }else if((gnCurrentOp==0)&&(gbNot)){
- displayMsg(gsHelpCannotSearch);
- return false;
- }
- }
- return true;
-}
-
-function insertTopic(aTI,oTI)
-{
- var nB=0;
- var nE=aTI.length-1;
- if(nE>=0)
- {
- var nM;
- var bFound=false;
- do{
- nM=(nB+nE)>>1;
- if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)>0)
- nE=nM-1;
- else if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0)
- nB=nM+1;
- else
- {
- bFound=true;
- break;
- }
- }while(nB<=nE);
- if(bFound)
- insertItemIntoArray(aTI,nM,oTI);
- else
- {
- if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0)
- insertItemIntoArray(aTI,nM+1,oTI);
- else
- insertItemIntoArray(aTI,nM,oTI);
- }
- }
- else
- aTI[0]=oTI;
-}
-
-function mergeTopics(aTI1,aTI2)
-{
- var i1=0;
- var i2=0;
- var len1=aTI1.length;
- var len2=aTI2.length;
- var aTopicNew=new Array();
- var i=0;
- while(i1<len1||i2<len2)
- {
- if(i1<len1&&i2<len2)
- {
- if(compare(aTI1[i1].sTopicTitle,aTI2[i2].sTopicTitle)<0)
- aTopicNew[i++]=aTI1[i1++];
- else
- aTopicNew[i++]=aTI2[i2++];
- }
- else if(i1<len1)
- aTopicNew[i++]=aTI1[i1++];
- else if(i2<len2)
- aTopicNew[i++]=aTI2[i2++];
- }
- return aTopicNew;
-}
-
-function getTopics(oCF,sKey)
-{
- var aTIPart=new Array();
- if(oCF&&oCF.aFtsKeys)
- {
- var keys=oCF.aFtsKeys;
- var nB=0;
- var nE=keys.length-1;
- var nM=-1;
- var bFound=false;
- do{
- nM=(nB+nE)>>1;
- if(compare(keys[nM].sItemName,sKey)>0)
- nE=nM-1;
- else if(compare(keys[nM].sItemName,sKey)<0)
- nB=nM+1;
- else{
- bFound=true;
- break;
- }
- }while(nB<=nE);
- if(bFound)
- {
- if(keys[nM].aTopics)
- {
- for(var i=0;i<keys[nM].aTopics.length;i++)
- {
- var oTC=getTopicChunk(gaaFTCD[oCF.nProjId],keys[nM].aTopics[i]);
- if(oTC.aTopics)
- {
- aTIPart[aTIPart.length]=
- new topicInfo(oTC.aTopics[keys[nM].aTopics[i]-oTC.nBegin].sTopicTitle,
- gaData[oCF.nProjId].sPPath+oTC.aTopics[keys[nM].aTopics[i]-oTC.nBegin].sTopicURL);
- }
- else{
- goCTF=oTC;
- gnLoadFts=3;
- beginLoading();
- loadData2(gaData[oCF.nProjId].sPPath+gaData[oCF.nProjId].sDPath+oTC.sFileName);
- return null;
- }
- }
- }
- }
- }
- return aTIPart;
-}
-
-function getTopicChunk(aFTCD,nTopicId)
-{
- if(aFTCD&&aFTCD.length)
- {
- var nB=0;
- var nE=aFTCD.length-1;
- var nM=-1;
- var bFound=false;
- do{
- nM=(nB+nE)>>1;
- if(aFTCD[nM].nBegin>nTopicId)
- nE=nM-1;
- else if(aFTCD[nM].nEnd<nTopicId)
- nB=nM+1;
- else{
- bFound=true;
- break;
- }
- }while(nB<=nE);
- if(bFound)
- return aFTCD[nM];
- }
- return null;
-}
-
-function endLoading()
-{
- var oDiv=getElement(gsLoadingDivID);
- if(oDiv)
- oDiv.style.visibility="hidden";
-}
-
-function beginLoading()
-{
- var oDiv=getElement(gsLoadingDivID);
- if(!oDiv)
- {
- document.body.insertAdjacentHTML("afterBegin",writeLoadingDiv());
- oDiv=getElement(gsLoadingDivID);
- }
-
- if(oDiv)
- {
- oDiv.style.top=document.body.scrollTop;
- oDiv.style.visibility="visible";
- }
-}
-
-function writeLoadingDiv(nIIdx)
-{
- return "<div id=\""+gsLoadingDivID+"\" style=\"position:absolute;top:0;left:0;z-index:600;visibility:hidden;padding-left:4px;background-color:ivory;border-width:1;border-style:solid;border-color:black;width:150px;\">"+gsLoadingMsg+"</div>";
-}
-
-function topicInfo(sTopicTitle,sTopicURL)
-{
- this.sTopicTitle=sTopicTitle;
- this.sTopicURL=sTopicURL;
- this.equalTo=function(oTI)
- {
- return ((this.sTopicTitle==oTI.sTopicTitle)&&
- (this.sTopicURL==oTI.sTopicURL));
- }
-}
-
-function getChunkedFts(nIndex,sKey)
-{
- var oCF=null;
- if(nIndex<gaaFCD.length)
- {
- var len=gaaFCD[nIndex].length;
- if(len>0)
- {
- var nB=0;
- var nE=len-1;
- var bFound=false;
- do{
- var nM=(nB+nE)>>1;
- if(compare(sKey,gaaFCD[nIndex][nM].sEndKey)>0)
- {
- nB=nM+1;
- }
- else if(compare(sKey,gaaFCD[nIndex][nM].sStartKey)<0)
- {
- nE=nM-1;
- }
- else{
- bFound=true;
- break;
- }
- }while(nE>=nB);
- if(bFound)
- oCF=gaaFCD[nIndex][nM];
- }
- }
- return oCF;
-}
-
-function ftsReady(aFCD,aFTCD)
-{
- endLoading();
- gaaFTCD[gnCLF]=aFTCD;
- gaaFCD[gnCLF++]=aFCD;
- setTimeout("loadFD();",1);
-}
-
-function putFtsTData(aTopics)
-{
- endLoading();
- var oCTF=goCTF;
- if(oCTF)
- {
- oCTF.aTopics=aTopics;
- setTimeout("ftsFindKeyword();",1);
- }
-}
-
-function putFtsWData(aFtsContents)
-{
- endLoading();
- var oCF=goCF;
- if(oCF)
- {
- updateCache(oCF);
- oCF.aFtsKeys=aFtsContents;
- setTimeout("ftsFindKeyword();",1);
- }
-}
-
-function IsStopWord(sCW,aFtsStopArray)
-{
- var nStopArrayLen=aFtsStopArray.length;
- var nB=0;
- var nE=nStopArrayLen-1;
- var nM=0;
- var bFound=false;
- var sStopWord="";
- while(nB<=nE){
- nM=(nB+nE);
- nM>>=1;
- sStopWord=aFtsStopArray[nM];
- if(compare(sCW,sStopWord)>0){
- nB=(nB==nM)?nM+1:nM;
- }else{
- if(compare(sCW,sStopWord)<0){
- nE=(nE==nM)?nM-1:nM;
- }else{
- bFound=true;
- break;
- }
- }
- }
- return bFound;
-}
-
-function GetStem(szWord)
-{
- if(gaFtsStem==null||gaFtsStem.length==0)return szWord;
- var aStems=gaFtsStem;
-
- var nStemPos=0;
- var csStem="";
- for(var iStem=0;iStem<aStems.length;iStem++){
-
- if(aStems[iStem].length>=szWord.length-1) continue;
- nStemPos=szWord.lastIndexOf(aStems[iStem]);
- if(nStemPos>0){
- var cssub=szWord.substring(nStemPos);
- if(cssub==aStems[iStem]){
- csStem=szWord;
- if(szWord.charAt(nStemPos-2)==szWord.charAt(nStemPos-1)){
- csStem=csStem.substring(0,nStemPos-1);
- }else{
- csStem=csStem.substring(0,nStemPos);
- }
- return csStem;
- }
- }
- }
- return szWord;
-}
-
-function FtsWriteClassStyle()
-{
- var sStyle="<STYLE TYPE='text/css'>\n";
- if (gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- sStyle+="P {"+getFontStyle(goErrFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";
- sStyle+="dl {"+getFontStyle(goFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";
- sStyle+="A:link {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:active {background-color:"+gsABgColor+";}\n";
- sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";
- sStyle+="</STYLE>";
- document.write(sStyle);
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this,WH_MSG_PROJECTREADY);
- UnRegisterListener2(this, WH_MSG_SEARCHFTSKEY);
-}
-
-
-function onSendMessage(oMsg)
-{
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_SEARCHFTSKEY)
- {
- if(oMsg.oParam)
- {
- if(gsSK==null||gsSK=="")
- {
- gsSK=oMsg.oParam.toLowerCase();
- findFTSKey();
- }
- else
- gsSK2=oMsg.oParam.toLowerCase();
- }
- }
- else if(nMsgId==WH_MSG_PROJECTREADY)
- {
- loadFts();
- }
- return true;
-}
-
-if (window.gbWhUtil&&window.gbWhLang&&window.gbWhProxy&&window.gbWhVer&&window.gbWhMsg)
-{
- goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
- goErrFont=new whFont("Verdana","8pt","#000000","normal","bold","none");
- goHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");
- window.onload=window_OnLoad;
- window.onbeforeunload=window_BUnload;
- window.onunload=window_Unload;
- RegisterListener2(this,WH_MSG_PROJECTREADY);
- gbWhFHost=true;
-}
-else
- document.location.reload();
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.001
-var gfunLookUp;
-var gbInputEnable;
-var gfunInit;
-var gstrFormName= "";
-var gbWithButton = false;
-var gsTitle="";
-var gsOverImage = "";
-var gsOutImage = "";
-var gsClickImage = "";
-var gsText = "";
-var gsBgColor = "#c0c0c0";
-var gsBgImage = "";
-var gbInImage = 0;
-var gbInputEnable = 0;
-
-var goTitleFont=null;
-var goInputFont=null;
-var goNormalFont=null;
-var goHoverFont=null;
-var gnType=-1;
-var gbWhForm=false;
-
-function setBackground(sBgImage)
-{
- if (sBgImage != null && sBgImage.length > 0)
- gsBgImage = sBgImage;
-
- if (gsBgImage && gsBgImage .length > 0)
- {
- document.body.background = gsBgImage ;
- }
-}
-
-function setBackgroundcolor(sBgColor)
-{
- if (sBgColor != null && sBgColor.length > 0)
- gsBgColor = sBgColor;
-
- if (gsBgColor&& gsBgColor.length > 0)
- {
- document.body.bgColor = gsBgColor;
- }
-}
-
-function setBtnType(sType)
-{
- if (sType == "image")
- {
- gnType = 0;
- }
- else if (sType == "text")
- {
- gnType = 1;
- }
-}
-
-function setGoImage1(sImage1)
-{
- gsOutImage = sImage1;
- if (gsOutImage && gsOutImage.length > 0)
- gbWithButton = true;
-}
-
-function setGoImage2(sImage2)
-{
- gsOverImage = sImage2;
- if (gsOverImage && gsOverImage.length > 0)
- gbWithButton = true;
-}
-
-function setGoImage3(sImage3)
-{
- gsClickImage = sImage3;
- if (gsClickImage && gsClickImage.length > 0)
- gbWithButton = true;
-}
-
-function setGoText(sText)
-{
- gsText = sText;
- if (gsText.length > 0)
- gbWithButton = true;
-}
-
-function setFont(sType, sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration)
-{
- var vFont = new whFont(sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration);
- if (sType == "Title")
- {
- goTitleFont = vFont;
- var vFont1 = new whFont(sFontName, sFontSize, "black", sFontStyle, sFontWeight, sFontDecoration);
- goInputFont=vFont1;
- }
- else if (sType == "Normal")
- goNormalFont = vFont;
- else if (sType == "Hover")
- goHoverFont = vFont;
-}
-
-function writeFormStyle()
-{
- var sStyle = "<style type='text/css'>";
- sStyle += "p.title {" + getFontStyle(goTitleFont) + "margin-top:0;margin-bottom:0}\n";
- sStyle += ".inputfield {" + getFontStyle(goInputFont) +"width:100%; }\n";
- sStyle+="A:link {"+getFontStyle(goNormalFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goNormalFont)+"}\n";
- sStyle +="A:hover {"+getFontStyle(goHoverFont)+"}\n";
- sStyle+=".clsFormBackground{\n";
- if (gsBgImage)
- sStyle+="border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="border-top:black 1px solid;}\n";
-
- sStyle += "</style>";
- document.write(sStyle);
-}
-
-function lookupKeyDown()
-{
- if (gbInputEnable)
- {
- if (gbIE4)
- {
- if (event.keyCode == 13) //Enter key
- gfunLookUp(true);
- else
- gfunLookUp(false);
- }
- else
- gfunLookUp(false);
- }
-}
-
-function init()
-{
- if (gfunInit)
- gfunInit();
- if (!window.Array) return;
- document.onkeyup = lookupKeyDown;
-}
-
-function inputSubmit()
-{
- if ((gbInputEnable && !gbIE4)|| gbInImage)
- gfunLookUp(true);
-}
-
-function inputEnable(bEnable)
-{
- gbInputEnable = bEnable;
-}
-
-function inImage(bImage)
-{
- gbInImage = bImage;
-}
-
-function getFormHTML()
-{
- var sForm = "";
- sForm += "<table class=\"clsFormBackground\" width=\"100%\" cellspacing=\"0\" cellpadding=\"5\" border=\"0\">";
- sForm += "<form name=\"" + gstrFormName + "\" method=\"POST\" action=\"javascript:inputSubmit()\" style=\"width:100%\">";
- sForm += "<tr>";
- sForm += "<td>";
- sForm += "<p class=title><nobr>" + gsTitle + "</nobr><br><table width=\"100%\"><tr valign=\"middle\"><td width=\"100%\"><input class=\"inputfield\" type=\"text\" name=\"keywordField\" onfocus=\"inputEnable(1);\" onblur=\"inputEnable(0);\"></td>";
- if (gbWithButton && gnType >= 0)
- {
- sForm += "<td><a title=\"submit button\" href=\"javascript:void(0);\" onclick=\"" + gstrFormName + ".submit(); return false;\" onfocus=\"inImage(1);\" onblur=\"inImage(0);\" onmouseup=\"onMouseUp();\" onmousedown=\"onMouseDown();\" onmouseover=\"onMouseOver();\" onmouseout=\"onMouseOut();\">"
- if (gnType == 0)
- {
- if (!gsText)
- gsText="Go";
- sForm += "<img alt=\""+gsText+"\" id=\"go\" border=\"0\" src=\"" + gsOutImage + "\">";
- }
- else
- sForm += gsText ;
- sForm += "</a></td>";
- }
- sForm += "</tr></table></p></td></tr></form></table>";
- return sForm;
-}
-
-function onMouseOver()
-{
- if (getElement("go") && gsOverImage)
- getElement("go").src = gsOverImage;
-}
-
-function onMouseDown()
-{
- if (getElement("go") && gsClickImage)
- getElement("go").src = gsClickImage;
-}
-
-function onMouseUp()
-{
- if (getElement("go") && gsOutImage)
- getElement("go").src = gsOutImage;
-}
-
-function onMouseOut()
-{
- if (getElement("go") && gsOutImage)
- getElement("go").src = gsOutImage;
-}
-
-if (window.gbWhUtil&&window.gbWhVer&&window.gbWhProxy&&window.gbWhMsg)
-{
- goTitleFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "none");
- goNormalFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "none");
- goHoverFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "underline");
- gbWhForm=true;
-}
-else
- document.location.reload();
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.001
-// this value should be identical to the value used in whproxy.js
-window.whname = "wh_stub";
-
-// this file will be used by Topic and NavBar and NavPane and other components
-// and this file is used in child frame html.
-// and the whstub.js will be used in the start page.
-// see reference in whstub.js.
-// Internal Area
-var gbInited = false;
-var gWndStubPage = null;
-function getStubPage()
-{
- if (!gbInited)
- {
- gWndStubPage = getStubPage_inter(window);
- gbInited = true;
- }
- return gWndStubPage;
-}
-
-function getStubPage_inter(wCurrent) {
- if (null == wCurrent.parent || wCurrent.parent == wCurrent)
- return null;
-
- if (wCurrent.parent.whname && "wh_stub" == wCurrent.parent.whname)
- return wCurrent.parent;
- else
- if (wCurrent.parent.frames.length != 0 && wCurrent.parent != wCurrent)
- return getStubPage_inter(wCurrent.parent);
- else
- return null;
-}
-
-// Public interface begin here................
-function RegisterListener(framename, nMessageId)
-{
- var wStartPage = getStubPage();
- if (wStartPage && wStartPage != this) {
- return wStartPage.RegisterListener(framename, nMessageId);
- }
- else
- return false;
-}
-
-function RegisterListener2(oframe, nMessageId)
-{
- var wStartPage = getStubPage();
- if (wStartPage && wStartPage != this) {
- return wStartPage.RegisterListener2(oframe, nMessageId);
- }
- else
- return false;
-}
-
-function UnRegisterListener2(oframe, nMessageId)
-{
- var wStartPage = getStubPage();
- if (wStartPage && wStartPage != this && wStartPage.UnRegisterListener2) {
- return wStartPage.UnRegisterListener2(oframe, nMessageId);
- }
- else
- return false;
-}
-
-function SendMessage(oMessage)
-{
- var nMsgId = oMessage.nMessageId;
- if (nMsgId == WH_MSG_ISINFRAMESET && oMessage.wSender != this)
- return true;
- var wStartPage = getStubPage();
- if (wStartPage && wStartPage != this && wStartPage.SendMessage)
- {
- return wStartPage.SendMessage(oMessage);
- }
- else
- return false;
-}
-var gbWhProxy=true;
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Glossary Term</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whlang.js"></script>
-<script language="javascript1.2" src="whhost.js"></script>
-<script language="javascript1.2" src="whghost.js"></script>
-<script language="javascript1.2">
-<!--
-if(window.gbWhGHost)
-{
-
-
- setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
- setFont("Hover", "Arial","9pt","#007f00","normal","normal","underline");
- setActiveBgColor("#cccccc");
- setMargin("0pt");
- setIndent("9pt");
- GloWriteClassStyle();
-}
-else
- document.location.reload();
-//-->
-</script>
-</head>
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" bgcolor="white">
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Glossary Definition</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2">
-<!--
-var gsBgColor="#ffffff";
-var gsBgImage="";
-var goGloFont=null;
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this, WH_MSG_SHOWGLODEF);
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- document.body.background=gsBgImage;
- if(gsBgColor&&gsBgColor.length>0)
- document.body.bgColor=gsBgColor;
-}
-
-function setFont(sType, sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration)
-{
- var vFont = new whFont(sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration);
- if (sType == "Normal")
- goGloFont = vFont;
-}
-
-function textToHtml_nbsp_specialcare(sText)
-{
- if (sText == null) return null;
- var sHTML= sText;
- var re = new RegExp(" ","g");
- sHTML= sHTML.replace(re, " ");
- return sHTML;
-}
-
-function onSendMessage(oMsg)
-{
- var nMsgId = oMsg.nMessageId;
- if (nMsgId == WH_MSG_SHOWGLODEF)
- {
- document.body.innerHTML = sDefHead + textToHtml_nbsp_specialcare(oMsg.oParam.sDef) + sDefTail;
- return true;
- }
-}
-
-function GDefWriteClassStyle()
-{
- var sStyle="<STYLE TYPE='text/css'>\n";
- if (gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- sStyle+=".definition {"+getFontStyle(goGloFont)+"margin:2;}\n";
- sStyle+="</STYLE>";
- document.write(sStyle);
-}
-
-if (window.gbWhMsg&&window.gbWhUtil&&window.gbWhProxy&&window.gbWhVer)
-{
- window.onload=window_OnLoad;
- window.onunload = window_Unload;
- goGloFont=new whFont("Verdana", "8pt", "#000000", "normal", "normal", "none");
-
-
- setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
- GDefWriteClassStyle();
- RegisterListener2(this, WH_MSG_SHOWGLODEF);
- var sDefHead = "<p class=\"definition\">";
- var sDefTail = "</p>";
-}
-else
- document.location.reload();
-//-->
-</script>
-</head>
-<body bgproperties="fixed" bgcolor="white">
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Glossary</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body bgcolor=#c0c0c0 scroll=no RIGHTMARGIN=0 BOTTOMMARGIN=0 TOPMARGIN=0 LEFTMARGIN=0>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2">
-<!--
-var gsBgImage="";
-var gsBgColor="";
-var goTitleFont=null;
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function setFont(sType, sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Title")
- goTitleFont=vFont;
-}
-
-function getTermText()
-{
- var strString="Term:";
-strString = "Term:";
- return strString;
-}
-
-function getDefinitionText()
-{
- var strString="Definition for:";
-strString = "Definition:";
- return strString;
-}
-
-function getHTML()
-{
- var sHTML="";
- sHTML+="<P class=title><nobr> " + getTermText() + "</nobr></p>";
- sHTML+="<iframe id=glossaryIFrame title=\"glossary term\" src=\"whgbody.htm\" width=100% height=200 MARGINHEIGHT=0 MARGINWIDTH=0></iframe>";
- sHTML+="<P class=title><nobr> " + getDefinitionText() + " <b id=Name></b></nobr></p>";
- sHTML+="<iframe id=defIFrame title=\"glossary definition\" src=\"whgdef.htm\" width=100% height=100% MARGINHEIGHT=0 MARGINWIDTH=0></iframe>";
- return sHTML;
-}
-
-function writeStyle()
-{
- var sStyle="<style type='text/css'>";
- sStyle+="p.title {" + getFontStyle(goTitleFont) + "margin-top:4;margin-bottom:4}\n";
- if (gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- sStyle+="</style>";
- document.write(sStyle);
-}
-
-
-function window_OnResize()
-{
- setIFrameHeight();
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- document.body.background=gsBgImage;
- if(gsBgColor&&gsBgColor.length>0)
- document.body.bgColor=gsBgColor;
- setIFrameHeight();
-}
-
-function setIFrameHeight()
-{
- var tH=0;
- if(gbNav6)
- {
- tH=parseInt(window.innerHeight)-30;
- }
- else
- {
- tH=parseInt(document.body.clientHeight)-4;
- }
-
- var oEle=getElement("glossaryIFrame");
- if(oEle)
- {
- tH=tH-2*parseInt(oEle.offsetTop);
- if(tH>0)
- {
- oEle.style.height=Math.floor(tH*.6);
- var oEleDef=getElement("defIFrame");
- if(oEleDef)
- {
- oEleDef.style.height=tH-parseInt(oEle.style.height);
- }
- }
- }
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this,WH_MSG_SHOWGLODEF);
-}
-
-function onSendMessage(oMsg)
-{
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_SHOWGLODEF)
- {
- if(getElement("Name"))
- getElement("Name").innerHTML=oMsg.oParam.sName;
- return true;
- }
-}
-
-if(window.gbWhVer&&window.gbWhMsg&&window.gbWhUtil&&window.gbWhProxy)
-{
- goTitleFont=new whFont("Arial","9pt","#000000","normal","normal","none");
- setFont("Title", "Arial","9pt","#000000","normal","normal","none");
-
-
- window.onresize=window_OnResize;
- window.onload=window_OnLoad;
- window.onunload=window_Unload;
- RegisterListener2(this,WH_MSG_SHOWGLODEF);
- writeStyle();
- document.write(getHTML());
-}
-else
- document.location.reload();
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-// WebHelp 5.10.004
-var gbXML=false;
-var gaDef=new Array();
-var gsBgColor="#ffffff";
-var gsBgImage="";
-var goFont=null;
-var goHoverFont=null;
-var gsMargin="2pt";
-var gsIndent="2pt";
-var gsActiveBgColor="#cccccc";
-var gbWhGHost=false;
-var gbShowDef=true;
-var gsGloId="Glo_"
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Normal")
- goFont=vFont;
- else if(sType=="Hover")
- goHoverFont=vFont;
-}
-
-function setActiveBgColor(sBgColor)
-{
- gsActiveBgColor=sBgColor;
-}
-
-function setMargin(sMargin)
-{
- gsMargin=sMargin;
-}
-
-function setIndent(sIndent)
-{
- gsIndent=sIndent;
-}
-
-function insertDef(sKName,sDef)
-{
- var nLength=gaDef.length
- var oGlo=new nameDefPair(sKName,sDef);
- gaDef[nLength]=oGlo;
- return nLength;
-}
-
-function showDef(nDef)
-{
- if(nDef<gaDef.length)
- {
- HighLight(nDef);
- var oParam=gaDef[nDef];
- var oMsg=new whMessage(WH_MSG_SHOWGLODEF,this,1,oParam);
- SendMessage(oMsg);
- }
-}
-
-function nameDefPair(sName,sDef)
-{
- this.sName=sName;
- this.sDef=sDef;
-}
-
-function mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)
-{
- var sHTML="";
- var nIdxSet=aCurIdxSet[0];
- var nIIdx=aPos[nIdxSet];
- var sRawKName = getItemName(aDataCon,nIdxSet,nIIdx);
- var sKName=_textToHtml(sRawKName);
- var sDText=_textToHtml_nonbsp(getDef(aDataCon,nIdxSet,nIIdx));
- var sDef=sDText;
- for(var i=1;i<nLength;i++)
- {
- var nIdxSeti=aCurIdxSet[i];
- var nIIdxi=aPos[nIdxSeti];
- var sRawKNamei = getItemName(aDataCon,nIdxSeti,nIIdxi);
- var sKNamei=_textToHtml(sRawKNamei);
- var sDTexti=_textToHtml_nonbsp(getDef(aDataCon,nIdxSeti,nIIdxi));
- if (compare(sKNamei,sKName)==0)
- {
- if (sDText!=sDTexti)
- sDef+="<br>"+sDTexti;
- }
- }
- var nIndex=insertDef(sKName,sDef);
- if(nLevel==1)
- {
- sHTML+="<p><nobr id=\""+getGloId(nIndex)+"\">";
- sHTML+="<a alt=\""+sKName+"\" href=\"javascript:void(0);\" onfocus=\"HighLight("+nIndex+");\" onclick=\"showDef("+nIndex+");return false;\">"+sKName+"</a></nobr></p>";
- oHTML.addHTML(sHTML,nLength,bDown,true,sRawKName);
- if(gbShowDef)
- {
- setTimeout("showDef(0);",100);
- gbShowDef = false;
- }
- }
-}
-
-function HighLight(nIndex)
-{
- var oObj=getElement(getGloId(nIndex));
- if(oObj)
- HighLightElement(oObj,gsActiveBgColor,"transparent");
-}
-
-function getGloId(nIndex)
-{
- return gsGloId+nIndex;
-}
-
-function adjustPosition(bDown,aDataCon,aCurIdxSet,nLength,aPos)
-{
- if(bDown)
- {
- for(var i=0;i<nLength;i++)
- aPos[aCurIdxSet[i]]++;
- }
- else{
- for(var i=0;i<nLength;i++)
- aPos[aCurIdxSet[i]]--;
- }
-}
-
-function getDef(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].sDef;
- else
- return null;
-}
-
-function getItemName(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].sName;
- else
- return null;
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- document.body.background=gsBgImage;
- if(gsBgColor&&gsBgColor.length>0)
- document.body.bgColor=gsBgColor;
- document.body.insertAdjacentHTML("beforeEnd",writeLoadingDiv());
- loadGlo();
- var oMsg=new whMessage(WH_MSG_SHOWGLO,this,1,null)
- SendMessage(oMsg);
-}
-
-function loadGlo()
-{
- if(!gbReady)
- {
- var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);
- if(SendMessage(oResMsg)&&oResMsg.oParam)
- {
- gbReady=true;
- var oProj=oResMsg.oParam;
- var aProj=oProj.aProj;
- gbXML=oProj.bXML;
- if(aProj.length>0)
- {
- var sLangId=aProj[0].sLangId;
- for(var i=0;i<aProj.length;i++)
- {
- if(aProj[i].sGlo&&aProj[i].sLangId==sLangId)
- addProjInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sGlo);
- }
- }
- writeDataIFrame();
- enEvt();
- }
- }
-}
-
-function findCKInDom()
-{
- return true;
-}
-
-function GloWriteClassStyle()
-{
- var sStyle="<STYLE TYPE='text/css'>\n";
- if (gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- sStyle+="P {"+getFontStyle(goFont)+"margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";margin-left:"+gsIndent+";}\n";
- sStyle+="A:link {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:active {background-color:"+gsActiveBgColor+";}\n";
- sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";
- sStyle+="</STYLE>";
- document.write(sStyle);
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this,WH_MSG_PROJECTREADY);
- UnRegisterListener2(this,WH_MSG_SHOWGLO);
-}
-
-function onSendMessage(oMsg)
-{
- if(oMsg)
- {
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_SHOWGLO)
- {
- if(!gbNav6)
- document.body.focus();
- }
- else if(nMsgId==WH_MSG_PROJECTREADY)
- {
- loadGlo();
- }
- }
- return true;
-}
-
-if (window.gbWhUtil&&window.gbWhProxy&&window.gbWhVer&&window.gbWhLang&&window.gbWhMsg&&window.gbWhHost)
-{
- RegisterListener2(this,WH_MSG_PROJECTREADY);
- RegisterListener2(this,WH_MSG_SHOWGLO);
- goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
- goHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");
- window.onload=window_OnLoad;
- window.onbeforeunload=window_BUnload;
- window.onunload=window_Unload;
- gbWhGHost=true;
-}
-else
- document.location.reload();
-
+++ /dev/null
-// WebHelp 5.10.002
-var gaChunks=new Array();
-var gaFakes=new Array();
-var gaDataCon=null;
-var gaData=new Array();
-
-var gbFindCK=false;;
-var gbNeedCalc=false;
-var gbScrl=false;
-var gbProcess=false;
-var gbReady=false;
-
-var gnCheck=0;
-var gnNum=0;
-var gnIns=-1;
-var gnLoad=0;
-var gnRef=-1;
-var gnMaxItems=0;
-var gnMaxMargin=32000;
-var gnNeeded=0;
-var gnNKI=-1;
-var gnRE=0;
-var gnScrlMgn=30;
-var gnSE=0;
-var gnVisible=0;
-var gnItems=0;
-var gnUHeight=1;
-
-var gsBCK=null;
-var gsChK=null;
-var gsCK=null;
-var gsLoadingDivID="LoadingDiv";
-var gsLoadingMsg="Loading data, please wait...";
-var gsSKA=null;
-var gsSKB=null;
-
-var gbLoadInfo=false;
-
-function onLoadXMLError()
-{
- if(gbLoadInfo)
- {
- var aChunk=new Array();
- projReady(aChunk);
- }
- else
- {
- var aData=new Array();
- putData(aData);
- }
-}
-
-function putDataXML(xmlDoc,sDocPath)
-{
- if(gbLoadInfo)
- {
- var node=xmlDoc.lastChild;
- if(node)
- {
- var nTotal=0
- var aChunk=new Array();
- var oC=node.firstChild;
- while(oC)
- {
- if(oC.nodeName=="chunkinfo")
- {
- var item=new Object();
- item.sBK=oC.getAttribute("first");
- item.sEK=oC.getAttribute("last");
- item.sFileName=oC.getAttribute("url");
- item.nNum=parseInt(oC.getAttribute("num"));
- nTotal+=item.nNum;
- item.nTotal=nTotal;
- aChunk[aChunk.length]=item;
- }
- oC=oC.nextSibling;
- }
- projReady(aChunk);
- }
- }
- else
- {
- var node=xmlDoc.lastChild;
- if(node)
- {
- var aData=new Array();
- var nPrev=0;
- var nNext=0;
- var oC=node.firstChild;
- while(oC)
- {
- nPrev=nNext;
- if(oC.nodeName=="key")
- {
- var sName=oC.getAttribute("name");
- if(sName&&sName.length>0)
- {
- var sTarget=oC.getAttribute("target");
- var item=new Object();
- item.nType=2;
- item.sName=sName;
- if(sTarget)
- item.sTarget=sTarget;
- item.nPKOff=nPrev;
- aData[aData.length]=item;
- var nCurIndex=aData.length;
- processKey(oC,aData,item);
- nNext=aData.length-nCurIndex;
- item.nNKOff=nNext;
- }
- }
- else if(oC.nodeName=="letter")
- {
- var name=oC.getAttribute("name");
- if(name&&name.length>0)
- {
- var item=new Object();
- item.nType=1;
- item.sName=name;
- item.nPKOff=nPrev;
- nNext=0;
- item.nNKOff=nNext;
- aData[aData.length]=item;
- }
- }
- else if(oC.nodeName=="entry")
- {
- var name=oC.getAttribute("name");
- var def=oC.getAttribute("value");
- if(name&&name.length>0)
- {
- var item=new Object();
- item.sName=name;
- item.sDef=def;
- item.nPKOff=nPrev;
- nNext=0;
- item.nNKOff=nNext;
- aData[aData.length]=item;
- }
- }
- oC=oC.nextSibling;
- }
- putData(aData);
- }
- }
-}
-
-function processKey(element,aData,item)
-{
- var i=0;
- var nPrev=0;
- var nNext=0;
- var oC=element.firstChild;
- while(oC)
- {
- if(oC.nodeName=="topic")
- {
- var name=oC.getAttribute("name");
- var url=oC.getAttribute("url");
- if(url&&url.length!=0)
- {
- if(!name||name.length==0)
- name=url;
- var topic=new Object();
- topic.sName=name;
- topic.sURL=url;
- if(!item.aTopics)
- item.aTopics=new Array();
- item.aTopics[item.aTopics.length]=topic;
- }
- }
- else if(oC.nodeName=="key")
- {
- nPrev=nNext;
- var name=oC.getAttribute("name");
- if(name&&name.length!=0)
- {
- var subItem=new Object();
- subItem.sName=name;
- subItem.nType=3;
- subItem.nPKOff=nPrev;
- aData[aData.length]=subItem;
- var nCurIndex=aData.length;
- processKey(oC,aData,subItem);
- nNext=aData.length-nCurIndex;
- subItem.nNKOff=nNext;
- }
- }
- oC=oC.nextSibling;
- }
-}
-
-function putData(aData)
-{
- endLoading();
- var oCData=goCData;
- if(oCData)
- {
- oCData.aKs=aData;
- if(gnNKI==-1)
- setTimeout("checkReady();",1);
- else
- {
- gsSKA=getKByIdx(oCData,gnNKI);
- gbNeedCalc=true;
- gbScrl=true;
- gnNKI=-1;
- if(gsSKA)
- setTimeout("checkReady();",1);
- else
- {
- markEnd();
- setTimeout("checkAgain();",50);
- }
- }
- }
-}
-
-function markEnd()
-{
- if(gbProcess)
- gbProcess=false;
-}
-
-function endLoading()
-{
- var oDiv=getElement(gsLoadingDivID);
- if(oDiv)
- oDiv.style.visibility="hidden";
-}
-
-function markBegin()
-{
- gbProcess=true;
-}
-
-function beginLoading()
-{
- var oDiv=getElement(gsLoadingDivID);
- if(oDiv)
- {
- oDiv.style.top=document.body.scrollTop;
- oDiv.style.visibility="visible";
- }
-}
-
-function indexHTMLPart()
-{
- this.sHTML="";
- this.nNeeded=0;
- this.nCurrent=0;
- this.nConsumed=0;
- this.sFK=null;
- this.sLK=null;
- this.addHTML=function(sHTML,nConsumed,bDown,bK,sK){
- if(bDown)
- this.sHTML+=sHTML;
- else
- this.sHTML=sHTML+this.sHTML;
- this.nCurrent++;
- this.nConsumed+=nConsumed;
- if(bK)
- {
- if(!this.sFK)
- this.sFK=sK;
- if(!this.sLK)
- this.sLK=sK;
- if(bDown)
- this.sLK=sK;
- else
- this.sFK=sK;
- }
- }
- this.appendHTML=function(oHTML,bDown){
- this.addSubHTML(oHTML,bDown);
- if(!this.sFK)
- this.sFK=oHTML.sFK;
- if(!this.sLK)
- this.sLK=oHTML.sLK;
- if(bDown)
- this.sLK=oHTML.sLK;
- else
- this.sFK=oHTML.sFK;
- }
-
- this.addSubHTML=function(oHTML,bDown){
- if(bDown)
- this.sHTML+=oHTML.sHTML;
- else
- this.sHTML=oHTML.sHTML+this.sHTML;
- this.nCurrent+=oHTML.nCurrent;
- this.nConsumed+=oHTML.nConsumed;
- }
-}
-
-function getMaxUnits()
-{
- return Math.floor(gnMaxMargin/gnUHeight)+1;
-}
-
-function getFakeItemsHTMLbyCount(nB,nCount)
-{
- var nMU=getMaxUnits();
- var nNum=Math.floor(nCount/nMU);
- var sHTML="";
- for(var i=0;i<nNum;i++)
- sHTML+=getFakeItemHTML(nB,nMU-1);
-
- var nRest=nCount%nMU;
- sHTML+=getFakeItemHTML(nB,nRest-1);
- return sHTML;
-}
-
-function getFakeItemHTML(nB,nNum)
-{
- return "<h6 name=fk"+nB+" id=fk"+nB+" style=\"margin-top:"+gnUHeight*nNum+";margin-bottom:0\"> </h6>";
-}
-
-function fakeItemsArea(nB,n,sKA,sKB,obj)
-{
- this.nB=nB;
- this.nNum=n;
- this.sKA=sKA;
- this.sKB=sKB;
- this.obj=obj;
- this.nMargin=(n-1)*gnUHeight;
-
- this.setNum=function(n)
- {
- var nLastobj=-1;
- var nDelta=this.nMargin;
- this.nMargin=(n-1)*gnUHeight;
- nDelta=nDelta-this.nMargin;
- if(n>0)
- {
- this.nNum=n;
- var nMU=getMaxUnits();
- nLastobj=Math.floor((n-1)/nMU);
- if(this.obj.length)
- this.obj[nLastobj].style.marginTop=((n-1)%nMU)*gnUHeight;
- else
- this.obj.style.marginTop=((n-1)%nMU)*gnUHeight;
- }
- if(this.obj.length)
- {
- for(var i=this.obj.length-1;i>nLastobj;i--)
- removeThis(this.obj[i]);
- }
- else
- {
- if(nLastobj==-1)
- removeThis(this.obj);
- }
- return nDelta;
- }
- this.insertAdjacentHTML=function(sWhere,sHTML)
- {
- if(sWhere=="beforeBegin")
- {
- if(this.obj.length)
- this.obj[0].insertAdjacentHTML(sWhere,sHTML);
- else
- this.obj.insertAdjacentHTML(sWhere,sHTML);
- }
- else if(sWhere=="afterEnd")
- {
- if(this.obj.length)
- {
- if(gbMac&&gbIE5&&this.obj[this.obj.length-1].nextSibling)
- this.obj[this.obj.length-1].nextSibling.insertAdjacentHTML("beforeBegin",sHTML);
- else
- this.obj[this.obj.length-1].insertAdjacentHTML(sWhere,sHTML);
- }
- else
- {
- if(gbMac&&gbIE5&&this.obj.nextSibling)
- this.obj.nextSibling.insertAdjacentHTML("beforeBegin",sHTML);
- else
- this.obj.insertAdjacentHTML(sWhere,sHTML);
- }
- }
- }
- this.getBtm=function()
- {
- if(this.obj.length)
- return this.obj[this.obj.length-1].offsetTop;
- else
- return this.obj.offsetTop;
- }
- this.getTop=function()
- {
- return this.getBtm()-this.nMargin;
- }
-}
-
-function usedItems(nB,nE)
-{
- this.nB=nB;
- this.nE=nE;
- this.oN=null;
-}
-
-function checkReady()
-{
- var len=gaChunks.length;
- var bNeedLoad=false;
- var aDataCon;
- var s=0;
- var bDown=(gsSKB==null);
- var sK=bDown?gsSKA:gsSKB;
- if(sK==null)
- {
- markEnd();
- setTimeout("checkAgain();",50);
- return;
- }
- if(!gsChK||sK!=gsChK||gnNum==0)
- {
- gnCheck=0;
- gsChK=sK;
- aDataCon=new Array();
- }
- else{
- s=gnNum;
- aDataCon=gaDataCon;
- }
- for(var i=gnCheck;i<len;i++)
- {
- var oCData=getChunkedData(i,bDown,sK);
- if(oCData)
- {
- if(!oCData.aKs&&oCData.sFileName!=null)
- {
- bNeedLoad=true;
- goCData=oCData;
- gnNum=s;
- gnCheck=i;
- gaDataCon=aDataCon;
- oCData.nProjId=i;
- gbLoadInfo=false;
- beginLoading();
- loadData2(gaData[i].sPPath+gaData[i].sDPath+oCData.sFileName);
- return;
- }
- else{
- aDataCon[s++]=oCData;
- }
- }
- }
- if(!bNeedLoad)
- {
- gnNum=0;
- gsSKA=gsSKB=gsShowK=null;
-
- var oHTML=new indexHTMLPart();
- var aPos=new Array();
- var aOriPos=new Array();
- var aMaxPos=new Array();
- var aMinPos=new Array();
-
- if(gbNeedCalc||gbFindCK) gnIns=0;
- for(i=0;i<aDataCon.length;i++)
- {
- aPos[i]=getIdxPos(aDataCon[i],bDown,sK);
- if(gbNeedCalc||gbFindCK)
- {
- gnIns+=aPos[i]+aDataCon[i].nTotal-aDataCon[i].nNum;
- if(!bDown)
- {
- if(aPos[i]!=-1)
- {
- if(aDataCon[i].aKs)
- gnIns+=aDataCon[i].aKs[aPos[i]].nNKOff;
- else
- {
- var n=aPos[i]+1;
- while(n<aDataCon[i].aKsOnly.length&&!aDataCon[i].aKsOnly[n])
- n++;
- n=n-aPos[i]-1;
- gnIns+=n;
- }
- }
- }
- }
- aOriPos[i]=aPos[i];
- getLimit(aDataCon,aPos,aMaxPos,aMinPos,i);
- }
- if((gbNeedCalc||gbFindCK)&&!bDown&&gnIns!=-1)
- {
- gnIns+=(aDataCon.length-1)
- }
- if(gnIns!=-1||gbFindCK)
- {
- oHTML.nNeeded=gnNeeded;
- var bDone=writeItems(oHTML,aDataCon,aPos,aMinPos,aMaxPos,bDown,1);
- if(oHTML.nConsumed!=0)
- {
- var nB;
- if(!bDown)
- nB=gnIns-oHTML.nConsumed+1;
- else
- nB=gnIns;
-
- var oldScrollPos=document.body.scrollTop;
- if(insertIdxKs(nB,oHTML,gbScrl))
- {
- updateUsedK(aDataCon,aOriPos,aPos,bDown);
- if(!gbScrl&&gbMac)
- {
- while(document.body.scrollTop!=oldScrollPos)
- document.body.scrollTop=oldScrollPos;
- }
- gbScrl=false;
- }
- if(gbFindCK)
- {
- gbFindCK=false;
- gbNeedCalc=true;
- gsSKB=oHTML.sFK;
- gnIns=-1;
- setTimeout("checkReady();",50);
- return;
- }
- }
- else if(gbFindCK)
- {
- gbFindCK=false;
- gbNeedCalc=true;
- gsSKB=getFirstKeyFromPos(aDataCon,aPos);
- gnIns=-1;
- setTimeout("checkReady();",50);
- return;
- }
- if(!findCKInDom()) return;
-
- gnNeeded=gnNeeded-oHTML.nCurrent;
- gnIns=-1;
- markEnd();
- setTimeout("checkAgain();",50);
- gbNeedCalc=false;
- }
- else
- {
- if(!findCKInDom()) return;
- markEnd();
- setTimeout("checkAgain();",50);
- }
- }
-}
-
-function getFirstKeyFromPos(aDataCon,aPos)
-{
- var sCurrentK=getBiggestChar();
- for(var i=0;i<aPos.length;i++)
- {
- if(aDataCon[i].aKs&&aDataCon[i].aKs.length>0&&aPos[i]>=0&&aPos[i]<aDataCon[i].aKs.length)
- {
- if(sCurrentK==""||
- compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)>0)
- {
- sCurrentK=aDataCon[i].aKs[aPos[i]].sName;
- }
- }
- }
- return sCurrentK;
-}
-
-function checkAgain()
-{
- if(!gbProcess)
- {
- if(gsBCK!=null)
- {
- gsCK=gsBCK;
- gsBCK=null;
- findCK();
- }
- else
- {
- markBegin();
- getUnitIdx(document.body.scrollTop,document.body.clientHeight);
- }
- }
- else
- setTimeout("checkAgain()",50);
-}
-
-function getLimit(aDataCon,aPos,aMaxPos,aMinPos,i)
-{
- aMaxPos[i]=aDataCon[i].nNum;
- aMinPos[i]=-1;
- var oPNode=null;
- if(aDataCon[i].oUsedItems)
- {
- var oUsedItems=aDataCon[i].oUsedItems;
- do{
- if(oUsedItems.nB>aPos[i])
- {
- aMaxPos[i]=oUsedItems.nB;
- break;
- }
- oPNode=oUsedItems;
- oUsedItems=oUsedItems.oN;
- }while(oUsedItems!=null);
- if(oPNode)
- aMinPos[i]=oPNode.nE;
- }
- else if(aDataCon[i].aKs==null)
- {
- aMaxPos[i]=aMinPos[i]=aPos[i];
- }
- if(aMinPos[i]>=aPos[i]||aMaxPos[i]<=aPos[i])
- {
- aMaxPos[i]=aMinPos[i]=aPos[i];
- }
-}
-
-function getIdxPos(oIdx,bDown,sK)
-{
- var aKs=oIdx.aKs;
- var nIdx;
- if(bDown)
- nIdx=oIdx.nNum;
- else
- nIdx=-1;
- if(aKs!=null)
- {
- for(var i=0;i<aKs.length;i++)
- {
- if(bDown)
- {
- if(compare(aKs[i].sName,sK)>0)
- {
- nIdx=i;
- break;
- }
- }
- else
- {
- if(compare(aKs[i].sName,sK)<0)
- nIdx=i;
- else
- break;
- }
- i+=aKs[i].nNKOff;
- }
- }
- else if(oIdx.aKsOnly)
- {
- var aKsOnly=oIdx.aKsOnly;
- for(var i=0;i<aKsOnly.length;i++)
- {
- if(aKsOnly[i])
- {
- if(bDown)
- {
- if(compare(aKsOnly[i],sK)>0)
- {
- nIdx=i;
- break;
- }
- }
- else
- {
- if(compare(aKsOnly[i],sK)<0)
- nIdx=i;
- else
- break;
- }
- }
- }
- }
- return nIdx;
-}
-
-function writeItems(oHTML,aDataCon,aPos,aMinPos,aMaxPos,bDown,nLevel)
-{
- var aOldPos=new Array();
- for(var i=0;i<aPos.length;i++)
- {
- aOldPos[i]=aPos[i];
- }
- var p;
- do{
- var sCurrentK="";
- var aCurIdxSet=new Array();
- p=0;
- for(i=0;i<aDataCon.length;i++)
- {
- if(aDataCon[i].aKs&&aDataCon[i].aKs.length&&aPos[i]!=-1&&
- (bDown&&aPos[i]<aMaxPos[i])||(!bDown&&aPos[i]>aMinPos[i]))
- {
- if(sCurrentK==""||
- (bDown&&compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)>0)||
- (!bDown&&compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)<0))
- {
- sCurrentK=aDataCon[i].aKs[aPos[i]].sName;
- p=0;
- aCurIdxSet[p++]=i;
- }
- else if(compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)==0){
- aCurIdxSet[p++]=i;
- }
- }
- else if(nLevel==1&&aMaxPos[i]!=aMinPos[i]){
- if(bDown&&aPos[i]==aMaxPos[i])
- {
- if(aDataCon[i].aKs)
- {
- gsSKA=aDataCon[i].aKs[aOldPos[i]].sName;
- return false;
- }
- }
- else if(!bDown&&aPos[i]==aMinPos[i])
- {
- if(aDataCon[i].aKs)
- {
- gsSKB=aDataCon[i].aKs[aOldPos[i]].sName;
- return false;
- }
- }
- }
- }
- if(p>=1){
- for(var s=0;s<p;s++)
- {
- aOldPos[aCurIdxSet[s]]=aPos[aCurIdxSet[s]];
- }
- mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,p,aPos,nLevel);
- adjustPosition(bDown,aDataCon,aCurIdxSet,p,aPos);
-
- if(nLevel==1&&oHTML.nNeeded<=oHTML.nCurrent){
- return true;
- }
- }
- }while(p>0);
- return true;
-}
-
-function updateUsedK(aDataCon,aOriPos,aOldPos,bDown)
-{
- for(var i=0;i<aDataCon.length;i++)
- {
- if (aOldPos[i]!=aOriPos[i])
- {
- var nBP=0;
- var nEP=0;
- if(bDown)
- {
- nBP=aOriPos[i];
- nEP=aOldPos[i]-1;
- }
- else
- {
- if (aOldPos[i]!=-1)
- nBP=aOldPos[i]+aDataCon[i].aKs[aOldPos[i]].nNKOff+1;
- else
- nBP=0;
- nEP=aOriPos[i]+aDataCon[i].aKs[aOriPos[i]].nNKOff;
- }
- if(nBP<=nEP)
- {
- setContentsUsed(aDataCon[i],nBP,nEP);
-
- var oFirstPair=aDataCon[i].oUsedItems;
- if(oFirstPair.oN==null&&oFirstPair.nB==0&&oFirstPair.nE==aDataCon[i].nNum-1)
- {
- storeKeysOnly(aDataCon[i]);
- aDataCon[i].oUsedItems=aDataCon[i].aKs=aDataCon[i].sFileName=null;
- }
- }
- }
- }
-}
-
-function storeKeysOnly(oCData)
-{
- oCData.aKsOnly=new Array();
- for(var i=0;i<oCData.aKs.length;i++)
- {
- oCData.aKsOnly[i]=oCData.aKs[i].sName;
- i+=oCData.aKs[i].nNKOff;
- }
-}
-
-function setContentsUsed(oIdx,nB,nE)
-{
- if(!oIdx.oUsedItems)
- oIdx.oUsedItems=new usedItems(nB,nE);
- else
- {
- var oUsedItems=oIdx.oUsedItems;
- var oPNode=null;
- do{
- if(oUsedItems.nB>nB)
- {
- if(oUsedItems.nB==nE+1)
- {
- oUsedItems.nB=nB;
- }
- else{
- var oNewNode=new usedItems(oUsedItems.nB,oUsedItems.nE);
- oNewNode.oN=oUsedItems.oN;
- oUsedItems.nB=nB;
- oUsedItems.nE=nE;
- oUsedItems.oN=oNewNode;
- }
- break;
- }
- oPNode=oUsedItems;
- oUsedItems=oUsedItems.oN;
- }while(oUsedItems);
- if(!oUsedItems)
- {
- if(oPNode!=null)
- oPNode.oN=new usedItems(nB,nE);
- }
- if(oPNode!=null){
- if(oPNode.nE==oPNode.oN.nB-1)
- {
- oPNode.nE=oPNode.oN.nE;
- oPNode.oN=oPNode.oN.oN;
- }
- }
- }
-}
-
-function projInfo(sPPath,sDPath,sFile)
-{
- this.sPPath=sPPath;
- this.sDPath=sDPath;
- this.sFile=sFile;
-}
-
-function addProjInfo(sPPath,sDPath,sFile)
-{
- var oIdxInfo=new projInfo(sPPath,sDPath,sFile);
- gaData[gaData.length]=oIdxInfo;
- return oIdxInfo;
-}
-
-function writeDataIFrame()
-{
- if(gnLoad<gaData.length)
- {
- gbLoadInfo=true;
- loadData2(gaData[gnLoad].sPPath+gaData[gnLoad].sDPath+gaData[gnLoad].sFile);
- }
- else{
- if(gnItems!=0)
- {
- markBegin();
- writeFakeItems();
- gsSKA="";
- gnNeeded=gnVisible;
- gnIns=0;
- checkReady();
- }
- }
-}
-
-function getH6ById(nPos)
-{
- if(document.all)
- return document.all("fk"+nPos);
- else if(document.getElementsByName)
- return document.getElementsByName("fk"+nPos);
- return null;
-}
-
-function showItemsInEvaluation(nBP)
-{
- var bRtn=true;
- var fPer=nBP/gnItems;
- var nB=Math.floor(fPer*gnMaxItems);
- var oCData=getChunkByIdx(gnRef,nB);
- if(oCData)
- {
- if(!oCData.aKs&&oCData.sFileName!=null)
- {
- gnNKI=nB;
- goCData=oCData;
- oCData.nProjId=gnRef;
- gbLoadInfo=false;
- beginLoading();
- loadData2(gaData[gnRef].sPPath+gaData[gnRef].sDPath+oCData.sFileName);
- }
- else{
- gsSKA=getKByIdx(oCData,nB);
- if(gsSKA)
- {
- gsSKB=null;
- gbNeedCalc=true;
- gbScrl=true;
- checkReady()
- }
- else
- {
- markEnd();
- bRtn=false;
- }
- }
- }
- else
- {
- markEnd();
- bRtn=false;
- }
- return bRtn;
-}
-
-function isUsed(oCData,nPos)
-{
- var oUsed=oCData.oUsedItems;
- while(oUsed&&oUsed.nB<=nPos)
- {
- if(oUsed.nE>=nPos) return true;
- oUsed=oUsed.oN;
- }
- return false;
-}
-
-function getKByIdx(oCData,nB)
-{
- var nRelPos=nB-(oCData.nTotal-oCData.nNum);
- var aIKs=oCData.aKs;
- if(nRelPos>=0&&aIKs&&nRelPos<aIKs.length)
- {
- var oK=null;
- do{
- oK=aIKs[nRelPos++];
- }
- while((oK.nType==3||isUsed(oCData,nRelPos-1))&&nRelPos<aIKs.length);
- if(oK.nType!=3)
- {
- return oK.sName;
- }
- else{
- nRelPos=nB-(oCData.nTotal-oCData.nNum)-1;
- if(nRelPos>=0)
- {
- do{
- oK=aIKs[nRelPos--];
- }
- while((oK.nType==3||isUsed(oCData,nRelPos+1))&&nRelPos>=0);
- }
- if(oK.nType!=3)
- {
- return oK.sName;
- }
- }
- }
- return null;
-}
-
-function loadData2(sFileName)
-{
- disEvt();
- if(gbXML)
- loadDataXML(sFileName);
- else
- loadData(sFileName);
- enEvt();
-}
-
-function projReady(aChunk)
-{
- gaChunks[gnLoad++]=aChunk;
- var len=aChunk.length;
- var nTotal=0;
- if(len>0)
- nTotal=aChunk[len-1].nTotal;
- gnItems+=nTotal;
- if(nTotal>gnMaxItems)
- {
- gnMaxItems=nTotal;
- gnRef=gnLoad-1;
- }
- setTimeout("writeDataIFrame();",1);
-}
-
-function writeFakeItems()
-{
- disEvt();
- gnUHeight=15;
- var sHTML=getFakeItemsHTMLbyCount(0,gnItems);
- document.body.insertAdjacentHTML("beforeEnd",sHTML);
- var obj=getH6ById(0);
- if (document.body != null)
- {
- gnVisible=Math.ceil(document.body.clientHeight/gnUHeight);
- }
- gaFakes[0]=new fakeItemsArea(0,gnItems,"",getEndString(),obj);
- enEvt();
-}
-
-function getEndString()
-{
- var sBC=getBiggestChar();
- return sBC+sBC+sBC+sBC+sBC+sBC+sBC+sBC;
-}
-
-function getUnitIdx(nScrl,nHeight)
-{
- if(gaFakes.length==0)
- {
- markEnd();
- return;
- }
- var nB=0;
- var nE=gaFakes.length-1;
- var nM=-1;
- var nTop=0;
- var nBtm=0;
- var bF=false;
- do{
- nM=(nB+nE)>>1;
- nBtm=gaFakes[nM].getBtm();
- nTop=gaFakes[nM].getTop();
-
- if(nTop>=nScrl+nHeight)
- nE=nM-1;
- else if(nBtm<nScrl)
- nB=nM+1;
- else{
- bF=true;
- break;
- }
- }while(nE>=nB);
- if(bF)
- {
- if(nTop>=nScrl){
- gsSKA=gaFakes[nM].sKA;
- gsSKB=null;
- gnNeeded=Math.ceil((nHeight-nTop+nScrl)/gnUHeight);
- gnIns=gaFakes[nM].nB;
- checkReady();
- }
- else if(nBtm<=nScrl+nHeight){
- gsSKB=gaFakes[nM].sKB;
- gsSKA=null;
- gnNeeded=Math.ceil((nBtm-nScrl+gnScrlMgn)/gnUHeight);
- gbNeedCalc=true;
- checkReady();
- }
- else{
- gnNeeded=gnVisible;
- var nUnitIdx=gaFakes[nM].nB+Math.floor((nScrl-nTop)/gnUHeight);
- if (!showItemsInEvaluation(nUnitIdx))
- {
- gsSKA=gaFakes[nM].sKA;
- gsSKB=null;
- gnNeeded=Math.ceil(nHeight/gnUHeight);
- gnIns=gaFakes[nM].nB;
- checkReady();
- }
- }
- }
- else
- markEnd();
-}
-
-function disEvt()
-{
- window.onscroll=null;
- window.onresize=null;
-}
-
-function enEvt()
-{
- window.onscroll=window_OnScroll;
- window.onresize=window_OnResize;
-}
-
-function insertIdxKs(nIns,oHTML,bScrl)
-{
- var bRtn=true;
- disEvt();
- var nCount=oHTML.nConsumed;
- var nB=0;
- var nE=gaFakes.length-1;
- var nM=-1;
- var bF=false;
- do{
- nM=(nB+nE)>>1;
- if(gaFakes[nM].nB>nIns)
- nE=nM-1;
- else if(gaFakes[nM].nB+gaFakes[nM].nNum<=nIns)
- nB=nM+1;
- else{
- bF=true;
- break;
- }
- }while(nE>=nB);
- if(bF)
- {
- var oFIA=gaFakes[nM];
- var nOffsetTop=oFIA.getTop();
- var nOffsetBottom=oFIA.getBtm();
- var nDelta=0;
- var nHDiff=nIns-oFIA.nB;
- var nTDiff=oFIA.nNum+oFIA.nB-(nIns+nCount);
- if(nHDiff>0)
- {
- nDelta=oFIA.setNum(nHDiff);
- var sOldKBefore=oFIA.sKB;
- oFIA.sKB=oHTML.sFK;
- if(nTDiff>0)
- {
- var sHTML=getFakeItemsHTMLbyCount(nIns,nTDiff);
- oFIA.insertAdjacentHTML("afterEnd",sHTML);
- var obj=getH6ById(nIns);
- insertItemIntoArray(gaFakes,nM+1,new fakeItemsArea(nIns+nCount,nTDiff,oHTML.sLK,sOldKBefore,obj));
- }
- oFIA.insertAdjacentHTML("afterEnd",oHTML.sHTML);
- if(bScrl)
- {
- if(gbMac&&gbIE4)
- {
- var nScrollPos=nOffsetBottom-nDelta;
- while(document.body.scrollTop!=nScrollPos)
- document.body.scrollTop=nScrollPos;
- }
- else
- window.scrollTo(0,nOffsetBottom-nDelta);
- }
- }
- else{
- oFIA.insertAdjacentHTML("beforeBegin",oHTML.sHTML);
- if(bScrl){
- if(gbMac&&gbIE4)
- {
- var nScrollPos=nOffsetTop;
- while(document.body.scrollTop!=nScrollPos)
- document.body.scrollTop=nScrollPos;
- }
- else
- window.scrollTo(0,nOffsetTop);
- }
-
- if(nTDiff>0)
- {
- oFIA.nB=nIns+nCount;
- nDelta=oFIA.setNum(nTDiff);
- oFIA.sKA=oHTML.sLK;
- }
- else{
- gaFakes[nM].setNum(0);
- removeItemFromArray(gaFakes,nM);
- }
- }
- }
- else
- bRtn=false;
- enEvt();
- return bRtn;
-}
-
-function window_OnScroll()
-{
- gnSE++;
- setTimeout("procScroll();",50);
-}
-
-function procScroll()
-{
- if(gnSE==1&&!gbProcess)
- {
- markBegin();
- getUnitIdx(document.body.scrollTop,document.body.clientHeight);
- }
- gnSE--;
-}
-
-function window_OnResize()
-{
- gnRE++;
- setTimeout("procResize();",50);
-}
-
-function procResize()
-{
- if(gnRE==1&&!gbProcess)
- {
- markBegin();
- gnVisible=Math.ceil(document.body.clientHeight/gnUHeight);
- if(gnIns==-1)
- getUnitIdx(document.body.scrollTop,document.body.clientHeight);
- }
- gnRE--;
-}
-
-function getChunkByIdx(nIdx,nPosition)
-{
- var oCData=null;
- if(nIdx<gaChunks.length)
- {
- var len=gaChunks[nIdx].length;
- if(len>0)
- {
- var nB=0;
- var nE=len-1;
- var bF=false;
- do{
- var nM=(nB+nE)>>1;
- if(nPosition<gaChunks[nIdx][nM].nTotal)
- {
- bF=true;
- nE=nM;
- }
- else
- nB=nM+1;
- }while(nE>nB);
- if(bF)
- oCData=gaChunks[nIdx][nE];
- else if(nPosition<gaChunks[nIdx][nB].nTotal)
- oCData=gaChunks[nIdx][nB];
- }
- }
- return oCData;
-}
-
-function getChunkedData(nIdx,bDown,sK)
-{
- var oCData=null;
- var nCandId=-1;
- if(nIdx<gaChunks.length)
- {
- var len=gaChunks[nIdx].length;
- if(len>0)
- {
- var nB=0;
- var nE=len-1;
- var bF=false;
- do{
- var nM=(nB+nE+(bDown?0:1))>>1;
- if(bDown)
- {
- if(compare(sK,gaChunks[nIdx][nM].sEK)<0)
- {
- bF=true;
- nE=nM;
- }
- else
- nB=nM+1;
- }
- else
- {
- if(compare(sK,gaChunks[nIdx][nM].sBK)>0)
- {
- bF=true;
- nB=nM;
- }
- else
- nE=nM-1;
- }
- }while(nE>nB);
- if(bF)
- {
- if(bDown)
- nCandId=nE;
- else
- nCandId=nB;
- }
- else
- {
- if(bDown)
- {
- if(gaChunks[nIdx].length>nB&&compare(sK,gaChunks[nIdx][nB].sEK)<0)
- nCandId=nB;
- else
- nCandId=gaChunks[nIdx].length-1;
- }
- else
- {
- if(0<=nE&&compare(sK,gaChunks[nIdx][nE].sBK)>0)
- nCandId=nE;
- else
- nCandId=0;
- }
- }
- return gaChunks[nIdx][nCandId];
- }
- }
- return null;
-}
-
-function findCK()
-{
- if(gsCK!=null)
- {
- gsSKA=gsCK;
- gbFindCK=true;
- gnNeeded=1;
- markBegin();
- checkReady();
- }
-}
-
-function writeLoadingDiv(nIIdx)
-{
- return "<div id=\""+gsLoadingDivID+"\" style=\"position:absolute;top:0;left:0;z-index:600;visibility:hidden;padding-left:4px;background-color:ivory;border-width:1;border-style:solid;border-color:black;width:150px;\">"+gsLoadingMsg+"</div>";
-}
-
-var gbWhHost=true;
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Index content</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<base target="bsscright">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whlang.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whhost.js"></script>
-<script language="javascript1.2" src="whihost.js"></script>
-<script language="javascript1.2">
-<!--
-var goPopup = null;
-var gbPopupMenuTimeoutExpired=false;
-var gBsClientWidth=640;
-var gBsClientHeight=480;
-var g_bIsPopupMenuInit=false;
-
-function WritePopupMenuLayer()
-{
- if (!g_bIsPopupMenuInit)
- {
- document.write("<DIV ID='PopupMenu' STYLE='position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;'></DIV>");
- document.write("<STYLE TYPE='text/css'>");
- if (gbMac && gbIE4) {
- document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:10pt; text-decoration:none;}");
- document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:10pt; text-decoration:none;}");
- } else {
- document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:8pt; text-decoration:none;}");
- document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:8pt; text-decoration:none;}");
- }
- document.write("</STYLE>");
- }
- g_bIsPopupMenuInit = true;
-}
-
-function PopupMenu_Invoke()
-{
- if (gbNav6)
- resetHighLight();
-
- if (!gbNav6 && document.readyState != "complete")
- return false;
- var fn_arguments = PopupMenu_Invoke.arguments;
- // Make sure we have reasonable arguments
- var argLen = fn_arguments.length;
- if (argLen < 3) {
- return false;
- }
-
- // Check to see if we only have one target
- var strTarget = "";
-
- strTarget = "TARGET='" + fn_arguments[1] + "'";
-
- if (argLen < 5) {
- // Get the place that we will be putting the topic into
- var strURL = fn_arguments[3];
-
- if (fn_arguments[1] != null && typeof(fn_arguments[1]) != "undefined")
- window.open(strURL, fn_arguments[1]);
- else
- window.open(strURL);
-
- return false;
- }
-
- var strMenu = '<TABLE STYLE="border:2px outset white;" CELLSPACING=0';
- if (gbMac && gbIE4) {
- strMenu += ' CELLPADDING=4';
- } else {
- strMenu += ' CELLPADDING=2';
- }
- strMenu += ' BGCOLOR=#c0c0c0>';
-
- // Add each of the items
- if (gbIE55)
- {
- var i = 2;
- while (i <= argLen - 1) {
- strMenu += '<TR><TD><NOBR>'
- strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A ';
- strMenu += ' onclick="parent.PopupMenu_2HandleClick(\'' + excapeSingleQuotandSlash(fn_arguments[i + 1]) + '\', \'' + fn_arguments[1] + '\');"';
- strMenu += ' onmouseover="parent.PopupMenu_Over(event);"';
- strMenu += ' onmouseout="parent.PopupMenu_Out(event);"';
- strMenu += '>';
- strMenu += '<SPAN CLASS="PopupNotOver">' + fn_arguments[i] + '</SPAN>';
- strMenu += '</A></DIV></NOBR></TD></TR>';
- i += 2;
- }
- }
- else
- {
- var i = 2;
- while (i <= argLen - 1) {
- strMenu += '<TR><TD><NOBR>'
- strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A HREF="' + fn_arguments[i + 1] + '" ' + strTarget;
- strMenu += ' onclick="PopupMenu_HandleClick(event);"';
- strMenu += ' onmouseover="PopupMenu_Over(event);"';
- strMenu += ' onmouseout="PopupMenu_Out(event);"';
- strMenu += '>';
- strMenu += '<SPAN CLASS="PopupNotOver">' + excapeSingleQuotandSlash(fn_arguments[i]) + '</SPAN>';
- strMenu += '</A></DIV></NOBR></TD></TR>';
- i += 2;
- }
- }
- strMenu += "</TABLE>";
-
- if (gbMac && gbIE4) {
- // ie5 in mac need something. </TABLE> is one of them.
- strMenu +="<TABLE></TABLE>";
- }
-
- var layerPopup = null;
- var stylePopup = null;
- var nEventX = 0;
- var nEventY = 0;
- var nWindowWidth = 0;
- if (gbIE4||gbOpera7)
- {
- layerPopup = document.all["PopupMenu"];
- layerPopup.innerHTML = strMenu;
- stylePopup = layerPopup.style;
-
- _BSPSGetClientSize();
-
- // Get the position of the item causing the event (relative to its parent)
- nEventX = window.event.clientX;
- nEventY = window.event.clientY;
-
- if (nEventY + layerPopup.scrollHeight + 10 < gBsClientHeight) {
- nEventY += document.body.scrollTop + 10;
- } else {
- nEventY = (document.body.scrollTop + gBsClientHeight) - layerPopup.scrollHeight - 20;
- }
- stylePopup.top = nEventY;
-
- if (nEventX + layerPopup.scrollWidth + 20 > gBsClientWidth) {
- if (gBsClientWidth - layerPopup.scrollWidth < 5) {
- stylePopup.left = 5;
- } else {
- stylePopup.left = gBsClientWidth - layerPopup.scrollWidth - 5;
- }
- } else {
- stylePopup.left = nEventX + document.body.scrollLeft + 20;
- }
-
- if (gbIE55) {
- var nPosX = window.event.clientX;
- var nPosY = window.event.clientY;
- if (window.event.srcElement)
- {
- nPosX = window.event.srcElement.offsetLeft + window.event.srcElement.offsetWidth - document.body.scrollLeft;
- nPosY = window.event.srcElement.offsetTop + window.event.srcElement.offsetHeight - document.body.scrollTop;
- }
- goPopup = window.createPopup();
- var oPopupBody = goPopup.document.body;
- goPopup.document.createStyleSheet();
- goPopup.document.styleSheets[0].addRule(".PopupOver", "{font-family:\"Arial\"; cursor: hand;color:white; background:navy; font-size:8pt; text-decoration:none;}");
- goPopup.document.styleSheets[0].addRule(".PopupNotOver", "{font-family:\"Arial\"; color:black; background:#c0c0c0; font-size:8pt; text-decoration:none;}");
- oPopupBody.insertAdjacentHTML("afterBegin", strMenu);
- goPopup.show(nPosX, nPosY, layerPopup.scrollWidth, layerPopup.scrollHeight, document.body);
- }
- else
- {
- stylePopup.visibility = "visible";
- document.onclick = PopupMenu_HandleClick;
- }
- } else if (gbNav6) {
- layerPopup = document.getElementById("PopupMenu");
- layerPopup.style.visibility = "hidden";
-
- var e = fn_arguments[0];
- nEventX = e.pageX;
- nEventY = e.pageY;
- _BSPSGetClientSize();
- layerPopup.innerHTML = strMenu;
-
- if (nEventY + layerPopup.offsetHeight + 20 < window.pageYOffset + gBsClientHeight) {
- nEventY += 20;
- } else {
- nEventY = gBsClientHeight + window.pageYOffset - layerPopup.offsetHeight - 20;
- }
-
- if (nEventX + layerPopup.offsetWidth + 20 > gBsClientWidth + window.pageXOffset) {
- if (gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth < 20) {
- nEventX = 5;
- } else {
- nEventX = gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth - 20;
- }
- } else {
- nEventX += 20;
- }
- layerPopup.style.top = nEventY;
- layerPopup.style.left = nEventX;
-
- // set again to avoid the frash in netscape 6.
- layerPopup.innerHTML = strMenu;
- layerPopup.style.visibility = "visible";
- window.onclick = PopupMenu_HandleClick;
- }
-
- window.gbPopupMenuTimeoutExpired = false;
- setTimeout("PopupMenu_Timeout();", 100);
- return false;
-}
-
-function PopupMenu_Timeout()
-{
- window.gbPopupMenuTimeoutExpired = true;
-}
-
-function PopupMenu_Over(e)
-{
- if (gbIE4||gbOpera7)
- e.srcElement.className = "PopupOver";
- else if (gbNav6)
- e.target.parentNode.className = "PopupOver";
-}
-
-function PopupMenu_Out(e)
-{
- if (gbIE4||gbOpera7)
- e.srcElement.className = "PopupNotOver";
- else if (gbNav6)
- e.target.parentNode.className = "PopupNotOver";
-}
-
-function PopupMenu_2HandleClick(surl, starget)
-{
- window.open(surl, starget);
- goPopup.hide();
-}
-
-function PopupMenu_HandleClick(e)
-{
- if (!window.gbPopupMenuTimeoutExpired) {
- return;
- }
-
- var layerPopup = getElement("PopupMenu");
- layerPopup.style.visibility = "hidden";
-
- return;
-}
-
-//Get client size info
-function _BSPSGetClientSize()
-{
- gBsClientWidth = document.body.clientWidth;
- gBsClientHeight = document.body.clientHeight;
-}
-
-if (window.gbWhIHost)
-{
-
-
- setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
- setFont("Empty", "Arial","9pt","#000000","normal","normal","none");
- setFont("Hover", "Arial","9pt","#007f00","normal","normal","underline");
- setActiveBgColor("#cccccc");
- setMargin("0pt");
- setIndent("9pt");
- IndexWriteClassStyle();
-}
-else
- document.location.reload();
-//-->
-</script>
-</head>
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" scroll="auto" bgcolor="white">
-<script languageE="JavaScript">
-<!--
-WritePopupMenuLayer();
-//-->
-</script>
-</body>
-</html>
-
+++ /dev/null
-<html>
-<head>
-<title>Index</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2">
-<!--
-var gbIndexLayerInit = false;
-if (window.gbWhProxy&&window.gbWhMsg&&window.gbWhVer)
-{
- var strWrite;
- if (gbMac)
- strWrite="<FRAMESET ROWS='45,100%' framespacing=0 frameborder=1>";
- else
- strWrite="<FRAMESET ROWS='60,100%' framespacing=0 frameborder=1>";
- strWrite +="<FRAME SRC='whiform.htm' title='index form frame' name='idxform' noresize='yes' scrolling='no'>";
- strWrite +="<FRAME SRC='whibody.htm' title='index content frame' name='idxbody' scrolling='yes'>";
- strWrite +="</FRAMESET>";
- document.write(strWrite);
-}
-else
- document.location.reload();
-//-->
-</script>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Index form</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<style>
-<!--
-body {margin:0;}
--->
-</style>
-<body bgcolor="#c0c0c0">
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whform.js"></script>
-<script language="javascript1.2">
-<!--
-function indexLookup(bCR)
-{
- var strInput = document.IndexInputForm.keywordField.value.toUpperCase();
- if (strInput != "") {
- var oParam = new Object();
- oParam.sInput = strInput;
- oParam.bCR = bCR;
- var oMessage = new whMessage(WH_MSG_SEARCHINDEXKEY, this, 1, oParam);
- SendMessage(oMessage);
- }
- if (gbMac) {
- document.IndexInputForm.keywordField.focus();
- }
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this, WH_MSG_SHOWTOC);
- UnRegisterListener2(this, WH_MSG_SHOWIDX);
- UnRegisterListener2(this, WH_MSG_SHOWFTS);
- UnRegisterListener2(this, WH_MSG_SHOWGLO);
-}
-
-function onSendMessage(oMessage)
-{
- if (oMessage.nMessageId == WH_MSG_SHOWIDX)
- {
- document.IndexInputForm.keywordField.focus();
- }
- else if (oMessage.nMessageId == WH_MSG_SHOWFTS ||
- oMessage.nMessageId == WH_MSG_SHOWTOC ||
- oMessage.nMessageId == WH_MSG_SHOWGLO)
- {
- document.IndexInputForm.keywordField.blur();
- }
- return true;
-}
-
-if (window.gbWhForm)
-{
- RegisterListener2(this, WH_MSG_SHOWTOC);
- RegisterListener2(this, WH_MSG_SHOWIDX);
- RegisterListener2(this, WH_MSG_SHOWFTS);
- RegisterListener2(this, WH_MSG_SHOWGLO);
- window.onunload=window_Unload;
- window.onload = init;
- gfunLookUp = indexLookup;
- gfunInit = null;
- gstrFormName = "IndexInputForm"
- gsTitle = "Type in the keyword to find:";
- gsTitle = "Type in the keyword to find:";
-
-
-
-
-
-
-
- setGoText("Go");
- setFont("Title", "Arial","9pt","#000000","normal","normal","none");
-
-
- document.write(getFormHTML());
- writeFormStyle();
-}
-else
- document.location.reload();
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-// WebHelp 5.10.002
-var gsDefaultTarget="bsscright";
-var gsBgColor="#ffffff";
-var gsBgImage="";
-var goIdxFont=null;
-var goIdxEmptyFont=null;
-var goIdxHoverFont=null;
-var gsIdxMargin="0pt";
-var gsIdxIndent="8pt";
-var gsIdxActiveBgColor="#cccccc";
-var gsCK = null;
-var gsBCK = null;
-var gbCR = false;
-var gbBCR = false;
-var gbWhIHost=true;
-
-function myEvent()
-{
- this.pageX = 0;
- this.pageY = 0;
-}
-var _event=new myEvent();
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Normal")
- goIdxFont=vFont;
- else if(sType=="Empty")
- goIdxEmptyFont=vFont;
- else if(sType=="Hover")
- goIdxHoverFont=vFont;
-}
-
-function setActiveBgColor(sBgColor)
-{
- gsIdxActiveBgColor=sBgColor;
-}
-
-function setMargin(sMargin)
-{
- gsIdxMargin=sMargin;
-}
-
-function setIndent(sIndent)
-{
- gsIdxIndent=sIndent;
-}
-
-function writeOneItem(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)
-{
- var sHTML="";
- var nIdxSet=aCurIdxSet[0];
- var nIIdx=aPos[nIdxSet];
- var sKOriName=getItemName(aDataCon,nIdxSet,nIIdx);
- var sKName=_textToHtml(sKOriName);
-
- var nIdxIndent=parseInt(gsIdxIndent);
- var sTopics="";
- if(nLevel==1){
- if(getItemType(aDataCon,nIdxSet,nIIdx)==1)
- {
- sHTML+="<H6><nobr>";
- sHTML+="<b>"+sKName+"</b></nobr></H6>";
- }
- else{
- for(var i=0;i<nLength;i++)
- sTopics+=getIdxTopics(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);
- sHTML+="<p style=\"margin-left:"+gsIdxIndent+"\"><nobr>";
- sHTML+="<a alt=\"" + sKName + "\" href=\"javascript:void(0);\" onfocus=\"clearHighLight();\" onclick=\"PopupMenu_Invoke(event,'"+excapeSingleQuotandSlash(getTargetName(aDataCon,nIdxSet,nIIdx))+"'";
- if(sTopics.length>0)
- sHTML+=sTopics+");return false;\">"+sKName+"</a></nobr></p>";
- else
- sHTML+=");return false;\" style=\""+getFontStyle(goIdxEmptyFont)+"\">"+sKName+"</a></nobr></p>";
- }
- }
- else if(nLevel>=2){
- var nIndent=nIdxIndent*nLevel;
- for(var i=0;i<nLength;i++)
- sTopics+=getIdxTopics(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);
- if (nLevel==2)
- sHTML+="<h6 class=\"firstsub\" style=\"margin-left:"+nIndent+"pt\"><nobr>";
- else
- sHTML+="<h6 style=\"margin-left:"+nIndent+"pt\"><nobr>";
- sHTML+="<a alt=\"" + sKName + "\" href=\"javascript:void(0);\" onfocus=\"clearHighLight();\" onclick=\"PopupMenu_Invoke(event,'"+excapeSingleQuotandSlash(getTargetName(aDataCon,nIdxSet,nIIdx))+"'";
- if(sTopics.length>0)
- sHTML+=sTopics+");return false;\">"+sKName+"</a></nobr></h6>";
- else
- sHTML+=");return false;\" style=\""+getFontStyle(goIdxEmptyFont)+"\">"+sKName+"</a></nobr></h6>";
- }
- oHTML.addHTML(sHTML,nLength,bDown,(nLevel==1),sKOriName);
-}
-
-function getTargetName(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- if(aDataCon[nIdxSet].aKs[nIIdx].sTarget)
- return aDataCon[nIdxSet].aKs[nIIdx].sTarget;
- return gsDefaultTarget;
-}
-
-function mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)
-{
- var oLocalHTML=new indexHTMLPart();
- writeOneItem(oLocalHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel);
-
- var aLocalPos=new Array();
- var aMaxPos=new Array();
- for(var i=0;i<aPos.length;i++)
- {
- aLocalPos[i]=aPos[i];
- aMaxPos[i]=-1;
- }
-
- for(i=0;i<nLength;i++)
- {
- var nNKOff=getNKOff(aDataCon,aCurIdxSet[i],aLocalPos[aCurIdxSet[i]]);
- aLocalPos[aCurIdxSet[i]]++;
- if(nNKOff>0)
- aMaxPos[aCurIdxSet[i]]=aLocalPos[aCurIdxSet[i]]+nNKOff;
- }
- var oSubHTML=new indexHTMLPart();
- writeItems(oSubHTML,aDataCon,aLocalPos,null,aMaxPos,true,nLevel+1);
- oLocalHTML.addSubHTML(oSubHTML,true);
- oHTML.appendHTML(oLocalHTML,bDown);
-}
-
-function adjustPosition(bDown,aDataCon,aCurIdxSet,nLength,aPos)
-{
- if(bDown)
- {
- for(var i=0;i<nLength;i++)
- {
- var nNKOff=getNKOff(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);
- aPos[aCurIdxSet[i]]+=(1+nNKOff);
- }
- }
- else{
- for(var i=0;i<nLength;i++)
- {
- var nPKOff=getPKOff(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);
- aPos[aCurIdxSet[i]]-=(1+nPKOff);
- }
- }
-}
-
-function getItemName(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].sName;
- else
- return null;
-}
-
-function getItemType(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].nType;
- else
- return 0;
-}
-
-function getNKOff(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].nNKOff;
- else
- return null;
-}
-
-function getPKOff(aDataCon,nIdxSet,nIIdx)
-{
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- return aDataCon[nIdxSet].aKs[nIIdx].nPKOff;
- else
- return null;
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- {
- document.body.background=gsBgImage;
- }
- if(gsBgColor&&gsBgColor.length>0)
- {
- document.body.bgColor=gsBgColor;
- }
- document.body.insertAdjacentHTML("beforeEnd",writeLoadingDiv());
- loadIdx();
- var oMsg=new whMessage(WH_MSG_SHOWIDX,this,1,null)
- SendMessage(oMsg);
-}
-
-function loadIdx()
-{
- if(!gbReady)
- {
- var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);
- if(SendMessage(oResMsg)&&oResMsg.oParam)
- {
- gbReady=true;
- var oProj=oResMsg.oParam;
- var aProj=oProj.aProj;
- gbXML=oProj.bXML;
- if(aProj.length>0)
- {
- var sLangId=aProj[0].sLangId;
- for(var i=0;i<aProj.length;i++)
- {
- if(aProj[i].sIdx&&aProj[i].sLangId==sLangId)
- {
- addProjInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sIdx);
- }
- }
- }
- writeDataIFrame();
- enEvt();
- }
- }
-}
-
-function getIdxTopics(aDataCon,nIdxSet,nIIdx)
-{
- var sTopics="";
- if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)
- {
- if(aDataCon[nIdxSet].aKs[nIIdx].aTopics)
- {
- var nLen=aDataCon[nIdxSet].aKs[nIIdx].aTopics.length;
- var nProj=aDataCon[nIdxSet].nProjId;
- var sPath=gaData[nProj].sPPath;
- for(var i=0;i<nLen;i++)
- {
- var sURL=aDataCon[nIdxSet].aKs[nIIdx].aTopics[i].sURL;
- var sFullPath=_getFullPath(sPath,sURL);
- sTopics+=",'"+excapeSingleQuotandSlash(_textToHtml(aDataCon[nIdxSet].aKs[nIIdx].aTopics[i].sName))+"','"+excapeSingleQuotandSlash(_textToHtml_nonbsp(sFullPath))+"'";
- }
- }
- }
- return sTopics;
-}
-
-function findCKInDom()
-{
- if(gsCK!=null)
- {
- var sK=gsCK;
- var oP=getElementsByTag(document,"P");
- if(!oP) return false;
- var len=oP.length;
- var nB=0;
- var nE=len-1;
- var nM=0;
- var sItem="";
- var bF=false;
- while(nB<nE){
- nM=(nB+nE+1)>>1;
- sItem=getInnerText(oP[nM]);
-
- if(compare(sItem,sK)==0)
- {
- bF=true;
- break;
- }
- else if(compare(sItem,sK)>0)
- nE=nM-1;
- else if(compare(sItem,sK)<0)
- nB=nM;
- }
- if(!bF)
- {
- if(nB==nE) nM=nB;
-
- if(nM+1<len)
- {
- sItem=getInnerText(oP[nM+1]);
- if(compare(sItem,sK)<=0) nM++;
- }
- if(nM+1<len)
- {
- sItem=getInnerText(oP[nM+1]);
- if(compare(sItem.substring(0,sK.length),sK)==0) nM++;
- }
- }
-
- var oMatch=oP[nM];
- if(oMatch)
- {
- window.scrollTo(0,oMatch.offsetTop);
- var tempColl=getElementsByTag(oMatch,"A");
- if(tempColl&&tempColl.length>0){
- var nbTag=getElementsByTag(oMatch,"NOBR");
- if(nbTag&&nbTag.length>0)
- HighLightElement(nbTag[0], gsIdxActiveBgColor, "transparent");
- if (gbCR)
- {
- if (gbIE4)
- tempColl(0).click();
- else
- {
- var strCommand = tempColl[0].getAttribute("onClick");
- var nstrCommand = strCommand.indexOf(";");
- strCommand = strCommand.substring(0, nstrCommand);
- strCommand = strCommand.replace("event", "_event");
- window._event.pageX = oMatch.offsetLeft ;
- window._event.pageY = oMatch.offsetTop + 20;
- window.setTimeout(strCommand, 100);
- }
- }
- }
- }
- gsCK=gsBCK;
- gbCR=gbBCR;
- if(gsBCK!=null)
- {
- gsBCK=null;
- gbBCR=false;
- findCK();
- return false;
- }
-
- }
- return true;
-}
-
-function clearHighLight()
-{
- resetHighLight(gsBgColor);
-}
-
-function IndexWriteClassStyle()
-{
- var sStyle="";
- sStyle+="<STYLE TYPE='text/css'>";
- if (gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- if(gbIE4&&gbMac&&!gbIE5)
- {
- var nMargin=parseInt(gsIdxMargin);
- nMargin-=10;
- sStyle+="P {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";
- sStyle+="H6 {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";
- sStyle+="H6.firstsub {"+getFontStyle(goIdxFont)+"margin-top:"+nMargin+"pt;margin-bottom:"+gsIdxMargin+";}\n";
- }
- else
- {
- sStyle+="P {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";
- sStyle+="H6 {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";
- }
- sStyle+="DIV {margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";
- sStyle+="A:link {"+getFontStyle(goIdxFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goIdxFont)+"}\n";
- sStyle+="A:active {background-color:"+gsIdxActiveBgColor+";}\n";
- sStyle+="A:hover {"+getFontStyle(goIdxHoverFont)+"}\n";
- sStyle+="</STYLE>";
- document.write(sStyle);
- return;
-}
-
-function window_Unload()
-{
- UnRegisterListener2(this,WH_MSG_PROJECTREADY);
- UnRegisterListener2(this,WH_MSG_SEARCHINDEXKEY);
-}
-
-function onSendMessage(oMsg)
-{
- if(oMsg)
- {
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_SEARCHINDEXKEY)
- {
- if(oMsg.oParam && oMsg.oParam.sInput)
- {
- if(gsCK==null)
- {
- gsCK=oMsg.oParam.sInput;
- gbCR = oMsg.oParam.bCR;
- findCK();
- }
- else
- {
- gsBCK=oMsg.oParam.sInput;
- gbBCR = oMsg.oParam.bCR;
- }
- }
- }
- else if(nMsgId==WH_MSG_PROJECTREADY)
- {
- loadIdx();
- }
- }
- return true;
-}
-
-if(window.gbWhVer&&window.gbWhLang&&window.gbWhMsg&&window.gbWhUtil&&window.gbWhHost&&window.gbWhProxy)
-{
- RegisterListener2(this,WH_MSG_PROJECTREADY);
- RegisterListener2(this,WH_MSG_SEARCHINDEXKEY);
- goIdxFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
- goIdxEmptyFont=new whFont("Verdana","8pt","#666666","normal","normal","none");
- goIdxHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");
-
- window.onload=window_OnLoad;
- window.onbeforeunload=window_BUnload;
- window.onunload=window_Unload;
- gbWhIHost=true;
-}
-else
- document.location.reload();
-
+++ /dev/null
-// WebHelp 5.10.001
-var garrSortChar=new Array();
-var gaFtsStop=new Array();
-var gaFtsStem=new Array();
-var gbWhLang=false;
-
-garrSortChar[0] = 0;
-garrSortChar[1] = 1;
-garrSortChar[2] = 2;
-garrSortChar[3] = 3;
-garrSortChar[4] = 4;
-garrSortChar[5] = 5;
-garrSortChar[6] = 6;
-garrSortChar[7] = 7;
-garrSortChar[8] = 8;
-garrSortChar[9] = 40;
-garrSortChar[10] = 41;
-garrSortChar[11] = 42;
-garrSortChar[12] = 43;
-garrSortChar[13] = 44;
-garrSortChar[14] = 9;
-garrSortChar[15] = 10;
-garrSortChar[16] = 11;
-garrSortChar[17] = 12;
-garrSortChar[18] = 13;
-garrSortChar[19] = 14;
-garrSortChar[20] = 15;
-garrSortChar[21] = 16;
-garrSortChar[22] = 17;
-garrSortChar[23] = 18;
-garrSortChar[24] = 19;
-garrSortChar[25] = 20;
-garrSortChar[26] = 21;
-garrSortChar[27] = 22;
-garrSortChar[28] = 23;
-garrSortChar[29] = 24;
-garrSortChar[30] = 25;
-garrSortChar[31] = 26;
-garrSortChar[32] = 38;
-garrSortChar[33] = 45;
-garrSortChar[34] = 46;
-garrSortChar[35] = 47;
-garrSortChar[36] = 48;
-garrSortChar[37] = 49;
-garrSortChar[38] = 50;
-garrSortChar[39] = 33;
-garrSortChar[40] = 51;
-garrSortChar[41] = 52;
-garrSortChar[42] = 53;
-garrSortChar[43] = 88;
-garrSortChar[44] = 54;
-garrSortChar[45] = 34;
-garrSortChar[46] = 55;
-garrSortChar[47] = 56;
-garrSortChar[48] = 115;
-garrSortChar[49] = 119;
-garrSortChar[50] = 121;
-garrSortChar[51] = 123;
-garrSortChar[52] = 125;
-garrSortChar[53] = 126;
-garrSortChar[54] = 127;
-garrSortChar[55] = 128;
-garrSortChar[56] = 129;
-garrSortChar[57] = 130;
-garrSortChar[58] = 57;
-garrSortChar[59] = 58;
-garrSortChar[60] = 89;
-garrSortChar[61] = 90;
-garrSortChar[62] = 91;
-garrSortChar[63] = 59;
-garrSortChar[64] = 60;
-garrSortChar[65] = 131;
-garrSortChar[66] = 148;
-garrSortChar[67] = 150;
-garrSortChar[68] = 154;
-garrSortChar[69] = 158;
-garrSortChar[70] = 168;
-garrSortChar[71] = 171;
-garrSortChar[72] = 173;
-garrSortChar[73] = 175;
-garrSortChar[74] = 185;
-garrSortChar[75] = 187;
-garrSortChar[76] = 189;
-garrSortChar[77] = 191;
-garrSortChar[78] = 193;
-garrSortChar[79] = 197;
-garrSortChar[80] = 214;
-garrSortChar[81] = 216;
-garrSortChar[82] = 218;
-garrSortChar[83] = 220;
-garrSortChar[84] = 225;
-garrSortChar[85] = 230;
-garrSortChar[86] = 240;
-garrSortChar[87] = 242;
-garrSortChar[88] = 244;
-garrSortChar[89] = 246;
-garrSortChar[90] = 252;
-garrSortChar[91] = 61;
-garrSortChar[92] = 62;
-garrSortChar[93] = 63;
-garrSortChar[94] = 64;
-garrSortChar[95] = 66;
-garrSortChar[96] = 67;
-garrSortChar[97] = 131;
-garrSortChar[98] = 148;
-garrSortChar[99] = 150;
-garrSortChar[100] = 154;
-garrSortChar[101] = 158;
-garrSortChar[102] = 168;
-garrSortChar[103] = 171;
-garrSortChar[104] = 173;
-garrSortChar[105] = 175;
-garrSortChar[106] = 185;
-garrSortChar[107] = 187;
-garrSortChar[108] = 189;
-garrSortChar[109] = 191;
-garrSortChar[110] = 193;
-garrSortChar[111] = 197;
-garrSortChar[112] = 214;
-garrSortChar[113] = 216;
-garrSortChar[114] = 218;
-garrSortChar[115] = 220;
-garrSortChar[116] = 225;
-garrSortChar[117] = 230;
-garrSortChar[118] = 240;
-garrSortChar[119] = 242;
-garrSortChar[120] = 244;
-garrSortChar[121] = 246;
-garrSortChar[122] = 252;
-garrSortChar[123] = 68;
-garrSortChar[124] = 69;
-garrSortChar[125] = 70;
-garrSortChar[126] = 71;
-garrSortChar[127] = 27;
-garrSortChar[128] = 114;
-garrSortChar[129] = 28;
-garrSortChar[130] = 82;
-garrSortChar[131] = 170;
-garrSortChar[132] = 85;
-garrSortChar[133] = 112;
-garrSortChar[134] = 109;
-garrSortChar[135] = 110;
-garrSortChar[136] = 65;
-garrSortChar[137] = 113;
-garrSortChar[138] = 223;
-garrSortChar[139] = 86;
-garrSortChar[140] = 213;
-garrSortChar[141] = 29;
-garrSortChar[142] = 255;
-garrSortChar[143] = 30;
-garrSortChar[144] = 31;
-garrSortChar[145] = 80;
-garrSortChar[146] = 81;
-garrSortChar[147] = 83;
-garrSortChar[148] = 84;
-garrSortChar[149] = 111;
-garrSortChar[150] = 36;
-garrSortChar[151] = 37;
-garrSortChar[152] = 79;
-garrSortChar[153] = 229;
-garrSortChar[154] = 222;
-garrSortChar[155] = 87;
-garrSortChar[156] = 212;
-garrSortChar[157] = 32;
-garrSortChar[158] = 254;
-garrSortChar[159] = 251;
-garrSortChar[160] = 39;
-garrSortChar[161] = 72;
-garrSortChar[162] = 97;
-garrSortChar[163] = 98;
-garrSortChar[164] = 99;
-garrSortChar[165] = 100;
-garrSortChar[166] = 73;
-garrSortChar[167] = 101;
-garrSortChar[168] = 74;
-garrSortChar[169] = 102;
-garrSortChar[170] = 133;
-garrSortChar[171] = 93;
-garrSortChar[172] = 103;
-garrSortChar[173] = 35;
-garrSortChar[174] = 104;
-garrSortChar[175] = 75;
-garrSortChar[176] = 105;
-garrSortChar[177] = 92;
-garrSortChar[178] = 122;
-garrSortChar[179] = 124;
-garrSortChar[180] = 76;
-garrSortChar[181] = 106;
-garrSortChar[182] = 107;
-garrSortChar[183] = 108;
-garrSortChar[184] = 77;
-garrSortChar[185] = 120;
-garrSortChar[186] = 199;
-garrSortChar[187] = 94;
-garrSortChar[188] = 116;
-garrSortChar[189] = 117;
-garrSortChar[190] = 118;
-garrSortChar[191] = 78;
-garrSortChar[192] = 131;
-garrSortChar[193] = 131;
-garrSortChar[194] = 131;
-garrSortChar[195] = 131;
-garrSortChar[196] = 131;
-garrSortChar[197] = 131;
-garrSortChar[198] = 131;
-garrSortChar[199] = 150;
-garrSortChar[200] = 158;
-garrSortChar[201] = 158;
-garrSortChar[202] = 158;
-garrSortChar[203] = 158;
-garrSortChar[204] = 175;
-garrSortChar[205] = 175;
-garrSortChar[206] = 175;
-garrSortChar[207] = 175;
-garrSortChar[208] = 154;
-garrSortChar[209] = 193;
-garrSortChar[210] = 197;
-garrSortChar[211] = 197;
-garrSortChar[212] = 197;
-garrSortChar[213] = 197;
-garrSortChar[214] = 197;
-garrSortChar[215] = 95;
-garrSortChar[216] = 197;
-garrSortChar[217] = 230;
-garrSortChar[218] = 230;
-garrSortChar[219] = 230;
-garrSortChar[220] = 230;
-garrSortChar[221] = 246;
-garrSortChar[222] = 227;
-garrSortChar[223] = 224;
-garrSortChar[224] = 131;
-garrSortChar[225] = 131;
-garrSortChar[226] = 131;
-garrSortChar[227] = 131;
-garrSortChar[228] = 131;
-garrSortChar[229] = 131;
-garrSortChar[230] = 131;
-garrSortChar[231] = 150;
-garrSortChar[232] = 158;
-garrSortChar[233] = 158;
-garrSortChar[234] = 158;
-garrSortChar[235] = 158;
-garrSortChar[236] = 175;
-garrSortChar[237] = 175;
-garrSortChar[238] = 175;
-garrSortChar[239] = 175;
-garrSortChar[240] = 154;
-garrSortChar[241] = 193;
-garrSortChar[242] = 197;
-garrSortChar[243] = 197;
-garrSortChar[244] = 197;
-garrSortChar[245] = 197;
-garrSortChar[246] = 197;
-garrSortChar[247] = 96;
-garrSortChar[248] = 197;
-garrSortChar[249] = 230;
-garrSortChar[250] = 230;
-garrSortChar[251] = 230;
-garrSortChar[252] = 230;
-garrSortChar[253] = 246;
-garrSortChar[254] = 227;
-garrSortChar[255] = 250;
-
-gaFtsStop[0] = "a";
-gaFtsStop[1] = "about";
-gaFtsStop[2] = "after";
-gaFtsStop[3] = "against";
-gaFtsStop[4] = "all";
-gaFtsStop[5] = "also";
-gaFtsStop[6] = "among";
-gaFtsStop[7] = "an";
-gaFtsStop[8] = "and";
-gaFtsStop[9] = "are";
-gaFtsStop[10] = "as";
-gaFtsStop[11] = "at";
-gaFtsStop[12] = "be";
-gaFtsStop[13] = "became";
-gaFtsStop[14] = "because";
-gaFtsStop[15] = "been";
-gaFtsStop[16] = "between";
-gaFtsStop[17] = "but";
-gaFtsStop[18] = "by";
-gaFtsStop[19] = "can";
-gaFtsStop[20] = "come";
-gaFtsStop[21] = "do";
-gaFtsStop[22] = "during";
-gaFtsStop[23] = "each";
-gaFtsStop[24] = "early";
-gaFtsStop[25] = "for";
-gaFtsStop[26] = "form";
-gaFtsStop[27] = "found";
-gaFtsStop[28] = "from";
-gaFtsStop[29] = "had";
-gaFtsStop[30] = "has";
-gaFtsStop[31] = "have";
-gaFtsStop[32] = "he";
-gaFtsStop[33] = "her";
-gaFtsStop[34] = "his";
-gaFtsStop[35] = "however";
-gaFtsStop[36] = "in";
-gaFtsStop[37] = "include";
-gaFtsStop[38] = "into";
-gaFtsStop[39] = "is";
-gaFtsStop[40] = "it";
-gaFtsStop[41] = "its";
-gaFtsStop[42] = "late";
-gaFtsStop[43] = "later";
-gaFtsStop[44] = "made";
-gaFtsStop[45] = "many";
-gaFtsStop[46] = "may";
-gaFtsStop[47] = "me";
-gaFtsStop[48] = "med";
-gaFtsStop[49] = "more";
-gaFtsStop[50] = "most";
-gaFtsStop[51] = "near";
-gaFtsStop[52] = "no";
-gaFtsStop[53] = "non";
-gaFtsStop[54] = "not";
-gaFtsStop[55] = "of";
-gaFtsStop[56] = "on";
-gaFtsStop[57] = "only";
-gaFtsStop[58] = "or";
-gaFtsStop[59] = "other";
-gaFtsStop[60] = "over";
-gaFtsStop[61] = "several";
-gaFtsStop[62] = "she";
-gaFtsStop[63] = "some";
-gaFtsStop[64] = "such";
-gaFtsStop[65] = "than";
-gaFtsStop[66] = "that";
-gaFtsStop[67] = "the";
-gaFtsStop[68] = "their";
-gaFtsStop[69] = "then";
-gaFtsStop[70] = "there";
-gaFtsStop[71] = "these";
-gaFtsStop[72] = "they";
-gaFtsStop[73] = "this";
-gaFtsStop[74] = "through";
-gaFtsStop[75] = "to";
-gaFtsStop[76] = "under";
-gaFtsStop[77] = "until";
-gaFtsStop[78] = "use";
-gaFtsStop[79] = "was";
-gaFtsStop[80] = "we";
-gaFtsStop[81] = "were";
-gaFtsStop[82] = "when";
-gaFtsStop[83] = "where";
-gaFtsStop[84] = "which";
-gaFtsStop[85] = "who";
-gaFtsStop[86] = "with";
-gaFtsStop[87] = "you";
-
-gaFtsStem[0] = "ed";
-gaFtsStem[1] = "es";
-gaFtsStem[2] = "er";
-gaFtsStem[3] = "e";
-gaFtsStem[4] = "s";
-gaFtsStem[5] = "ingly";
-gaFtsStem[6] = "ing";
-gaFtsStem[7] = "ly";
-
-
-// as javascript 1.3 support unicode instead of ISO-Latin-1
-// need to transfer come code back to ISO-Latin-1 for compare purpose
-// Note: Different Language(Code page) maybe need different array:
-var gaUToC=new Array();
-gaUToC[8364]=128;
-gaUToC[8218]=130;
-gaUToC[402]=131;
-gaUToC[8222]=132;
-gaUToC[8230]=133;
-gaUToC[8224]=134;
-gaUToC[8225]=135;
-gaUToC[710]=136;
-gaUToC[8240]=137;
-gaUToC[352]=138;
-gaUToC[8249]=139;
-gaUToC[338]=140;
-gaUToC[381]=142;
-gaUToC[8216]=145;
-gaUToC[8217]=146;
-gaUToC[8220]=147;
-gaUToC[8221]=148;
-gaUToC[8226]=149;
-gaUToC[8211]=150;
-gaUToC[8212]=151;
-gaUToC[732]=152;
-gaUToC[8482]=153;
-gaUToC[353]=154;
-gaUToC[8250]=155;
-gaUToC[339]=156;
-gaUToC[382]=158;
-gaUToC[376]=159;
-
-var gsBiggestChar="";
-function getBiggestChar()
-{
- if(gsBiggestChar.length==0)
- {
- if(garrSortChar.length<256)
- gsBiggestChar=String.fromCharCode(255);
- else
- {
- var nBiggest=0;
- var nBigChar=0;
- for(var i=0;i<=255;i++)
- {
- if(garrSortChar[i]>nBiggest)
- {
- nBiggest=garrSortChar[i];
- nBigChar=i;
- }
- }
- gsBiggestChar=String.fromCharCode(nBigChar);
- }
-
- }
- return gsBiggestChar;
-}
-
-function getCharCode(str,i)
-{
- var code=str.charCodeAt(i)
- if(code>256)
- {
- code=gaUToC[code];
- }
- return code;
-}
-
-function compare(strText1,strText2)
-{
- if(garrSortChar.length<256)
- {
- var strt1=strText1.toLowerCase();
- var strt2=strText2.toLowerCase();
- if(strt1<strt2) return -1;
- if(strt1>strt2) return 1;
- return 0;
- }
- else
- {
- for(var i=0;i<strText1.length&&i<strText2.length;i++)
- {
- if(garrSortChar[getCharCode(strText1,i)]<garrSortChar[getCharCode(strText2,i)]) return -1;
- if(garrSortChar[getCharCode(strText1,i)]>garrSortChar[getCharCode(strText2,i)]) return 1;
- }
- if(strText1.length<strText2.length) return -1;
- if(strText1.length>strText2.length) return 1;
- return 0;
- }
-}
-gbWhLang=true;
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.002
-if (! window.gbIE4 && window.gbNav6 && !document.childNodes[0].insertAdjacentHTML){
-
-HTMLElement.prototype.insertAdjacentElement = function(where,parsedNode)
-{
- switch (where){
- case 'beforeBegin':
- this.parentNode.insertBefore(parsedNode,this);
- break;
- case 'afterBegin':
- this.insertBefore(parsedNode,this.firstChild);
- break;
- case 'beforeEnd':
- this.appendChild(parsedNode);
- break;
- case 'afterEnd':
- if (this.nextSibling){
- this.parentNode.insertBefore(parsedNode,this.nextSibling);
- } else {
- this.parentNode.appendChild(parsedNode);
- }
- break;
- }
-}
-
-HTMLElement.prototype.insertAdjacentHTML = function(where,htmlStr){
-
- var r = this.ownerDocument.createRange();
- r.setStartBefore(this);
- var parsedHTML = r.createContextualFragment(htmlStr);
- this.insertAdjacentElement(where,parsedHTML);
-}
-
-
-HTMLElement.prototype.insertAdjacentText = function(where,txtStr){
-
- var parsedText = document.createTextNode(txtStr);
- this.insertAdjacentElement(where,parsedText);
-}
-}
-
-function testScroll() {
- // Initialize scrollbar cache if necessary
- if (window._pageXOffset==null) {
- window._pageXOffset = window.pageXOffset;
- window._pageYOffset = window.pageYOffset;
- }
- // Expose Internet Explorer compatible object model
- document.scrollTop = window.pageYOffset;
- document.scrollLeft = window.pageXOffset;
- window.document.scrollHeight = document.height;
- window.document.scrollWidth = document.width;
- window.document.clientWidth = window.innerWidth;
- window.document.clientHeight = window.innerHeight;
-
- // If cache!=current values, call the onscroll event
- if (((window.pageXOffset!=window._pageXOffset) || (window.pageYOffset!=window._pageYOffset)) && (window.onscroll))
- window.onscroll();
- // Cache new values
- window._pageXOffset = window.pageXOffset;
- window._pageYOffset = window.pageYOffset;
- }
-
-// Create compatibility layer for Netscape
-if (window.gbNav6 && !window.gbNav7) {
- setInterval("testScroll()",50)
-}
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.002
-var WH_MSG_RESIZEPANE =0x0100;
-var WH_MSG_SHOWPANE =0x0101;
-var WH_MSG_HIDEPANE =0x0102;
-var WH_MSG_SYNCTOC =0x0103;
-var WH_MSG_NEXT =0x0104;
-var WH_MSG_PREV =0x0105;
-var WH_MSG_NOSEARCHINPUT =0x0106;
-var WH_MSG_NOSYNC =0x0107;
-var WH_MSG_ENABLEWEBSEARCH =0x0108;
-
-var WH_MSG_ISPANEVISIBLE =0x0109;
-var WH_MSG_PANESTATUE =0x010a;
-
-var WH_MSG_SYNCINFO =0x010b;
-var WH_MSG_PANEINFO =0x010c;
-var WH_MSG_WEBSEARCH =0x010d;
-
-var WH_MSG_SEARCHINDEXKEY =0x0201;
-
-var WH_MSG_SEARCHFTSKEY =0x020a;
-
-var WH_MSG_PROJECTREADY =0x0301;
-var WH_MSG_GETPROJINFO =0x0302;
-
-var WH_MSG_SHOWTOC =0x0401;
-var WH_MSG_SHOWIDX =0x0402;
-var WH_MSG_SHOWFTS =0x0403;
-var WH_MSG_SHOWGLO =0x0404;
-
-var WH_MSG_SHOWGLODEF =0x0500;
-
-var WH_MSG_GETTOCPATHS =0x0600;
-var WH_MSG_GETAVIAVENUES =0x0601;
-var WH_MSG_GETCURRENTAVENUE =0x0602;
-var WH_MSG_GETPANEINFO =0x0603;
-var WH_MSG_AVENUEINFO =0x0604;
-
-var WH_MSG_GETSTARTFRAME =0x0701;
-var WH_MSG_GETDEFAULTTOPIC =0x0702;
-
-var WH_MSG_SEARCHTHIS =0x0801;
-var WH_MSG_GETSEARCHS =0x0802;
-
-var WH_MSG_ISINFRAMESET =0x0900;
-
-var WH_MSG_TOOLBARORDER =0x0a00;
-var WH_MSG_MINIBARORDER =0x0a01;
-var WH_MSG_ISSYNCSSUPPORT =0x0a02;
-var WH_MSG_ISSEARCHSUPPORT =0x0a03;
-var WH_MSG_GETPANETYPE =0x0a04;
-var WH_MSG_BACKUPSEARCH =0x0a05;
-var WH_MSG_GETPANES =0x0a06;
-var WH_MSG_INITSEARCHSTRING =0x0a07;
-var WH_MSG_RELOADNS6 =0x0a08;
-var WH_MSG_ISAVENUESUPPORT =0x0a09;
-
-var WH_MSG_GETCMD =0x0b00;
-var WH_MSG_GETPANE =0x0b01;
-var WH_MSG_GETDEFPANE =0x0b02;
-
-function whMessage(nMessageId,wSender,nVersion,oParam)
-{
- this.nMessageId=nMessageId;
- this.wSender=wSender;
- this.nVersion=nVersion;
- this.oParam=oParam;
-}
-var gbWhMsg=true;
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Geometry Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whstub.js"></script>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whstart.js"></script>
-<script language="javascript1.2">
-<!--
-function window_Onload()
-{
- if (window.gsTopic)
- frames["bsscright"].document.location = window.gsTopic;
-}
-window.onload=window_Onload;
-//-->
-</script>
-</head>
-
-<frameset id="whPfset" cols="260,*"><noframes><p>Your browser does not support frames. We recommend that you update your browser to a version that supports frames.</p><p>To view the Help system without frames click on this<a href="whgdata/whnvp30.htm">hyperlink.</a></p></noframes><frame src="whgdata/whnvp30.htm" title="navigation pane" name="navigation pane" scrolling="no"><frame src="geometry.htm" title="topic pane" name="bsscright" scrolling="yes"></frameset>
-</html>
+++ /dev/null
-// WebHelp 5.10.005
-var gaProj=new Array();
-var gnChecked=0;
-var gsProjName="";
-var gbReady=false;
-var goMan=null;
-var gbXML=false;
-var gsFirstPane="";
-var gServerEnabled=false;
-var gsPath="";
-var gbWhPHost=false;
-var goDiv = null;
-var gsHTML = "";
-
-if (navigator.currentNavPen)
- gsFirstPane = navigator.currentNavPen;
-
-
-function delayLoad()
-{
- if (goDiv&&gsHTML)
- {
- goDiv.innerHTML=gsHTML;
- goDiv=null;
- gsHTML="";
- }
-}
-
-function whCom(sName,sComFile)
-{
- this.msName=sName;
- this.msDivId=sName+"Div";
- this.msIFrameId=sName+"IFrame";
- this.msComFile=sComFile;
- this.mbloaded=false;
- this.mbShow=false;
- this.show=function(bShow)
- {
- if(this.mbShow!=bShow)
- {
- if(bShow&&!this.mbloaded)
- {
- this.load();
- }
-
- var oDiv=getElement(this.msDivId);
- if(oDiv)
- {
- if(gbIE55||(gbIE5&&gbMac))
- {
- var oIframe=getElement(this.msIFrameId);
- if(oIframe)
- {
- if(bShow)
- {
- oDiv.style.zIndex=3;
- if(oIframe!=null)
- {
- oIframe.style.zIndex=3;
- if (!gbIE55)
- oIframe.style.visibility="visible";
- }
- }
- else
- {
- oDiv.style.zIndex=2;
- if(oIframe!=null)
- {
- oIframe.style.zIndex=2;
- if (!gbIE55)
- oIframe.style.visibility="hidden";
- }
- }
- }
- }
- if (!gbIE55)
- oDiv.style.visibility=(bShow==true)?'visible':'hidden';
- this.mbShow=bShow;
- }
-
- }
- }
- this.load=function()
- {
- if(!this.mbloaded)
- {
- if(this.msComFile.length>0){
- var strFile= _getFullPath(getPath(), this.msComFile);
- var oDiv=getElement(this.msDivId);
- if(oDiv){
- if(gbIE4||gbOpera7){
- var nIFrameHeight=oDiv.style.pixelHeight;
- var nIFrameWidth=oDiv.style.pixelWidth;
- var sHTML="<IFRAME ID="+this.msIFrameId+" title=\"" + this.msName + "\" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:";
- if(gbMac){
- sHTML+=nIFrameWidth+"px;height:"+nIFrameHeight+"px;\"></IFRAME>";
- }else{
- sHTML+="100%; height:100%;\"></IFRAME>";
- }
- oDiv.innerHTML=sHTML;
- }else if(gbNav6){
- gsHTML="<IFRAME ID="+this.msIFrameId+" title=\"" + this.msName + "\" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:100%;border:0;height:100%;\"></IFRAME>";
- goDiv = oDiv;
- setTimeout("delayLoad()", 100);
- }
- this.mbloaded=true;
- }
- }
- }
- }
- this.unload=function()
- {
- var oDiv=getElement(this.msDivId);
- if(oDiv)
- oDiv.innerHTML="";
- }
- this.getDivHTML=function()
- {
- var sHTML="";
- if(gbMac&&gbIE4)
- sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;margin:0;padding:0;border:0;\">";
- else if(gbIE5)
- sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;\">";
- else if(gbIE4||gbWindows)
- sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;visibility:hidden\">";
- else
- sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;visibility:hidden\">";
- sHTML+="</DIV>";
- return sHTML;
- }
-}
-
-function whComMan()
-{
- this.sName="";
- this.maCom=new Array();
- this.addCom=function(sName,sComFile)
- {
- var owhCom=new whCom(sName,sComFile);
- this.maCom[this.maCom.length]=owhCom;
- }
- this.init=function()
- {
- var sHTML="";
- for(var i=0;i<this.maCom.length;i++)
- {
- sHTML+=this.maCom[i].getDivHTML();
- }
- document.body.insertAdjacentHTML("beforeEnd",sHTML);
-
- }
- this.showById=function(nId)
- {
- for(var s=0;s<this.maCom.length;s++)
- {
- if(s!==nId)
- this.maCom[s].show(false);
- }
- this.maCom[nId].show(true);
- }
- this.show=function(sName)
- {
- navigator.currentNavPen = sName;
- var bFound=false;
- for(var i=0;i<this.maCom.length;i++)
- {
- if(sName==this.maCom[i].msName)
- {
- bFound=true;
- break;
- }
- }
- if(bFound)
- {
- this.showById(i);
- this.sName=sName;
- }
- }
- this.unload=function()
- {
- for(var i=0;i<this.maCom.length;i++)
- {
- this.maCom[i].unload();
- }
- }
- this.getCurrent=function()
- {
- return this.sName;
- }
-}
-
-function getPath()
-{
- if(gsPath=="")
- {
- gsPath=location.href;
- gsPath=_replaceSlash(gsPath);
- var nPosFile=gsPath.lastIndexOf("/");
- gsPath=gsPath.substring(0,nPosFile+1);
- }
- return gsPath;
-}
-
-goMan=new whComMan();
-function addPane(sName,sFileName)
-{
- var oParam=new Object();
- oParam.sName=sName;
- var oMsg=new whMessage(WH_MSG_GETPANE, this, 1, oParam);
- if (SendMessage(oMsg))
- {
- if (oMsg.oParam.bEnable)
- goMan.addCom(sName,sFileName);
- }
- else
- goMan.addCom(sName,sFileName);
-}
-
-function setShowPane(sName, bForce)
-{
- if ((gsFirstPane == "") || bForce)
- {
- var oMsg=new whMessage(WH_MSG_GETDEFPANE, this, 1, null);
- if (SendMessage(oMsg))
- {
- if (oMsg.oParam)
- gsFirstPane = oMsg.oParam;
- else
- gsFirstPane=sName;
- }
- else
- gsFirstPane=sName;
- }
-}
-
-function window_OnLoad()
-{
- var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);
- var bHidePane=false;
- if (SendMessage(oMsg))
- {
- if(oMsg.oParam>0)
- {
- if(oMsg.oParam==1)
- gsFirstPane="toc";
- else if(oMsg.oParam==2)
- gsFirstPane="idx";
- else if(oMsg.oParam==3)
- gsFirstPane="fts";
- else if(oMsg.oParam==4)
- gsFirstPane="glo";
- }
- else if(oMsg.oParam==0)
- {
- bHidePane=true;
- }
- }
- goMan.init();
- if(gsProjName!="")
- loadData2(gsProjName);
- if (bHidePane)
- {
- gsFirstPane="";
- var oMsg1=new whMessage(WH_MSG_HIDEPANE, this, 1, null)
- SendMessage(oMsg1);
- }
- else
- {
- if(gsFirstPane!="")
- goMan.show(gsFirstPane);
- else
- goMan.showById(0);
- }
-}
-
-function setServerEnabled()
-{
- gServerEnabled = true;
-}
-
-function loadData2(strFile)
-{
- if(gbXML)
- loadDataXML(strFile);
- else
- loadData(strFile);
-}
-
-function addProject(bPreferXML,sXMLName,sHTMLName)
-{
- var bLoadXML=bPreferXML;
- if(!gbIE4&&!gbNav6&&!gbOpera7)
- return;
- if(gbIE4&&!gbIE5)
- bLoadXML=false;
- if (gbIE5&&!gbMac)
- bLoadXML=true;
- if(gbIE55||gbNav6)
- bLoadXML=true;
- if(gbOpera7)
- bLoadXML=false;
- if(bLoadXML)
- addProjectXML(sXMLName);
- else
- addProjectHTML(sHTMLName);
-}
-
-function addProjectHTML(sName)
-{
- gbXML=false;
- gsProjName=sName;
-}
-
-function addProjectXML(sName)
-{
- gbXML=true;
- gsProjName=sName;
-}
-
-function window_MyBunload()
-{
- goMan.unload();
- window_BUnload();
-}
-
-function putDataXML(xmlDoc,sdocPath)
-{
- if(xmlDoc!=null)
- {
- var projectNode=xmlDoc.getElementsByTagName("project")[0];
- if(projectNode)
- {
- var aRProj=new Array();
- aRProj[0]=new Object();
- aRProj[0].sPPath=_getPath(sdocPath);
- var sLangId=projectNode.getAttribute("langid");
- if(sLangId)
- {
- aRProj[0].sLangId=sLangId;
- }
- var sDPath=projectNode.getAttribute("datapath");
- if(sDPath)
- {
- if(sDPath.lastIndexOf("/")!=sDPath.length-1)
- sDPath+="/";
- aRProj[0].sDPath=sDPath;
- }
- else
- aRProj[0].sDPath="";
- aRProj[0].sToc=projectNode.getAttribute("toc");
- aRProj[0].sIdx=projectNode.getAttribute("index");
- aRProj[0].sFts=projectNode.getAttribute("fts");
- aRProj[0].sGlo=projectNode.getAttribute("glossary");
- var RmtProject=projectNode.getElementsByTagName("remote");
- var nCount=1;
- for (var i=0;i<RmtProject.length;i++)
- {
- var sURL=RmtProject[i].getAttribute("url");
- if(sURL)
- {
- if(sURL.lastIndexOf("/")!=sURL.length-1)
- sURL+="/";
- aRProj[nCount]=new Object();
- aRProj[nCount++].sPPath=_getFullPath(aRProj[0].sPPath,sURL);
- }
- }
- putProjectInfo(aRProj);
- }
- else
- {
- // on Netscape 6.0 under some situation the xml file cannot be loaded.
- // so we use pure html instead.
- if (gnChecked == 0)
- setTimeout("redirectToList();",100);
- else
- {
- gnChecked++;
- setTimeout("checkRemoteProject();", 1);
- }
- }
- }
-}
-
-function onLoadXMLError()
-{
- gnChecked++;
- setTimeout("checkRemoteProject();", 1);
-}
-
-function redirectToList()
-{
- if(gbReDirectThis)
- document.location=gsNavReDirect;
- else
- parent.document.location=gsNavReDirect;
-}
-
-function putProjectInfo(aRProj)
-{
- if(gnChecked==0||isSamePath(gaProj[gnChecked].sPPath,aRProj[0].sPPath))
- {
- if(gnChecked!=0)
- {
- if(aRProj[0].sLangId!=gaProj[0].sLangId)
- alert("The merged Help system "+aRProj[0].sPPath+" is using a different language from the master Help system, which will cause the index and full-text search functionality to be disabled in the merged Help system.");
- }
- gaProj[gnChecked]=aRProj[0];
- for(var i=1;i<aRProj.length;i++)
- {
- var bFound=false;
- for(var j=0;j<gaProj.length;j++)
- {
- if(isSamePath(gaProj[j].sPPath,aRProj[i].sPPath))
- {
- bFound=true;
- break;
- }
- }
- if(!bFound)
- {
- gaProj[gaProj.length]=aRProj[i];
- }
- }
- gnChecked++;
- setTimeout("checkRemoteProject();", 1);
- }
- else
- alert("Could not load correctly, please click Refresh.");
-}
-
-function isSamePath(sPath1,sPath2)
-{
- return (sPath1.toLowerCase()==sPath2.toLowerCase());
-}
-
-function checkRemoteProject()
-{
- if(gaProj.length!=gnChecked)
- {
- setTimeout("cancelProj("+gnChecked+");",10000);
- loadData2(gaProj[gnChecked].sPPath+gsProjName);
- }
- else{
- var oMsg=new whMessage(WH_MSG_PROJECTREADY,this,1,null);
- gbReady=true;
- SendMessage(oMsg);
- }
-}
-
-function cancelProj(i)
-{
- if(i==gnChecked)
- {
- gnChecked++;
- setTimeout("checkRemoteProject();", 1);
- }
-}
-
-function window_resize()
-{
- for(var i=0;i<goMan.maCom.length;i++)
- {
- var oFrame=getElement(goMan.maCom[i].msIFrameId);
- if(oFrame)
- {
- oFrame.style.height=document.body.clientHeight;
- oFrame.style.width=document.body.clientWidth;
- }
- }
- window_resize2();
-}
-
-function window_resize2()
-{
- if(document.body)
- {
- if(document.body.clientWidth > 1 && document.body.clientHeight>1)
- {
- var oMsg = new whMessage(WH_MSG_RESIZEPANE, this, 1, null);
- SendMessage(oMsg);
- }
- }
-}
-
-function window_unload()
-{
- UnRegisterListener2(this,WH_MSG_GETPROJINFO);
- UnRegisterListener2(this,WH_MSG_SHOWTOC);
- UnRegisterListener2(this,WH_MSG_SHOWIDX);
- UnRegisterListener2(this,WH_MSG_SHOWFTS);
- UnRegisterListener2(this,WH_MSG_SHOWGLO);
- UnRegisterListener2(this,WH_MSG_GETPANEINFO);
-}
-
-function onSendMessage(oMsg)
-{
- if(oMsg)
- {
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_GETPROJINFO)
- {
- if(gbReady)
- {
- var oProj=new Object();
- oProj.aProj=gaProj;
- oProj.bXML=gbXML;
- oMsg.oParam=oProj;
- }
- else
- return false;
- }
- else if(nMsgId==WH_MSG_SHOWTOC)
- {
- if(goMan)
- goMan.show("toc");
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "toc");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if(nMsgId==WH_MSG_SHOWIDX)
- {
- if(goMan)
- goMan.show("idx");
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "idx");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if(nMsgId==WH_MSG_SHOWFTS)
- {
- if(goMan)
- goMan.show("fts");
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "fts");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if(nMsgId==WH_MSG_SHOWGLO)
- {
- if(goMan)
- goMan.show("glo");
- var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "glo");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);
- SendMessage(onMsg);
- }
- else if(nMsgId==WH_MSG_GETPANEINFO)
- {
- oMsg.oParam=goMan.getCurrent();
- return false;
- }
- }
- return true;
-}
-
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)
-{
- RegisterListener2(this,WH_MSG_GETPROJINFO);
- RegisterListener2(this,WH_MSG_SHOWTOC);
- RegisterListener2(this,WH_MSG_SHOWIDX);
- RegisterListener2(this,WH_MSG_SHOWFTS);
- RegisterListener2(this,WH_MSG_SHOWGLO);
- RegisterListener2(this,WH_MSG_GETPANEINFO);
-
- if((gbMac&&gbIE4)||(gbSunOS&&gbIE5)||gbOpera7)
- {
- window.onresize=window_resize;
- }
- else if(gbIE4)
- {
- window.onresize=window_resize2;
- }
- window.onload=window_OnLoad;
- window.onbeforeunload=window_MyBunload;
- window.onunload=window_unload;
- gbWhPHost=true;
-}
-else
- document.location.reload();
-
+++ /dev/null
-<html>
-<head>
-<title>project description</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whproj.js"></script>
-<script language="javascript1.2">
-<!--
- setLangId("1033");
- setDataPath("whdata");
- addToc("whtoc.htm");
-
- addFts("whfts.htm");
- addGlo("whglo.htm");
-
-//-->
-</script>
-</body>
-</html>
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.001
-var gaProj=new Array();
-
-gaProj[0]=new project("");
-
-function setLangId(sLangId)
-{
- gaProj[0].sLangId=sLangId;
-}
-
-function setDataPath(sPath)
-{
- if(sPath.length!=0)
- {
- if(sPath.lastIndexOf("/")!=sPath.length-1)
- sPath+="/";
- gaProj[0].sDPath=sPath;
- }
- else
- gaProj[0].sDPath="";
-}
-
-function addToc(sFile)
-{
- gaProj[0].sToc=sFile;
-}
-
-function addIdx(sFile)
-{
- gaProj[0].sIdx=sFile;
-}
-
-function addFts(sFile)
-{
- gaProj[0].sFts=sFile;
-}
-
-function addGlo(sFile)
-{
- gaProj[0].sGlo=sFile;
-}
-
-function addRemoteProject(sProjRelPath)
-{
- if(sProjRelPath.lastIndexOf("/")!=sProjRelPath.length-1)
- sProjRelPath+="/";
- gaProj[gaProj.length]=new project(sProjRelPath);
-}
-
-function project(sPPath)
-{
- this.sPPath=sPPath;
- this.sLangId="";
- this.sDPath="";
- this.sToc="";
- this.sIdx="";
- this.sFts="";
- this.sGlo="";
-}
-
-window.onload=window_OnLoad;
-
-function window_OnLoad()
-{
- gsName=document.location.href;
- gsName=_replaceSlash(gsName);
- var nPos=gsName.lastIndexOf("/");
- if(nPos!=-1)
- gaProj[0].sPPath=gsName.substring(0,nPos+1);
- else
- alert("Error in Loading navigation component. Please regenerate WebHelp.");
- patchPath(gaProj);
- if(parent&&parent!=this&& typeof(parent.putProjectInfo)=="function")
- {
- parent.putProjectInfo(gaProj);
- }
-}
-
-function patchPath(aProj)
-{
- for(var i=1;i<aProj.length;i++)
- {
- aProj[i].sPPath=_getFullPath(gaProj[0].sPPath,aProj[i].sPPath);
- }
-}
\ No newline at end of file
+++ /dev/null
-<?xml version='1.0' encoding='windows-1252' ?>
-<project langid="1033" datapath="whxdata" toc="whtoc.xml" fts="whfts.xml" glossary="whglo.xml" >
-</project>
+++ /dev/null
-// WebHelp 5.10.001
-var gbInited=false;
-var gWndStubPage=null;
-function getStubPage()
-{
- if(!gbInited)
- {
- gWndStubPage=getStubPage_inter(window);
- gbInited=true;
- }
- return gWndStubPage;
-}
-
-function getStubPage_inter(wCurrent)
-{
- if(null==wCurrent.parent||wCurrent.parent==wCurrent)
- return null;
-
- if(typeof(wCurrent.parent.whname)=="string"&&"wh_stub"==wCurrent.parent.whname)
- return wCurrent.parent;
- else
- if(wCurrent.parent.frames.length!=0&&wCurrent.parent!=wCurrent)
- return getStubPage_inter(wCurrent.parent);
- else
- return null;
-}
-
-function RegisterListener(framename,nMessageId)
-{
- var wSP=getStubPage();
- if(wSP&&wSP!=this)
- return wSP.RegisterListener(framename,nMessageId);
- else
- return false;
-}
-
-function RegisterListener2(oframe,nMessageId)
-{
- var wSP=getStubPage();
- if(wSP&&wSP!=this)
- return wSP.RegisterListener2(oframe,nMessageId);
- else
- return false;
-}
-
-function UnRegisterListener2(oframe,nMessageId)
-{
- var wSP=getStubPage();
- if(wSP&&wSP!=this&&wSP.UnRegisterListener2)
- return wSP.UnRegisterListener2(oframe,nMessageId);
- else
- return false;
-}
-
-function SendMessage(oMessage)
-{
- var wSP=getStubPage();
- if(wSP&&wSP!=this&&wSP.SendMessage)
- return wSP.SendMessage(oMessage);
- else
- return false;
-}
-
-var gbWhProxy=true;
-
-var gbPreview=false;
-gbPreview=false;
-if (gbPreview)
- document.oncontextmenu=contextMenu;
-
-function contextMenu()
-{
- return false;
-}
+++ /dev/null
-<?xml version='1.0' encoding='windows-1252' ?>
-<resource>
-<item name="Prev" value="<<" />
-<item name="Hide" value="Hide" />
-<item name="SyncTocTooltip" value="Sync TOC" />
-<item name="InTopicSearchBtnText" value="Go" />
-<item name="FtsInputPrompt" value="Type in the word(s) to search for:" />
-<item name="Done" value="Done" />
-<item name="Logo/Author" value="Powered By" />
-<item name="MergeError1" value="The merged Help system" />
-<item name="JS_alert_cantLoadProject" value="Can't load project:" />
-<item name="Next" value=">>" />
-<item name="SyncToc" value="SyncToc" />
-<item name="MergeError2" value="is using a different language from the master Help system, which will cause the index and full-text search functionality to be disabled in the merged Help system." />
-<item name="nls_body_instruction" value="Enter your question in the text box above, then click GO." />
-<item name="ToolBarSearchBtnText" value="Go" />
-<item name="SuggestViewNoFrameMessage" value="To view the Help system without frames click on this" />
-<item name="Hide_Navigation_Component" value="Hide Navigation Component" />
-<item name="FtsBtnText" value="Go" />
-<item name="TopicsFound" value="Topics Found" />
-<item name="LoadingContentsData" value="Loading, click here to cancel..." />
-<item name="Definition" value="Definition:" />
-<item name="CompletingContents" value="Completing Contents..." />
-<item name="Seperate" value="|" />
-<item name="GeneratedBy" value="Generated by" />
-<item name="PoweredBy" value="Powered by" />
-<item name="IndexAlphabetBookmarks" value="ABCDEFGHIJKLMNOPQRSTUVWXYZ" />
-<item name="Contents" value="Contents" />
-<item name="IndexSelectTopicLabel" value="Select a topic, then click Display" />
-<item name="Disabled Prev" value="<<" />
-<item name="Glossary" value="Glossary" />
-<item name="Search" value="Search" />
-<item name="CantSearch" value="Cannot search for that phrase." />
-<item name="LoadingIndex" value="Loading Index..." />
-<item name="LoadingData" value="Loading data, please wait..." />
-<item name="Show_Navigation_Component" value="Show Navigation Component" />
-<item name="Book" value="Book" />
-<item name="Disabled Next" value=">>" />
-<item name="nls_body_empty" value="Sorry, we were unable to find a good answer for your question." />
-<item name="nls_button_go_hint" value="Go Search" />
-<item name="Find" value="Find" />
-<item name="CantOpenURLorFile" value="Can't open URL or file" />
-<item name="Print" value="Print" />
-<item name="About" value="About" />
-<item name="Author" value="Author" />
-<item name="IndexSelectTopicTitle" value="Select a Topic" />
-<item name="Blank_topic_text" value="This topic was created by WinHelp Project Conversion Wizard, and is the destination of a missing topic or broken hyperlink." />
-<item name="BrowserLimitedMessage" value="Your browser does not support frames. We recommend that you update your browser to a version that supports frames." />
-<item name="LoadingTOCItem" value="Loading Table of Contents:" />
-<item name="Display" value="Display" />
-<item name="Cancel" value="Cancel" />
-<item name="IndexSelectTopicError" value="Please select a topic." />
-<item name="nls_edit_label" value="Type in your question:" />
-<item name="SearchLabel" value="Search" />
-<item name="RelateTopicListPrompt" value="Click a topic, then click Display." />
-<item name="NextTooltip" value="Next Topic" />
-<item name="JS_alert_colorlimitation" value="WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors." />
-<item name="TopicsNotFound" value="No Topics Found." />
-<item name="Show" value="Show" />
-<item name="PreTooltip" value="Previous Topic" />
-<item name="SearchPrompt" value="- Search -" />
-<item name="IndexBtnText" value="Go" />
-<item name="JS_alert_ProjectLoadingFail" value="Could not load correctly, please click Refresh." />
-<item name="LoadingContents" value="Loading contents, please wait..." />
-<item name="Term" value="Term:" />
-<item name="WebSearchButton" value="WebSearch" />
-<item name="Remote_Page" value="Remote Page" />
-<item name="WebSearch" value="WebSearch" />
-<item name="LoadingFTS" value="Reading Search Data..." />
-<item name="Index" value="Index" />
-<item name="JS_alert_ErrorInLoading" value="Error in Loading navigation component. Please regenerate WebHelp." />
-<item name="JS_alert_appletNotLoad" value="Unable to load applet. If you are using an old version of Netscape, the prefs.js file needs to be edited." />
-<item name="IndexInputPrompt" value="Type in the keyword to find:" />
-<item name="Page" value="Page" />
-<item name="SuggestViewNoFrameMsg2" value="hyperlink." />
-<item name="nls_button_go_text" value="Go" />
-<item name="Searching" value="Searching..." />
-
- <item name="English" value="" />
- <item name="langorder" value="0,1,2,3,4,5,6,7,8,40,41,42,43,44,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,38,45,46,47,48,49,50,33,51,52,53,88,54,34,55,56,115,119,121,123,125,126,127,128,129,130,57,58,89,90,91,59,60,131,148,150,154,158,168,171,173,175,185,187,189,191,193,197,214,216,218,220,225,230,240,242,244,246,252,61,62,63,64,66,67,131,148,150,154,158,168,171,173,175,185,187,189,191,193,197,214,216,218,220,225,230,240,242,244,246,252,68,69,70,71,27,114,28,82,170,85,112,109,110,65,113,223,86,213,29,255,30,31,80,81,83,84,111,36,37,79,229,222,87,212,32,254,251,39,72,97,98,99,100,73,101,74,102,133,93,103,35,104,75,105,92,122,124,76,106,107,108,77,120,199,94,116,117,118,78,131,131,131,131,131,131,131,150,158,158,158,158,175,175,175,175,154,193,197,197,197,197,197,95,197,230,230,230,230,246,227,224,131,131,131,131,131,131,131,150,158,158,158,158,175,175,175,175,154,193,197,197,197,197,197,96,197,230,230,230,230,246,227,250," />
-
- <panes show="0">
- <toc />
- <fts />
- <glossary />
- </panes>
-
- <stopwords>
- <word name="a" />
- <word name="about" />
- <word name="after" />
- <word name="against" />
- <word name="all" />
- <word name="also" />
- <word name="among" />
- <word name="an" />
- <word name="and" />
- <word name="are" />
- <word name="as" />
- <word name="at" />
- <word name="be" />
- <word name="became" />
- <word name="because" />
- <word name="been" />
- <word name="between" />
- <word name="but" />
- <word name="by" />
- <word name="can" />
- <word name="come" />
- <word name="do" />
- <word name="during" />
- <word name="each" />
- <word name="early" />
- <word name="for" />
- <word name="form" />
- <word name="found" />
- <word name="from" />
- <word name="had" />
- <word name="has" />
- <word name="have" />
- <word name="he" />
- <word name="her" />
- <word name="his" />
- <word name="however" />
- <word name="in" />
- <word name="include" />
- <word name="into" />
- <word name="is" />
- <word name="it" />
- <word name="its" />
- <word name="late" />
- <word name="later" />
- <word name="made" />
- <word name="many" />
- <word name="may" />
- <word name="me" />
- <word name="med" />
- <word name="more" />
- <word name="most" />
- <word name="near" />
- <word name="no" />
- <word name="non" />
- <word name="not" />
- <word name="of" />
- <word name="on" />
- <word name="only" />
- <word name="or" />
- <word name="other" />
- <word name="over" />
- <word name="several" />
- <word name="she" />
- <word name="some" />
- <word name="such" />
- <word name="than" />
- <word name="that" />
- <word name="the" />
- <word name="their" />
- <word name="then" />
- <word name="there" />
- <word name="these" />
- <word name="they" />
- <word name="this" />
- <word name="through" />
- <word name="to" />
- <word name="under" />
- <word name="until" />
- <word name="use" />
- <word name="was" />
- <word name="we" />
- <word name="were" />
- <word name="when" />
- <word name="where" />
- <word name="which" />
- <word name="who" />
- <word name="with" />
- <word name="you" />
- </stopwords>
-
- <stems>
- <stem name="ed" />
- <stem name="es" />
- <stem name="er" />
- <stem name="e" />
- <stem name="s" />
- <stem name="ingly" />
- <stem name="ing" />
- <stem name="ly" />
- </stems>
-
- <paneskin>
- <background color="" img="" />
- <font name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- <toc>
- <background color="" img="" />
- <icons>
- <book open="whd_toc2.gif" close="whd_toc1.gif" />
- <item local="whd_toc3.gif" remote="whd_toc4.gif" />
- <newbook open="whd_toc2.gif" close="whd_toc1.gif" />
- <newitem local="whd_toc3.gif" remote="whd_toc4.gif" />
- </icons>
- <fonts>
- <normal name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- <hover name="Arial" size="9pt" color="#007f00" style="normal" weight="normal" decoration="underline" />
- </fonts>
- <activebackgroundcolor attr="#cccccc" />
- <margin attr="0pt" />
- <indent attr="9pt" />
- </toc>
- <index>
- <form>
- <fonts>
- <title name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- </fonts>
- <button normal="" hover="" />
- <editwith value="28" />
- </form>
- <background color="" img="" />
- <fonts>
- <normal name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- <hover name="Arial" size="9pt" color="#007f00" style="normal" weight="normal" decoration="underline" />
- <empty name="Arial" size="9pt" color="#666666" style="normal" weight="normal" decoration="none" />
- </fonts>
- <activebackgroundcolor attr="#cccccc" />
- <margin attr="0pt" />
- <indent attr="9pt" />
- </index>
- <fts>
- <form>
- <fonts>
- <title name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- </fonts>
- <button normal="" hover="" />
- <editwith value="28" />
- </form>
- <background color="" img="" />
- <fonts>
- <normal name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- <hover name="Arial" size="9pt" color="#007f00" style="normal" weight="normal" decoration="underline" />
- <error name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- </fonts>
- <activebackgroundcolor attr="#cccccc" />
- <margin attr="0pt" />
- <indent attr="9pt" />
- </fts>
- <glossary>
- <background color="" img="" />
- <fonts>
- <normal name="Arial" size="9pt" color="#000000" style="normal" weight="normal" decoration="none" />
- <hover name="Arial" size="9pt" color="#007f00" style="normal" weight="normal" decoration="underline" />
- </fonts>
- <activebackgroundcolor attr="#cccccc" />
- <margin attr="0pt" />
- <indent attr="9pt" />
- </glossary>
- </paneskin>
-</resource>
+++ /dev/null
-<html>
-<head>
-<title>Blank Page</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<body>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Geometry Module Reference Manual</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-</head>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whstub.js"></script><script language="javascript1.2" src="whstart.js"></script>
-<script language="javascript">
-<!--
-var strDefaultTopic = "about:blank";
-var nWebhelpNavPaneMode = 1; //1: DHTML 2:Applet 3:PureHTML 4:Noframeset
-var bNoApplet = false;
-var strPaneDHTML = "whd_nvp10.htm"; //whd_nvp10.htm if tab enabled, whnframe.htm if tab disabled.
-var strPaneApplet = "whd_nvp20.htm";
-var strPaneList = "whgdata/whnvp30.htm";
-
-var strHTML = "";
-var strPane = "";
-var nViewFrameType = -1;
-
-function CMRServer()
-{
- this.m_cAgents = new Array;
-}
-var cMRServer = new CMRServer;
-
-//figure out which mode is the best
-if (!window.gAgent)
-{
- // low end browser, we don't even try to determine it.
- document.location = "whnjs.htm";
-}
-else
-{
- if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)
- document.location = "whnjs.htm";
- else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))
- document.location = "whnjs.htm";
- else if (gbMac && gbIE4 && !gbIE5)
- document.location = "whnjs.htm";
- //figure out which mode is the best
- else
- {
- nViewFrameType=nWebhelpNavPaneMode;
- if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)
- {
- var gbDHTML=(nWebhelpNavPaneMode==1);
- if (gbNav4) nViewFrameType = 2;
- if (gbNav4&&(gnVerMinor < 4.1)) nViewFrameType = 3;
- if (gbNav4&&(gnVerMinor == 4.6)) nViewFrameType = 3;
- if (gbIE4&&gbDHTML) nViewFrameType = 1;
- if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2) nViewFrameType = 3;
- if (gbNav6&&gbDHTML) nViewFrameType = 1;
- if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2) nViewFrameType = 3;
- if (gbMac) nViewFrameType = 3;
- if (gbOpera7&&nViewFrameType == 2) nViewFrameType = 3;
- if ((bNoApplet)&&(nViewFrameType == 2)) nViewFrameType = 3;
- }
- }
-}
-
-if (nViewFrameType!=-1)
-{
- var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));
- //The colordepth of the 16 color on Windows is 1.
- if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))
- {
- alert("WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors.");
- nViewFrameType = 3;
- }
-
- //figure out which one is navpane
- if (nViewFrameType == 1)
- strPane = strPaneDHTML;
- else if (nViewFrameType == 2)
- strPane = strPaneApplet;
- else
- strPane = strPaneList;
-
- var oParam = new Object();
- oParam.sTopic = "";
- var oMsg = new whMessage(WH_MSG_GETDEFAULTTOPIC, window, 1, oParam);
- if (SendMessage(oMsg) && oParam.sTopic != "")
- strDefaultTopic = oParam.sTopic;
-
-
- if (nViewFrameType == 1)
- {
- //DHTML (iframe or xml based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" frameborder=\"1\">";
- strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane + "\" scrolling=\"no\"></frame>";
- strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";
- }
- else if (nViewFrameType == 2)
- {
- //applet (xml based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\" framespacing=\"0\" frameborder=\"0\" border=\"0\">";
- strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane+ "\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\"></frame>";
- strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";
- }
- else if (nViewFrameType == 3)
- {
- //generic html (pure html based)
- strHTML += "<frameset id=\"whPfset\" cols=\"260,*\">";
- strHTML += "<frame title=\"navigation frame\" src=\"" + strPane + "\" name=\"bsscleft\" scrolling=\"no\"></frame>";
- strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" scrolling=\"auto\"></frame>";
- strHTML += "</frameset>";
- }
- else if (nViewFrameType == 4)
- {
- //no navipane at all
- strHTML += "<frameset id=\"whPfset\" border=\"0\" cols=\"100%,*\">";
- strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" framespacing=\"0\" frameborder=\"0\" border=\"0\" scrolling=\"auto\">";
- strHTML += "</frameset>";
- }
-
- document.write(strHTML);
-
- RegisterListener2(window, WH_MSG_SHOWPANE);
- RegisterListener2(window, WH_MSG_HIDEPANE);
- RegisterListener2(window, WH_MSG_ISPANEVISIBLE);
- window.onunload = window_unload;
-}
-
-function window_unload()
-{
- UnRegisterListener2(window, WH_MSG_SHOWPANE);
- UnRegisterListener2(window, WH_MSG_HIDEPANE);
- UnRegisterListener2(window, WH_MSG_ISPANEVISIBLE);
-}
-
-
-function onSendMessage(oMsg)
-{
- var nMsgId = oMsg.nMessageId;
- if (nMsgId == WH_MSG_SHOWPANE)
- {
- getElement("whPfset").cols = "260,*";
- var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "visible");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_GETPANEINFO, this, 1, "");
- if (SendMessage(onMsg))
- {
- onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, onMsg.oParam);
- SendMessage(onMsg);
- }
- return false;
- }
- else if (nMsgId == WH_MSG_HIDEPANE)
- {
- getElement("whPfset").cols = "0,*";
- var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "invisible");
- SendMessage(onMsg);
- onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, "");
- SendMessage(onMsg);
- return false;
- }
- else if (nMsgId == WH_MSG_ISPANEVISIBLE)
- {
- var n = parseInt(getElement("whPfset").cols);
- if (n > 0)
- {
- oMsg.oParam.bVisible = true;
- }
- return false;
- }
- return true;
-}
-//-->
-</script>
-<body>
-<noscript>
- <p> It seems javascript is disabled in your browser, please enable it and reload again, or click <a href="whnjs.htm">here</a> to view without javascript</p>
-</noscript>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>WebHelp 5.50 </title>
-<meta name="description" content="output from robohelp">
-<meta name="keywords" content="robohelp,webhelp,webhelp enterprise,roboinfo">
-</head>
-<body>
-<h1> WebHelp 5.50 System Info </h1>
-<table>
-<tr><td> Start Page </td><td>index.htm</td></tr>
-<tr><td> Skin Name </td><td></td></tr>
-<tr><td> Generating Time </td><td>12:40 05/22/2006</td></tr>
-<tr><td> Language ID </td><td>1033</td></tr>
-<tr><td> Compile Script </td><td>webhelp5_compile_script.xml</td></tr>
-<tr><td> Compile Build Version </td><td>13.10.606</td></tr>
-<tr><td> Product Name </td><td>WebHelp 5.50</td></tr>
-<tr><td> Authoring Tool Name </td><td>RoboHelp X5</td></tr>
-<table>
-</body>
-</html>
+++ /dev/null
-<html>
-<head>
-<title>Select a Topic </title>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript">
-<!--
-var gsBgColor = "#c0c0c0";
-var gsBgImage = "";
-var gsListBgColor = "white";
-var gsListBgImage = "";
-var gsMargin="0pt";
-var gsIndent="0pt";
-var gSelectedItem = -1;
-
-
-var goFont=null;
-var goHoverFont=null;
-var goTableFont=null;
-var gsABgColor="#cccccc";
-
-function setListBackground(sBgImage)
-{
- if (sBgImage != null && sBgImage.length > 0)
- gsListBgImage = sBgImage;
-}
-
-function setListBackgroundcolor(sBgColor)
-{
- if (sBgColor != null && sBgColor.length > 0)
- gsListBgColor = sBgColor;
-}
-
-function setBackground(sBgImage)
-{
- if (sBgImage != null && sBgImage.length > 0)
- gsBgImage = sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- if (sBgColor != null && sBgColor.length > 0)
- gsBgColor = sBgColor;
-}
-
-function setActiveBgColor(sBgColor)
-{
- gsABgColor=sBgColor;
-}
-
-function setFont(sType, sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if (sType == "Normal")
- goFont=vFont;
- if (sType == "Hover")
- goHoverFont=vFont;
- else if (sType == "Table")
- goTableFont=vFont;
-}
-
-function fnOnload()
-{
- if( window.dialogArguments != null )
- fnLoadOptions( window.dialogArguments );
- var items = getElementsByTag(document, "a");
- if (items.length > 0)
- items[0].focus();
-}
-
-var gaOpts = new Array();
-
-function selectOption(index)
-{
- gSelectedItem = index;
-}
-
-function displayOption(index)
-{
- if (index < gaOpts.length)
- {
- returnValue = new Object();
- returnValue.m_url = gaOpts[index];
- }
- else
- returnValue = null;
-
- window.close();
-}
-
-function fnLoadOptions( cList )
-{
- var sHTML = "<dl>";
- for( var i=0;i <cList.length; i++)
- {
- sHTML += "<dt><nobr><a href=\"javascript:void(0);\" onclick=\"return false;\" onfocus=\"selectOption(";
- sHTML += gaOpts.length + ");return false;\" ondblclick=\"displayOption(" + gaOpts.length;
- sHTML += ");return false;\">"+ _textToHtml(cList[i].m_sName) + "</a></nobr></dt>";
- gaOpts[gaOpts.length] = cList[i].m_sURL;
- }
- sHTML += "</dl>";
- var oDivCon=getElement("divlist");
- if(oDivCon)
- oDivCon.innerHTML=sHTML;
- return true;
-}
-
-function fnOK()
-{
- displayOption(gSelectedItem);
-}
-
-function fnCancel()
-{
- returnValue = null; window.close();
-}
-
-function fnOnKeypress()
-{
- switch( event.keyCode )
- {
- case 13: // enter key
- fnOK();
- break;
- case 27: // escape key
- fnCancel();
- break;
- }
-}
-
-function writeStyle(bMiniBar)
-{
- var sStyle="";
- sStyle+="<style type='text/css'>\n";
- sStyle+="<!--\n";
- sStyle+="body.clsbody\n";
- sStyle+="{\n";
- sStyle+="margin: 4px;\n";
- sStyle+=getFontStyle(goTableFont);
- sStyle+="background-attachment: fixed;\n";
- sStyle+="};\n";
- sStyle+="P.clsNDXTD\n";
- sStyle+="{\n";
- sStyle+="margin:0;\n";
- sStyle+=getFontStyle(goTableFont);
- sStyle+="};\n";
- sStyle+="div.clslist\n";
- sStyle+="{\n";
- if (gsListBgImage)
- sStyle+="background-image:url("+gsListBgImage+");\n";
- else if (gsListBgColor)
- sStyle+="background-color:"+gsListBgColor+";\n";
- sStyle+=getFontStyle(goFont);
- sStyle+="};\n";
- sStyle+="BUTTON.clsNDXButton\n";
- sStyle+="{\n";
- sStyle+=getFontStyle(goTableFont);
- sStyle+="background-color: transparent;\n";
- sStyle+="};\n";
- sStyle+="dl {"+getFontStyle(goFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";
- sStyle+="A:link {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:active {background-color:"+gsABgColor+";}\n";
- sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";
- sStyle+="</style>\n";
- document.write(sStyle);
-}
-
-function window_OnLoad()
-{
- if(document.body)
- {
- if(gsBgImage&&gsBgImage.length>0)
- {
- document.body.background=gsBgImage;
- }
- if(gsBgColor&&gsBgColor.length>0)
- {
- document.body.bgColor=gsBgColor;
- }
- }
- fnOnload();
- window_onResize();
-}
-
-function window_onResize()
-{
- var oDiv = getElement("divlist");
- var oTitle = getElement("p_title");
- var oButton = getElement("tb_button");
- if (oDiv && oTitle && oButton)
- {
- oDiv.style.height = document.body.offsetHeight - oTitle.offsetHeight - oButton.offsetHeight - 8;
- }
-}
-goTableFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
-goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
-goHoverFont=new whFont("Verdana","8pt","#666666","normal","normal","none");
-
-
-
-
-setFont("Table", "Arial","9pt","#000000","normal","normal","none");
-
-
-setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
-setFont("Hover", "Arial","9pt","#007f00","normal","normal","underline");
-setActiveBgColor("#cccccc");
-
-window.onload=window_OnLoad;
-window.onresize = window_onResize;
-writeStyle();
-//-->
-</script>
-</head>
-
-<body class="clsbody" scroll="no" onkeypress="fnOnKeypress()">
-<p id="p_title" class="clsNDXTD"><nobr>Select a topic, then click Display</nobr></p>
-<div id="divlist" class="clslist" style="margin:2px;position: relative;overflow:auto;width:100%;border-style:inset;border-width:2">
-</div>
-<table id="tb_button" width="100%">
- <tr>
- <td width="100%" align="center"><button class="clsNDXButton" name="btnOK" onclick="fnOK()">Display</button>   <button class="clsNDXButton" name="btnCancel" onclick="fnCancel()">Cancel</button></td>
- </tr>
-</table>
-
-</body>
-
-</html>
+++ /dev/null
-<html>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2">
-<!--
-var gsTopic="";
-
-if (location.hash.length > 1)
-{
- var nPos = location.hash.indexOf(">>");
- if (nPos>1)
- {
- gsTopic = location.hash.substring(1, nPos);
- parseParam(location.hash.substring(nPos+2));
- }
- else
- gsTopic = location.hash.substring(1);
-}
-
-
- var strHtml="";
- strHtml+="<frameset rows=\'100%,*\'>";
- strHtml+="<frame name=\'topicwindow\' src=\'" + gsTopic +"\'></frame>";
- strHtml+="<frame src=\'whskin_blank.htm\' noresize></frame>";
- strHtml+="</frameset>";
- document.write(strHtml);
-
-function parseParam(sParam)
-{
- if (sParam)
- {
- var nBPos=0;
- do
- {
- var nPos=sParam.indexOf(">>", nBPos);
- if (nPos!=-1)
- {
- if (nPos>0)
- {
- var sPart=sParam.substring(nBPos, nPos);
- parsePart(sPart);
- }
- nBPos = nPos + 2;
- }
- else
- {
- var sPart=sParam.substring(nBPos);
- parsePart(sPart);
- break;
- }
- } while(nBPos < sParam.length);
- }
-}
-
-function parsePart(sPart)
-{
- if(sPart.toLowerCase().indexOf("cap=")==0)
- {
- document.title=_browserStringToText(sPart.substring(4));
- }
-}
-//-->
-</script>
-</html>
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.003
-RegisterListener2(this, WH_MSG_GETSTARTFRAME);
-RegisterListener2(this, WH_MSG_GETDEFAULTTOPIC);
-RegisterListener2(this, WH_MSG_MINIBARORDER);
-RegisterListener2(this, WH_MSG_TOOLBARORDER);
-RegisterListener2(this, WH_MSG_ISSEARCHSUPPORT);
-RegisterListener2(this, WH_MSG_ISSYNCSSUPPORT);
-RegisterListener2(this, WH_MSG_ISAVENUESUPPORT);
-RegisterListener2(this, WH_MSG_GETPANETYPE);
-RegisterListener2(this, WH_MSG_GETPANES);
-RegisterListener2(this, WH_MSG_RELOADNS6);
-RegisterListener2(this, WH_MSG_GETCMD);
-RegisterListener2(this, WH_MSG_GETPANE);
-RegisterListener2(this, WH_MSG_GETDEFPANE);
-
-if (gbNav6)
-{
- var gnReload=0;
- setTimeout("delayReload();",5000);
-}
-
-function delayReload()
-{
- if (!(this.cMRServer && cMRServer.m_strVersion))
- {
- if(gnReload!=2)
- {
- if(nViewFrameType&&nViewFrameType==1)
- document.location=document.location;
- }
- }
-}
-
-var gsToolbarOrder = "";
-var gsMinibarOrder = "";
-
-var gsTopic = "geometry.htm";
-var PANE_OPT_SEARCH = 1;
-var PANE_OPT_BROWSESEQ = 2;
-var gnOpts=-1;
-var gnCmd=-1;
-var gnPans=2;
-var gsBtns="invalid";
-var gsDefaultBtn="invalid";
-var gbHasTitle=false;
-
-if (location.hash.length > 1)
-{
- var sParam = location.hash;
- if (sParam.indexOf("#<") == 0)
- {
- document.location = "whcsh_home.htm#" + sParam.substring(2);
- }
- else if (sParam.indexOf("#>>") == 0)
- {
- parseParam(sParam.substring(3));
- sParam = "#" + gsTopic + sParam.substring(1);
- }
- else
- {
- var nPos = sParam.indexOf(">>");
- if (nPos>1)
- {
- gsTopic = sParam.substring(1, nPos);
- parseParam(sParam.substring(nPos+2));
- }
- else
- gsTopic = sParam.substring(1);
- }
- if (gnPans == 1 && gsTopic)
- {
- var strURL=location.href;
- if (location.hash)
- {
- var nPos=location.href.indexOf(location.hash);
- strURL=strURL.substring(0, nPos);
- }
- if (gbHasTitle)
- document.location=_getPath(strURL)+ "whskin_tw.htm" + sParam;
- else
- document.location=_getPath(strURL)+ gsTopic;
- }
-}
-
-function parseParam(sParam)
-{
- if (sParam)
- {
- var nBPos=0;
- do
- {
- var nPos=sParam.indexOf(">>", nBPos);
- if (nPos!=-1)
- {
- if (nPos>0)
- {
- var sPart=sParam.substring(nBPos, nPos);
- parsePart(sPart);
- }
- nBPos = nPos + 2;
- }
- else
- {
- var sPart=sParam.substring(nBPos);
- parsePart(sPart);
- break;
- }
- } while(nBPos < sParam.length);
- }
-}
-
-function parsePart(sPart)
-{
- if(sPart.toLowerCase().indexOf("cmd=")==0)
- {
- gnCmd=parseInt(sPart.substring(4));
- }
- else if(sPart.toLowerCase().indexOf("cap=")==0)
- {
- document.title=_browserStringToText(sPart.substring(4));
- gbHasTitle=true;
- }
- else if(sPart.toLowerCase().indexOf("pan=")==0)
- {
- gnPans=parseInt(sPart.substring(4));
- }
- else if(sPart.toLowerCase().indexOf("pot=")==0)
- {
- gnOpts=parseInt(sPart.substring(4));
- }
- else if(sPart.toLowerCase().indexOf("pbs=")==0)
- {
- var sRawBtns = sPart.substring(4);
- var aBtns = sRawBtns.split("|");
- for (var i=0;i<aBtns.length;i++)
- {
- aBtns[i] = transferAgentNameToPaneName(aBtns[i]);
- }
- gsRawBtns = aBtns.join("|");
- }
- else if(sPart.toLowerCase().indexOf("pdb=")==0)
- {
- gsDefaultBtn=transferAgentNameToPaneName(sPart.substring(4));
- }
-}
-
-function setToolbarOrder(sOrder)
-{
- gsToolbarOrder = sOrder;
-}
-
-function setMinibarOrder(sOrder)
-{
- gsMinibarOrder = sOrder;
-}
-
-function onSendMessageX(oMsg)
-{
- var nMsgId = oMsg.nMessageId;
- if (nMsgId == WH_MSG_GETSTARTFRAME)
- {
- oMsg.oParam.oFrame = this;
- return false;
- }
- else if (nMsgId == WH_MSG_GETDEFAULTTOPIC)
- {
- if (this.cMRServer && cMRServer.m_strVersion)
- {
- if (cMRServer.m_strURLTopic);
- {
- oMsg.oParam.sTopic = cMRServer.m_strURLTopic;
- return false;
- }
-
- }
- oMsg.oParam.sTopic = gsTopic;
- return false;
- }
- else if (nMsgId == WH_MSG_TOOLBARORDER)
- {
- var oMsg1 = new whMessage(WH_MSG_GETPANES, this, 1, null);
- if (SendMessage(oMsg1))
- {
- if (oMsg1.oParam)
- {
- if (this.cMRServer && cMRServer.m_strVersion)
- {
- var aToolbarOrder=cMRServer.m_strAgentList.split(";");
- var i=0;
- for (i=0;i<aToolbarOrder.length;i++)
- aToolbarOrder[i]=transferANToPN2(aToolbarOrder[i]);
- aToolbarOrder[aToolbarOrder.length] = "blankblock";
- if (cMRServer.m_bShowSearchInput)
- {
- aToolbarOrder[aToolbarOrder.length] = "searchform";
- }
- aToolbarOrder[aToolbarOrder.length] = "banner";
- var aToolbarOrderNew = new Array();
- for (i=0;i<aToolbarOrder.length;i++)
- {
- if (isAPane(aToolbarOrder[i]))
- {
- if (oMsg1.oParam.aPanes && oMsg1.oParam.aPanes.length)
- {
- for (var j=0;j<oMsg1.oParam.aPanes.length;j++)
- {
- if (aToolbarOrder[i] == oMsg1.oParam.aPanes[j].sPaneName)
- {
- aToolbarOrderNew[aToolbarOrderNew.length] = aToolbarOrder[i];
- break;
- }
- }
- }
- }
- else
- aToolbarOrderNew[aToolbarOrderNew.length] = aToolbarOrder[i];
- }
- oMsg.oParam = aToolbarOrderNew.join("|");
- return false;
- }
- }
- }
- var sParam="";
- if (gsBtns!="invalid")
- sParam=gsBtns+"|blankblock|banner";
- else
- sParam = gsToolbarOrder;
-
- if (gnOpts!=-1)
- {
- var nPosForm=sParam.indexOf("|searchform|");
- if (gnOpts&PANE_OPT_SEARCH)
- {
- if (nPosForm == -1 && sParam.indexOf("|fts|") != -1)
- {
- var nPos=sParam.indexOf("banner");
- if (nPos!=-1)
- {
- sParam=sParam.substring(0, nPos) + "searchform|" + sParam.substring(nPos);
- }
- }
- }
- else
- {
- if (nPosForm!=-1)
- {
- sParam=sParam.substring(0,nPosForm) + sParam.substring(nPosForm+11);
- }
- }
- }
- oMsg.oParam=sParam;
- return false;
- }
- else if (nMsgId == WH_MSG_MINIBARORDER)
- {
- var sMinParam=gsMinibarOrder;
- if (gnOpts!=-1)
- {
- var nPosBro=gsMinibarOrder.indexOf("avprev|avnext");
- if (gnOpts&PANE_OPT_BROWSESEQ)
- {
- if (nPosBro==-1)
- {
- sMinParam ="avprev|avnext|" + gsMinibarOrder;
- }
- }
- else
- {
- if (nPosBro!=-1)
- {
- if (nPosBro!=0)
- sMinParam=gsMinibarOrder.substring(0, nPosBro) + gsMinibarOrder.substring(nPosBro+14);
- else
- sMinParam=gsMinibarOrder.substring(14);
- }
- }
- }
- oMsg.oParam = sMinParam;
- return false;
- }
- else if (nMsgId == WH_MSG_ISSYNCSSUPPORT)
- {
- if (this.cMRServer && cMRServer.m_strVersion)
- {
- if (cMRServer.m_bShowSync)
- oMsg.oParam=true;
- else
- oMsg.oParam=false;
- return false;
- }
- else
- {
- if(typeof(nViewFrameType)!="undefined")
- {
- oMsg.oParam= (nViewFrameType < 3);
- return false;
- }
- }
- }
- else if (nMsgId == WH_MSG_ISAVENUESUPPORT)
- {
- if (this.cMRServer && cMRServer.m_strVersion)
- {
- if (cMRServer.m_bShowBrowseSequences)
- oMsg.oParam=true;
- else
- oMsg.oParam=false;
- }
- else
- {
- oMsg.oParam=true;
- }
- return false;
- }
- else if (nMsgId == WH_MSG_ISSEARCHSUPPORT)
- {
- if(typeof(nViewFrameType)!="undefined")
- {
- oMsg.oParam= (nViewFrameType < 3);
- return false;
- }
- }
- else if (nMsgId == WH_MSG_GETPANETYPE)
- {
- if(typeof(nViewFrameType)!="undefined")
- {
- var oPaneInfo = new Object();
- oPaneInfo.nType = nViewFrameType;
- oPaneInfo.sPaneURL = strPane;
- oMsg.oParam = oPaneInfo;
- return false;
- }
- }
- else if (nMsgId == WH_MSG_GETPANES)
- {
- if (this.cMRServer && cMRServer.m_strVersion)
- {
- var oPanes = new Object();
- var aAgentNames = null;
- if (cMRServer.m_strDefAgent)
- oPanes.sDefault = transferAgentNameToPaneName(cMRServer.m_strDefAgent);
-
- aPanes = new Array();
- for(var i=0; i< cMRServer.m_cAgents.length; i++)
- {
- var nCur = aPanes.length;
- aPanes[nCur] = new Object();
- aPanes[nCur].sPaneName = transferAgentNameToPaneName(cMRServer.m_cAgents[i].m_strID);
- aPanes[nCur].sPaneURL = cMRServer.m_cAgents[i].m_strURL;
- }
- oPanes.aPanes = aPanes;
- oMsg.oParam = oPanes;
- return false;
- }
- else
- {
- oMsg.oParam = null;
- return false;
- }
- }
- else if(nMsgId==WH_MSG_RELOADNS6)
- {
- if(gbNav6)
- gnReload++;
- return false;
- }
- else if(nMsgId==WH_MSG_GETCMD)
- {
- oMsg.oParam=gnCmd;
- return false;
- }
- else if(nMsgId==WH_MSG_GETPANE)
- {
- if (gsBtns!="invalid" && oMsg.oParam.sName)
- {
- if(gsBtns.indexOf(oMsg.oParam.sName) != -1)
- oMsg.oParam.bEnable=true;
- else
- oMsg.oParam.bEnable=false;
- }
- else
- oMsg.oParam.bEnable=true;
- return false;
- }
- else if(nMsgId==WH_MSG_GETDEFPANE)
- {
- if (gsDefaultBtn!="invalid")
- {
- oMsg.oParam=gsDefaultBtn;
- }
- return false;
- }
- return true;
-}
-
-function transferANToPN2(sAN)
-{
- if (sAN =="toc")
- return "toc";
- else if (sAN =="ndx")
- return "idx";
- else if (sAN =="nls")
- return "fts";
- else if (sAN =="gls")
- return "glo";
- else if (sAN =="WebSearch")
- return "websearch";
- else if (sAN.indexOf("custom_")==0);
- return "custom" + sAN.substring(7);
- return sAN;
-}
-
-function transferAgentNameToPaneName(sAgentName)
-{
- if (sAgentName =="toc")
- return "toc";
- else if (sAgentName =="ndx")
- return "idx";
- else if (sAgentName =="nls")
- return "fts";
- else if (sAgentName =="gls")
- return "glo";
- return "";
-}
-
-function isAPane(sPaneName)
-{
- if (sPaneName == "toc" || sPaneName == "idx" || sPaneName == "fts" || sPaneName == "glo")
- return true;
- else
- return false;
-}
+++ /dev/null
-// WebHelp 5.10.002
-window.whname="wh_stub";
-function getframehandle(frames,framename)
-{
- var frame=null;
- if(null==frames) return null;
- for(var i=0;i<frames.length;i++)
- {
- if(typeof(frames[i].name)!="unknown")
- {
- if(frames[i].name==framename)
- return frames[i];
- }
- if(frames[i].frames.length>0)
- {
- frame=getframehandle(frames[i].frames,framename);
- if(null!=frame)
- return frame;
- }
- }
- return frame;
-}
-
-function AddToArray(arr,obj)
-{
- var bFound=false;
- for(var i=0;i<arr.length;i++){
- if(arr[i]==obj){
- bFound=true;
- break;
- }
- else if(arr[i]==null){
- break;
- }
- }
- if(!bFound) arr[i]=obj;
-}
-
-var gArrayRegistedMessage=new Array();
-var gArrayCompoentsArray=new Array();
-
-function GetComponentsArray(nMessageId)
-{
- var len=gArrayRegistedMessage.length;
- for(var i=0;i<len;i++)
- {
- if(gArrayRegistedMessage[i]==nMessageId){
- if(gArrayCompoentsArray.length>i)
- return gArrayCompoentsArray[i];
- else
- return null;
- }
- }
- return null;
-}
-
-function CreateComponentsArray(nMessageId)
-{
- var len=gArrayRegistedMessage.length;
- gArrayRegistedMessage[len]=nMessageId;
- gArrayCompoentsArray[len]=new Array();
- return gArrayCompoentsArray[len];
-}
-
-function listener(sName,oWindow)
-{
- this.sName=sName;
- this.oWindow=oWindow;
-}
-
-function RegisterListener(windowName,nMessageId)
-{
- var arrayComponents=GetComponentsArray(nMessageId);
- if(arrayComponents==null)
- arrayComponents=CreateComponentsArray(nMessageId);
-
- if(arrayComponents!=null)
- {
- for (var i=0;i<arrayComponents.length;i++)
- {
- if (arrayComponents[i].sName == windowName)
- return false;
- }
- var oListener=new listener(windowName,null);
- AddToArray(arrayComponents,oListener);
- return true;
- }
- else
- return false;
-}
-
-function RegisterListener2(oWindow,nMessageId)
-{
- var arrayComponents=GetComponentsArray(nMessageId);
- if(arrayComponents==null)
- arrayComponents=CreateComponentsArray(nMessageId);
-
- if(arrayComponents!=null)
- {
- var oListener=new listener("",oWindow);
- AddToArray(arrayComponents,oListener);
- return true;
- }
- else
- return false;
-}
-
-function UnRegisterListener2(oWindow,nMessageId)
-{
- var arrayComponents=GetComponentsArray(nMessageId);
- if(arrayComponents!=null)
- {
- for(var i=0;i<arrayComponents.length;i++)
- {
- if(arrayComponents[i].oWindow==oWindow)
- {
- removeItemFromArray(arrayComponents,i);
- return true;
- }
- }
- }
- else
- return false;
-}
-
-function SendMessage(oMessage)
-{
- var bDelivered=false;
- var arrayComponents=GetComponentsArray(oMessage.nMessageId);
- if(arrayComponents!=null&&arrayComponents.length>0){
- for(var i=0;i<arrayComponents.length;i++)
- {
- if(null!=arrayComponents[i])
- {
- var pFrame;
- if(arrayComponents[i].oWindow==null)
- pFrame=getframehandle(frames,arrayComponents[i].sName);
- else
- pFrame=arrayComponents[i].oWindow;
- if(null!=pFrame)
- {
- if(pFrame.onSendMessageX)
- {
- bDelivered=true;
- if(!pFrame.onSendMessageX(oMessage))
- break;
- }
- if(pFrame.onSendMessage)
- {
- bDelivered=true;
- if(!pFrame.onSendMessage(oMessage))
- break;
- }
- }
- }
- }
- }
- return bDelivered;
-}
\ No newline at end of file
+++ /dev/null
-<html>
-<head>
-<title>Table of contents</title>
-
-<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
-<meta name="description" content="WebHelp 5.50">
-<base target="bsscright">
-</head>
-<script language="javascript" src="whver.js"></script>
-<script language="javascript1.2" src="whmozemu.js"></script>
-<script language="javascript1.2" src="whutils.js"></script>
-<script language="javascript1.2" src="whmsg.js"></script>
-<script language="javascript1.2" src="whproxy.js"></script>
-<script language="javascript1.2" src="whthost.js"></script>
-<script LANGUAGE="javascript1.2">
-<!--
-if (window.gbWhTHost)
-{
-
-
- setFont("Normal", "Arial","9pt","#000000","normal","normal","none");
- setFont("Hover", "Arial","9pt","#007f00","normal","normal","underline");
- setActiveBgColor("#cccccc");
- setMargin("0pt");
- setIndent("9pt");
- setIcon("BookOpen","whd_toc2.gif");
- setIcon("BookClose","whd_toc1.gif");
- setIcon("Item","whd_toc3.gif");
- setIcon("RemoteItem","whd_toc4.gif");
- setIcon("NewBookOpen","whd_toc2.gif");
- setIcon("NewBookClose","whd_toc1.gif");
- setIcon("NewItem","whd_toc3.gif");
- setIcon("NewRemoteItem","whd_toc4.gif");
- TocWriteClassStyle();
- TocWriteFixedWidth(true,400);
-}
-else
- document.location.reload();
-//-->
-</script>
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" bgcolor="white" scroll="auto">
-<script LANGUAGE="javascript1.2">
-<!--
-TocWriteFixedWidth(false,400);
-TocInitPage();
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-// WebHelp 5.10.007
-var gaHSLoad=new Array();
-var gnMinIdx=0;
-var gnInsIdx=-1;
-var gsLoadingDivID="LoadingDiv";
-var gsLoadingMsg="Loading, click here to cancel...";
-var gaProj=null;
-var gaTocs=new Array();
-var goChunk=null;
-var gbReady=false;
-var gbToc=false;
-var gbXML=false;
-var gaRoot=new Array();
-var gnCC=-1;
-var gsTP="";
-var gaBTPs="";
-var gsCTPath="";
-var gnLT=-1;
-var gsPathSplit="\n";
-var gsBgColor="#ffffff";
-var gsBgImage="";
-var goFont=null;
-var goHFont=null;
-
-var gsMargin="0pt";
-var gsIndent="15pt";
-var gsABgColor="#cccccc";
-
-var giBookClose="";
-var giBookOpen="";
-var giBookItem="";
-var giURLItem="";
-var giNewBookClose="";
-var giNewBookOpen="";
-var giNewBookItem="";
-var giNewURLItem="";
-var gnImages=0;
-var gnLoadedImages=0;
-var gaImgs=new Array();
-var gbLoadData=false;
-var gobj=null;
-var gaTocsNs61Fix=null;
-var gbWhTHost=false;
-var gBookItems=new Array();
-var gInSync=false;
-var gbLData=false;
-var gbNeedFillStub=false;
-var gbLoadToc=false;
-
-function chunkInfoQueue()
-{
- this.aContent=new Array();
- this.inQueue=function(cInfo)
- {
- this.aContent[this.aContent.length]=cInfo;
- }
- this.deQueue=function()
- {
- var cInfo=null;
- if(this.aContent.length>0)
- {
- cInfo=this.aContent[0];
- for(var i=1;i<this.aContent.length;i++)
- this.aContent[i-1]=this.aContent[i];
- this.aContent.length--;
- }
- return cInfo;
- }
- this.length=function()
- {
- return this.aContent.length;
- }
-}
-
-var gchunkRequestQueue=new chunkInfoQueue();
-
-function chunkInfo(nIdx, bLocal)
-{
- this.nIdx=nIdx;
- this.bLocal=bLocal;
-}
-
-function setBackground(sBgImage)
-{
- gsBgImage=sBgImage;
-}
-
-function setBackgroundcolor(sBgColor)
-{
- gsBgColor=sBgColor;
-}
-
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- if(sType=="Normal") goFont=vFont;
- else if(sType=="Hover") goHFont=vFont;
-}
-
-function setActiveBgColor(sBgColor){gsABgColor=sBgColor;}
-
-function setMargin(sMargin){gsMargin=sMargin;}
-
-function setIndent(sIndent){gsIndent=sIndent;}
-
-function setIcon(sType,sURL)
-{
- if(sType=="BookOpen")
- giBookOpen=sURL;
- else if(sType=="BookClose")
- giBookClose=sURL;
- else if(sType=="Item")
- giBookItem=sURL;
- else if(sType=="RemoteItem")
- giURLItem=sURL;
- else if(sType=="NewBookClose")
- giNewBookClose=sURL;
- else if(sType=="NewBookOpen")
- giNewBookOpen=sURL;
- else if(sType=="NewItem")
- giNewBookItem=sURL;
- else if(sType=="NewRemoteItem")
- giNewURLItem=sURL;
-}
-
-function bookItem(sTarget,sURL)
-{
- if(sTarget)
- this.sTarget=sTarget;
- else
- this.sTarget="bsscright";
- this.sURL=sURL;
-}
-
-function addBookItem(sBookId,sTarget,sURL)
-{
- gBookItems[sBookId]=new bookItem(sTarget,sURL);
-}
-
-function tocChunk(sPPath,sDPath)
-{
- this.sPPath=sPPath;
- this.sDPath=sDPath;
- this.nMI=-1;
- this.aTocs=null;
-}
-
-function addTocChunk(sPPath,sDPath)
-{
- var oChunk=new tocChunk(sPPath,sDPath);
- gaTocs[gaTocs.length]=oChunk;
- return oChunk;
-}
-
-function isHSLoad(nIdx)
-{
- for(var i=0;i<gaHSLoad.length;i++)
- if(gaHSLoad[i]==nIdx)
- return true;
- return false;
-}
-
-function setHSLoad(nIdx)
-{
- if(!isHSLoad(nIdx))
- {
- var len=gaHSLoad.length;
- for(var i=0;i<len;i++)
- if(gaHSLoad[i]==-1)
- {
- gaHSLoad[i]=nIdx;
- return;
- }
- gaHSLoad[len]=nIdx;
- }
-}
-
-function setHSUnLoad(nIdx)
-{
- if(isHSLoad(nIdx))
- {
- for(var i=0;i<gaHSLoad.length;i++)
- if(gaHSLoad[i]==nIdx)
- {
- gaHSLoad[i]=-1;
- return;
- }
- }
-}
-
-function removeLoadingDiv()
-{
- var eLoadingDiv=getElement(gsLoadingDivID);
- if(eLoadingDiv)
- removeThis(eLoadingDiv);
-}
-
-function checkBookItem(nIdx)
-{
- if(!gInSync)
- {
- var sBookId=getBookId(nIdx);
- if(gBookItems[sBookId])
- {
- window.open(gBookItems[sBookId].sURL,gBookItems[sBookId].sTarget);
- }
- }
-}
-
-function insertBookItems(nIdx,num)
-{
- checkBookItem(nIdx);
- var sChildBookId=getCBId(nIdx);
- var eChildDiv=getElement(sChildBookId);
- if(eChildDiv){
- if((eChildDiv.childNodes&&eChildDiv.childNodes.length==0)||
- (eChildDiv.all&&eChildDiv.all.length==0)){
- var sHTML=writeBookItems(nIdx,num);
- eChildDiv.innerHTML=sHTML;
- setTimeout("syncInit()",1);
- }
- }
- ExpandIt(nIdx);
-}
-
-function isBookEmpty(nIdx)
-{
- var num=getItemContentsNum(nIdx);
- if (num>0)
- {
- var nCIdx=0;
- do {
- nCIdx++;
- var i=nIdx+nCIdx;
- var nItemType=getItemType(i);
- if(nItemType==1){
- if (!isBookEmpty(i))
- return false;
- }
- else if(nItemType==4){
- var sSrc=getRefURL(i);
- var nProj=getProject(sSrc);
- if(nProj!=-1){
- sSrc=gaRoot[nProj].sToc;
- if(sSrc)
- return false;
- }
- }
- else if(nItemType==2||nItemType==16||nItemType==8)
- return false;
- } while(nCIdx<num);
- }
- return true;
-}
-
-function writeBook(nIdx)
-{
- var sIcon=getBookImage(nIdx,true);
- var sName=_textToHtml(getItemName(nIdx));
- sIcon=_textToHtml_nonbsp(sIcon);
-
- var nType=getItemType(nIdx);
- var bLocal=(nType==1);
- var bLocalProject=(nType!=4);
-
- var sHTML="<div id=\""+getPBId(nIdx)+"\" class=";
- if(bLocal)
- {
- if (!isBookEmpty(nIdx))
- {
- sHTML+="parent><p><nobr><a id=\""+getBookId(nIdx)+"\" href=\"javascript:void(0);\" onfocus=\"markBook("+nIdx+");\" onclick=\"";
- sHTML+="insertBookItems("+nIdx+", "+getItemContentsNum(nIdx);
- sHTML+=");return false;\" title=\""+sName+"\"><img alt=\"Book\" name=\""+getBId(nIdx)+"\" src=\""+sIcon+"\" border=0 align=\"absmiddle\">";
- sHTML+=" "+sName+"</a></nobr></p></div>";
- var sURL=_textToHtml_nonbsp(getItemURL(nIdx));
- if(sURL!="")
- addBookItem(getBookId(nIdx),_textToHtml_nonbsp(getTopicTarget(nIdx)),sURL);
- sHTML+="<div id=\""+getCBId(nIdx)+"\" class=child></div>";
- }
- else
- sHTML="";
- }
- else
- {
- sHTML+="stub></div>";
- gbNeedFillStub=true;
- setTimeout("fillStub("+nIdx+","+bLocalProject+");",100);
- }
- return sHTML;
-}
-
-function checkFillStub()
-{
- if(!gbLData)
- {
- if(gchunkRequestQueue.length()>0)
- {
- var cInfo=gchunkRequestQueue.deQueue();
- if(cInfo)
- {
- fillStub(cInfo.nIdx,cInfo.bLocal);
- return;
- }
- }
- }
- if(gbNeedFillStub)
- {
- gbNeedFillStub=false;
- setTimeout("syncInit()",1);
- }
-}
-
-function fillStub(nIdx,bLocalProject)
-{
- if(!gbLData)
- {
- gbLData=true;
- var sObj=getElement(getPBId(nIdx));
- if(sObj!=null)
- {
- tocExpandHelpSet(nIdx,bLocalProject);
- gbNeedFillStub=false;
- setTimeout("syncInit()",1);
- }
- else
- setTimeout("fillStub("+nIdx+","+bLocalProject+");",100);
- }
- else
- gchunkRequestQueue.inQueue(new chunkInfo(nIdx,bLocalProject));
-}
-
-function getBookId(nIdx){return "B_"+nIdx;}
-
-function getItemId(nIdx){return "I_"+nIdx;}
-
-function markBook(nIdx)
-{
- var obj=getElement(getItemId(nIdx));
- if(obj==null)
- obj=getElement(getBookId(nIdx));
- if(gbNav6)
- {
- gobj=obj;
- setTimeout("delayMarkObj();",1);
- }
- else
- markObj(obj);
-}
-
-function delayMarkObj()
-{
- if(gobj)
- {
- markObj(gobj);
- gobj=null;
- }
-}
-
-function markObj(obj)
-{
- if(obj!=null)
- {
- HighLightElement(obj,gsABgColor,"transparent");
- var sPath=calTocPath(obj);
- if(gsCTPath!=sPath)
- gsCTPath=sPath;
- }
-}
-
-function markItem(nIdx)
-{
- var obj=getElement(getItemId(nIdx));
- if(gbNav6)
- {
- gobj=obj;
- setTimeout("delayMarkObj();",1);
- }
- else
- markObj(getElement(getItemId(nIdx)));
-}
-
-function calTocPath(obj)
-{
- var sPath=getInnerText2(obj);
- var pObj=getParentNode(obj);
- do
- {
- while(pObj!=null&&!isCBId(pObj.id)) pObj=getParentNode(pObj);
- if(pObj!=null)
- {
- var nId=getIdByCBId(pObj.id);
- var sObj=getElement(getPBId(nId));
- if(sObj!=null)
- {
- var objs=getItemsByBook(sObj);
- for(var i=0;i<objs.length;i++)
- {
- var sText=getInnerText2(objs[i]);
- if(sText.length!=0)
- {
- sPath=sText+gsPathSplit+sPath;
- break;
- }
- }
- }
- pObj=getParentNode(pObj);
- }
- }while(pObj!=null);
- return sPath;
-}
-
-function writeAnItem(nIdx)
-{
- var sTarget=_textToHtml_nonbsp(getTopicTarget(nIdx));
- var sIcon=getItemIcon(nIdx,0);
- if(sIcon=="")
- {
- var nItemType=getItemType(nIdx);
- if(nItemType&2)
- sIcon=getItemImage(nIdx,false);
- else
- sIcon=getItemImage(nIdx,true);
- }
- sIcon=_textToHtml_nonbsp(sIcon);
- var sName=_textToHtml(getItemName(nIdx));
- var sHTML="<p><nobr><a id=\""+getItemId(nIdx)+"\" onfocus=\"markItem("+nIdx+");\""
- var sAltString="";
- if(nItemType&2)
- sAltString="Page";
- else
- sAltString="Remote Page";
- if(sTarget!="")
- sHTML+="target=\""+sTarget+"\" ";
- sHTML+="href=\""+_textToHtml_nonbsp(getItemURL(nIdx))+"\" title=\""+sName+"\"><img alt=\""+sAltString+"\" src=\""+sIcon+"\" border=0 align=\"absmiddle\"> "+sName+"</a></nobr></p>";
- return sHTML;
-}
-
-function writeBookItems(nIdx,num)
-{
- var sHTML="";
- if(num>0){
- var nCIdx=0;
- do{
- nCIdx++;
- var i=nIdx+nCIdx;
- var nItemType=getItemType(i);
- if(nItemType==1||nItemType==4||nItemType==8){
- sHTML+=writeBook(i);
- nCIdx+=getItemContentsNum(i);
- }
- else if(nItemType==2||nItemType==16){
- sHTML+=writeAnItem(i);
- }
- }
- while(nCIdx<num);
- }
- return sHTML;
-}
-
-function tocExpandHelpSet(nIdx,bLocal)
-{
- checkBookItem(nIdx);
- removeLoadingDiv();
- if(!isHSLoad(nIdx))
- {
- setHSLoad(nIdx);
- var sSrc="";
- if(bLocal){
- var oChunk=getChunk(nIdx);
- if(oChunk)
- {
- goChunk=addTocChunk(oChunk.sPPath,oChunk.sDPath);
- sSrc=oChunk.aTocs[nIdx-oChunk.nMI].sRefURL;
- }
- }
- else{
- sSrc=getRefURL(nIdx);
- var nProj=getProject(sSrc);
- if(nProj!=-1)
- {
- sSrc=gaRoot[nProj].sToc;
- if(sSrc)
- goChunk=addTocChunk(gaProj[nProj].sPPath,gaProj[nProj].sDPath);
- else
- goChunk=null;
- }
- else
- goChunk=null;
- }
- if(goChunk)
- {
- PrepareLoading(nIdx);
- gbToc=false;
- loadData2(goChunk.sPPath+goChunk.sDPath+sSrc);
- }
- else
- {
- gbLData=false;
- checkFillStub();
- }
- }
-}
-
-function getProject(sSrc)
-{
- for(var i=0;i<gaProj.length;i++)
- if(isSamePath(getPath(sSrc),gaProj[i].sPPath))
- return i;
- return -1;
-}
-
-function getPath(sPath)
-{
- if(sPath!="")
- {
- sPath=_replaceSlash(sPath);
- var nPosFile=sPath.lastIndexOf("/");
- sPath=sPath.substring(0,nPosFile+1);
- }
- return sPath;
-}
-
-function isSamePath(sPath1,sPath2)
-{
- return (sPath1.toLowerCase()==sPath2.toLowerCase());
-}
-
-function PrepareLoading(nIdx)
-{
- gnInsIdx=nIdx;
- if(!gsTP)
- {
- var oObj=getElement(getPBId(gnInsIdx));
- if(oObj)
- oObj.insertAdjacentHTML("afterEnd",writeLoadingDiv(nIdx));
- }
-}
-
-function writeLoadingDiv(nIdx)
-{
- return"<div id=\""+gsLoadingDivID+"\" class=parent onclick=\"removeLoadingDiv();\" style=\"padding-left:4px;background-color:ivory;border-width:1;border-style:solid;border-color:black;width:150px;\">"+gsLoadingMsg+"</div>";
-}
-
-function getItemName(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- return oChunk.aTocs[nIdx-oChunk.nMI].sItemName;
- else
- return null;
-}
-
-function getItemContentsNum(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- return oChunk.aTocs[nIdx-oChunk.nMI].nContents;
- else
- return null;
-}
-
-function getItemType(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- return oChunk.aTocs[nIdx-oChunk.nMI].nType;
- else
- return 0;
-}
-
-function getItemURL(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- {
- var sPath=oChunk.aTocs[nIdx-oChunk.nMI].sItemURL;
- if(!(sPath==null||sPath==""))
- {
- return _getFullPath(oChunk.sPPath,sPath);
- }
- }
- return "";
-}
-
-function getRefURL(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- {
- var sPath=oChunk.aTocs[nIdx-oChunk.nMI].sRefURL;
- if(!(sPath==null||sPath==""))
- {
- return _getFullPath(oChunk.sPPath,sPath)
- }
- }
- return "";
-}
-
-function getTopicTarget(nIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- {
- if(typeof(oChunk.aTocs[nIdx-oChunk.nMI].sTarget)!="undefined")
- return oChunk.aTocs[nIdx-oChunk.nMI].sTarget;
- }
- return "";
-}
-
-function getItemIcon(nIdx,nIconIdx)
-{
- var oChunk=getChunk(nIdx);
- if(oChunk)
- {
- if(typeof(oChunk.aTocs[nIdx-oChunk.nMI].sIconRef)!="undefined")
- {
- var sIconRef=oChunk.aTocs[nIdx-oChunk.nMI].sIconRef;
- var nIndex=sIconRef.indexOf(";");
- while(nIconIdx-->0&&nIndex!=-1)
- {
- sIconRef=sIconRef.substring(nIndex+1);
- nIndex=sIconRef.indexOf(";");
- }
- if(nIconIdx<0)
- {
- if(nIndex!=-1)
- sIconRef=sIconRef.substring(0,nIndex);
- return _getFullPath(oChunk.sPPath,sIconRef)
- }
- }
- }
- return "";
-}
-
-function TocWriteClassStyle()
-{
- var sStyle="<STYLE TYPE='text/css'>\n";
- if(gsBgImage)
- sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";
- else
- sStyle+="body {border-top:black 1px solid;}\n";
- sStyle+="P {"+getFontStyle(goFont)+"margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";}\n";
- sStyle+="DIV {margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";}\n";
- sStyle+=".parent {margin-left:0pt;}\n";
- sStyle+=".stub {margin-left:0pt;display:none}\n";
- sStyle+=".child {display:none;margin-left:"+gsIndent+";}\n";
- sStyle+="A:link {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";
- sStyle+="A:active {background-color:"+gsABgColor+";}\n";
- sStyle +="A:hover {"+getFontStyle(goHFont)+"}\n";
- sStyle+="</STYLE>";
- document.write(sStyle);
-}
-
-function TocWriteFixedWidth(bBegin,nWidth)
-{
- if((gbIE4)&&(gbMac)&&(!gbIE5)){
- if(bBegin)
- document.write("<table width="+nWidth+" border=0><tr><td>");
- else
- document.write("</td></tr></table>");
- }
-}
-
-function TocInitPage()
-{
- var tempColl=getItemsByBook(document.body);
- if(tempColl.length>0)
- tempColl[0].focus();
-}
-
-function getItemsFromObj(obj)
-{
- var aAnchor=new Array();
- var tempColl=getChildrenByTag(obj,"P");
- if(tempColl&&tempColl.length>0)
- {
- var anobr=new Array();
- for(var i=0;i<tempColl.length;i++)
- {
- var tempNobr=getChildrenByTag(tempColl[i],"NOBR");
- if(tempNobr&&tempNobr.length>0)
- for(var j=0;j<tempNobr.length;j++)
- anobr[anobr.length]=tempNobr[j];
- }
- for(var s=0;s<anobr.length;s++)
- {
- var tempAnchor=getChildrenByTag(anobr[s],"A");
- if(tempAnchor&&tempAnchor.length>0)
- for(var u=0;u<tempAnchor.length;u++)
- aAnchor[aAnchor.length]=tempAnchor[u];
- }
- }
- return aAnchor;
-}
-
-function getItemsByBook(obj)
-{
- var aAnchor=new Array();
- var aTAnchor=getItemsFromObj(obj);
- for(var i=0;i<aTAnchor.length;i++)
- aAnchor[aAnchor.length]=aTAnchor[i];
- var tempBook=getChildrenByTag(obj,"DIV");
- if(tempBook&&tempBook.length>0)
- for(var j=0;j<tempBook.length;j++)
- {
- var aTAnchorDiv=getItemsFromObj(tempBook[j]);
- for(var s=0;s<aTAnchorDiv.length;s++)
- aAnchor[aAnchor.length]=aTAnchorDiv[s];
- }
- return aAnchor;
-}
-
-function ExpandIt(nId)
-{
- if(!gsTP)
- ExpandIt2(nId,false);
-}
-
-function ExpandIt2(nId,bForceOpen)
-{
- var oC=TocExpand(nId,true,bForceOpen);
- var nNewScroll=document.body.scrollTop;
- if(oC.style.display=="block"){
- var nTop=oC.offsetTop;
- var nBottom=nTop+oC.offsetHeight;
- if(document.body.scrollTop+document.body.clientHeight<nBottom){
- nNewScroll=nBottom-document.body.clientHeight;
- }
- if(nBottom-nTop>document.body.clientHeight){
- nNewScroll=nTop-20;
- }
- }
- document.body.scrollTop=nNewScroll;
-}
-
-function TocExpand(nId,bChangeImg,bForceOpen)
-{
- var oDiv=getElement(getCBId(nId));
- if(oDiv==null) return null;
-
- var whichIm=document.images[getBId(nId)];
- if((oDiv.style.display!="block")||bForceOpen){
- oDiv.style.display="block";
- if(bChangeImg){
- var sPath=getPath(whichIm.src);
- sPath=_getFullPath(sPath,getBookImage(nId,false));
- whichIm.src=sPath;
- }
- }else{
- oDiv.style.display="none";
- if(bChangeImg){
- var sPath=getPath(whichIm.src);
- sPath=_getFullPath(sPath,getBookImage(nId,true));
- whichIm.src=sPath;
- }
- if(gbMac&&gbIE5){
- this.parent.document.getElementById("tocIFrame").style.width="101%";
- this.parent.document.getElementById("tocIFrame").style.width="100%";
- }
- }
- return oDiv;
-}
-
-function getChunkId(n)
-{
- var nCan=-1;
- for(var i=0;i<gaTocs.length;i++)
- if(gaTocs[i].nMI<=n&&gaTocs[i].nMI!=-1)
- {
- if(nCan==-1)
- nCan=i;
- else
- if(gaTocs[i].nMI>=gaTocs[nCan].nMI)
- nCan=i;
- }
- if(nCan!=-1)
- return nCan;
- else
- return -1;
-}
-
-function getChunk(n)
-{
- if(gnCC!=-1&&gaTocs[gnCC].nMI<=n&&(gnCC==gaTocs.length-1||
- gaTocs[gnCC+1].nMI>n))
- {
- return gaTocs[gnCC];
- }
- else{
- gnCC=getChunkId(n);
- if(gnCC!=-1)
- return gaTocs[gnCC];
- else
- return null;
- }
-}
-
-function getBookImage(nIdx,bClosed)
-{
- var nIdx=bClosed?0:1;
- var sIcon=getItemIcon(nIdx,nIdx);
- if(sIcon=="")
- if(bClosed)
- sIcon=giBookClose;
- else
- sIcon=giBookOpen;
- return _getFullPath(gaProj[0].sPPath,sIcon);
-}
-
-function getItemImage(nIdx,bRemote)
-{
- var sIcon=getItemIcon(nIdx,0);
- if(sIcon=="")
- if(bRemote)
- sIcon=giURLItem;
- else
- sIcon=giBookItem;
- return _getFullPath(gaProj[0].sPPath,sIcon);
-}
-
-function getInnerText2(obj)
-{
- var sText=getInnerText(obj);
- if(sText.length>0&&!gbOpera7)
- sText=sText.substring(1);
- return sText;
-}
-
-function expandToc(oObj,sRest,aIdList)
-{
- var len=aIdList.length;
- var nPos=sRest.indexOf(gsPathSplit);
- if(nPos!=-1)
- {
- sPart=sRest.substring(0,nPos);
- sRest=sRest.substring(nPos+1);
- }
- else
- {
- sPart=sRest;
- var aTagAs=getItemsByBook(oObj);
- for(var s=0;s<aTagAs.length;s++)
- {
- var sText=getInnerText2(aTagAs[s]);
- if(sText==sPart)
- {
- aIdList[len]=aTagAs[s];
- return 1;
- }
- }
- return 0;
- }
-
- var aChildren=getChildrenByTag(oObj,"DIV");
- for(var i=0;i<aChildren.length;i++)
- {
- var sPId=aChildren[i].id;
- if(!isPBId(sPId))
- continue;
- var sText=getInnerText2(aChildren[i]);
- if(sText!=sPart)
- continue;
- aIdList[len]=getIdByPBId(sPId);
- var sCId=getCBId(aIdList[len]);
- var oCObj=getElement(sCId);
- if(oCObj)
- {
- if(oCObj.innerHTML=="")
- {
- var obj=getItemsByBook(aChildren[i]);
- if(obj.length>0)
- {
- if(gbNav6)
- {
- var sCommand=obj[0].getAttribute("onClick");
- var nCommand=sCommand.indexOf(";");
- sCommand=sCommand.substring(0,nCommand);
- setTimeout(sCommand,1);
- }
- else
- obj[0].click();
- }
- return -1;
- }
- var nRet=expandToc(oCObj,sRest,aIdList);
- if(nRet)
- return nRet;
- }
- }
- aIdList.length=len;
- return 0;
-}
-
-function getIdByPBId(sPId)
-{
- return parseInt(sPId.substring(2,sPId.length-1));
-}
-
-function getIdByCBId(sCId)
-{
- return parseInt(sCId.substring(2,sCId.length-1));
-}
-
-function isPBId(sId)
-{
- return (sId&&sId.indexOf("B_")==0&&sId.lastIndexOf("P")==sId.length-1);
-}
-
-function isCBId(sId)
-{
- return (sId&&sId.indexOf("B_")==0&&sId.lastIndexOf("C")==sId.length-1);
-}
-
-function getBId(nIdx)
-{
- return "B_"+nIdx;
-}
-
-function getPBId(nIdx)
-{
- return getBId(nIdx)+"P";
-}
-
-function getCBId(nIdx)
-{
- return getBId(nIdx)+"C";
-}
-
-function getClosestTocPath(aPaths)
-{
- var nMaxSimilarity=0;
- var nThatIndex=-1;
- var sPath=null;
- if(aPaths.length==0) return sPath;
- for(var i=0;i<aPaths.length;i++)
- {
- var nSimilarity=comparePath(gsCTPath,aPaths[i]);
- if(nSimilarity>nMaxSimilarity)
- {
- nMaxSimilarity=nSimilarity;
- nThatIndex=i;
- }
- }
- if(nThatIndex!=-1)
- sPath=aPaths[nThatIndex];
- else
- sPath=aPaths[0];
- return sPath;
-}
-
-function comparePath(sPath1,sPath2)
-{
- var nMaxSimilarity=0;
- var nStartPos1=0;
- var nPos1=-1;
- var nStartPos2=0;
- var nPos2=-1;
- do{
- var sCheck1=null;
- var sCheck2=null;
- nPos1=sPath1.indexOf(gsPathSplit,nStartPos1);
- if(nPos1!=-1)
- {
- sCheck1=sPath1.substring(nStartPos1,nPos1);
- nStartPos1=nPos1+1;
- }
- else
- {
- sCheck1=sPath1.substring(nStartPos1);
- nStartPos1=-1;
- }
- nPos2=sPath2.indexOf(gsPathSplit,nStartPos2);
- if(nPos1!=-1)
- {
- sCheck2=sPath2.substring(nStartPos2,nPos2);
- nStartPos2=nPos2+1;
- }
- else
- {
- sCheck2=sPath2.substring(nStartPos2);
- nStartPos2=-1;
- }
- if(sCheck1==sCheck2)
- nMaxSimilarity++;
- else
- break;
- }while(nStartPos1!=-1&&nStartPos2!=-1);
- return nMaxSimilarity;
-}
-
-function getTocPaths(oTopicParam)
-{
- var aRelTocPaths=oTopicParam.aPaths;
- var aPaths=new Array();
- for(var i=0;i<gaProj.length;i++)
- if(isSamePath(gaProj[i].sPPath,oTopicParam.sPPath))
- {
- for(var j=0;j<aRelTocPaths.length;j++)
- for (var k=0;k<gaRoot[i].aRPath.length;k++)
- {
- var sPath=gaRoot[i].aRPath[k]+aRelTocPaths[j];
- aPaths[aPaths.length]=sPath.substring(1);
- }
- break;
- }
- return aPaths;
-}
-
-function syncInit()
-{
- if(gsTP&&!gbNeedFillStub)
- {
- gInSync=true;
- var obj=document.body;
- var aIdList=new Array();
- var nRet=expandToc(obj,gsTP,aIdList);
- if(nRet!=-1)
- {
- if(nRet==1)
- {
- if(aIdList.length)
- for(var i=0;i<aIdList.length-1;i++)
- ExpandIt2(aIdList[i],true);
- gsCTPath=gsTP;
- if(!gbIE55)
- aIdList[aIdList.length-1].focus();
- else
- HighLightElement(aIdList[aIdList.length-1],gsABgColor,"transparent");
- }
- var aPaths=gaBTPs;
- gsTP=null;
- gaBTPs=null;
- if(aPaths!=null)
- {
- var sPath=getClosestTocPath(aPaths);
- if(sPath!=null)
- {
- gsTP=sPath;
- setTimeout("syncInit()",1);
- }
- }
- }
- gInSync=false;
- }
-}
-
-function loadToc()
-{
- if(!gbLoadToc)
- {
- var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);
- if(SendMessage(oResMsg)&&oResMsg.oParam)
- {
- gbLoadToc=true;
- var oProj=oResMsg.oParam;
- gaProj=oProj.aProj;
- gbXML=oProj.bXML;
- load1B1();
- }
- }
-}
-
-function load1B1()
-{
- if(gnLT+1<gaProj.length)
- for(var i=gnLT+1;i<gaProj.length;i++)
- if(gaProj[i].sToc)
- {
- gbToc=true;
- gnLT=i;
- setTimeout("loadTocInfo()",1);
- return true;
- }
- return false;
-}
-
-function loadTocInfo()
-{
- loadData2(gaProj[gnLT].sPPath+gaProj[gnLT].sDPath+gaProj[gnLT].sToc);
-}
-
-function loadData2(sFile)
-{
- if(gbXML)
- loadDataXML(sFile);
- else
- loadData(sFile);
-}
-
-function projReady(sRoot,aProj)
-{
- if(gaRoot.length<=gnLT||!gaRoot[gnLT])
- gaRoot[gnLT]=new Object();
- gaRoot[gnLT].sToc=sRoot;
-
- if(gnLT==0)
- {
- gaRoot[gnLT].aRPath=new Array();
- gaRoot[gnLT].aRPath[0]=gsPathSplit;
- }
-
- updatePTPath(gnLT,aProj);
-
- if(!((gnLT+1<gaProj.length)&&load1B1()))
- {
- gbReady=true;
- if(gbIE4)
- setTimeout("loadImages();",1);
- else
- setTimeout("loadTData();",1);
- }
-}
-
-function loadTData()
-{
- if(gaProj[0].sToc!="")
- {
- gbLData=true;
- goChunk=addTocChunk(gaProj[0].sPPath,gaProj[0].sDPath);
- gbToc=false;
- loadData2(gaProj[0].sPPath+gaProj[0].sDPath+gaRoot[0].sToc);
- }
-}
-
-function updatePTPath(n,aProj)
-{
- if(aProj)
- for(var i=0;i<aProj.length;i++)
- {
- var sFullPath=_getFullPath(gaProj[n].sPPath,aProj[i].sPPath);
- for(var j=0;j<gaProj.length;j++)
- if(isSamePath(sFullPath,gaProj[j].sPPath))
- {
- if(gaRoot.length<=j||!gaRoot[j])
- gaRoot[j]=new Object();
- if(!gaRoot[j].aRPath)
- gaRoot[j].aRPath=new Array();
-
- if(gaRoot[n].aRPath)
- for(var k=0;k<gaRoot[n].aRPath.length;k++)
- {
- var bDup=false;
- var sTFPath=gaRoot[n].aRPath[k]+aProj[i].sRPath;
- for(var l=0;l<gaRoot[j].aRPath.length;l++)
- if(gaRoot[j].aRPath[l]==sTFPath)
- {
- bDup=true;
- break;
- }
- if(!bDup)
- gaRoot[j].aRPath[gaRoot[j].aRPath.length]=sTFPath;
- }
- else
- gaRoot[j].aRPath[gaRoot[j].aRPath.length]=aProj[i].sRPath;
- break;
- }
- }
-}
-
-function onLoadXMLError()
-{
- if(gbToc)
- {
- var sRoot="";
- var aRProj=new Array();
- projReady(sRoot,aRProj);
- }
- else
- {
- var aToc=new Array();
- putData(aToc)
- }
-}
-
-function putDataXML(xmlDoc,sDocPath)
-{
- if(gbToc)
- {
- var tocNode=xmlDoc.getElementsByTagName("toc")[0];
- if(tocNode)
- {
- var sRoot=tocNode.getAttribute("root");
- var rmtProject=tocNode.getElementsByTagName("project");
- var aRProj=new Array();
- if(rmtProject.length>0)
- {
- for(var i=0;i<rmtProject.length;i++)
- {
- aRProj[i]=new Object();
- var sURL=rmtProject[i].getAttribute("url");
- if(sURL)
- {
- if(sURL.lastIndexOf("/")!=sURL.length-1)
- sURL+="/";
- }
- aRProj[i].sPPath=sURL;
- aRProj[i].sRPath = "";
- var oSubPath = rmtProject[i].getElementsByTagName("subpath")[0];
- if (oSubPath)
- {
- while (oSubPath)
- {
- aRProj[i].sRPath += oSubPath.getAttribute("name") + "\n";
- oSubPath = oSubPath.getElementsByTagName("subpath")[0];
- }
- }
- else
- aRProj[i].sRPath=rmtProject[i].getAttribute("path");
- }
- }
- projReady(sRoot,aRProj);
- }
- }
- else
- {
- var chunkNode=xmlDoc.getElementsByTagName("tocdata")[0];
- if(chunkNode)
- {
- var aToc=new Array();
- processBook(chunkNode,aToc);
- putData(aToc);
- }
- }
-}
-
-function processBook(node,aToc)
-{
- var i=0;
- var entry=null;
- var prevEntry=null;
- var oChild=node.firstChild;
- do{
- if(oChild)
- {
- if(oChild.nodeName.indexOf("#")!=0)
- {
- var sName=oChild.getAttribute("name");
- var sURL=oChild.getAttribute("url");
- var sRef=oChild.getAttribute("ref");
- var sTarget=oChild.getAttribute("target");
- var sIcons=oChild.getAttribute("images");
- var item=new Object();
- item.sItemName=sName;
- if(sTarget)
- item.sTarget=sTarget;
- if(sIcons)
- item.sIconRef=sIcons;
- if(sURL==null) sURL="";
-
- item.sItemURL=sURL;
-
- if(oChild.nodeName=="book")
- {
- item.nType=1;
- aToc[aToc.length]=item;
- var nCurrPos=aToc.length;
- processBook(oChild,aToc);
- item.nContents=aToc.length-nCurrPos;
- }
- else if(oChild.nodeName=="item")
- {
- item.nType=2;
- item.nContents=0;
- aToc[aToc.length]=item;
- }
- else if(oChild.nodeName=="remoteitem")
- {
- item.nType=16;
- item.nContents=0;
- aToc[aToc.length]=item;
- }
- else if(oChild.nodeName=="project")
- {
- if(sRef)
- {
- if(sRef.lastIndexOf("/")!=sRef.length-1)
- sRef+="/";
- }
- item.nType=4;
- item.sRefURL=sRef;
- item.nContents=0;
- aToc[aToc.length]=item;
- }
- else if(oChild.nodeName=="chunk")
- {
- item.nType=8;
- item.sRefURL=sRef;
- item.nContents=0;
- aToc[aToc.length]=item;
- }
- }
- }
- else
- break;
- oChild=oChild.nextSibling;
- }while(true);
-}
-
-function putData(aTocs)
-{
- gaTocsNs61Fix=aTocs;
- setTimeout("realPutData();",1);
-}
-
-function realPutData()
-{
- removeLoadingDiv();
- var aTocs=gaTocsNs61Fix;
- if(!aTocs) return;
- if(goChunk)
- {
- var n=gnMinIdx;
- goChunk.nMI=gnMinIdx;
- goChunk.aTocs=aTocs;
- gnMinIdx+=aTocs.length;
- if(gnInsIdx!=-1)
- {
- var oObj=getElement(getPBId(gnInsIdx));
- if(oObj)
- {
- oObj.insertAdjacentHTML("afterEnd",writeBookItems(n-1,aTocs.length));
- setTimeout("syncInit()",1);
- }
- }
- else{
- document.body.insertAdjacentHTML("beforeEnd",writeBookItems(n-1,aTocs.length));
- var oParam=new Object();
- oParam.oTocInfo=null;
- var oMsg=new whMessage(WH_MSG_GETTOCPATHS,this,1,oParam);
- if(SendMessage(oMsg))
- {
- if(oMsg.oParam.oTocInfo)
- syncWithPaths(oMsg.oParam.oTocInfo);
- }
- }
- }
- gbLData=false;
- checkFillStub();
-}
-
-function syncWithPaths(oTopicParam)
-{
- var aPaths=getTocPaths(oTopicParam);
- if(gsTP)
- gaBTPs=aPaths;
- else{
- var sPath=getClosestTocPath(aPaths);
- if(sPath!=null)
- {
- gsTP=sPath;
- setTimeout("syncInit()",1);
- }
- }
-}
-
-function window_OnLoad()
-{
- if(gsBgImage&&gsBgImage.length>0)
- {
- document.body.background=gsBgImage;
- }
- if(gsBgColor&&gsBgColor.length>0)
- {
- document.body.bgColor=gsBgColor;
- }
- loadToc();
- var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null)
- SendMessage(oMsg);
-}
-
-function loadImages()
-{
- if(giBookClose)
- {
- gaImgs[gnImages]=giBookClose;
- gnImages++;
- }
- if(giBookOpen)
- {
- gaImgs[gnImages]=giBookOpen;
- gnImages++;
- }
- if(giBookItem)
- {
- gaImgs[gnImages]=giBookItem;
- gnImages++;
- }
- if(giURLItem)
- {
- gaImgs[gnImages]=giURLItem;
- gnImages++;
- }
- if(giNewBookClose)
- {
- gaImgs[gnImages]=giNewBookClose;
- gnImages++;
- }
- if(giNewBookOpen)
- {
- gaImgs[gnImages]=giNewBookOpen;
- gnImages++;
- }
- if(giNewBookItem)
- {
- gaImgs[gnImages]=giNewBookItem;
- gnImages++;
- }
- if(giNewURLItem)
- {
- gaImgs[gnImages]=giNewURLItem;
- gnImages++;
- }
- if(gnImages>0)
- {
- setTimeout("loadDataAfter();",1000);
- loadImage(gaImgs[0]);
- }
- else
- loadDataAfter();
-}
-
-function loadImage(sURL)
-{
- var oImg=new Image();
- oImg.onload=checkImageLoading;
- oImg.onerror=errorImageLoading;
- oImg.src=_getFullPath(gaProj[0].sPPath,sURL);
-}
-
-function loadDataAfter()
-{
- if(!gbLoadData)
- {
- gbLoadData=true;
- loadTData();
- }
-}
-
-function errorImageLoading()
-{
- gnLoadedImages++;
- if(gnImages==gnLoadedImages)
- loadDataAfter();
- else
- loadImage(gaImgs[gnLoadedImages]);
-}
-
-function checkImageLoading()
-{
- gnLoadedImages++;
- if(gnImages==gnLoadedImages)
- loadDataAfter();
- else
- loadImage(gaImgs[gnLoadedImages]);
-}
-
-function window_unload()
-{
- UnRegisterListener2(this,WH_MSG_PROJECTREADY);
- UnRegisterListener2(this,WH_MSG_SYNCTOC);
- UnRegisterListener2(this,WH_MSG_SHOWTOC);
-}
-
-function onSendMessage(oMsg)
-{
- if(oMsg)
- {
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_PROJECTREADY)
- {
- loadToc();
- }
- else if(nMsgId==WH_MSG_SYNCTOC)
- {
- if(gbReady)
- {
- syncWithPaths(oMsg.oParam);
- }
- }
- else if(nMsgId==WH_MSG_SHOWTOC)
- {
- if(!gbNav6)
- document.body.focus();
- }
- }
- return true;
-}
-
-if(window.gbWhUtil&&window.gbWhVer&&window.gbWhMsg&&window.gbWhProxy)
-{
- RegisterListener2(this,WH_MSG_PROJECTREADY);
- RegisterListener2(this,WH_MSG_SYNCTOC);
- RegisterListener2(this,WH_MSG_SHOWTOC);
- goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");
- goHFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");
-
- window.onload=window_OnLoad;
- window.onbeforeunload=window_BUnload;
- window.onunload=window_unload;
- gbWhTHost=true;
-}
-else
- document.location.reload();
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.005
-var gsPPath="";
-var gaPaths=new Array();
-var gaAvenues=new Array();
-
-var goFrame=null;
-var gsStartPage="";
-var gsRelCurPagePath="";
-var gsSearchFormHref="";
-var gnTopicOnly=-1;
-var gnOutmostTopic=-1;
-
-var BTN_TEXT=1;
-var BTN_IMG=2;
-
-var goSync=null;
-
-var goShow=null;
-var goHide=null;
-
-var goPrev=null;
-var goNext=null;
-var gnForm=0;
-var goShowNav=null;
-var goHideNav=null;
-
-var goWebSearch=null;
-
-var gsBtnStyle="";
-var gaButtons=new Array();
-var gaTypes=new Array();
-var whtopic_foldUnload=null;
-var gbWhTopic=false;
-var gbCheckSync=false;
-var gbSyncEnabled=false;
-
-function setButtonFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)
-{
- var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);
- gsBtnStyle+=".whtbtn"+sType+"{"+getFontStyle(vFont)+"}";
-}
-
-function writeBtnStyle()
-{
- if(gaButtons.length>0)
- {
- if(gsBtnStyle.length>0)
- {
- var sStyle="<style type='text/css'>";
- sStyle+=gsBtnStyle+"</style>";
- document.write(sStyle);
- }
- }
-}
-
-function button(sText,nWidth,nHeight)
-{
- this.sText=sText;
- this.nWidth=nWidth;
- this.nHeight=nHeight;
-
- this.aImgs=new Array();
- var i=0;
- while(button.arguments.length>i+3)
- {
- this.aImgs[i]=button.arguments[3+i];
- i++;
- }
-}
-
-//project info
-function setRelStartPage(sPath)
-{
- if(gsPPath.length==0)
- {
- gsPPath=_getFullPath(_getPath(document.location.href),_getPath(sPath));
- gsStartPage=_getFullPath(_getPath(document.location.href),sPath);
- gsRelCurPagePath=_getRelativeFileName(gsStartPage,document.location.href);
- }
-}
-
-function getImage(oImage,sType)
-{
- var sImg="";
- if(oImage&&oImage.aImgs&&(oImage.aImgs.length>0))
- {
- sImg+="<img alt=\""+sType+"\" src=\""+oImage.aImgs[0]+"\"";
- if(oImage.nWidth>0)
- sImg+=" width="+oImage.nWidth;
- if(oImage.nHeight>0)
- sImg+=" height="+oImage.nHeight;
- sImg+=" border=0>";
- }
- return sImg;
-}
-
-function addTocInfo(sTocPath)
-{
- gaPaths[gaPaths.length]=sTocPath;
-}
-
-function addAvenueInfo(sName,sPrev,sNext)
-{
- gaAvenues[gaAvenues.length]=new avenueInfo(sName,sPrev,sNext);
-}
-
-function addButton(sType,nStyle,sText,sHref,sOnClick,sOnMouseOver,sOnLoad,nWidth,nHeight,sImg1,sImg2,sImg3)
-{
- var sButton="";
- var nBtn=gaButtons.length;
- if(sType=="prev")
- {
- if(canGo(false))
- {
- var sTitle="Previous Topic";
- goPrev=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnprev\" href=\"javascript:void(0);\" onclick=\"goAvenue(false);return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goPrev.sText;
- else
- sButton+=getImage(goPrev,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="next")
- {
- if(canGo(true))
- {
- var sTitle="Next Topic";
- goNext=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnnext\" href=\"javascript:void(0);\" onclick=\"goAvenue(true);return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goNext.sText;
- else
- sButton+=getImage(goNext,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="show")
- {
- if(isTopicOnly()&&(!gbOpera6||gbOpera7))
- {
- var sTitle="Show Navigation Component";
- goShow=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnshow\" href=\"javascript:void(0);\" onclick=\"show();return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goShow.sText;
- else
- sButton+=getImage(goShow,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="hide")
- {
- if(!isTopicOnly()&&!gbOpera6)
- {
- var sTitle="Hide Navigation Component";
- goHide=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnhide\" href=\"javascript:void(0);\" onclick=\"hide();return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goHide.sText;
- else
- sButton+=getImage(goHide,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="shownav")
- {
- if(isShowHideEnable())
- {
- var sTitle="Show Navigation Component";
- goShowNav=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnshownav\" href=\"javascript:void(0);\" onclick=\"showHidePane(true);return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goShowNav.sText;
- else
- sButton+=getImage(goShowNav,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="hidenav")
- {
- if(isShowHideEnable())
- {
- var sTitle="Hide Navigation Component";
- goHideNav=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnhidenav\" href=\"javascript:void(0);\" onclick=\"showHidePane(false);return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goHideNav.sText;
- else
- sButton+=getImage(goHideNav,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="synctoc")
- {
- if(gaPaths.length>0)
- {
- var sTitle="Sync TOC";
- goSync=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnsynctoc\" href=\"javascript:void(0);\" onclick=\"syncWithShow();return false;\">";
- if(nStyle==BTN_TEXT)
- sButton+=goSync.sText;
- else
- sButton+=getImage(goSync,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="websearch")
- {
- if(gsSearchFormHref.length>0)
- {
- var sTitle="WebSearch";
- goWebSearch=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);
- sButton="<a title=\""+sTitle+"\" class=\"whtbtnwebsearch\" href=\""+gsSearchFormHref+"\">";
- if(nStyle==BTN_TEXT)
- sButton+=goWebSearch.sText;
- else
- sButton+=getImage(goWebSearch,sTitle);
- sButton+="</a>";
- }
- }
- else if(sType=="searchform")
- {
- gaButtons[nBtn]="NeedSearchForm";
- gaTypes[nBtn]=sType;
- }
- if(sButton.length!=0)
- {
- if(nStyle==BTN_TEXT)
- sButton+=" ";
- gaButtons[nBtn]="<td>"+sButton+"</td>";
- gaTypes[nBtn]=sType;
- }
-}
-
-function isSyncEnabled()
-{
- if(!gbCheckSync)
- {
- var oMsg=new whMessage(WH_MSG_ISSYNCSSUPPORT,this,1,null);
- if(SendMessage(oMsg))
- {
- gbSyncEnabled=oMsg.oParam;
- }
- gbCheckSync=true;
- }
- return gbSyncEnabled;
-}
-
-function isInPopup()
-{
- return (window.name.indexOf("BSSCPopup")!=-1);
-}
-
-function getIntopicBar(sAlign)
-{
- var sHTML="";
- if(gaButtons.length>0)
- {
- sHTML+="<div align="+sAlign+">";
-
- sHTML+="<table cellpadding=\"2\" cellspacing=\"0\" border=\"0\"><tr>";
- for(var i=0;i<gaButtons.length;i++)
- {
- if(gaTypes[i]!="synctoc"||isSyncEnabled())
- {
- if(gaButtons[i]=="NeedSearchForm")
- sHTML+=getSearchFormHTML();
- else
- sHTML+=gaButtons[i];
- }
- }
- sHTML+="</tr></table>";
-
- sHTML+="</div>";
- }
- return sHTML;
-}
-
-
-function writeIntopicBar(nAligns)
-{
- if(isInPopup()) return;
- if(gaButtons.length>0)
- {
- var sHTML="";
- if(nAligns!=0)
- {
- sHTML+="<table width=100%><tr>"
- if(nAligns&1)
- sHTML+="<td width=33%>"+getIntopicBar("left")+"</td>";
- if(nAligns&2)
- sHTML+="<td width=34%>"+getIntopicBar("center")+"</td>";
- if(nAligns&4)
- sHTML+="<td width=33%>"+getIntopicBar("right")+"</td>";
- sHTML+="</tr></table>";
- document.write(sHTML);
- }
- }
-}
-
-function sendAveInfoOut()
-{
- if(!isInPopup())
- setTimeout("sendAveInfo();",100);
-}
-
-function sendAveInfo()
-{
- var oMsg=new whMessage(WH_MSG_AVENUEINFO,this,1,gaAvenues);
- SendMessage(oMsg);
-}
-
-
-function onNext()
-{
- var oMsg=new whMessage(WH_MSG_NEXT,this,1,null);
- SendMessage(oMsg);
-}
-
-function onPrev()
-{
- var oMsg=new whMessage(WH_MSG_PREV,this,1,null);
- SendMessage(oMsg);
-}
-
-function createSyncInfo()
-{
- var oParam=new Object();
- if(gsPPath.length==0)
- gsPPath=_getPath(document.location.href);
- oParam.sPPath=gsPPath;
- oParam.sTPath=document.location.href;
- oParam.aPaths=gaPaths;
- return oParam;
-}
-
-function syncWithShow()
-{
- if(isTopicOnly())
- show();
- else
- {
- sync();
- showTocPane();
- }
-}
-
-function showTocPane()
-{
- var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null);
- SendMessage(oMsg);
-}
-
-function sendSyncInfo()
-{
- if(!isInPopup())
- {
- var oParam=null;
- if(gaPaths.length>0)
- {
- oParam=createSyncInfo();
- }
- var oMsg=new whMessage(WH_MSG_SYNCINFO,this,1,oParam);
- SendMessage(oMsg);
- }
-}
-
-function sendInvalidSyncInfo()
-{
- if(!isInPopup())
- {
- var oMsg=new whMessage(WH_MSG_SYNCINFO,this,1,null);
- SendMessage(oMsg);
- }
-}
-
-function enableWebSearch(bEnable)
-{
- if(!isInPopup())
- {
- var oMsg=new whMessage(WH_MSG_ENABLEWEBSEARCH,this,1,bEnable);
- SendMessage(oMsg);
- }
-}
-
-function autoSync(nSync)
-{
- if(nSync==0) return;
- if(isInPopup()) return;
- if(isOutMostTopic())
- sync();
-}
-
-function isOutMostTopic()
-{
- if(gnOutmostTopic==-1)
- {
- var oMessage=new whMessage(WH_MSG_ISINFRAMESET,this,1,null);
- if(SendMessage(oMessage))
- gnOutmostTopic=0;
- else
- gnOutmostTopic=1;
- }
- return (gnOutmostTopic==1);
-}
-
-function sync()
-{
- if(gaPaths.length>0)
- {
- var oParam=createSyncInfo();
- var oMessage=new whMessage(WH_MSG_SYNCTOC,this,1,oParam);
- SendMessage(oMessage);
- }
-}
-
-
-function avenueInfo(sName,sPrev,sNext)
-{
- this.sName=sName;
- this.sPrev=sPrev;
- this.sNext=sNext;
-}
-
-function getCurrentAvenue()
-{
- var oParam=new Object();
- oParam.sAvenue=null;
- var oMessage=new whMessage(WH_MSG_GETCURRENTAVENUE,this,1,oParam);
- SendMessage(oMessage);
- return oParam.sAvenue;
-}
-
-function unRegisterListener()
-{
- sendInvalidSyncInfo();
- enableWebSearch(false);
- if(whtopic_foldUnload)
- whtopic_foldUnload();
-}
-
-function onSendMessage(oMsg)
-{
- var nMsgId=oMsg.nMessageId;
- if(nMsgId==WH_MSG_GETAVIAVENUES)
- {
- oMsg.oParam.aAvenues=gaAvenues;
- return false;
- }
- else if(nMsgId==WH_MSG_GETTOCPATHS)
- {
- if(isOutMostTopic())
- {
- oMsg.oParam.oTocInfo=createSyncInfo();
- return false;
- }
- else
- return true;
- }
- else if(nMsgId==WH_MSG_NEXT)
- {
- goAvenue(true);
- }
- else if(nMsgId==WH_MSG_PREV)
- {
- goAvenue(false);
- }
- else if(nMsgId==WH_MSG_WEBSEARCH)
- {
- websearch();
- }
- return true;
-}
-
-function goAvenue(bNext)
-{
- var sTopic=null;
- var sAvenue=getCurrentAvenue();
- var nAvenue=-1;
- if(sAvenue!=null&&sAvenue!="")
- {
- for(var i=0;i<gaAvenues.length;i++)
- {
- if(gaAvenues[i].sName==sAvenue)
- {
- nAvenue=i;
- break;
- }
- }
- if(nAvenue!=-1)
- {
- if(bNext)
- sTopic=gaAvenues[nAvenue].sNext;
- else
- sTopic=gaAvenues[nAvenue].sPrev;
- }
- }
- else
- {
- for(var i=0;i<gaAvenues.length;i++)
- {
- if(gaAvenues[i].sNext!=null&&gaAvenues[i].sNext.length>0&&bNext)
- {
- sTopic=gaAvenues[i].sNext;
- break;
- }
- else if(gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev.length>0&&!bNext)
- {
- sTopic=gaAvenues[i].sPrev;
- break;
- }
- }
- }
-
- if(sTopic!=null&&sTopic!="")
- {
- if(gsPPath!=null&&gsPPath!="")
- {
- sFullTopicPath=_getFullPath(gsPPath,sTopic);
- document.location=sFullTopicPath;
- }
- }
-}
-
-function canGo(bNext)
-{
- for(var i=0;i<gaAvenues.length;i++)
- {
- if((gaAvenues[i].sNext!=null&&gaAvenues[i].sNext.length>0&&bNext)||
- (gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev.length>0&&!bNext))
- return true;
- }
- return false;
-}
-
-function show()
-{
- if(gsStartPage!="")
- window.location=gsStartPage+"#"+gsRelCurPagePath;
-}
-
-function hide()
-{
- if(goFrame!=null)
- {
- goFrame.location=window.location;
- }
-}
-
-function isTopicOnly()
-{
- if(gnTopicOnly==-1)
- {
- var oParam=new Object();
- oParam.oFrame=null;
- var oMsg=new whMessage(WH_MSG_GETSTARTFRAME,this,1,oParam);
- if(SendMessage(oMsg))
- {
- goFrame=oParam.oFrame;
- gnTopicOnly=0;
- }
- else
- gnTopicOnly=1;
- }
- if(gnTopicOnly==1)
- return true;
- else
- return false;
-}
-
-function websearch()
-{
- if(gbNav4)
- {
- if(document.ehelpform)
- document.ehelpform.submit();
- }
- else
- {
- if(window.ehelpform)
- window.ehelpform.submit();
- }
-}
-
-function addSearchFormHref(sHref)
-{
- gsSearchFormHref=sHref;
- enableWebSearch(true);
-}
-
-function searchB(nForm)
-{
- var sValue=eval("document.searchForm"+nForm+".searchString.value");
- var oMsg=new whMessage(WH_MSG_SEARCHTHIS,this,1,sValue);
- SendMessage(oMsg);
-}
-
-function getSearchFormHTML()
-{
- var sHTML="";
- gnForm++;
- var sFormName="searchForm"+gnForm;
- var sButton="<form name=\""+sFormName+"\" method=\"POST\" action=\"javascript:searchB("+gnForm+")\">"
- sButton+="<input type=\"text\" name=\"searchString\" value=\"- Full Text search -\" size=\"20\"/>";
- if(""=="text")
- {
- sButton+="<a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\""+sFormName+".submit();return false;\"></a>";
- }
- else if(""=="image")
- {
- sButton+="<a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\""+sFormName+".submit();return false;\">"
- sButton+="<img src=\"\" border=0></a>";
- }
- sButton+="</form>";
- sHTML="<td align=\"center\">"+sButton+"</td>";
- return sHTML;
-}
-
-function showHidePane(bShow)
-{
- var oMsg=null;
- if(bShow)
- oMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);
- else
- oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null);
- SendMessage(oMsg);
-}
-
-function isShowHideEnable()
-{
- if(gbIE4)
- return true;
- else
- return false;
-}
-
-
-function PickupDialog_Invoke()
-{
- if(!gbIE4||gbMac)
- {
- if(typeof(_PopupMenu_Invoke)=="function")
- return _PopupMenu_Invoke(PickupDialog_Invoke.arguments);
- }
- else
- {
- if(PickupDialog_Invoke.arguments.length>2)
- {
- var sPickup="whskin_pickup.htm";
- var sPickupPath=gsPPath+sPickup;
- if(gbIE4)
- {
- var sFrame=PickupDialog_Invoke.arguments[1];
- var aTopics=new Array();
- for(var i=2;i<PickupDialog_Invoke.arguments.length;i+=2)
- {
- var j=aTopics.length;
- aTopics[j]=new Object();
- aTopics[j].m_sName=PickupDialog_Invoke.arguments[i];
- aTopics[j].m_sURL=PickupDialog_Invoke.arguments[i+1];
- }
-
- if(aTopics.length>1)
- {
- var nWidth=300;
- var nHeight=180;
- var nScreenWidth=screen.width;
- var nScreenHeight=screen.height;
- var nLeft=(nScreenWidth-nWidth)/2;
- var nTop=(nScreenHeight-nHeight)/2;
- if(gbIE4)
- {
- var vRet=window.showModalDialog(sPickupPath,aTopics,"dialogHeight:"+nHeight+"px;dialogWidth:"+nWidth+"px;resizable:yes;status:no;scroll:no;help:no;center:yes;");
- if(vRet)
- {
- var sURL=vRet.m_url;
- if(sFrame)
- window.open(sURL,sFrame);
- else
- window.open(sURL,"_self");
- }
- }
- }
- else if(aTopics.length==1)
- {
- var sURL=aTopics[0].m_sURL
- if(sFrame)
- window.open(sURL,sFrame);
- else
- window.open(sURL,"_self");
- }
- }
- }
- }
-}
-
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)
-{
- RegisterListener("bsscright",WH_MSG_GETAVIAVENUES);
- RegisterListener("bsscright",WH_MSG_GETTOCPATHS);
- RegisterListener("bsscright",WH_MSG_NEXT);
- RegisterListener("bsscright",WH_MSG_PREV);
- RegisterListener("bsscright",WH_MSG_WEBSEARCH);
- if(gbMac&&gbIE4)
- {
- if(typeof(window.onunload)!="unknown")
- if(window.onunload.toString!=unRegisterListener.toString)
- whtopic_foldUnload=window.onunload;
- }
- else
- {
- if(window.onunload)
- if(window.onunload.toString!=unRegisterListener.toString)
- whtopic_foldUnload=window.onunload;
- }
- window.onunload=unRegisterListener;
- setButtonFont("show","","","","","","");
-setButtonFont("hide","","","","","","");
-
- gbWhTopic=true;
-}
-else
- document.location.reload();
+++ /dev/null
-// WebHelp 5.10.004
-var gsFileName="";
-var gsDivName="";
-var xmlDoc=null;
-var sdocPath=null;
-var gsInsertBeforeEndHTML="";
-var sReplaceStringsSrc=new Array();
-var gsDivName="dataDiv";
-var gnLoadDivNum=0;
-sReplaceStringsSrc[0]="&";
-sReplaceStringsSrc[1]=">";
-sReplaceStringsSrc[2]="<";
-sReplaceStringsSrc[3]=""";
-sReplaceStringsSrc[4]=String.fromCharCode(8364);
-sReplaceStringsSrc[5]=" ";
-
-var sReplaceStringsDst=new Array();
-sReplaceStringsDst[0]="&";
-sReplaceStringsDst[1]=">";
-sReplaceStringsDst[2]="<";
-sReplaceStringsDst[3]="\"";
-sReplaceStringsDst[4]=String.fromCharCode(128);
-sReplaceStringsDst[5]=" ";
-var goHighLighted=null;
-
-function _getRelativePath(strParentPath,strCurrentPath)
-{
- if(_isAbsPath(strCurrentPath)) return _getPath(strCurrentPath);
- strParentPath=_replaceSlash(strParentPath);
- strParentPath=_getPath(strParentPath);
- strCurrentPath=_replaceSlash(strCurrentPath);
- strCurrentPath=_getPath(strCurrentPath);
- for(var i=0;i<strParentPath.length&&i<strCurrentPath.length;i++)
- {
- if(strParentPath.charAt(i)!=strCurrentPath.charAt(i))
- break;
- }
-
- strParentPath=strParentPath.substring(i);
- strCurrentPath=strCurrentPath.substring(i);
-
- var nPathPos=0;
- while(nPathPos!=-1)
- {
- nPathPos=strParentPath.indexOf("/");
- if(nPathPos!=-1)
- {
- strParentPath=strParentPath.substring(nPathPos+1);
- strCurrentPath="../"+strCurrentPath;
- }
- }
- return strCurrentPath;
-}
-
-function _getRelativeFileName(strParentPath,strCurrentPath)
-{
- strParentPath=_replaceSlash(strParentPath);
- strParentPath=_getPath(strParentPath);
- strCurrentPath=_replaceSlash(strCurrentPath);
- for(var i=0;i<strParentPath.length&&i<strCurrentPath.length;i++)
- {
- if(strParentPath.charAt(i)!=strCurrentPath.charAt(i))
- break;
- }
-
- strParentPath=strParentPath.substring(i);
- strCurrentPath=strCurrentPath.substring(i);
-
- var nPathPos=0;
- while(nPathPos!=-1)
- {
- nPathPos=strParentPath.indexOf("/");
- if(nPathPos!=-1)
- {
- strParentPath=strParentPath.substring(nPathPos+1);
- strCurrentPath="../"+strCurrentPath;
- }
- }
- return strCurrentPath;
-}
-
-function _isAbsPathToHost(sPath)
-{
- return (sPath.indexOf("/")==0);
-}
-
-function _getHost(sPath)
-{
- var nPos=sPath.indexOf("//");
- if(nPos>0)
- {
- var nPosx=sPath.indexOf("/",nPos+2);
- if(nPosx>0)
- return sPath.substring(0,nPosx);
- else
- return sPath;
- }
- return sPath;
-}
-
-function _getFullPath(sPath,sRelPath)
-{
- if(_isAbsPath(sRelPath))
- return sRelPath;
- else if(_isAbsPathToHost(sRelPath))
- return _getHost(sPath)+sRelPath;
- else
- {
- var sFullPath=sPath;
- var nPathPos=0;
- while(nPathPos!=-1)
- {
- var nPathPos=sRelPath.indexOf("../");
- if(nPathPos!=-1)
- {
- sRelPath=sRelPath.substring(nPathPos+3);
- sFullPath=sFullPath.substring(0,sFullPath.length-1);
- var nPos2=sFullPath.lastIndexOf("/");
- if(nPos2!=-1)
- sFullPath=sFullPath.substring(0,nPos2+1);
- else
- break;
- }
- }
- sFullPath+=sRelPath;
- return sFullPath;
- }
-}
-
-function _isAbsPath(strPath)
-{
- var strUpper=strPath.toUpperCase();
- return (strUpper.indexOf(":")!=-1||strUpper.indexOf("\\\\")==0);
-}
-
-function _replaceSlash(strURL)
-{
- var re=new RegExp("\\\\","g");
- var strReplacedURL=strURL.replace(re,"/");
- return strReplacedURL;
-}
-
-function _getPath(strURL)
-{
- pathpos=strURL.lastIndexOf("/");
- if(pathpos>0)
- return strURL.substring(0,pathpos+1);
- else
- return "";
-}
-
-function removeItemFromArray(oArray,i)
-{
- if(oArray.length&&i>=0&&i<oArray.length)
- {
- var len=oArray.length;
- for(var s=i;s<len-1;s++)
- oArray[s]=oArray[s+1];
- oArray.length=len-1;
- }
-}
-
-function insertItemIntoArray(oArray,i,obj)
-{
- if(oArray.length&&i>=0&&i<=oArray.length)
- {
- var len=oArray.length;
- for(var s=len;s>i;s--)
- oArray[s]=oArray[s-1];
- oArray[i]=obj;
- }
-}
-
-function loadData(sFileName)
-{
- var i=gnLoadDivNum;
- var sName=gsDivName+gnLoadDivNum++;
- loadData_2(sFileName,sName);
-}
-
-function loadData_2(sFileName,sDivName)
-{
- if(!getElement(sDivName))
- {
- if(!insertDataDiv(sDivName))
- {
- gsFileName=sFileName;
- gsDivName=sDivName;
- return;
- }
- }
- var sHTML="";
- if(gbMac)
- sHTML+="<iframe src=\""+sFileName+"\"></iframe>";
- else
- sHTML+="<iframe style=\"visibility:hidden;width:0;height:0\" src=\""+sFileName+"\"></iframe>";
-
- var oDivCon=getElement(sDivName);
- if(oDivCon)
- {
- if(gbNav6)
- {
- if(oDivCon.getElementsByTagName&&oDivCon.getElementsByTagName("iFrame").length>0)
- {
- oDivCon.getElementsByTagName("iFrame")[0].src=sFileName;
- }
- else
- oDivCon.innerHTML=sHTML;
- }
- else
- oDivCon.innerHTML=sHTML;
- }
-}
-
-function loadDataXML(sFileName)
-{
- var sCurrentDocPath=_getPath(document.location.href);
- sdocPath=_getFullPath(sCurrentDocPath,sFileName);
- if(gbIE5)
- {
- xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
- xmlDoc.async=true;
- xmlDoc.onreadystatechange=checkState;
- if(document.body!=null)
- xmlDoc.load(sdocPath);
- }
- else if(gbNav6)
- {
- xmlDoc=document.implementation.createDocument("","",null);
- xmlDoc.addEventListener("load",initializeData,false);
- xmlDoc.load(sdocPath,"text/xml");
- }
-}
-
-function initializeData()
-{
- if(xmlDoc!=null)
- putDataXML(xmlDoc,sdocPath);
-}
-
-function checkState()
-{
- if(xmlDoc!=null)
- {
- var state=xmlDoc.readyState;
- if(state==4)
- {
- var err=xmlDoc.parseError;
- if(err.errorCode==0)
- putDataXML(xmlDoc,sdocPath);
- else
- onLoadXMLError();
- }
- }
-}
-
-function insertDataDiv(sName)
-{
- var sHTML="";
- if(gbMac)
- sHTML+="<div id="+sName+" style=\"display:none;\"></div>";
- else
- sHTML+="<div id="+sName+" style=\"visibility:hidden\"></div>";
- if((gbIE5||gbNav6)&&document.body)
- document.body.insertAdjacentHTML("beforeEnd",sHTML);
- else
- {
- gsInsertBeforeEndHTML=sHTML;
- setTimeout("insertWhenBodyReady();",100);
- return false;
- }
- return true;
-}
-
-function insertWhenBodyReady()
-{
- if(gsInsertBeforeEndHTML=="") return;
- if(document.body)
- {
- document.body.insertAdjacentHTML("beforeEnd",gsInsertBeforeEndHTML);
- gsInsertBeforeEndHTML="";
- loadData_2(gsFileName,gsDivName);
- }
- else
- {
- setTimeout("insertWhenBodyReady();",100);
- }
-}
-
-function window_BUnload()
-{
- for(var i=0;i<gnLoadDivNum;i++)
- {
- var oDivCon=getElement(gsDivName+i);
- if(oDivCon)
- oDivCon.innerHTML="";
- }
-}
-
-function removeThis(obj)
-{
- if(obj.parentNode)
- obj.parentNode.removeChild(obj);
- else
- obj.outerHTML="";
-}
-
-function getParentNode(obj)
-{
- if(obj.parentNode)
- return obj.parentNode;
- else if(obj.parentElement)
- return obj.parentElement;
- return null;
-}
-
-function getElement(sID)
-{
- if(document.getElementById)
- return document.getElementById(sID);
- else if(document.all)
- return document.all(sID);
- return null;
-}
-
-function getChildrenByTag(obj,sTagName)
-{
- if(obj.getElementsByTagName)
- {
- var aChildren=new Array();
- var aElements=getElementsByTag(obj,sTagName);
- if(aElements!=null)
- {
- for(var i=0;i<aElements.length;i++)
- {
- if(aElements[i].parentNode==obj)
- aChildren[aChildren.length]=aElements[i];
- }
- return aChildren;
- }
- else
- return new Array();
- }
- else if(obj.children)
- return obj.children.tags(sTagName);
-}
-
-function getElementsByTag(obj,sTagName)
-{
- if(obj.getElementsByTagName)
- return obj.getElementsByTagName(sTagName);
- else if(obj.all)
- return obj.all.tags(sTagName);
- return null;
-}
-
-function _htmlToText(sHTML)
-{
- if(sHTML==null) return null;
- var sText=sHTML;
- for(var i=0;i<sReplaceStringsSrc.length;i++)
- {
- var re=new RegExp(sReplaceStringsSrc[i],"g");
- sText=sText.replace(re,sReplaceStringsDst[i]);
- }
- return sText;
-}
-
-function _textToHtml_nonbsp(sText)
-{
- if(sText==null) return null;
- var sHTML=sText;
- for(var i=0;i<sReplaceStringsSrc.length-1;i++)
- {
- var re=new RegExp(sReplaceStringsDst[i],"g");
- sHTML=sHTML.replace(re,sReplaceStringsSrc[i]);
- }
- return sHTML;
-}
-
-function _textToHtml(sText)
-{
- if(sText==null) return null;
- var sHTML=sText;
- for(var i=0;i<sReplaceStringsSrc.length;i++)
- {
- var re=new RegExp(sReplaceStringsDst[i],"g");
- sHTML=sHTML.replace(re,sReplaceStringsSrc[i]);
- }
- return sHTML;
-}
-
-
-function getInnerText(obj)
-{
- var renbsp2sp=new RegExp("\xa0","g");
- if(obj.innerText)
- {
- var sText=obj.innerText;
- sText=sText.replace(renbsp2sp," ");
- return sText;
- }
- else
- {
- if(obj.nodeValue)
- {
- var sValue=obj.nodeValue;
- sValue=sValue.replace(renbsp2sp," ");
- return sValue;
- }
- else
- {
- var sText="";
- var oChild=obj.firstChild;
- while(oChild!=null)
- {
- sText+=getInnerText(oChild);
- oChild=oChild.nextSibling;
- }
- return sText;
- }
- }
-
-}
-
-function HighLightElement(obj,sHighLightColor,sNormalColor)
-{
- if(obj!=null)
- {
- resetHighLight(sNormalColor);
- if (obj.style)
- obj.style.backgroundColor=sHighLightColor;
- goHighLighted=obj;
- }
-}
-
-function resetHighLight(sNormalColor)
-{
- if(goHighLighted!=null)
- {
- if (goHighLighted.style)
- goHighLighted.style.backgroundColor=sNormalColor;
- goHighLighted=null;
- }
-}
-
-function whFont(sName,sSize,sColor,sStyle,sWeight,sDecoration)
-{
- this.sName=sName;
- this.sSize=sSize;
- this.sColor=sColor;
- this.sStyle=sStyle;
- this.sWeight=sWeight;
- this.sDecoration=sDecoration;
-}
-
-function getFontStyle(oFont)
-{
- var sStyle="";
- if(oFont)
- {
- sStyle+="font-family:"+oFont.sName+";";
- if(gbMac)
- {
- var nSize=parseInt(oFont.sSize);
- if(gbIE5)
- nSize+=2;
- else
- nSize+=4;
- sStyle+="font-size:"+nSize+"pt;";
- }
- else
- sStyle+="font-size:"+oFont.sSize+";";
-
- sStyle+="font-style:"+oFont.sStyle+";";
- sStyle+="font-weight:"+oFont.sWeight+";";
- sStyle+="text-decoration:"+oFont.sDecoration+";";
- sStyle+="color:"+oFont.sColor+";";
- }
- return sStyle;
-}
-
-function _browserStringToText(sBStr)
-{
- var sText="";
- // change %xxx back to the real char.
- var nPos=sBStr.indexOf('%');
- while(nPos!=-1)
- {
- sText+=sBStr.substring(0,nPos);
- sBStr=sBStr.substring(nPos+1);
- var sNum="";
- var i=0;
- while(sBStr.charAt(i)>='0'&&sBStr.charAt(i)<='9')
- {
- sNum+=sBStr.charAt(i++);
- }
- if(sNum!=""){
- var nNum=parseInt(sNum,16);
- sText+=String.fromCharCode(nNum);
- sBStr=sBStr.substring(i);
- }
- nPos=sBStr.indexOf('%');
- }
- sText+=sBStr;
- return sText;
-}
-
-function excapeSingleQuotandSlash(str)
-{
- if(str==null) return null;
- var nPos=0;
- var sRes="";
- var nPosNew=str.indexOf("\\",nPos);
- while(nPosNew!=-1){
- sRes+=str.substring(nPos,nPosNew+1)+"\\";
- nPos=nPosNew+1;
- nPosNew=str.indexOf("\\",nPos);
- }
- if(nPos<str.length)
- sRes+=str.substring(nPos);
- var re=new RegExp("'","g");
- sRes=sRes.replace(re,"\\'");
- return sRes;
-}
-
-var gbWhUtil=true;
\ No newline at end of file
+++ /dev/null
-// WebHelp 5.10.006
-var gbNav=false;
-var gbNav6=false;
-var gbNav61=false;
-var gbNav7=false;
-var gbNav4=false;
-var gbIE4=false;
-var gbIE=false;
-var gbIE5=false;
-var gbIE55=false;
-var gbOpera6=false;
-var gbOpera7=false;
-var gbKonqueror3=false;
-
-var gAgent=navigator.userAgent.toLowerCase();
-var gbMac=(gAgent.indexOf("mac")!=-1);
-var gbSunOS=(gAgent.indexOf("sunos")!=-1);
-var gbOpera=(gAgent.indexOf("opera")!=-1);
-var gbKonqueror=(gAgent.indexOf("konqueror")!= -1);
-var gbSafari=(gAgent.indexOf("safari")!= -1);
-var gbWindows=((gAgent.indexOf('win')!= -1)||(gAgent.indexOf('16bit')!= -1));
-var gbMozilla=((gAgent.indexOf('gecko')!=-1) && (gAgent.indexOf('netscape')==-1));
-
-
-var gVersion=navigator.appVersion.toLowerCase();
-
-var gnVerMajor=parseInt(gVersion);
-var gnVerMinor=parseFloat(gVersion);
-
-if(!gbOpera&&!gbKonqueror&&!gbSafari) // opera can mimic IE or Netscape by settings.
-{
- gbIE=(navigator.appName.indexOf("Microsoft")!=-1);
- gbNav=(gAgent.indexOf('mozilla')!=-1) && ((gAgent.indexOf('spoofer')==-1) && (gAgent.indexOf('compatible')==-1));
- if(gnVerMajor>=4)
- {
- if(navigator.appName=="Netscape")
- {
- gbNav4=true;
- if(gnVerMajor>=5)
- gbNav6=true;
- }
- gbIE4=(navigator.appName.indexOf("Microsoft")!=-1);
- }
- if(gbNav6)
- {
- var nPos=gAgent.indexOf("gecko");
- if(nPos!=-1)
- {
- var nPos2=gAgent.indexOf("/", nPos);
- if(nPos2!=-1)
- {
- var nVersion=parseFloat(gAgent.substring(nPos2+1));
- if(nVersion>=20010726)
- {
- gbNav61=true;
- if (nVersion>=20020823)
- gbNav7=true;
- }
- }
- }
- }else if(gbIE4)
- {
- var nPos=gAgent.indexOf("msie");
- if(nPos!=-1)
- {
- var nVersion=parseFloat(gAgent.substring(nPos+5));
- if(nVersion>=5)
- {
- gbIE5=true;
- if(nVersion>=5.5)
- gbIE55=true;
- }
- }
- }
-}
-else if (gbOpera)
-{
- var nPos = gAgent.indexOf("opera");
- if(nPos!=-1)
- {
- var nVersion=parseFloat(gAgent.substring(nPos+6));
- if(nVersion>=6)
- {
- gbOpera6=true;
- if(nVersion>=7)
- gbOpera7=true;
- }
- }
-}
-else if (gbKonqueror)
-{
- var nPos = gAgent.indexOf("konqueror");
- if(nPos!=-1)
- {
- var nVersion = parseFloat(gAgent.substring(nPos+10));
- if (nVersion >= 3)
- {
- gbKonqueror3=true;
- }
- }
-}
-
-var gbWhVer=true;
\ No newline at end of file
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Wire</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; }
-img_whs5 { border:none; width:208px; height:197px; float:none; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nWire");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Wire</h1>
-
-<p class="whs2"><b style="font-weight: normal;">T</b>o create
- a <span style="font-weight: bold;"><B>Wire</B></span> in the Main Menu select
- <span style="font-weight: bold;"><B>New Entity - > Build - > Wire</B></span></p>
-
-<p> </p>
-
-<p>You can create a <span style="font-weight: bold;"><B>Wire</B></span> from several
- connected edges and wires by selecting them in the object browser or in
- the viewer holding Shift button. </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;"> will
- be a</span></b> GEOM_Object (WIRE).</p>
-
-<p> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i>
- </i><span style="font-style: italic;"><I>geompy.MakeWire(ListOfShape).</I></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + List of connected wires or edges..</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/neo-obj3.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs4"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/wiresn.png" x-maintain-ratio="TRUE" width="208px" height="197px" border="0" class="img_whs5"></p>
-
-<p class="whs3"> </p>
-
-<p class="whs2">Our TUI Scripts provide you with useful examples
- of creation of <a href="geometrical_objects.htm#Creation">Advanced Geometric
- Objects</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Wireframe and Shading</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">
-<!--
-p.whs1 { margin-left:0px; }
-p.whs2 { font-family:'Times New Roman' , serif; font-size:12pt; }
-p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; font-style:italic; }
-p.whs4 { font-size:12pt; margin-left:40px; }
-img_whs5 { border:none; width:400px; height:420px; float:none; border-style:none; }
-img_whs6 { border:none; float:none; width:400px; height:420px; border-style:none; }
-p.whs7 { font-size:12pt; }
--->
-</style><script type="text/javascript" language="JavaScript">
-<!--
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
-{
- var strNSS = "<style type='text/css'>";
- strNSS += "p.whs1 {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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nViewing geometrical objects\nDisplay Mode");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Display Mode</h1>
-
-<p class=TODO
- style="font-family: 'Times New Roman', serif;
- font-size: 12pt;
- font-style: normal;">This option is relevant for viewing 3D
- objects. <span style="font-weight: bold;"><B>Wireframe</B></span> mode means
- that you can see only edges
- of the object, while its shells remain transparent. <span style="font-weight: bold;"><B>Shading</B></span>
- mode means that the shells are filled with color.</p>
-
-<p class=TODO
- style="font-family: 'Times New Roman', serif;
- font-size: 12pt;
- font-style: normal;"> </p>
-
-<p class="whs1">To change the display mode right-click on
- this geometrical object in the viewer and from the pop-up menu select
- <span style="font-weight: bold;"><B>Display mode --> Wireframe</B></span>
- or<span style="font-weight: bold;"><B> Shading</B></span>.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI
- Command:</b><i> gg.setDisplayMode(ID, Short)</i></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3">Wireframe </p>
-
-<p class="whs4"><img src="pics/disp_mode1sn.png" x-maintain-ratio="TRUE" width="400px" height="420px" border="0" class="img_whs5"> </p>
-
-<p class="whs3">Shading</p>
-
-<p class="whs4"><img src="pics/disp_mode2sn.png" x-maintain-ratio="TRUE" width="400px" height="420px" border="0" class="img_whs6"></p>
-
-<p class="whs4"> </p>
-
-<p class="whs7">Our TUI Scripts provide you with useful examples
- of <a href="changing_display_parameters.htm#bookmark">Changing Display
- Parameters</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Working Plane</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-size:12pt; margin-left:40px; }
-img_whs4 { border:none; width:400px; height:277px; float:none; border-style:none; }
-img_whs5 { border:none; width:400px; height:312px; float:none; border-style:none; }
-img_whs6 { border:none; width:400px; height:320px; float:none; border-style:none; }
-table.whs7 { x-cell-content-align:top; width:39.231%; border-spacing:0px; }
-col.whs8 { width:52.696%; }
-col.whs9 { width:47.304%; }
-tr.whs10 { x-cell-content-align:top; }
-td.whs11 { width:52.696%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; }
-p.whs12 { font-style:italic; }
-td.whs13 { width:47.304%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; }
-td.whs14 { width:52.696%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-bottom-style:none; }
-img_whs15 { border:none; width:176px; height:217px; border-style:none; }
-td.whs16 { width:47.304%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; }
-img_whs17 { border:none; width:191px; height:217px; border-style:none; }
--->
-</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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nWorking Plane");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span></b>Working Plane</h1>
-
-<p>Definition of a <span style="font-weight: bold;"><B>Working Plane</B></span>
- is necessary for work with <span style="font-weight: bold;"><B><a href="sketcher.htm">Sketcher</a></B></span>.
- </p>
-
-<p> </p>
-
-<p>To create a <span style="font-weight: bold;"><B>Working Plane</B></span> in
- the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
- Entity - > Basic - > Working Plane</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">There is a number of algorithms to set the
- <span style="font-weight: bold;"><B>Working Plane</B></span> and the Camera Position.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Firstly, you can select a <span style="font-weight: bold;"><B>Plane</B></span>,<span
- style="font-weight: bold;"> <B></B></span>a <span style="font-weight: bold;"><B>Planar
- Face</B></span> or a <span style="font-weight: bold;"><B>Local Coordinate System</B></span>
- to be your <span style="font-weight: bold;"><B>Working Plane</B></span></p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 1 selection (face or planar face), </p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/workplane4.png" x-maintain-ratio="TRUE" width="400px" height="277px" border="0" class="img_whs4"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Secondly, you can define a <span style="font-weight: bold;"><B>Working
- Plane</B></span> by two <span style="font-weight: bold;"><B>Vectors</B></span></p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- Name + 2
- vectors.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/workplane5.png" x-maintain-ratio="TRUE" width="400px" height="312px" border="0" class="img_whs5"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">Finally, you can select one of three basic
- projections of XYZ coordinate system to be your <span style="font-weight: bold;"><B>Working
- Plane</B></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><img src="pics/workplane6.png" x-maintain-ratio="TRUE" width="400px" height="320px" border="0" class="img_whs6"></p>
-
-<p> </p>
-
-<p><span style="font-weight: bold;"><B>Reverse the plane normal</B></span> checkbox
- allows changing the direction of the working plane.</p>
-
-<p> </p>
-
-<p><span style="font-weight: bold;"><B>Example:</B></span> Working plane on the
- upper face of a box. </p>
-
-<p> </p>
-
-<table x-use-null-cells cellspacing="0" width="39.231%" class="whs7">
-<col class="whs8">
-<col class="whs9">
-
-<tr valign="top" class="whs10">
-<td width="52.696%" class="whs11">
-<p class="whs12">Normal Direction</td>
-<td width="47.304%" class="whs13">
-<p class="whs12">Reversed Direction</td></tr>
-
-<tr valign="top" class="whs10">
-<td width="52.696%" class="whs14">
-<p><img src="image36.gif" width="176px" height="217px" border="0" class="img_whs15"></td>
-<td width="47.304%" class="whs16">
-<p><img src="image47.gif" width="191px" height="217px" border="0" class="img_whs17"></td></tr>
-</table>
-
-<p> </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>
+++ /dev/null
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
-
-<html>
-
-<head>
-<title>Working with groups</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 { border:none; width:24px; height:22px; border-style:none; }
-p.whs2 { font-size:12pt; }
-p.whs3 { font-size:12pt; font-weight:bold; margin-left:40px; }
-img_whs4 { border:none; border-style:none; width:312px; height:379px; float:none; }
-p.whs5 { font-size:12pt; margin-left:0px; font-weight:normal; }
-ul.whs6 { list-style:disc; }
-img_whs7 { border:none; width:50px; height:31px; border-style:none; }
-p.whs8 { font-size:12pt; margin-left:48px; }
-p.whs9 { font-size:12pt; margin-left:0px; }
-p.whs10 { font-size:12pt; font-weight:bold; }
-p.whs11 { font-size:12pt; margin-left:40px; }
-img_whs12 { border:none; width:250px; height:307px; border-style:none; }
-img_whs13 { border:none; width:22px; height:22px; border-style:none; }
-p.whs14 { font-size:12pt; margin-left:40px; font-weight:bold; }
-img_whs15 { border:none; width:312px; height:379px; 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 += "p.whs9 {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; }
-p.WebHelpNavBar { text-align:right; }
--->
-</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>
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.gbWhTopic)
-{
- if (window.setRelStartPage)
- {
- addTocInfo("Geometry module\nCreating geometrical objects\nWorking with groups");
-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");
-
- }
-
-
- if (window.setRelStartPage)
- {
- setRelStartPage("index.htm");
-
- autoSync(1);
- sendSyncInfo();
- sendAveInfoOut();
- }
-
-}
-else
- if (window.gbIE4)
- document.location.reload();
-//-->
-</script>
-</head>
-<body><script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(4);
-//-->
-</script>
-<h1>Working with groups</h1>
-
-<p>Creation and editing groups of subshapes of a geometrical object makes
- handling subshapes much easier. This functionality is available in OCC
- viewer only.</p>
-
-<p> </p>
-
-<p><img src="image56.gif" width="24px" height="22px" border="0" class="img_whs1"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Create
- a group</B></font></span></p>
-
-<p> </p>
-
-<p class="whs2">To create a group of subshapes of a geometrical
- object in the main menu select <span style="font-weight: bold;"><B>New entity
- > Group > Create</B></span>. </p>
-
-<p class="whs2">The following menu will appear. </p>
-
-<p class="whs2"> </p>
-
-<p class="whs3"><b style="font-weight: bold;"><img src="pics/geomcreategroup.png" x-maintain-ratio="TRUE" width="312px" height="379px" border="0" class="img_whs4"></b></p>
-
-<p class="whs3"> </p>
-
-<p class="whs5">In this Menu: </p>
-
-<p class="whs5"> </p>
-
-<ul type="disc" class="whs6">
-
- <li class=kadov-p><p class="whs5"><span style="font-weight: bold;"><B>Shape
- Type</B></span> radio button define the type of elements for the group (points,
- lines, planes or shapes). </p></li>
-
- <li class=kadov-p><p class="whs5"><span style="font-weight: bold;"><B>Group
- Name</B></span> - here you can enter the name of the group, by default, it
- is Group_n.</p></li>
-
- <li class=kadov-p><p class="whs5">Then, using the <img src="image28.gif" width="50px" height="31px" border="0" class="img_whs7"> button, select the <span style="font-weight: bold;"><B>Main
- Shape</B></span> (a geometrical object on which the group will be created).
- You can select the elements of your group in two ways:</p></li>
-
- <li class=kadov-p><p class="whs8">Clicking
- <span style="font-weight: bold;"><B>Select Sub-Shapes</B></span> button you can
- select them manually in the 3D Viewer, and add to the group by clicking
- the <span style="font-weight: bold;"><B>Add</B></span> button (keep down the
- Shift button on the keyboard to select several elements and add all them
- together). The indexes of the selected elements will be displayed in the
- list. To delete elements from the list, select them and click <span style="font-weight: bold;"><B>Remove</B></span>
- button. </p></li>
-
- <li class=kadov-p><p class="whs8">Clicking
- <span style="font-weight: bold;"><B>Select All</B></span> button you can add
- all object's elements of a certain type in the list of the elements of
- the group. To delete elements from the list, select them and click <span
- style="font-weight: bold;"><B>Remove</B></span> button. </p></li>
-
- <li class=kadov-p><p class="whs9">Finally,
- confirm your selection by clicking <span style="font-weight: bold;"><B>OK
- </B></span>(also closes the Menu) or <span style="font-weight: bold;"><B>Apply</B></span>
- (leaves the Menu open for creation of other groups), or skip it by clicking
- <span style="font-weight: bold;"><B>Close</B></span> button. </p></li>
-</ul>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">of the operation will be a</span></b><b>
- GEOM_Object<span style="font-weight: normal;">.</span></b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i><span style="font-style: italic;"><I>geompy.CreateGroup(MainShape, ShapeType)</I></span>,
- where MainShape is a shape for which the group is created, ShapeType is
- a type of shapes in the created group.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- 1 Shape + Type of subshape.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs10">Example:</p>
-
-<p class="whs10"> </p>
-
-<p class="whs11"><img src="image193.jpg" width="250px" height="307px" border="0" class="img_whs12"></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><img src="image57.gif" width="22px" height="22px" border="0" class="img_whs13"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Edit
- a group</B></font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2">To<span style="font-weight: bold;"><B> Edit </B></span>an
- existing group in the main menu select <span style="font-weight: bold;"><B>New
- entity > Group > Edit</B></span>. This menu is designed in the same
- way as the <span style="font-weight: bold;"><B>Create a group</B></span> menu.
- </p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
- Result <span style="font-weight: normal;">of the operation will be a</span></b><b>
- GEOM_Object<span style="font-weight: normal;">.</span></b></p>
-
-<p> </p>
-
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
- </i></p>
-
-<ul type="disc" class="whs6">
-
- <li class=kadov-p><p class="whs2"><i><span style="font-style: italic;"><I>g</i>eompy.AddObject(Group,
- SubShapeID)</I></span>, where Group is a group to which a sub shape has to
- be added, SubShapeID is an ID of the sub shape to be added to the group</p></li>
-
- <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.RemoveObject(Group,
- SubShapeID)</I></span>, where Group is a group from which a sub shape has
- to be removed, SubShapeID is an ID of the sub shape to be removed from
- the group</p></li>
-
- <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.GetObjectIDs(Group)</I></span>,
- where Group is a group for which its object ID\92s are returned. </p></li>
-</ul>
-
-<p class="whs11"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Returns:
- List of IDs.</font></span></p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
- 1 Shape + its subshapes.</p>
-
-<p class="whs2"> </p>
-
-<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
-
-<p class="whs2"> </p>
-
-<p class="whs14"><b style="font-weight: bold;"><img src="pics/editgroup.png" x-maintain-ratio="TRUE" width="312px" height="379px" border="0" class="img_whs15"></b></p>
-
-<p class="whs14"> </p>
-
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
- provide you with useful examples of <a href="working_with_groups.htm">Working
- with Groups</a>. </p>
-
-<p> </p>
-
-<script type="text/javascript" language="javascript1.2">
-<!--
-if (window.writeIntopicBar)
- writeIntopicBar(0);
-//-->
-</script>
-</body>
-</html>