]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Merging from BR_DEBUG_3_2_0b1
authorabd <abd@opencascade.com>
Wed, 14 Jun 2006 07:50:25 +0000 (07:50 +0000)
committerabd <abd@opencascade.com>
Wed, 14 Jun 2006 07:50:25 +0000 (07:50 +0000)
263 files changed:
bin/VERSION [deleted file]
doc/Makefile.in
doc/salome/GEOM_index_v3.1.0.html [deleted file]
doc/salome/Makefile.in
doc/salome/gui/GEOM/add_point_on_edge.htm
doc/salome/gui/GEOM/arc.htm
doc/salome/gui/GEOM/archimede.htm
doc/salome/gui/GEOM/basic_geometrical_objects.htm
doc/salome/gui/GEOM/basic_operations.htm
doc/salome/gui/GEOM/blocks.htm [deleted file]
doc/salome/gui/GEOM/blocks_operations.htm
doc/salome/gui/GEOM/boolean_operations.htm
doc/salome/gui/GEOM/box.htm
doc/salome/gui/GEOM/building_by_blocks.htm
doc/salome/gui/GEOM/chamfer.htm
doc/salome/gui/GEOM/changing_display_parameters.htm
doc/salome/gui/GEOM/changing_displaying_parameters.htm [deleted file]
doc/salome/gui/GEOM/check_free_boundaries.htm
doc/salome/gui/GEOM/check_free_faces.htm
doc/salome/gui/GEOM/circle.htm
doc/salome/gui/GEOM/close_contour.htm
doc/salome/gui/GEOM/color.htm
doc/salome/gui/GEOM/common.htm
doc/salome/gui/GEOM/complex_objects.htm
doc/salome/gui/GEOM/compound.htm
doc/salome/gui/GEOM/cone.htm
doc/salome/gui/GEOM/cshdat_robohelp.htm
doc/salome/gui/GEOM/cshdat_webhelp.htm
doc/salome/gui/GEOM/curve.htm
doc/salome/gui/GEOM/cut.htm
doc/salome/gui/GEOM/cylinder.htm
doc/salome/gui/GEOM/default.css
doc/salome/gui/GEOM/default_ns.css
doc/salome/gui/GEOM/edge.htm
doc/salome/gui/GEOM/ehelp.xml
doc/salome/gui/GEOM/ellipse.htm
doc/salome/gui/GEOM/explode.htm
doc/salome/gui/GEOM/explode_on_blocks.htm
doc/salome/gui/GEOM/extrusion.htm
doc/salome/gui/GEOM/face.htm
doc/salome/gui/GEOM/fillet.htm
doc/salome/gui/GEOM/filling.htm
doc/salome/gui/GEOM/fuse.htm
doc/salome/gui/GEOM/geom.htm [deleted file]
doc/salome/gui/GEOM/geom.log
doc/salome/gui/GEOM/geom_csh.htm [deleted file]
doc/salome/gui/GEOM/geom_rhc.htm [deleted file]
doc/salome/gui/GEOM/geometrical_objects.htm
doc/salome/gui/GEOM/geometry.htm
doc/salome/gui/GEOM/glue_faces.htm
doc/salome/gui/GEOM/groups.htm
doc/salome/gui/GEOM/image10.jpg [deleted file]
doc/salome/gui/GEOM/image11.gif [deleted file]
doc/salome/gui/GEOM/image11.jpg [deleted file]
doc/salome/gui/GEOM/image12.gif [deleted file]
doc/salome/gui/GEOM/image12.jpg [deleted file]
doc/salome/gui/GEOM/image121.jpg [deleted file]
doc/salome/gui/GEOM/image122.jpg [deleted file]
doc/salome/gui/GEOM/image124.jpg [deleted file]
doc/salome/gui/GEOM/image127.jpg [deleted file]
doc/salome/gui/GEOM/image128.jpg [deleted file]
doc/salome/gui/GEOM/image129.jpg [deleted file]
doc/salome/gui/GEOM/image13.gif [deleted file]
doc/salome/gui/GEOM/image130.jpg [deleted file]
doc/salome/gui/GEOM/image133.jpg [deleted file]
doc/salome/gui/GEOM/image14.gif [deleted file]
doc/salome/gui/GEOM/image147.jpg [deleted file]
doc/salome/gui/GEOM/image149.jpg [deleted file]
doc/salome/gui/GEOM/image15.gif [deleted file]
doc/salome/gui/GEOM/image150.jpg [deleted file]
doc/salome/gui/GEOM/image151.jpg [deleted file]
doc/salome/gui/GEOM/image16.gif [deleted file]
doc/salome/gui/GEOM/image160.jpg
doc/salome/gui/GEOM/image163.jpg [deleted file]
doc/salome/gui/GEOM/image164.jpg [deleted file]
doc/salome/gui/GEOM/image17.gif [deleted file]
doc/salome/gui/GEOM/image170.jpg [deleted file]
doc/salome/gui/GEOM/image171.jpg [deleted file]
doc/salome/gui/GEOM/image172.jpg [deleted file]
doc/salome/gui/GEOM/image18.jpg [deleted file]
doc/salome/gui/GEOM/image188.jpg [deleted file]
doc/salome/gui/GEOM/image189.jpg [deleted file]
doc/salome/gui/GEOM/image19.gif [deleted file]
doc/salome/gui/GEOM/image191.jpg [deleted file]
doc/salome/gui/GEOM/image197.jpg [deleted file]
doc/salome/gui/GEOM/image20.gif [deleted file]
doc/salome/gui/GEOM/image201.jpg [deleted file]
doc/salome/gui/GEOM/image202.jpg [deleted file]
doc/salome/gui/GEOM/image21.gif [deleted file]
doc/salome/gui/GEOM/image22.gif [deleted file]
doc/salome/gui/GEOM/image23.gif [deleted file]
doc/salome/gui/GEOM/image24.gif [deleted file]
doc/salome/gui/GEOM/image25.gif [deleted file]
doc/salome/gui/GEOM/image27.jpg [deleted file]
doc/salome/gui/GEOM/image31.gif [deleted file]
doc/salome/gui/GEOM/image52.jpg [deleted file]
doc/salome/gui/GEOM/image53.jpg [deleted file]
doc/salome/gui/GEOM/image54.jpg [deleted file]
doc/salome/gui/GEOM/image56.gif
doc/salome/gui/GEOM/image6.gif [deleted file]
doc/salome/gui/GEOM/image67.jpg [deleted file]
doc/salome/gui/GEOM/image7.gif [deleted file]
doc/salome/gui/GEOM/image76.jpg [deleted file]
doc/salome/gui/GEOM/image78.jpg [deleted file]
doc/salome/gui/GEOM/image79.jpg [deleted file]
doc/salome/gui/GEOM/image8.gif [deleted file]
doc/salome/gui/GEOM/image8.jpg [deleted file]
doc/salome/gui/GEOM/image80.jpg [deleted file]
doc/salome/gui/GEOM/image81.jpg [deleted file]
doc/salome/gui/GEOM/image82.jpg [deleted file]
doc/salome/gui/GEOM/image83.jpg [deleted file]
doc/salome/gui/GEOM/image84.jpg [deleted file]
doc/salome/gui/GEOM/image85.jpg [deleted file]
doc/salome/gui/GEOM/image9.gif [deleted file]
doc/salome/gui/GEOM/image9.jpg [deleted file]
doc/salome/gui/GEOM/image94.jpg [deleted file]
doc/salome/gui/GEOM/image95.jpg [deleted file]
doc/salome/gui/GEOM/image96.jpg [deleted file]
doc/salome/gui/GEOM/image97.jpg [deleted file]
doc/salome/gui/GEOM/image98.jpg [deleted file]
doc/salome/gui/GEOM/index.htm
doc/salome/gui/GEOM/index_csh.htm
doc/salome/gui/GEOM/index_rhc.htm
doc/salome/gui/GEOM/isos.htm
doc/salome/gui/GEOM/line.htm
doc/salome/gui/GEOM/local_coordinate_system.htm
doc/salome/gui/GEOM/measurement_tools.htm
doc/salome/gui/GEOM/mirror_image.htm
doc/salome/gui/GEOM/modify_the_location.htm
doc/salome/gui/GEOM/multi_rotation.htm
doc/salome/gui/GEOM/multi_transformation.htm
doc/salome/gui/GEOM/multi_translation.htm
doc/salome/gui/GEOM/newentity_blocks.htm
doc/salome/gui/GEOM/occ_viewer.htm
doc/salome/gui/GEOM/offset_surface.htm
doc/salome/gui/GEOM/partition.htm
doc/salome/gui/GEOM/pipe_creation.htm
doc/salome/gui/GEOM/plane.htm
doc/salome/gui/GEOM/point.htm
doc/salome/gui/GEOM/primitives.htm
doc/salome/gui/GEOM/propagate.htm
doc/salome/gui/GEOM/repairing_operations.htm
doc/salome/gui/GEOM/revolution.htm
doc/salome/gui/GEOM/rotation.htm
doc/salome/gui/GEOM/scale_transform.htm
doc/salome/gui/GEOM/section.htm
doc/salome/gui/GEOM/selectcolor.png
doc/salome/gui/GEOM/sewing.htm
doc/salome/gui/GEOM/shape_processing.htm
doc/salome/gui/GEOM/shell.htm
doc/salome/gui/GEOM/sketcher.htm
doc/salome/gui/GEOM/sketcher_tui.htm
doc/salome/gui/GEOM/solid.htm
doc/salome/gui/GEOM/sphere.htm
doc/salome/gui/GEOM/suppress_faces.htm
doc/salome/gui/GEOM/suppress_holes.htm
doc/salome/gui/GEOM/suppress_internal_wires.htm
doc/salome/gui/GEOM/transformation_operations.htm
doc/salome/gui/GEOM/translation.htm
doc/salome/gui/GEOM/transparency.htm
doc/salome/gui/GEOM/turus.htm
doc/salome/gui/GEOM/vector.htm
doc/salome/gui/GEOM/viewing_geometrical_objects.htm
doc/salome/gui/GEOM/whcsh_home.htm
doc/salome/gui/GEOM/whcshdata.htm
doc/salome/gui/GEOM/whd_dpns.htm
doc/salome/gui/GEOM/whd_nvp10.htm
doc/salome/gui/GEOM/whd_nvp20.htm
doc/salome/gui/GEOM/whd_tabs.htm
doc/salome/gui/GEOM/whd_toc4.gif
doc/salome/gui/GEOM/whd_topic.xml
doc/salome/gui/GEOM/whestart.ico [deleted file]
doc/salome/gui/GEOM/whfbody.htm
doc/salome/gui/GEOM/whfdhtml.htm
doc/salome/gui/GEOM/whfform.htm
doc/salome/gui/GEOM/whfhost.js
doc/salome/gui/GEOM/whform.js
doc/salome/gui/GEOM/whframes.js
doc/salome/gui/GEOM/whgbody.htm
doc/salome/gui/GEOM/whgdef.htm
doc/salome/gui/GEOM/whgdhtml.htm
doc/salome/gui/GEOM/whghost.js
doc/salome/gui/GEOM/whhost.js
doc/salome/gui/GEOM/whibody.htm
doc/salome/gui/GEOM/whidhtml.htm
doc/salome/gui/GEOM/whiform.htm
doc/salome/gui/GEOM/whihost.js
doc/salome/gui/GEOM/whlang.js
doc/salome/gui/GEOM/whmozemu.js
doc/salome/gui/GEOM/whmsg.js
doc/salome/gui/GEOM/whnjs.htm
doc/salome/gui/GEOM/whphost.js
doc/salome/gui/GEOM/whproj.js
doc/salome/gui/GEOM/whproxy.js
doc/salome/gui/GEOM/whres.xml
doc/salome/gui/GEOM/whrstart.ico [deleted file]
doc/salome/gui/GEOM/whskin_banner.htm [deleted file]
doc/salome/gui/GEOM/whskin_blank.htm
doc/salome/gui/GEOM/whskin_frmset01.htm [deleted file]
doc/salome/gui/GEOM/whskin_frmset010.htm [deleted file]
doc/salome/gui/GEOM/whskin_homepage.htm
doc/salome/gui/GEOM/whskin_info.htm
doc/salome/gui/GEOM/whskin_mbars.htm [deleted file]
doc/salome/gui/GEOM/whskin_papplet.htm [deleted file]
doc/salome/gui/GEOM/whskin_pdhtml.htm [deleted file]
doc/salome/gui/GEOM/whskin_pickup.htm
doc/salome/gui/GEOM/whskin_plist.htm [deleted file]
doc/salome/gui/GEOM/whskin_tbars.htm [deleted file]
doc/salome/gui/GEOM/whskin_tw.htm
doc/salome/gui/GEOM/whst_topics.xml [deleted file]
doc/salome/gui/GEOM/whstart.ico [deleted file]
doc/salome/gui/GEOM/whstart.js
doc/salome/gui/GEOM/whstub.js
doc/salome/gui/GEOM/wht_abge.jpg [deleted file]
doc/salome/gui/GEOM/wht_abgi.jpg [deleted file]
doc/salome/gui/GEOM/wht_abgw.jpg [deleted file]
doc/salome/gui/GEOM/wht_abte.jpg [deleted file]
doc/salome/gui/GEOM/wht_abti.jpg [deleted file]
doc/salome/gui/GEOM/wht_abtw.jpg [deleted file]
doc/salome/gui/GEOM/wht_fts_h.gif [deleted file]
doc/salome/gui/GEOM/wht_fts_n.gif [deleted file]
doc/salome/gui/GEOM/wht_glo_h.gif [deleted file]
doc/salome/gui/GEOM/wht_glo_n.gif [deleted file]
doc/salome/gui/GEOM/wht_go.gif [deleted file]
doc/salome/gui/GEOM/wht_hide.gif [deleted file]
doc/salome/gui/GEOM/wht_idx_h.gif [deleted file]
doc/salome/gui/GEOM/wht_idx_n.gif [deleted file]
doc/salome/gui/GEOM/wht_logo1.gif [deleted file]
doc/salome/gui/GEOM/wht_logo2.gif [deleted file]
doc/salome/gui/GEOM/wht_next.gif [deleted file]
doc/salome/gui/GEOM/wht_next_g.gif [deleted file]
doc/salome/gui/GEOM/wht_prev.gif [deleted file]
doc/salome/gui/GEOM/wht_prev_g.gif [deleted file]
doc/salome/gui/GEOM/wht_spac.gif [deleted file]
doc/salome/gui/GEOM/wht_sync.gif [deleted file]
doc/salome/gui/GEOM/wht_tab0.gif [deleted file]
doc/salome/gui/GEOM/wht_tab1.gif [deleted file]
doc/salome/gui/GEOM/wht_tab2.gif [deleted file]
doc/salome/gui/GEOM/wht_tab3.gif [deleted file]
doc/salome/gui/GEOM/wht_tab4.gif [deleted file]
doc/salome/gui/GEOM/wht_tab5.gif [deleted file]
doc/salome/gui/GEOM/wht_tab6.gif [deleted file]
doc/salome/gui/GEOM/wht_tab7.gif [deleted file]
doc/salome/gui/GEOM/wht_tab8.gif [deleted file]
doc/salome/gui/GEOM/wht_toc1.gif [deleted file]
doc/salome/gui/GEOM/wht_toc2.gif [deleted file]
doc/salome/gui/GEOM/wht_toc3.gif [deleted file]
doc/salome/gui/GEOM/wht_toc4.gif [deleted file]
doc/salome/gui/GEOM/wht_toc_h.gif [deleted file]
doc/salome/gui/GEOM/wht_toc_n.gif [deleted file]
doc/salome/gui/GEOM/wht_ws.gif [deleted file]
doc/salome/gui/GEOM/wht_ws_g.gif [deleted file]
doc/salome/gui/GEOM/whtbar.js [deleted file]
doc/salome/gui/GEOM/whtdhtml.htm
doc/salome/gui/GEOM/whthost.js
doc/salome/gui/GEOM/whtopic.js
doc/salome/gui/GEOM/whutils.js
doc/salome/gui/GEOM/whver.js
doc/salome/gui/GEOM/wire.htm
doc/salome/gui/GEOM/wireframe_and_shading.htm
doc/salome/gui/GEOM/working_plane.htm
doc/salome/gui/GEOM/working_with_groups.htm
doc/salome/gui/Makefile.in

diff --git a/bin/VERSION b/bin/VERSION
deleted file mode 100755 (executable)
index 874df04..0000000
+++ /dev/null
@@ -1 +0,0 @@
-THIS IS SALOME - GEOM VERSION: 3.2.0a1
index 7295ede75128e9e51b474f63ed9f8d7a128bb3df..af9e2aae518afd3ed7391580048395e10b9d01a8 100644 (file)
@@ -1,3 +1,22 @@
+#  Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+#
+#  This library is free software; you can redistribute it and/or
+#  modify it under the terms of the GNU Lesser General Public
+#  License as published by the Free Software Foundation; either
+#  version 2.1 of the License.
+#
+#  This library is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#  Lesser General Public License for more details.
+#
+#  You should have received a copy of the GNU Lesser General Public
+#  License along with this library; if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
 
 # -* Makefile *- 
 #
@@ -19,6 +38,17 @@ docs:
        @@SETX@; for d in $(SUBDIRS); do        \
           (cd $$d && $(MAKE) $@) || exit 1;    \
        done
+
+usr_docs:
+       @@SETX@; for d in $(SUBDIRS); do        \
+          (cd $$d && $(MAKE) $@) || exit 1;    \
+       done
+
+dev_docs:
+       @@SETX@; for d in $(SUBDIRS); do        \
+          (cd $$d && $(MAKE) $@) || exit 1;    \
+       done
+
 clean:
        @@SETX@; for d in $(SUBDIRS); do        \
           (cd $$d && $(MAKE) $@) || exit 1;    \
diff --git a/doc/salome/GEOM_index_v3.1.0.html b/doc/salome/GEOM_index_v3.1.0.html
deleted file mode 100644 (file)
index e4488eb..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
-                                            
-  <meta http-equiv="Content-Type"
- content="text/html; charset=iso-8859-1">
-                                            
-  <meta name="GENERATOR"
- content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
-  <title>Geometry Module Documentation</title>
-</head>
-  <body bgcolor="#cccccc" text="#000000" link="#0000ee" alink="#0000ee"
- vlink="#551a8b">
-       
-<div align="center">    &nbsp;           
-<center>          
-<center>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
- &nbsp;&nbsp;</center>
-       
-<table width="96%" align="center">
-           <tbody>
-              <tr>
-           <td><a href="http://www.opencascade.com"><img
- src="tui/GEOM/sources/logocorp.gif" border="0" height="46" width="122">
-                </a></td>
-             <td>                                                       
-               
-      <div align="right"><a href="http://www.opencascade.org/SALOME/"><img
- src="tui/GEOM/sources/application.gif" border="0" height="46" width="108">
-                </a></div>
-           </td>
-           </tr>
-                                                      
-  </tbody>    
-</table>
-       
-<div align="center">    
-<center>    
-<hr width="100%" size="2">   
-<h1>Geometry MODULE Documentation</h1>
-                                     </center>
-    </div>
-       
-<table width="96%">
-      <tbody>
-               
-  </tbody>    
-</table>
-    </center>
-       
-<div align="center">       
-<p> <img src="tui/GEOM/sources/Application-About.png"
- alt="Application-About.png" width="30%" height="20%">
-    &nbsp; &nbsp;&nbsp;          </p>
-             </div>
-       
-<center>    
-<table width="96%">
-      <tbody>
-                 
-  </tbody>    
-</table>
-   <br>
-   <br>
-   <br>
-   </center>
-     
-<address> </address>
-   
-<center><big><a href="gui/GEOM/geom.htm">GUI Documentation</a></big></center>
-      
-<address> </address>
-   
-<center></center>
-      
-<center><br>
-   </center>
-     
-<address> </address>
-   
-<center><big><a href="tui/GEOM/index.html">TUI Documentation</a></big></center>
-      
-<address> </address>
-   
-<center></center>
-      
-<center><br>
-   <br>
-    </center>
-    </div>
-     <br>
-  <br>
- <br>
-</body>
-</html>
index 2af65570b9967e5bcf51a4b838ff987e6f98e380..d65e5cd8f29950ceac28d1a084783acb702f5732 100644 (file)
@@ -1,11 +1,25 @@
-#  Copyright (C) 2003  CEA/DEN, EDF R&D
+#  Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 #
+#  This library is free software; you can redistribute it and/or
+#  modify it under the terms of the GNU Lesser General Public
+#  License as published by the Free Software Foundation; either
+#  version 2.1 of the License.
 #
+#  This library is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#  Lesser General Public License for more details.
+#
+#  You should have received a copy of the GNU Lesser General Public
+#  License along with this library; if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+#  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #  File   : Makefile.in
 #  Author : Vasily Rusyaev (Open Cascade NN)
 #  Module : doc
-#  $Header: 
 
 top_srcdir=@top_srcdir@
 top_builddir=../..
@@ -13,33 +27,48 @@ srcdir=@srcdir@
 VPATH=.:@srcdir@
 
 SUBDIRS= tui gui
+SUBDIRSGUI= gui
+SUBDIRSTUI= tui
 
 @COMMENCE@
 
-docs:
-       @@SETX@; for d in $(SUBDIRS); do        \
+usr_docs:
+       @@SETX@; for d in $(SUBDIRSGUI); do     \
+          (cd $$d && $(MAKE) $@) || exit 1;    \
+       done; \
+
+docs: usr_docs
+
+dev_docs:
+       @@SETX@; for d in $(SUBDIRSTUI); do     \
           (cd $$d && $(MAKE) $@) || exit 1;    \
        done; \
-       cp -f $(srcdir)/GEOM_index_v3.1.0.html GEOM_index_v3.1.0.html
 
 clean:
        @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
+          if test -d $$d/GEOM; then            \
+             (cd $$d && $(MAKE) $@) || exit 1; \
+          fi;                                  \
        done
 
 distclean: clean
        @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
+          if test -d $$d/GEOM; then            \
+             (cd $$d && $(MAKE) $@) || exit 1; \
+          fi;                                  \
        done
 
 install:
        $(MAKE) docs
-       (cd tui && $(MAKE) install);
-       (cd gui && $(MAKE) install);
-       cp -f GEOM_index_v3.1.0.html $(docdir)
+       @@SETX@; for d in $(SUBDIRS); do        \
+          if test -d $$d/GEOM; then            \
+             (cd $$d && $(MAKE) $@);           \
+          fi;                                  \
+       done
 
 uninstall:
        @@SETX@; for d in $(SUBDIRS); do        \
-          (cd $$d && $(MAKE) $@) || exit 1;    \
+          if test -d $$d/GEOM; then            \
+             (cd $$d && $(MAKE) $@) || exit 1; \
+          fi;                                  \
        done; \
-       rm -fr $(docdir)/GEOM_index_v3.1.0.html
index 2134b248d29df4fa4d13a2fbf83f3cd48ef23e7f..6d969d30af342b98610d7fac2c910d413c4e7e42 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Add Point on Edge</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:22px; height:22px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-weight:normal; }\r
-p.whs4 { margin-left:40px; font-size:12pt; font-weight:bold; }\r
-img_whs5 { border:none; width:312px; height:388px; float:none; border-style:none; }\r
-p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
-p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }\r
-p.whs8 { margin-left:80px; font-size:12pt; text-indent:-40px; }\r
-img_whs9 { border:none; width:200px; height:231px; border-style:none; }\r
-img_whs10 { border:none; width:185px; height:231px; border-style:none; }\r
-p.whs11 { font-size:12pt; text-indent:-68px; margin-left:72px; }\r
-p.whs12 { font-weight:bold; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs6 {text-indent:1pt; }";\r
-  strNSS += "p.whs7 {text-indent:1pt; }";\r
-  strNSS += "p.whs8 {text-indent:1pt; }";\r
-  strNSS += "p.whs11 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nAdd Point on Edge");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o <span \r
- style="font-weight: bold;"><B>Add Point on Edge</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>Repair - &gt; Add Point on Edge.</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">This operation splits an edge in two in accordance \r
- with the specified mode (by length or by parameter) and a value specifying \r
- the position of the point on edge (for example val =0.5; mode = Length). \r
- This operation is available in <span style="font-weight: bold;"><B>OCC Viewer</B></span> \r
- only. </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID, \r
- Value, IsByParameter)</I></span>, where Shape is a shape which contains an \r
- edge to be divided, EdgeID is the ID of the edge to be divided, if it \r
- = -1, then Shape is an edge, Value is a paramter on the edge or a length. \r
- IsByParameter if it is True then Value is the edge parameter in the range \r
- [0:1] otherwise it is a length of the edge in the range [0:1]</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 Edge + 1 value setting the position of the point according to \r
- one of the selected modes</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog \r
- Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/repair8.png" x-maintain-ratio="TRUE" width="312px" height="388px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs7">Example:</p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="image167.jpg" width="200px" height="231px" border="0" class="img_whs9"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="image168.jpg" width="185px" height="231px" border="0" class="img_whs10"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs12"><span style="font-weight: normal;">Our</span> \r
- TUI Scripts<span style="font-weight: normal;"> provide you with useful \r
- examples of the use of</span> <a href="repairing_operations.htm#bookmark7">Repairing \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Add Point on Edge.</B></span></p>
+
+<p>&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs6">Example:</p>
+
+<p class="whs5">&nbsp;</p>
+
+<p class="whs7"><img src="image167.jpg" width="200px" height="231px" border="0" class="img_whs8"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="image168.jpg" width="185px" height="231px" border="0" class="img_whs9"></p>
+
+<p class="whs10">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 738480e991b9c330406faeb09315b9304fb27a10..3b86911251886253206f862e0da41415e91340ce 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Arc</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:359px; float:none; border-style:none; }\r
-p.whs5 { color:#808080; font-size:12pt; }\r
-p.whs6 { font-size:12pt; color:#000000; }\r
-p.whs7 { color:#808080; font-size:12pt; margin-left:40px; }\r
-img_whs8 { border:none; width:330px; height:283px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nArc");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p><b><span style="font-weight: normal;">T</b>o</span> create an <span \r
- style="font-weight: bold;"><B>Arc</B></span> in the <span style="font-weight: bold;"><B>Main \r
- Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt; \r
- Basic - &gt; Arc</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b><span style="font-weight: normal;">You can \r
- define an</span> Arc <span style="font-weight: normal;">by</span> <span \r
- style="font-weight: normal;">three</span><span style="font-weight: bold;"><B> \r
- Points </B></span><span style="font-weight: normal;">that lie on it, where \r
- </span></b>Point1 is the starting point and Point3 is the ending point \r
- of the arc.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of the operation will be a</span></b><b> \r
- GEOM_Object (edge).</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b> \r
- <span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 3 vertices.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/arc.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs6"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="pics/arcsn.png" x-maintain-ratio="TRUE" width="330px" height="283px" border="0" class="img_whs8"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="basic_geometrical_objects.htm">Basic Geometric \r
- Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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; margin-left:40px; }
+img_whs4 { border:none; width:312px; height:359px; 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:330px; height:283px; 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\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 - &gt; 
+ Basic - &gt; Arc</B></span></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">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><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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs3"><img src="pics/arc.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs4"></p>
+
+<p class="whs5">&nbsp;</p>
+
+<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs5">&nbsp;</p>
+
+<p class="whs7"><img src="pics/arcsn.png" x-maintain-ratio="TRUE" width="330px" height="283px" border="0" class="img_whs8"></p>
+
+<p class="whs7">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index fef374bd88fb181ba7be3c4d50bf2d3d013b7ed7..238672ecbf72a058b0f7f8c4f5573e86dee2f928 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Archimede</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-p.whs4 { font-size:12pt; margin-left:40px; }\r
-img_whs5 { border:none; width:312px; height:367px; float:none; border-style:none; }\r
-img_whs6 { border:none; float:none; width:200px; height:180px; border-style:none; }\r
-img_whs7 { border:none; float:none; width:185px; height:180px; border-style:none; }\r
-img_whs8 { border:none; float:none; width:180px; height:180px; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nBasic Operations\nArchimede");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- an <span style="font-weight: bold;"><B>Archimede</B></span> operation in the \r
- Main Menu select <span style="font-weight: bold;"><B>Operations - &gt; Archimede</B></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">This \r
- operation creates a plane corresponding to the modeled water-line of the \r
- object plunged into the water (in Z direction).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result<span style="font-weight: normal;"> will be any</span></b> GEOM_Object.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command: \r
- </b><span style="font-style: italic;"><I>geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection)</I></span>, \r
- where Shape is a shape to put into the water, Weight is a weight of the \r
- shape, WaterDensity &nbsp;is \r
- density of water, MeshingDeflection is a deflection of the mesh, using \r
- to compute the section.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 shape &nbsp;+ \r
- 3 values (Weight, Water Density &amp; Meshing Deflection).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/archimede.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/archimedesn1.png" x-maintain-ratio="TRUE" width="200px" height="180px" border="0" class="img_whs6"> &nbsp;<img src="pics/archimedesn2.png" x-maintain-ratio="TRUE" width="185px" height="180px" border="0" class="img_whs7"> &nbsp;<img src="pics/archimedesn3.png" x-maintain-ratio="TRUE" 1height=180 1border=0 width="180px" height="180px" border="0" class="img_whs8"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of the use of <a href="basic_operations.htm#bookmark1">Basic Operations</a>. \r
- </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Archimede</B></span></p>
+
+<p class="whs3">&nbsp;</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">&nbsp;</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 &nbsp;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 &nbsp;+ 
+ 3 values (Weight, Water Density &amp; Meshing Deflection).</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs4"><img src="pics/archimedesn1.png" x-maintain-ratio="TRUE" width="200px" height="180px" border="0" class="img_whs6"> &nbsp;<img src="pics/archimedesn2.png" x-maintain-ratio="TRUE" width="185px" height="180px" border="0" class="img_whs7"> &nbsp;<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">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 0fcc12eb98ab8363b29e9e9f9e951b435ff575df..3b5e35b609808520ef3617a09315651984b16eca 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Basic Geometrical Objects</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nBasic Geometrical Objects");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Basic Geometrical Objects</h1>\r
-\r
-<h3><a name=bookmark>Creation of a Point</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex(0., \r
- 0., 0.)</p>\r
-\r
-<p class="whs1">p100 = geompy.MakeVertexWithRef(p0, \r
- 100., 100., 100.)</p>\r
-\r
-<p class="whs1">px = geompy.MakeVertex(100., \r
- 0., 0.)</p>\r
-\r
-<p class="whs1">py = geompy.MakeVertex(0., \r
- 100., 0.)</p>\r
-\r
-<p class="whs1">pz = geompy.MakeVertex(0., \r
- 0., 100.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a curve and a vertex on it</p>\r
-\r
-<p class="whs1">Arc = geompy.MakeArc(py, \r
- pz, px)</p>\r
-\r
-<p class="whs1">p_on_arc = geompy.MakeVertexOnCurve(Arc, \r
- 0.25)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_p0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(p0, &nbsp;&nbsp;&quot;Vertex \r
- 0&quot;)</p>\r
-\r
-<p class="whs1">id_p100 &nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(p100, &quot;Vertex 100&quot;)</p>\r
-\r
-<p class="whs1">id_px &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(px, &nbsp;&nbsp;&quot;Vertex \r
- X&quot;)</p>\r
-\r
-<p class="whs1">id_py &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(py, &nbsp;&nbsp;&quot;Vertex \r
- Y&quot;)</p>\r
-\r
-<p class="whs1">id_pz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(pz, &nbsp;&nbsp;&quot;Vertex \r
- Z&quot;)</p>\r
-\r
-<p class="whs1">id_Arc &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(Arc, &nbsp;&quot;Arc&quot;)</p>\r
-\r
-<p class="whs1">id_p_on_arc = geompy.addToStudy(p_on_arc, \r
- &quot;Vertex on Arc&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display vertices</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p0)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p100)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_Arc)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_p_on_arc)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark1>Creation of a Line</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex(0., \r
- 0., 0.)</p>\r
-\r
-<p class="whs1">p100 = geompy.MakeVertexWithRef(p0, \r
- 100., 100., 100.)</p>\r
-\r
-<p class="whs1">px = geompy.MakeVertex(100., \r
- 0. &nbsp;, 0. \r
- &nbsp;)</p>\r
-\r
-<p class="whs1">py = geompy.MakeVertex(0. \r
- &nbsp;, 100., \r
- 0. &nbsp;)</p>\r
-\r
-<p class="whs1">pz = geompy.MakeVertex(0. \r
- &nbsp;, 0. &nbsp;, \r
- 100.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vector from two points</p>\r
-\r
-<p class="whs1">vxy &nbsp;= \r
- geompy.MakeVector(px, py)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a line from a point and a vector</p>\r
-\r
-<p class="whs1">line1 = geompy.MakeLine(pz, \r
- vxy)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>#create a line from two points</p>\r
-\r
-<p class="whs1">line2 = geompy.MakeLineTwoPnt(p0, \r
- p100)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_vxy &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(vxy, &nbsp;&quot;Vector&quot;)</p>\r
-\r
-<p class="whs1">id_line1 &nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(line1,&quot;Line1&quot;)</p>\r
-\r
-<p class="whs1">id_line2 &nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(line2,&quot;Line2&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display lines</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_line1)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_line2)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark2>Creation of &nbsp;a \r
- Circle</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex(0., \r
- 0., 0.)</p>\r
-\r
-<p class="whs1">px = geompy.MakeVertex(100., \r
- 0. &nbsp;, 0. \r
- &nbsp;)</p>\r
-\r
-<p class="whs1">py = geompy.MakeVertex(0. \r
- &nbsp;, 100., \r
- 0. &nbsp;)</p>\r
-\r
-<p class="whs1">pz = geompy.MakeVertex(0. \r
- &nbsp;, 0. &nbsp;, \r
- 100.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vector on two points</p>\r
-\r
-<p class="whs1">vxy &nbsp;= \r
- geompy.MakeVector(px, py)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a circle from a point, a vector and a radius</p>\r
-\r
-<p class="whs1">circle1 = geompy.MakeCircle(pz, \r
- vxy, 30)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>#create a circle from three points</p>\r
-\r
-<p class="whs1">circle2 = geompy.MakeCircleThreePnt(p0, \r
- px, py)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_vxy &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(vxy, &nbsp;&nbsp;&nbsp;&quot;Vector&quot;)</p>\r
-\r
-<p class="whs1">id_circle1 &nbsp;= \r
- geompy.addToStudy(circle1,&quot;Circle1&quot;)</p>\r
-\r
-<p class="whs1">id_circle2 &nbsp;= \r
- geompy.addToStudy(circle2,&quot;Circle2&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display circles</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_circle1)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_circle2)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark3>Creation of an Ellipse</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex(0., \r
- 0., 0.)</p>\r
-\r
-<p class="whs1">p50 = geompy.MakeVertex(50., \r
- 50., 50.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vector from two points</p>\r
-\r
-<p class="whs1">vector &nbsp;= \r
- geompy.MakeVector(p0, p50)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create an ellipse from a point, a vector and radiuses</p>\r
-\r
-<p class="whs1">ellipse = geompy.MakeEllipse(p50, \r
- vector, 50, 25)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_vector &nbsp;= \r
- geompy.addToStudy(vector, &quot;Vector&quot;)</p>\r
-\r
-<p class="whs1">id_ellipse = geompy.addToStudy(ellipse,&quot;Ellipse&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the ellipse and its normal vector</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_vector)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_ellipse)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark4>Creation of a Curve</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex(0. \r
- &nbsp;, 0. &nbsp;, \r
- 0. &nbsp;)</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(50. \r
- , 100., 200.)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(150., \r
- &nbsp;50., 100.)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex(100., \r
- 150., 170.)</p>\r
-\r
-<p class="whs1">p4 = geompy.MakeVertex(200., \r
- 200., 150.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a polyline from a list of points</p>\r
-\r
-<p class="whs1">polyline = geompy.MakePolyline([p0, \r
- p1, p2, p3, p4])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a bezier curve from a list of points</p>\r
-\r
-<p class="whs1">bezier = geompy.MakeBezier([p0, \r
- p1, p2, p3, p4])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>#create a b-spline curve from a list of points</p>\r
-\r
-<p class="whs1">interpol = geompy.MakeInterpol([p0, \r
- p1, p2, p3, p4])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_p0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(p0, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point1&quot;)</p>\r
-\r
-<p class="whs1">id_p1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(p1, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point2&quot;)</p>\r
-\r
-<p class="whs1">id_p2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(p2, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point3&quot;)</p>\r
-\r
-<p class="whs1">id_p3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(p3, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point4&quot;)</p>\r
-\r
-<p class="whs1">id_p4 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(p4, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point5&quot;)</p>\r
-\r
-<p class="whs1">id_polyline = geompy.addToStudy(polyline, \r
- &quot;Polyline&quot;)</p>\r
-\r
-<p class="whs1">id_bezier &nbsp;&nbsp;= \r
- geompy.addToStudy(bezier, &nbsp;&nbsp;&quot;Bezier&quot;)</p>\r
-\r
-<p class="whs1">id_interpol = geompy.addToStudy(interpol, \r
- &quot;Interpol&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p># display the points and the curves</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p0)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p2)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p3)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p4)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_polyline)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_bezier)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_interpol)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark5>Creation of a Vector</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(10., \r
- 50., 20.)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(70., \r
- 70., 70.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vector from two points</p>\r
-\r
-<p class="whs1">vector1 = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vector from the given components</p>\r
-\r
-<p class="whs1">vector2 = geompy.MakeVectorDXDYDZ(30, \r
- 30, 100)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_p1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(p1, &nbsp;&nbsp;&nbsp;&nbsp;&quot;Point1&quot;)</p>\r
-\r
-<p class="whs1">id_p2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(p2, &nbsp;&nbsp;&nbsp;&nbsp;&quot;Point2&quot;)</p>\r
-\r
-<p class="whs1">id_vector1 = geompy.addToStudy(vector1,&quot;Vector1&quot;)</p>\r
-\r
-<p class="whs1">id_vector2 = geompy.addToStudy(vector2,&quot;Vector2&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the points and the vectors</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p2)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_vector1)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_vector2)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark6>Creation of a Plane</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex( \r
- &nbsp;0., &nbsp;&nbsp;0., \r
- 100.)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(100., \r
- &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex(200., \r
- 200., 200.)</p>\r
-\r
-<p class="whs1">p4 = geompy.MakeVertex(100., \r
- 100., &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p5 = geompy.MakeVertex(0. \r
- &nbsp;, 100., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vector from the given components</p>\r
-\r
-<p class="whs1">vector = geompy.MakeVectorDXDYDZ(100., \r
- 100., 100.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vector from two points</p>\r
-\r
-<p class="whs1">vector_arc = geompy.MakeVector(p2, \r
- p5)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create an arc from three points</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(p2, \r
- p4, p5)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a wire</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vector_arc, \r
- arc])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a face</p>\r
-\r
-<p class="whs1">isPlanarWanted = 1</p>\r
-\r
-<p class="whs1">face = geompy.MakeFace(wire, \r
- isPlanarWanted)</p>\r
-\r
-<p class="whs1">trimsize = 1000.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a plane from a point, a vector and a trimsize</p>\r
-\r
-<p class="whs1">plane1 = geompy.MakePlane(p1, \r
- vector, trimsize)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a plane from three points and a trimsize</p>\r
-\r
-<p class="whs1">plane2 = geompy.MakePlaneThreePnt(p1, \r
- p2, p3, trimsize)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a plane from the given face</p>\r
-\r
-<p class="whs1">plane3 = geompy.MakePlaneFace(face, \r
- trimsize)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_face &nbsp;&nbsp;= \r
- geompy.addToStudy(face, &nbsp;&quot;Face&quot;)</p>\r
-\r
-<p class="whs1">id_plane1 = geompy.addToStudy(plane1,&quot;Plane1&quot;)</p>\r
-\r
-<p class="whs1">id_plane2 = geompy.addToStudy(plane2,&quot;Plane2&quot;)</p>\r
-\r
-<p class="whs1">id_plane3 = geompy.addToStudy(plane3,&quot;Plane3&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the points and the vectors</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_face)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_plane1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_plane2)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_plane3)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_plane1,1)</p>\r
-\r
-<p class="whs1">gg.setTransparency(id_plane1,0.5)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_plane2,1)</p>\r
-\r
-<p class="whs1">gg.setTransparency(id_plane2,0.5)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_plane3,1)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setTransparency(id_plane3,0.5)</span> \r
- </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
+<!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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_p0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(p0, &nbsp;&nbsp;&quot;Vertex 
+ 0&quot;)</p>
+
+<p class="whs1">id_p100 &nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(p100, &quot;Vertex 100&quot;)</p>
+
+<p class="whs1">id_px &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(px, &nbsp;&nbsp;&quot;Vertex 
+ X&quot;)</p>
+
+<p class="whs1">id_py &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(py, &nbsp;&nbsp;&quot;Vertex 
+ Y&quot;)</p>
+
+<p class="whs1">id_pz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(pz, &nbsp;&nbsp;&quot;Vertex 
+ Z&quot;)</p>
+
+<p class="whs1">id_Arc &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(Arc, &nbsp;&quot;Arc&quot;)</p>
+
+<p class="whs1">id_p_on_arc = geompy.addToStudy(p_on_arc, 
+ &quot;Vertex on Arc&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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. &nbsp;, 0. 
+ &nbsp;)</p>
+
+<p class="whs1">py = geompy.MakeVertex(0. 
+ &nbsp;, 100., 
+ 0. &nbsp;)</p>
+
+<p class="whs1">pz = geompy.MakeVertex(0. 
+ &nbsp;, 0. &nbsp;, 
+ 100.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vector from two points</p>
+
+<p class="whs1">vxy &nbsp;= 
+ geompy.MakeVector(px, py)</p>
+
+<p>&nbsp;</p>
+
+<p># create a line from a point and a vector</p>
+
+<p class="whs1">line1 = geompy.MakeLine(pz, 
+ vxy)</p>
+
+<p>&nbsp;</p>
+
+<p>#create a line from two points</p>
+
+<p class="whs1">line2 = geompy.MakeLineTwoPnt(p0, 
+ p100)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_vxy &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(vxy, &nbsp;&quot;Vector&quot;)</p>
+
+<p class="whs1">id_line1 &nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(line1,&quot;Line1&quot;)</p>
+
+<p class="whs1">id_line2 &nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(line2,&quot;Line2&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<h3><a name=bookmark2>Creation of &nbsp;a 
+ Circle</a></h3>
+
+<p class="whs1">import geompy</p>
+
+<p class="whs1">import salome</p>
+
+<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices</p>
+
+<p class="whs1">p0 = geompy.MakeVertex(0., 
+ 0., 0.)</p>
+
+<p class="whs1">px = geompy.MakeVertex(100., 
+ 0. &nbsp;, 0. 
+ &nbsp;)</p>
+
+<p class="whs1">py = geompy.MakeVertex(0. 
+ &nbsp;, 100., 
+ 0. &nbsp;)</p>
+
+<p class="whs1">pz = geompy.MakeVertex(0. 
+ &nbsp;, 0. &nbsp;, 
+ 100.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vector on two points</p>
+
+<p class="whs1">vxy &nbsp;= 
+ geompy.MakeVector(px, py)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p>#create a circle from three points</p>
+
+<p class="whs1">circle2 = geompy.MakeCircleThreePnt(p0, 
+ px, py)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_vxy &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(vxy, &nbsp;&nbsp;&nbsp;&quot;Vector&quot;)</p>
+
+<p class="whs1">id_circle1 &nbsp;= 
+ geompy.addToStudy(circle1,&quot;Circle1&quot;)</p>
+
+<p class="whs1">id_circle2 &nbsp;= 
+ geompy.addToStudy(circle2,&quot;Circle2&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># create a vector from two points</p>
+
+<p class="whs1">vector &nbsp;= 
+ geompy.MakeVector(p0, p50)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_vector &nbsp;= 
+ geompy.addToStudy(vector, &quot;Vector&quot;)</p>
+
+<p class="whs1">id_ellipse = geompy.addToStudy(ellipse,&quot;Ellipse&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices</p>
+
+<p class="whs1">p0 = geompy.MakeVertex(0. 
+ &nbsp;, 0. &nbsp;, 
+ 0. &nbsp;)</p>
+
+<p class="whs1">p1 = geompy.MakeVertex(50. 
+ , 100., 200.)</p>
+
+<p class="whs1">p2 = geompy.MakeVertex(150., 
+ &nbsp;50., 100.)</p>
+
+<p class="whs1">p3 = geompy.MakeVertex(100., 
+ 150., 170.)</p>
+
+<p class="whs1">p4 = geompy.MakeVertex(200., 
+ 200., 150.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a polyline from a list of points</p>
+
+<p class="whs1">polyline = geompy.MakePolyline([p0, 
+ p1, p2, p3, p4])</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_p0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(p0, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point1&quot;)</p>
+
+<p class="whs1">id_p1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(p1, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point2&quot;)</p>
+
+<p class="whs1">id_p2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(p2, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point3&quot;)</p>
+
+<p class="whs1">id_p3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(p3, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point4&quot;)</p>
+
+<p class="whs1">id_p4 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(p4, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point5&quot;)</p>
+
+<p class="whs1">id_polyline = geompy.addToStudy(polyline, 
+ &quot;Polyline&quot;)</p>
+
+<p class="whs1">id_bezier &nbsp;&nbsp;= 
+ geompy.addToStudy(bezier, &nbsp;&nbsp;&quot;Bezier&quot;)</p>
+
+<p class="whs1">id_interpol = geompy.addToStudy(interpol, 
+ &quot;Interpol&quot;)</p>
+
+<p class="whs1">&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># create a vector from two points</p>
+
+<p class="whs1">vector1 = geompy.MakeVector(p1, 
+ p2)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vector from the given components</p>
+
+<p class="whs1">vector2 = geompy.MakeVectorDXDYDZ(30, 
+ 30, 100)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_p1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(p1, &nbsp;&nbsp;&nbsp;&nbsp;&quot;Point1&quot;)</p>
+
+<p class="whs1">id_p2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(p2, &nbsp;&nbsp;&nbsp;&nbsp;&quot;Point2&quot;)</p>
+
+<p class="whs1">id_vector1 = geompy.addToStudy(vector1,&quot;Vector1&quot;)</p>
+
+<p class="whs1">id_vector2 = geompy.addToStudy(vector2,&quot;Vector2&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices</p>
+
+<p class="whs1">p1 = geompy.MakeVertex( 
+ &nbsp;0., &nbsp;&nbsp;0., 
+ 100.)</p>
+
+<p class="whs1">p2 = geompy.MakeVertex(100., 
+ &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p3 = geompy.MakeVertex(200., 
+ 200., 200.)</p>
+
+<p class="whs1">p4 = geompy.MakeVertex(100., 
+ 100., &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p5 = geompy.MakeVertex(0. 
+ &nbsp;, 100., 
+ &nbsp;&nbsp;0.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vector from the given components</p>
+
+<p class="whs1">vector = geompy.MakeVectorDXDYDZ(100., 
+ 100., 100.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vector from two points</p>
+
+<p class="whs1">vector_arc = geompy.MakeVector(p2, 
+ p5)</p>
+
+<p>&nbsp;</p>
+
+<p># create an arc from three points</p>
+
+<p class="whs1">arc = geompy.MakeArc(p2, 
+ p4, p5)</p>
+
+<p>&nbsp;</p>
+
+<p># create a wire</p>
+
+<p class="whs1">wire = geompy.MakeWire([vector_arc, 
+ arc])</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># create a plane from three points and a trimsize</p>
+
+<p class="whs1">plane2 = geompy.MakePlaneThreePnt(p1, 
+ p2, p3, trimsize)</p>
+
+<p>&nbsp;</p>
+
+<p># create a plane from the given face</p>
+
+<p class="whs1">plane3 = geompy.MakePlaneFace(face, 
+ trimsize)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_face &nbsp;&nbsp;= 
+ geompy.addToStudy(face, &nbsp;&quot;Face&quot;)</p>
+
+<p class="whs1">id_plane1 = geompy.addToStudy(plane1,&quot;Plane1&quot;)</p>
+
+<p class="whs1">id_plane2 = geompy.addToStudy(plane2,&quot;Plane2&quot;)</p>
+
+<p class="whs1">id_plane3 = geompy.addToStudy(plane3,&quot;Plane3&quot;)</p>
+
+<p>&nbsp;</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>
index 7c9fdf198992149caefbfb460b7160bf229585dc..49bd3918dbabdb521ffab592ee45cc6fc791b188 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Basic Operations</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBasic Operations");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Basic Operations</h1>\r
-\r
-<h3><a name=bookmark>Partition</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p0 &nbsp;&nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p200 = geompy.MakeVertex(200., \r
- 200., 200.)</p>\r
-\r
-<p class="whs1">pz &nbsp;&nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- &nbsp;&nbsp;0., \r
- 100.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vector</p>\r
-\r
-<p class="whs1">vxyz = geompy.MakeVectorDXDYDZ(100., \r
- 100., 100.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box from two points</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxTwoPnt(p0, \r
- p200)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a plane</p>\r
-\r
-<p class="whs1">trimsize &nbsp;= \r
- 500.</p>\r
-\r
-<p class="whs1">plane = geompy.MakePlane(pz, \r
- vxyz, trimsize)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create partition objects</p>\r
-\r
-<p class="whs1">partition1 = geompy.MakePartition([box], \r
- [plane])</p>\r
-\r
-<p class="whs1">partition2 = geompy.Partition([box], \r
- [plane])</p>\r
-\r
-<p class="whs1">partition3 = geompy.MakeHalfPartition(box, \r
- plane)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_box = geompy.addToStudy(box,&quot;Box&quot;)</p>\r
-\r
-<p class="whs1">id_plane = geompy.addToStudy(plane,&quot;Plane&quot;)</p>\r
-\r
-<p class="whs1">id_partition1 = geompy.addToStudy(partition1,&quot;MakePartition&quot;)</p>\r
-\r
-<p class="whs1">id_partition2 = geompy.addToStudy(partition2,&quot;Partition&quot;)</p>\r
-\r
-<p class="whs1">id_partition3 = geompy.addToStudy(partition3,&quot;MakeHalfPartition&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the partition objects and the plane</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_plane)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_plane,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_partition1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_partition2)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_partition3)</span> \r
- </p>\r
-\r
-<h3><a name=bookmark1>Archimede</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p0 &nbsp;&nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p200 = geompy.MakeVertex(200., \r
- 200., 200.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box from two points</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxTwoPnt(p0, \r
- p200)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># perform an Archimede operation on the selected shape with selected \r
- parameters</p>\r
-\r
-<p class="whs1">weight &nbsp;= \r
- 1000000.</p>\r
-\r
-<p class="whs1">waterdensity = 1.</p>\r
-\r
-<p class="whs1">meshingdeflection \r
- = 0.01</p>\r
-\r
-<p class="whs1">archimede &nbsp;= \r
- geompy.Archimede(box, weight, waterdensity, meshingdeflection)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_box = geompy.addToStudy(box,&quot;Box&quot;)</p>\r
-\r
-<p class="whs1">id_archimede = geompy.addToStudy(archimede,&quot;Archimede&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the box and the result of Archimede operation</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_archimede)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_archimede,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</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
+<!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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vertex and a vector</p>
+
+<p class="whs1">p0 &nbsp;&nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p200 = geompy.MakeVertex(200., 
+ 200., 200.)</p>
+
+<p class="whs1">pz &nbsp;&nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ &nbsp;&nbsp;0., 
+ 100.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vector</p>
+
+<p class="whs1">vxyz = geompy.MakeVectorDXDYDZ(100., 
+ 100., 100.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a box from two points</p>
+
+<p class="whs1">box = geompy.MakeBoxTwoPnt(p0, 
+ p200)</p>
+
+<p>&nbsp;</p>
+
+<p># create a plane</p>
+
+<p class="whs1">trimsize &nbsp;= 
+ 500.</p>
+
+<p class="whs1">plane = geompy.MakePlane(pz, 
+ vxyz, trimsize)</p>
+
+<p>&nbsp;</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">&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_box = geompy.addToStudy(box,&quot;Box&quot;)</p>
+
+<p class="whs1">id_plane = geompy.addToStudy(plane,&quot;Plane&quot;)</p>
+
+<p class="whs1">id_partition1 = geompy.addToStudy(partition1,&quot;MakePartition&quot;)</p>
+
+<p class="whs1">id_partition2 = geompy.addToStudy(partition2,&quot;Partition&quot;)</p>
+
+<p class="whs1">id_partition3 = geompy.addToStudy(partition3,&quot;MakeHalfPartition&quot;)</p>
+
+<p>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vertex and a vector</p>
+
+<p class="whs1">p0 &nbsp;&nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p200 = geompy.MakeVertex(200., 
+ 200., 200.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a box from two points</p>
+
+<p class="whs1">box = geompy.MakeBoxTwoPnt(p0, 
+ p200)</p>
+
+<p>&nbsp;</p>
+
+<p># perform an Archimede operation on the selected shape with selected 
+ parameters</p>
+
+<p class="whs1">weight &nbsp;= 
+ 1000000.</p>
+
+<p class="whs1">waterdensity = 1.</p>
+
+<p class="whs1">meshingdeflection 
+ = 0.01</p>
+
+<p class="whs1">archimede &nbsp;= 
+ geompy.Archimede(box, weight, waterdensity, meshingdeflection)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_box = geompy.addToStudy(box,&quot;Box&quot;)</p>
+
+<p class="whs1">id_archimede = geompy.addToStudy(archimede,&quot;Archimede&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
diff --git a/doc/salome/gui/GEOM/blocks.htm b/doc/salome/gui/GEOM/blocks.htm
deleted file mode 100755 (executable)
index f3b2049..0000000
+++ /dev/null
@@ -1,116 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Building of blocks</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
-ul.whs1 { list-style:disc; }\r
-p.whs2 { margin-left:40px; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Building of blocks</h1>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<ul type="disc" class="whs1">\r
-       \r
-       <li class=kadov-p><p><a href="#Multi-transformation">Multi-transformation</a></p></li>\r
-       \r
-       <li class=kadov-p><p><a href="#ExplodeOnBlocks">Explode on blocks</a></p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class=TODO>To use these options:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs2">In the main menu select <span style="font-weight: bold;"><B>Blocks \r
- </B></span>submenu.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</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
index a040a5b4c65248668eaa67fc47f24beef1a36d5c..4b606d3af95fb5a8764f8ef9e24b023d9bb86bfd 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Blocks Operations</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBlocks Operations");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Blocks Operations</h1>\r
-\r
-<h3><a name=bookmark4>Multi Transformation</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p_25_25_50 = geompy.MakeVertex(25., \r
- 25., 50.)</p>\r
-\r
-<p class="whs1">p_50_25_25 = geompy.MakeVertex(50., \r
- 25., 25.)</p>\r
-\r
-<p class="whs1">p_25_50_25 = geompy.MakeVertex(25., \r
- 50., 25.)</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(50, \r
- 50, 50)</p>\r
-\r
-<p class="whs1">top_face = geompy.GetFaceNearPoint(box, \r
- p_25_25_50)</p>\r
-\r
-<p class="whs1">yz_face = geompy.GetFaceNearPoint(box, \r
- p_50_25_25)</p>\r
-\r
-<p class="whs1">xz_face = geompy.GetFaceNearPoint(box, \r
- p_25_50_25)</p>\r
-\r
-<p class="whs1">top_face_ind = geompy.LocalOp.GetSubShapeIndex(box, \r
- top_face)</p>\r
-\r
-<p class="whs1">yz_face_ind = geompy.LocalOp.GetSubShapeIndex(box, \r
- yz_face)</p>\r
-\r
-<p class="whs1">xz_face_ind = geompy.LocalOp.GetSubShapeIndex(box, \r
- xz_face)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># Multi-transformate block and glue the result</p>\r
-\r
-<p class="whs1">box_tr1 = geompy.MakeMultiTransformation1D(box, \r
- yz_face_ind, top_face_ind, 3)</p>\r
-\r
-<p class="whs1">box_tr2 = geompy.MakeMultiTransformation2D(box, \r
- xz_face_ind, yz_face_ind, 3, top_face_ind, 0, 2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_box = geompy.addToStudy(box, \r
- &quot;Box&quot;)</p>\r
-\r
-<p class="whs1">id_box_tr1 = geompy.addToStudy(box_tr1, \r
- &quot;Multi-transformed Block 1D&quot;)</p>\r
-\r
-<p class="whs1">id_box_tr2 = geompy.addToStudy(box_tr2, \r
- &quot;Multi-transformed Block 2D&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box_tr1)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_box_tr2)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark5>Explode on Blocks</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box and a sphere</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(200, \r
- 200, 200)</p>\r
-\r
-<p class="whs1">sphere = geompy.MakeSphereR(100)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p># make a compound</p>\r
-\r
-<p class="whs1">compound = geompy.MakeCompound([box, \r
- sphere])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># get all the blocks, contained in the given compound</p>\r
-\r
-<p class="whs1">make_block_explode \r
- = geompy.MakeBlockExplode(compound, 1, 1)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_compound = geompy.addToStudy(compound, \r
- &quot;Compound&quot;)</p>\r
-\r
-<p class="whs1">id_make_block_explode \r
- = geompy.addToStudy(make_block_explode[0], &quot;MakeBlockExplode&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_compound)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_make_block_explode)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_make_block_explode,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark6>Propagate</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box and a sphere</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(200, \r
- 200, 200)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># check and improve</p>\r
-\r
-<p class="whs1">check_box = geompy.CheckAndImprove(box)</p>\r
-\r
-<p>&nbsp;&nbsp;</p>\r
-\r
-<p># build all possible propagation groups</p>\r
-\r
-<p class="whs1">listChains = geompy.Propagate(check_box)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">geompy.addToStudy(check_box, \r
- &quot;Box&quot;)</p>\r
-\r
-<p class="whs1">for chain in listChains:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudyInFather(check_box, \r
- chain, &quot;propagation chain&quot;)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</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
+<!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; }
+-->
+</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">import geompy</p>
+
+<p class="whs1">import salome</p>
+
+<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># 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">box = geompy.MakeBoxDXDYDZ(50, 
+ 50, 50)</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">top_face_ind = geompy.LocalOp.GetSubShapeIndex(box, 
+ top_face)</p>
+
+<p class="whs1">yz_face_ind = geompy.LocalOp.GetSubShapeIndex(box, 
+ yz_face)</p>
+
+<p class="whs1">xz_face_ind = geompy.LocalOp.GetSubShapeIndex(box, 
+ xz_face)</p>
+
+<p>&nbsp;</p>
+
+<p># 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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_box = geompy.addToStudy(box, 
+ &quot;Box&quot;)</p>
+
+<p class="whs1">id_box_tr1 = geompy.addToStudy(box_tr1, 
+ &quot;Multi-transformed Block 1D&quot;)</p>
+
+<p class="whs1">id_box_tr2 = geompy.addToStudy(box_tr2, 
+ &quot;Multi-transformed Block 2D&quot;)</p>
+
+<p>&nbsp;</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_box_tr1)</p>
+
+<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_box_tr2)</span> 
+ </p>
+
+<p>&nbsp;</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">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># 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">&nbsp;</p>
+
+<p># make a compound</p>
+
+<p class="whs1">compound = geompy.MakeCompound([box, 
+ sphere])</p>
+
+<p>&nbsp;</p>
+
+<p># get all the blocks, contained in the given compound</p>
+
+<p class="whs1">make_block_explode 
+ = geompy.MakeBlockExplode(compound, 1, 1)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_compound = geompy.addToStudy(compound, 
+ &quot;Compound&quot;)</p>
+
+<p class="whs1">id_make_block_explode 
+ = geompy.addToStudy(make_block_explode[0], &quot;MakeBlockExplode&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># 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>&nbsp;</p>
+
+<h3><a name=bookmark6>Propagate</a></h3>
+
+<p class="whs1">import geompy</p>
+
+<p class="whs1">import salome</p>
+
+<p>&nbsp;</p>
+
+<p># create a box and a sphere</p>
+
+<p class="whs1">box = geompy.MakeBoxDXDYDZ(200, 
+ 200, 200)</p>
+
+<p>&nbsp;</p>
+
+<p># check and improve</p>
+
+<p class="whs1">check_box = geompy.CheckAndImprove(box)</p>
+
+<p>&nbsp;&nbsp;</p>
+
+<p># build all possible propagation groups</p>
+
+<p class="whs1">listChains = geompy.Propagate(check_box)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">geompy.addToStudy(check_box, 
+ &quot;Box&quot;)</p>
+
+<p class="whs1">for chain in listChains:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudyInFather(check_box, 
+ chain, &quot;propagation chain&quot;)</p>
+
+<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span> 
+ </p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 8593ee7717212bc6c5607cb196d7c0a535cc797a..b0410a81ea888765fa503b23a6e908926e9f6364 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Boolean Operations</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBoolean Operations");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Boolean Operations</h1>\r
-\r
-<h3><a name=bookmark>Fuse</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(25, \r
- 55, 0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex( \r
- 0, &nbsp;0, 0)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cylinder</p>\r
-\r
-<p class="whs1">height = 35</p>\r
-\r
-<p class="whs1">radius1 = 20</p>\r
-\r
-<p class="whs1">cylinder = geompy.MakeCylinder(p1, \r
- v, radius1, height)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a sphere</p>\r
-\r
-<p class="whs1">sphere = geompy.MakeSphereR(40)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># fuse</p>\r
-\r
-<p class="whs1">fuse = geompy.MakeFuse(cylinder, \r
- sphere)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_cylinder = geompy.addToStudy(cylinder, \r
- &quot;Cylinder&quot;)</p>\r
-\r
-<p class="whs1">id_sphere = geompy.addToStudy(sphere, \r
- &quot;Sphere&quot;)</p>\r
-\r
-<p class="whs1">id_fuse = geompy.addToStudy(fuse, \r
- &quot;Fuse&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_sphere)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_sphere,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_fuse)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_fuse,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark1>Common</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(25, \r
- 55, 0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex( \r
- 0, &nbsp;0, 0)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cylinder</p>\r
-\r
-<p class="whs1">height = 35</p>\r
-\r
-<p class="whs1">radius1 = 20</p>\r
-\r
-<p class="whs1">cylinder = geompy.MakeCylinder(p1, \r
- v, radius1, height)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a sphere</p>\r
-\r
-<p class="whs1">sphere = geompy.MakeSphereR(40)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># make common</p>\r
-\r
-<p class="whs1">common = geompy.MakeCommon(cylinder, \r
- sphere)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_common = geompy.addToStudy(common, \r
- &quot;Common&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_common)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_common,1) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3><a name=bookmark2>Cut </a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(25, \r
- 55, 0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex( \r
- 0, &nbsp;0, 0)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cylinder</p>\r
-\r
-<p class="whs1">height = 35</p>\r
-\r
-<p class="whs1">radius1 = 20</p>\r
-\r
-<p class="whs1">cylinder = geompy.MakeCylinder(p1, \r
- v, radius1, height)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a sphere</p>\r
-\r
-<p class="whs1">sphere = geompy.MakeSphereR(40)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>#cut</p>\r
-\r
-<p class="whs1">cut = geompy.MakeCut(cylinder, \r
- sphere)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_cut = geompy.addToStudy(cut, \r
- &quot;Cut&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cut)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cut,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark3>Section</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(25, \r
- 55, 0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex( \r
- 0, &nbsp;0, 0)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cylinder</p>\r
-\r
-<p class="whs1">height = 35</p>\r
-\r
-<p class="whs1">radius1 = 20</p>\r
-\r
-<p class="whs1">cylinder = geompy.MakeCylinder(p1, \r
- v, radius1, height)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a sphere</p>\r
-\r
-<p class="whs1">sphere = geompy.MakeSphereR(40)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># make a section</p>\r
-\r
-<p class="whs1">section = geompy.MakeSection(cylinder, \r
- sphere)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_section = geompy.addToStudy(section, \r
- &quot;Section&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_section)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_section,1) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</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
+<!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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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, &nbsp;0, 0)</p>
+
+<p class="whs1">v = geompy.MakeVector(p1, 
+ p2)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># create a sphere</p>
+
+<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
+
+<p>&nbsp;</p>
+
+<p># fuse</p>
+
+<p class="whs1">fuse = geompy.MakeFuse(cylinder, 
+ sphere)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_cylinder = geompy.addToStudy(cylinder, 
+ &quot;Cylinder&quot;)</p>
+
+<p class="whs1">id_sphere = geompy.addToStudy(sphere, 
+ &quot;Sphere&quot;)</p>
+
+<p class="whs1">id_fuse = geompy.addToStudy(fuse, 
+ &quot;Fuse&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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, &nbsp;0, 0)</p>
+
+<p class="whs1">v = geompy.MakeVector(p1, 
+ p2)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># create a sphere</p>
+
+<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
+
+<p>&nbsp;</p>
+
+<p># make common</p>
+
+<p class="whs1">common = geompy.MakeCommon(cylinder, 
+ sphere)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_common = geompy.addToStudy(common, 
+ &quot;Common&quot;)</p>
+
+<p>&nbsp;</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">&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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, &nbsp;0, 0)</p>
+
+<p class="whs1">v = geompy.MakeVector(p1, 
+ p2)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># create a sphere</p>
+
+<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
+
+<p>&nbsp;</p>
+
+<p>#cut</p>
+
+<p class="whs1">cut = geompy.MakeCut(cylinder, 
+ sphere)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_cut = geompy.addToStudy(cut, 
+ &quot;Cut&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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, &nbsp;0, 0)</p>
+
+<p class="whs1">v = geompy.MakeVector(p1, 
+ p2)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># create a sphere</p>
+
+<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
+
+<p>&nbsp;</p>
+
+<p># make a section</p>
+
+<p class="whs1">section = geompy.MakeSection(cylinder, 
+ sphere)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_section = geompy.addToStudy(section, 
+ &quot;Section&quot;)</p>
+
+<p>&nbsp;</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">&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index d03a7cf81e3c28a8fa16c8ef80a7ab466b120920..18cf21730a770251faef31e14b2c45e20cfa6835 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Box</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-style:italic; }\r
-img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
-p.whs5 { font-weight:normal; }\r
-img_whs6 { border:none; width:312px; height:332px; float:none; border-style:none; }\r
-p.whs7 { font-size:12pt; font-weight:bold; }\r
-p.whs8 { font-size:12pt; font-weight:bold; font-style:normal; }\r
-p.whs9 { font-size:12pt; font-style:normal; font-weight:bold; }\r
-p.whs10 { font-size:12pt; font-style:normal; font-weight:normal; }\r
-img_whs11 { border:none; width:267px; height:280px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nBox");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Box</B></span> \r
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
- style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Box</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Box</B></span>. \r
- </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of each operation will be a</span></b> \r
- GEOM_Object (SOLID).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Firstly, you can define a <span style="font-weight: bold;"><B>Box</B></span> \r
- by two specified <span style="font-weight: bold;"><B>Vertices (</B></span>its \r
- opposite corners), and with edges, parallel to the coordinate axes. </p>\r
-\r
-<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command \r
- :</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxTwoPnt(Point1, \r
- Point2)</I></span></p>\r
-\r
-<p><b style="font-weight: bold;">Arguments: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>2 vertices (opposite corners of the box).</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;"><img src="pics/box1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: normal;"><span style="font-weight: normal;">Secondly, \r
- you can define a </span><span style="font-weight: bold;"><B>Box</B></span><span \r
- style="font-weight: normal;"> by </b>specified dimensions along the coordinate \r
- axes</span> and with edges, parallel to them. &nbsp;The \r
- center of the box will be at point (DX/2, DY/2, DZ/2). </p>\r
-\r
-<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command \r
- :</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxDXDYDZ(DX, \r
- DY, DZ)</I></span></p>\r
-\r
-<p><span><b style="font-weight: bold;">Arguments: </b></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + 3 values (dimensions at origin).</font></span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><img src="pics/box2.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs6"></b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>NB! </B></font></span>The is \r
- a third way to create a Box, which is currently accessible only via<span \r
- style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B> TUI </B></font></span>commands.</p>\r
-\r
-<p class="whs7"><span style="font-weight: normal;">You \r
- can define a </span>Box<span style="font-weight: normal;"> by the coordinates \r
- of two </span>Vertices<span style="font-weight: normal;"> (in this way \r
- you don't need to create them in advance). </span></p>\r
-\r
-<p class="whs8"><b style="font-weight: bold;">TUI Command:</b> \r
- <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeBox(x1,y1,z1,x2,y2,z2)</I></span> \r
- </p>\r
-\r
-<p class="whs8"><b>Arguments:<span style="font-weight: normal;"> \r
- </b>Name</span> + <span style="font-weight: normal;">X, Y and Z coordinates \r
- of both points.</span></p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p class="whs9">Example:</p>\r
-\r
-<p class="whs10"><img src="pics/boxes.png" x-maintain-ratio="TRUE" width="267px" height="280px" border="0" class="img_whs11"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
- provide you with useful examples of creation of <a href="primitives.htm#bookmark">Primitives</a>. \r
- </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Primitives - &gt; Box</B></span></p>
+
+<p>&nbsp;</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>&nbsp;</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), and with edges, 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">&nbsp;</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>&nbsp;</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. &nbsp;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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 2a37b672dde674ef590fa65aa4be1de206edf11e..724ce0cc422a1a23538765c26d33f41facb40e18 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Building by Blocks</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nBuilding by Blocks");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Building by Blocks</h1>\r
-\r
-<h3>Quadrangle Face</h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex( \r
- &nbsp;0., &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(150., \r
- &nbsp;30., &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex( \r
- &nbsp;0., 120., \r
- &nbsp;50.)</p>\r
-\r
-<p class="whs1">p4 = geompy.MakeVertex( \r
- &nbsp;0., &nbsp;40., \r
- &nbsp;70.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create edges</p>\r
-\r
-<p class="whs1">edge1 = geompy.MakeEdge(p1, \r
- p2)</p>\r
-\r
-<p class="whs1">edge2 = geompy.MakeEdge(p2, \r
- p3)</p>\r
-\r
-<p class="whs1">edge3 = geompy.MakeEdge(p3, \r
- p4)</p>\r
-\r
-<p class="whs1">edge4 = geompy.MakeEdge(p4, \r
- p1)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a quadrangle face from four edges</p>\r
-\r
-<p class="whs1">qface1 = geompy.MakeQuad(edge1, \r
- edge2, edge3, edge4)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a quadrangle face from two edges</p>\r
-\r
-<p class="whs1">qface2 = geompy.MakeQuad2Edges(edge1, \r
- edge3)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a quadrangle from four points in its corners</p>\r
-\r
-<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p1, \r
- p2, p3, p4)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_p1 = geompy.addToStudy(p1,&quot;Point1&quot;)</p>\r
-\r
-<p class="whs1">id_p2 = geompy.addToStudy(p2,&quot;Point2&quot;)</p>\r
-\r
-<p class="whs1">id_p3 = geompy.addToStudy(p3,&quot;Point3&quot;)</p>\r
-\r
-<p class="whs1">id_p4 = geompy.addToStudy(p4,&quot;Point4&quot;)</p>\r
-\r
-<p class="whs1">id_edge1 = geompy.addToStudy(edge1,&quot;Edge1&quot;)</p>\r
-\r
-<p class="whs1">id_edge2 = geompy.addToStudy(edge2,&quot;Edge2&quot;)</p>\r
-\r
-<p class="whs1">id_edge3 = geompy.addToStudy(edge3,&quot;Edge3&quot;)</p>\r
-\r
-<p class="whs1">id_edge4 = geompy.addToStudy(edge4,&quot;Edge4&quot;)</p>\r
-\r
-<p class="whs1">id_qface1 = geompy.addToStudy(qface1,&quot;Qface1&quot;)</p>\r
-\r
-<p class="whs1">id_qface2 = geompy.addToStudy(qface2,&quot;Qface2&quot;)</p>\r
-\r
-<p class="whs1">id_qface3 = geompy.addToStudy(qface3,&quot;Qface3&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the vertices, the edges and the quadrangle faces</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p2)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p3)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p4)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_edge1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_edge2)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_edge3)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_edge4)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_qface1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_qface1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_qface2)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_qface2,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_qface3)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_qface3,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3>Hexagonal Solid</h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex( \r
- &nbsp;0., &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(150., \r
- &nbsp;30., &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex( \r
- &nbsp;0., 120., \r
- &nbsp;50.)</p>\r
-\r
-<p class="whs1">p4 = geompy.MakeVertex( \r
- &nbsp;0., &nbsp;40., \r
- &nbsp;70.)</p>\r
-\r
-<p class="whs1">p5 = geompy.MakeVertex(100., \r
- &nbsp;20., &nbsp;45.)</p>\r
-\r
-<p class="whs1">p6 = geompy.MakeVertex( \r
- &nbsp;0., 70., \r
- &nbsp;40.)</p>\r
-\r
-<p class="whs1">p7 = geompy.MakeVertex( \r
- 70., 70., &nbsp;70.)</p>\r
-\r
-<p class="whs1">p8 = geompy.MakeVertex( \r
- 70.,-15., &nbsp;70.)</p>\r
-\r
-<p class="whs1">p9 = geompy.MakeVertex( \r
- &nbsp;0., &nbsp;0., \r
- &nbsp;40.)</p>\r
-\r
-<p class="whs1">p10 = geompy.MakeVertex( \r
- &nbsp;0., 70., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p11 = geompy.MakeVertex( \r
- 70., 70., &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p12 = geompy.MakeVertex( \r
- 70., -15., &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p13 = geompy.MakeVertex( \r
- &nbsp;0., &nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create faces</p>\r
-\r
-<p class="whs1">qface1 = geompy.MakeQuad4Vertices(p1, \r
- p2, p3, p4)</p>\r
-\r
-<p class="whs1">qface2 = geompy.MakeQuad4Vertices(p1, \r
- p2, p5, p4)</p>\r
-\r
-<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p13, \r
- p12, p11, p10)</p>\r
-\r
-<p class="whs1">qface4 = geompy.MakeQuad4Vertices(p9, \r
- p8, p7, p6)</p>\r
-\r
-<p class="whs1">qface5 = geompy.MakeQuad4Vertices(p13, \r
- p9, p6, p10)</p>\r
-\r
-<p class="whs1">qface6 = geompy.MakeQuad4Vertices(p13, \r
- p9, p8, p12)</p>\r
-\r
-<p class="whs1">qface7 = geompy.MakeQuad4Vertices(p12, \r
- p8, p7, p11)</p>\r
-\r
-<p class="whs1">qface8 = geompy.MakeQuad4Vertices(p11, \r
- p7, p6, p10)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a hexahedral solid between two given faces</p>\r
-\r
-<p class="whs1">solid1 = geompy.MakeHexa2Faces(qface1, \r
- qface2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a hexahedral solids, bounded by six given faces</p>\r
-\r
-<p class="whs1">solid2 = geompy.MakeHexa(qface3, \r
- qface4, qface5, qface6, qface7, qface8)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_solid1 = geompy.addToStudy(solid1,&quot;Solid1&quot;)</p>\r
-\r
-<p class="whs1">id_solid2 = geompy.addToStudy(solid2,&quot;Solid2&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display solids</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_solid1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_solid1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_solid2)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_solid2,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</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
+<!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; }
+-->
+</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices</p>
+
+<p class="whs1">p1 = geompy.MakeVertex( 
+ &nbsp;0., &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p2 = geompy.MakeVertex(150., 
+ &nbsp;30., &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p3 = geompy.MakeVertex( 
+ &nbsp;0., 120., 
+ &nbsp;50.)</p>
+
+<p class="whs1">p4 = geompy.MakeVertex( 
+ &nbsp;0., &nbsp;40., 
+ &nbsp;70.)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># create a quadrangle face from four edges</p>
+
+<p class="whs1">qface1 = geompy.MakeQuad(edge1, 
+ edge2, edge3, edge4)</p>
+
+<p>&nbsp;</p>
+
+<p># create a quadrangle face from two edges</p>
+
+<p class="whs1">qface2 = geompy.MakeQuad2Edges(edge1, 
+ edge3)</p>
+
+<p>&nbsp;</p>
+
+<p># create a quadrangle from four points in its corners</p>
+
+<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p1, 
+ p2, p3, p4)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_p1 = geompy.addToStudy(p1,&quot;Point1&quot;)</p>
+
+<p class="whs1">id_p2 = geompy.addToStudy(p2,&quot;Point2&quot;)</p>
+
+<p class="whs1">id_p3 = geompy.addToStudy(p3,&quot;Point3&quot;)</p>
+
+<p class="whs1">id_p4 = geompy.addToStudy(p4,&quot;Point4&quot;)</p>
+
+<p class="whs1">id_edge1 = geompy.addToStudy(edge1,&quot;Edge1&quot;)</p>
+
+<p class="whs1">id_edge2 = geompy.addToStudy(edge2,&quot;Edge2&quot;)</p>
+
+<p class="whs1">id_edge3 = geompy.addToStudy(edge3,&quot;Edge3&quot;)</p>
+
+<p class="whs1">id_edge4 = geompy.addToStudy(edge4,&quot;Edge4&quot;)</p>
+
+<p class="whs1">id_qface1 = geompy.addToStudy(qface1,&quot;Qface1&quot;)</p>
+
+<p class="whs1">id_qface2 = geompy.addToStudy(qface2,&quot;Qface2&quot;)</p>
+
+<p class="whs1">id_qface3 = geompy.addToStudy(qface3,&quot;Qface3&quot;)</p>
+
+<p>&nbsp;</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>
+
+<p>&nbsp;</p>
+
+<h3>Hexagonal Solid</h3>
+
+<p class="whs1">import geompy</p>
+
+<p class="whs1">import salome</p>
+
+<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices</p>
+
+<p class="whs1">p1 = geompy.MakeVertex( 
+ &nbsp;0., &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p2 = geompy.MakeVertex(150., 
+ &nbsp;30., &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p3 = geompy.MakeVertex( 
+ &nbsp;0., 120., 
+ &nbsp;50.)</p>
+
+<p class="whs1">p4 = geompy.MakeVertex( 
+ &nbsp;0., &nbsp;40., 
+ &nbsp;70.)</p>
+
+<p class="whs1">p5 = geompy.MakeVertex(100., 
+ &nbsp;20., &nbsp;45.)</p>
+
+<p class="whs1">p6 = geompy.MakeVertex( 
+ &nbsp;0., 70., 
+ &nbsp;40.)</p>
+
+<p class="whs1">p7 = geompy.MakeVertex( 
+ 70., 70., &nbsp;70.)</p>
+
+<p class="whs1">p8 = geompy.MakeVertex( 
+ 70.,-15., &nbsp;70.)</p>
+
+<p class="whs1">p9 = geompy.MakeVertex( 
+ &nbsp;0., &nbsp;0., 
+ &nbsp;40.)</p>
+
+<p class="whs1">p10 = geompy.MakeVertex( 
+ &nbsp;0., 70., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p11 = geompy.MakeVertex( 
+ 70., 70., &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p12 = geompy.MakeVertex( 
+ 70., -15., &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p13 = geompy.MakeVertex( 
+ &nbsp;0., &nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p>&nbsp;</p>
+
+<p># create faces</p>
+
+<p class="whs1">qface1 = geompy.MakeQuad4Vertices(p1, 
+ p2, p3, p4)</p>
+
+<p class="whs1">qface2 = geompy.MakeQuad4Vertices(p1, 
+ p2, p5, p4)</p>
+
+<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p13, 
+ p12, p11, p10)</p>
+
+<p class="whs1">qface4 = geompy.MakeQuad4Vertices(p9, 
+ p8, p7, p6)</p>
+
+<p class="whs1">qface5 = geompy.MakeQuad4Vertices(p13, 
+ p9, p6, p10)</p>
+
+<p class="whs1">qface6 = geompy.MakeQuad4Vertices(p13, 
+ p9, p8, p12)</p>
+
+<p class="whs1">qface7 = geompy.MakeQuad4Vertices(p12, 
+ p8, p7, p11)</p>
+
+<p class="whs1">qface8 = geompy.MakeQuad4Vertices(p11, 
+ p7, p6, p10)</p>
+
+<p>&nbsp;</p>
+
+<p># create a hexahedral solid between two given faces</p>
+
+<p class="whs1">solid1 = geompy.MakeHexa2Faces(qface1, 
+ qface2)</p>
+
+<p>&nbsp;</p>
+
+<p># create a hexahedral solids, bounded by six given faces</p>
+
+<p class="whs1">solid2 = geompy.MakeHexa(qface3, 
+ qface4, qface5, qface6, qface7, qface8)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_solid1 = geompy.addToStudy(solid1,&quot;Solid1&quot;)</p>
+
+<p class="whs1">id_solid2 = geompy.addToStudy(solid2,&quot;Solid2&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># 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>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 1ca64f64524372ccd75c69a72ccff1771938b1e3..34174349c25e7f26b0408e5c35a1b3baec8783db 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Chamfer</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:312px; height:319px; float:none; border-style:none; }\r
-img_whs4 { border:none; width:225px; height:239px; float:none; border-style:none; }\r
-img_whs5 { border:none; width:312px; height:381px; float:none; border-style:none; }\r
-img_whs6 { border:none; width:230px; height:245px; float:none; border-style:none; }\r
-img_whs7 { border:none; width:221px; height:238px; float:none; border-style:none; }\r
-p.whs8 { font-size:12pt; margin-left:40px; }\r
-p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nChamfer");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Chamfer</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>Operations - &gt; Transformation - &gt; \r
- Chamfer</B></span> </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>This operation allows you to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">make chamfer \r
- of the edges of a Shape.</font></span></p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span \r
- style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will \r
- be a</span></b> GEOM_Object.</font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o create \r
- chamfer on all edges of the given shape, you need to define the <span \r
- style="font-weight: bold;"><B>Main Object</B></span> to create a chamfer on and \r
- the <span style="font-weight: bold;"><B>Dimension</B></span> (radius) of the \r
- chamfer. &nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeChamferAll(Shape, D)</I></span> \r
- </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
- + 1 SHAPE + 1 value (Chamfer dimension).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/chamfer1.png" x-maintain-ratio="TRUE" width="312px" height="319px" border="0" class="img_whs3"> &nbsp;<img src="pics/chamfer_all.png" x-maintain-ratio="TRUE" width="225px" height="239px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">To create chamfer on the specified edges of \r
- the given shape, &nbsp;you \r
- need to define the <span style="font-weight: bold;"><B>Main Object</B></span> \r
- to create a fillet on, select the necessary edges in the viewer and define \r
- the <span style="font-weight: bold;"><B>Dimension</B></span> of the Chamfer.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape, D1, \r
- D2, Face1, Face2)</I></span>, where Shape is a shape to create a chamfer on, \r
- D1 is a chamfer size along Face1, D2 is a chamfer size along Face2, Face1 \r
- and Face2 are indices of faces in Shape.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/chamfer2.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs5"> &nbsp;<img src="pics/chamfer_edge.png" x-maintain-ratio="TRUE" width="230px" height="245px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">To create chamfer on the specified faces of \r
- the given shape, &nbsp;you \r
- need to define the <span style="font-weight: bold;"><B>Main Object</B></span> \r
- to create a fillet on, select the two faces to which belongs the necessary \r
- common edge in the OCC Viewer and define the <span style="font-weight: bold;"><B>Dimension</B></span> \r
- of the Chamfer.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeChamferFaces(Shape, D1, \r
- D2, ListOfFaceID)</I></span>, where Shape is a shape to create chamfer on, \r
- D1 is a chamfer size along a face from &nbsp;ListOfFaceID, \r
- &nbsp;D2 is a \r
- chamfer size along two faces connected to the edge to which the chamfer \r
- is applied, ListOfFaceID is a list of indices of faces in Shape.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/chamfer3.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs5"> &nbsp;<img src="pics/chamfer_faces.png" x-maintain-ratio="TRUE" width="221px" height="238px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p class="whs9">&nbsp;&nbsp;<span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark4">Transformation \r
- Operations</a>. </font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Transformation - &gt; 
+ Chamfer</B></span> </p>
+
+<p>&nbsp;</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>&nbsp;</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. &nbsp;</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">&nbsp;</p>
+
+<p class="whs3"><img src="pics/chamfer1.png" x-maintain-ratio="TRUE" width="312px" height="319px" border="0" class="img_whs4"> &nbsp;<img src="pics/chamfer_all.png" x-maintain-ratio="TRUE" width="225px" height="239px" border="0" class="img_whs5"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">To create chamfer on the specified edges of 
+ the given shape, &nbsp;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">&nbsp;</p>
+
+<p class="whs3"><img src="pics/chamfer2.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs6"> &nbsp;<img src="pics/chamfer_edge.png" x-maintain-ratio="TRUE" width="230px" height="245px" border="0" class="img_whs7"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">To create chamfer on the specified faces of 
+ the given shape, &nbsp;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 &nbsp;ListOfFaceID, 
+ &nbsp;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">&nbsp;</p>
+
+<p class="whs3"><img src="pics/chamfer3.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs6"> &nbsp;<img src="pics/chamfer_faces.png" x-maintain-ratio="TRUE" width="221px" height="238px" border="0" class="img_whs8"></p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs9">&nbsp;&nbsp;<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>&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 422a4f784cdabfd06d59fb11910b33e3ae02233a..604eea0abe6f3a8560fa5677d74138a8fe5a956f 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Changing Display Parameters</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nChanging Display Parameters");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Changing Display Parameters</h1>\r
-\r
-<h3><a name=bookmark>Changing Display Mode</a></h3>\r
-\r
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import \r
- salome</span></p>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">box = geompy.MakeBox(0,0,0, \r
- 50,50,50)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">sphere = geompy.MakeSphere(50,50,50, \r
- 30)</p>\r
-\r
-<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>\r
-\r
-<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(fuse_id,1) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3><a name=bookmark1>Changing Color</a></h3>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">box = geompy.MakeBox(0,0,0, \r
- 50,50,50)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">sphere = geompy.MakeSphere(50,50,50, \r
- 30)</p>\r
-\r
-<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>\r
-\r
-<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>\r
-\r
-<p class="whs1">gg.setColor(fuse_id,218,165,31) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3><a name=bookmark2>Changing Transparency</a></h3>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">box = geompy.MakeBox(0,0,0, \r
- 50,50,50)</p>\r
-\r
-<p class="whs1">sphere = geompy.MakeSphere(50,50,50, \r
- 30)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>\r
-\r
-<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>\r
-\r
-<p class="whs1">gg.setColor(fuse_id,218,165,31)</p>\r
-\r
-<p class="whs1">gg.setTransparency(fuse_id,0.5) \r
- </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
+<!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">&nbsp;</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,&quot;Fuse&quot;)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
+
+<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
+
+<p class="whs1">gg.setDisplayMode(fuse_id,1) 
+ </p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</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,&quot;Fuse&quot;)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</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">&nbsp;</p>
+
+<p class="whs1">&nbsp;</p>
+
+<h3><a name=bookmark2>Changing Transparency</a></h3>
+
+<p class="whs1">import salome</p>
+
+<p class="whs1">import geompy</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</p>
+
+<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
+
+<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</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>
diff --git a/doc/salome/gui/GEOM/changing_displaying_parameters.htm b/doc/salome/gui/GEOM/changing_displaying_parameters.htm
deleted file mode 100755 (executable)
index 683769b..0000000
+++ /dev/null
@@ -1,223 +0,0 @@
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Changing displaying parameters</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
-p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }\r
-img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
-p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-p.whs4 { margin-left:40px; }\r
-p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-img_whs6 { width:20px; height:20px; border-style:none; }\r
-p.whs7 { font-size:12pt; margin-left:40px; }\r
-img_whs8 { border:none; width:403px; height:422px; float:none; border-style:none; }\r
-img_whs9 { border:none; width:400px; height:424px; float:none; border-style:none; }\r
-p.whs10 { font-size:12pt; font-family:'Times New Roman' , serif; }\r
-p.whs11 { font-size:12pt; }\r
-img_whs12 { border:none; float:none; width:393px; height:423px; border-style:none; }\r
-p.whs13 { font-size:14pt; }\r
-img_whs14 { border:none; width:354px; height:177px; float:none; border-style:none; }\r
-p.whs15 { margin-left:40px; font-size:12pt; }\r
-img_whs16 { border:none; width:397px; height:428px; float:none; border-style:none; }\r
-img_whs17 { border:none; width:401px; height:429px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Changing displaying parameters</h1>\r
-\r
-<p class="whs1"><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"> <span style="font-weight: normal;">In GEOM you can set different \r
- displaying parameters for visualization of geometrical objects in the \r
- viewer:</span></b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<ul>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#W_S">Wireframe/Shading</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#Color">Color</a></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#Transparency">Transparency</a> </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a \r
- href="#Isos">Isos</a> (in OCC viewer only)</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class=TODO>To set displaying parameters of a geometrical object:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs4">Right-click on this geometrical object in \r
- the viewer and from the pop-up menu select <span style="font-weight: bold;"><B>Properties</B></span>.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;"><a \r
- NAME=W_S><img src="files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif" width="20px" height="20px" border="0" class="img_whs6">Wireframe/Shading</a></b> </p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">This \r
- option is relevant for viewing 3D objects. Wireframe mode means that &nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Description:</b> \r
- Set the display mode of the selected shape.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI \r
- Command:</b><i> gg.setDisplayMode(ID, Short)</i></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="pics/disp_mode1sn.png" x-maintain-ratio="TRUE" width="403px" height="422px" border="0" class="img_whs8"> &nbsp;<img src="pics/disp_mode2sn.png" x-maintain-ratio="TRUE" width="400px" height="424px" border="0" class="img_whs9"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;"><a \r
- NAME=Color\r
-       style="font-size: 14pt;">Color</a></b></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs11"><b style="font-weight: bold;">Description:</b> \r
- Change the color of a shape.</p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11"><b style="font-weight: bold;">TUI Command:</b><i> \r
- gg.setColor(ID, Short, Short, Short)</i></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example</b></font></span><span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b>:</b></font></span></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="pics/disp_mode2sn.png" x-maintain-ratio="TRUE" width="400px" height="424px" border="0" class="img_whs9"> &nbsp;<img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="393px" height="423px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs13"><b style="font-weight: bold;"><a NAME=Transparency><span \r
- style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Transparency</font></span></a></b></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11"><b style="font-weight: bold;">Description:</b> \r
- Change the transparency (between 0 &amp; 1) of a shape.</p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11"><b style="font-weight: bold;">TUI Command:</b><i> \r
- gg.setTransparency(ID, Double)</i></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="pics/neo-transparency.png" x-maintain-ratio="TRUE" width="354px" height="177px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs15"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="397px" height="428px" border="0" class="img_whs16"> &nbsp;<img src="pics/transparencysn.png" x-maintain-ratio="TRUE" width="401px" height="429px" border="0" class="img_whs17"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p>&nbsp;</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
index d5da15b920da31442982edca208450da5faef84e..b6e12748666e2cc2b3162462dade9e7bad73faac 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Check Free Boundaries</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:22px; height:22px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-weight:normal; }\r
-p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
-img_whs5 { border:none; width:243px; height:203px; float:none; border-style:none; }\r
-p.whs6 { font-size:12pt; margin-left:0px; }\r
-img_whs7 { border:none; width:436px; height:339px; float:none; border-style:none; }\r
-img_whs8 { border:none; width:442px; height:336px; float:none; border-style:none; }\r
-p.whs9 { font-weight:bold; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs6 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Boundaries");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o <span \r
- style="font-weight: bold;"><B>Check Free Boundaries</B></span> in the Main Menu \r
- select <span style="font-weight: bold;"><B>Repair - &gt; Check Free Boundaries</B></span>.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This operation detects wires and edges that \r
- correspond to the shape's boundary, and highlights it</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object. \r
- </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span \r
- style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>, \r
- where Shape is a shape to be checked, NoError is false if an error occurred \r
- while checking free boundaries, ClosedWires is a list of closed free boundary \r
- wires, OpenWires is a list of open free boundary wires.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Shape</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog \r
- Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/repair9.png" x-maintain-ratio="TRUE" width="243px" height="203px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs6"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs6"><img src="pics/free_boudaries1.png" x-maintain-ratio="TRUE" width="436px" height="339px" border="0" class="img_whs7"> &nbsp;<img src="pics/free_boudaries2.png" x-maintain-ratio="TRUE" width="442px" height="336px" border="0" class="img_whs8">&nbsp; </p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs9"><span style="font-weight: normal;">Our</span> \r
- TUI Scripts<span style="font-weight: normal;"> provide you with useful \r
- examples of the use of</span> <a href="repairing_operations.htm#bookmark8">Repairing \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Check Free Boundaries</B></span>.</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">This operation detects wires and edges that 
+ correspond to the shape's boundary, and highlights it</p>
+
+<p class="whs2">&nbsp;</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>&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs5"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs5">&nbsp;</p>
+
+<p class="whs6"><img src="pics/free_boudaries1.png" x-maintain-ratio="TRUE" width="436px" height="339px" border="0" class="img_whs7"> &nbsp;<img src="pics/free_boudaries2.png" x-maintain-ratio="TRUE" width="442px" height="336px" border="0" class="img_whs8">&nbsp; </p>
+
+<p class="whs9">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 68757732cb290c10e6fa7bc5fe4d6db8b35a07a1..b704b6b759a22468a2ce3939dfa1601b00d3637e 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Check Free Faces</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:22px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-weight:normal; }\r
-p.whs4 { font-size:12pt; margin-left:40px; }\r
-img_whs5 { border:none; width:322px; height:163px; float:none; border-style:none; }\r
-p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
-p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }\r
-img_whs8 { border:none; float:none; width:234px; height:281px; border-style:none; }\r
-img_whs9 { border:none; width:248px; height:283px; float:none; border-style:none; }\r
-p.whs10 { font-weight:bold; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs6 {text-indent:1pt; }";\r
-  strNSS += "p.whs7 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Faces");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o <span \r
- style="font-weight: bold;"><B>Check Free Faces</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>Repair - &gt; Check Free Faces.</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This operation retrieves all free faces from \r
- a given shape. A free face is a face not shared between two shells of \r
- the shape. </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object. \r
- Returns a list of IDs of all free faces, contained in the shape.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span \r
- style="font-style: italic;"> <I></i>GetFreeFacesIDs(Shape)</I></span>, where \r
- Shape is a shape to be checked.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: bold;"><B>A</B></span>rguments:</b> \r
- Shape</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/repair10.png" x-maintain-ratio="TRUE" width="322px" height="163px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs7">Examples: </p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs6"><img src="pics/free_faces1.png" x-maintain-ratio="TRUE" width="234px" height="281px" border="0" class="img_whs8"> &nbsp;<img src="pics/free_faces2.png" x-maintain-ratio="TRUE" width="248px" height="283px" border="0" class="img_whs9"></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs10"><span style="font-weight: normal;">Our</span> \r
- TUI Scripts<span style="font-weight: normal;"> provide you with useful \r
- examples of the use of</span> <a href="repairing_operations.htm#bookmark9">Repairing \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; 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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs7">Examples: </p>
+
+<p class="whs6">&nbsp;</p>
+
+<p class="whs8"><img src="pics/free_faces1.png" x-maintain-ratio="TRUE" width="234px" height="281px" border="0" class="img_whs9"> &nbsp;<img src="pics/free_faces2.png" x-maintain-ratio="TRUE" width="248px" height="283px" border="0" class="img_whs10"></p>
+
+<p class="whs6">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 22ad198cac1989f183cb045693a75843a6a27bed..96568f5e0995bfc1c49c2ebf0932207ca5e0f33e 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Circle</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-weight:bold; }\r
-img_whs4 { border:none; width:312px; height:346px; float:none; border-style:none; }\r
-img_whs5 { border:none; width:312px; height:359px; float:none; border-style:none; }\r
-img_whs6 { border:none; width:348px; height:321px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nCircle");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p><b><span style="font-weight: normal;">T</span></b>o create a <span style="font-weight: bold;"><B>Circle</B></span> \r
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
- style="font-weight: bold;"><B>New Entity - &gt; Basic - &gt; Circle</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">There \r
- are 2 algorithms to create a</span> Circle <span style="font-weight: normal;">in \r
- the 3D space.</span> </b></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of each operation will be a</span></b> \r
- GEOM_Object (edge).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly, \r
- you can define a </span><span style="font-weight: bold;"><B>Circle</B></span><span \r
- style="font-weight: normal;"> by a</span> Center Point, <span style="font-weight: normal;">a</span> \r
- Vector <span style="font-weight: normal;">giving the </b>circl</span>e\92\r
- normal and a <span style="font-weight: bold;"><B>Radius</B></span>.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b> \r
- <span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span></p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments: \r
- </b><span style="font-weight: normal;">Name + 1 vertex (for the center) \r
- + 1 edge (for the direction) + Radius.</span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/circle1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs4"> </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><span style="font-weight: normal;">Secondly, \r
- you can define a</span> Circle<span style="font-weight: normal;"> by three</span> \r
- Points <span style="font-weight: normal;">that lie on it.</span> </p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI \r
- Command:</b> &nbsp;<span style="font-weight: normal; font-style: italic;"><I>geompy.MakeCircleThreePnt(Point1, \r
- Point2, Point3)</I></span> </p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments: \r
- </b><span style="font-weight: normal;">Name + 3 points which will form \r
- the circle.</span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><img src="pics/circle2.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs5"></b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><img src="pics/circles.png" x-maintain-ratio="TRUE" width="348px" height="321px" border="0" class="img_whs6"></b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="basic_geometrical_objects.htm#bookmark2">Basic \r
- Geometric Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Basic - &gt; Circle</B></span></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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\92
+ 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">&nbsp;</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">&nbsp;</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> &nbsp;<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">&nbsp;</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">&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 3dd603fc406138f4e06a230f1c2eaa9a51d36666..e8accf8a6be3433dc1b7c532a3e21227a430d442 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Close Contour</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-ul.whs3 { list-style:disc; }\r
-p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
-img_whs5 { border:none; width:312px; height:397px; float:none; border-style:none; }\r
-p.whs6 { font-size:12pt; font-weight:bold; }\r
-p.whs7 { font-weight:bold; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nClose Contour");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Close Contour</B></span> operation in the \r
- Main Menu select <span style="font-weight: bold;"><B>Repair - &gt; Close \r
- Contour.</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This operation closes an open contour and modifies \r
- the underlying face (if needed) in accordance with user specified mode:</p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs2">By common vertex \96 a \r
- vertex is created between the end points of the contour and its tolerance \r
- is increased to a value of the gap between the ends of the contour;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">By new edge \96 a new edge \r
- is inserted between the end points of the contour.</p></li>\r
-</ul>\r
-\r
-<p class="whs2">This operation is available in <span style="font-weight: bold;"><B>OCC \r
- Viewer</B></span> only. </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires, \r
- IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires \r
- is a list of edges or wires ID\92s which has to be closed within the shape \r
- (if the list contains only one element = -1, the shape itself is considered \r
- as a wire), &nbsp;IsCommonVertex \r
- if this parameter is True a closure has to be done by creation of a common \r
- vertex, otherwise an edge is added between the end vertices.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: <span \r
- style="font-weight: normal;">Name + 1 shape + contour</span> <span style="font-weight: normal;">(</span></b>Wire, \r
- or a set of Edges) + mode of closure (by vertex or by edge)</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/repair3.png" x-maintain-ratio="TRUE" width="312px" height="397px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs7"><span style="font-weight: normal;">Our</span> \r
- TUI Scripts <span style="font-weight: normal;">provide you with useful \r
- examples of the use of</span> <a href="repairing_operations.htm#bookmark2">Repairing \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Close 
+ Contour.</B></span></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</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), &nbsp;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">&nbsp;</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">&nbsp;</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">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index beef98a44cb8125aabd09768faae03cc6f9841d9..9732c7c03b3caaa2dc2db03e5af8ec3d201d5a74 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Color</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
-p.whs1 { font-size:12pt; }\r
-img_whs2 { border:none; width:492px; height:392px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nManaging geometrical objects\nChanging Display Parameters\nColor");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Color</h1>\r
-\r
-<p>You can change the filling color of your object in the standard <span \r
- style="font-weight: bold;"><B>Select Color</B></span> menu accessible by right-clicking \r
- on an object and selecting <span style="font-weight: bold;"><B>Color</B></span> \r
- in the pop-up menu box. </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">TUI \r
- Command:</b><i> gg.setColor(ID, Short, Short, Short)</i></font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><img src="selectcolor.png" x-maintain-ratio="TRUE" width="492px" height="392px" border="0" class="img_whs2"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs1">Our TUI Scripts provide you with useful examples \r
- of <a href="changing_display_parameters.htm#bookmark1">Changing Display \r
- Parameters</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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>&nbsp;</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>&nbsp;</p>
+
+<p class="whs2"><img src="selectcolor.png" x-maintain-ratio="TRUE" width="492px" height="392px" border="0" class="img_whs3"></p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 02eab0666a3fc78e054836fe6d7744fa855212c6..25b4226c751349c380eb0bab9cc1d237a4af0f15 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Common</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
-p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }\r
-img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
-img_whs6 { border:none; border-style:none; width:253px; height:266px; float:none; }\r
-img_whs7 { border:none; border-style:none; float:none; width:234px; height:266px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nCommon");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Common</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>Operations - &gt; Boolean - &gt; Common</B></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">This \r
- operation</span> </b>cuts the common part of two shapes and transforms \r
- it into an independent geometrical object.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object \r
- (COMPOUND).</p>\r
-\r
-<p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span> \r
- &nbsp;<span style="font-style: italic;"><I>geompy.MakeCommon(s1, \r
- s2)</I></span> </p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 2 shapes.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/bool2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> &nbsp;<img src="pics/commonsn.png" x-maintain-ratio="TRUE" width="234px" height="266px" border="0" class="img_whs7"> </p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of the use of <a href="boolean_operations.htm#bookmark1">Boolean Operations</a>. \r
- </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Boolean 
+ - &gt; Common</B></span></p>
+
+<p class="whs3">&nbsp;</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">&nbsp;</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> 
+ &nbsp;<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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs4">&nbsp;</p>
+
+<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> &nbsp;<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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index b799827409bf4e2d593ab4d6ac69a73970bd9a0b..72c395e023fca2b47eb7bc7acc6449b82e28bde0 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Complex Objects</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nComplex Objects");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Complex Objects</h1>\r
-\r
-<h3><a name=bookmark>Creation of a Prism</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex( \r
- &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex( \r
- 100., &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex( \r
- 100., 100., &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p4 = geompy.MakeVertex( \r
- &nbsp;&nbsp;0., \r
- 100., &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p5 = geompy.MakeVertex( \r
- &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0., \r
- &nbsp;60.)</p>\r
-\r
-<p class="whs1">p6 = geompy.MakeVertex(-100., \r
- &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p7 = geompy.MakeVertex(-100.,-100., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">p8 = geompy.MakeVertex( \r
- &nbsp;&nbsp;0.,-100., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vector from the given components</p>\r
-\r
-<p class="whs1">vector = geompy.MakeVectorDXDYDZ(50., \r
- 50., 50.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>#create vectors from two points</p>\r
-\r
-<p class="whs1">vector1_arc1 = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p class="whs1">vector2_arc1 = geompy.MakeVector(p1, \r
- p4)</p>\r
-\r
-<p class="whs1">vector1_arc2 = geompy.MakeVector(p1, \r
- p6)</p>\r
-\r
-<p class="whs1">vector2_arc2 = geompy.MakeVector(p1, \r
- p8)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create arcs from three points</p>\r
-\r
-<p class="whs1">arc1 = geompy.MakeArc(p2, \r
- p3, p4)</p>\r
-\r
-<p class="whs1">arc2 = geompy.MakeArc(p6, \r
- p7, p8)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create wires</p>\r
-\r
-<p class="whs1">wire1 = geompy.MakeWire([vector1_arc1, \r
- arc1, vector2_arc1])</p>\r
-\r
-<p class="whs1">wire2 = geompy.MakeWire([vector1_arc2, \r
- arc2, vector2_arc2])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create faces</p>\r
-\r
-<p class="whs1">isPlanarWanted = 1</p>\r
-\r
-<p class="whs1">face1 = geompy.MakeFace(wire1, \r
- isPlanarWanted)</p>\r
-\r
-<p class="whs1">face2 = geompy.MakeFace(wire2, \r
- isPlanarWanted)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create prisms</p>\r
-\r
-<p class="whs1">prism1 = geompy.MakePrism(face2, \r
- p1, p5)</p>\r
-\r
-<p class="whs1">prism2 = geompy.MakePrismVecH(face1, \r
- vector, 50)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_face1 &nbsp;&nbsp;= \r
- geompy.addToStudy(face1,&quot;Face1&quot;)</p>\r
-\r
-<p class="whs1">id_face2 &nbsp;&nbsp;= \r
- geompy.addToStudy(face2,&quot;Face2&quot;)</p>\r
-\r
-<p class="whs1">id_prism1 = geompy.addToStudy(prism1,&quot;Prism1&quot;)</p>\r
-\r
-<p class="whs1">id_prism2 = geompy.addToStudy(prism2,&quot;Prism2&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display cylinders</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_face1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_face1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_face2)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_face2,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_prism1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_prism1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_prism2)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_prism2,1)</span> \r
- </p>\r
-\r
-<h3><a name=bookmark1>Creation of a Revolution</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex( \r
- &nbsp;10., &nbsp;10., \r
- &nbsp;10.)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex( \r
- &nbsp;15., &nbsp;15., \r
- &nbsp;50.)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex( \r
- &nbsp;40., &nbsp;40., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>#create vectors from two points</p>\r
-\r
-<p class="whs1">vector1 = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p class="whs1">vector2 = geompy.MakeVector(p1, \r
- p3)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vector from the given components</p>\r
-\r
-<p class="whs1">vector3 = geompy.MakeVectorDXDYDZ(-20., \r
- -20., 100.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a wire</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vector1, \r
- vector2])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a revolution</p>\r
-\r
-<p class="whs1">revolution = geompy.MakeRevolution(wire, \r
- vector3, 2.3)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_vector3 &nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(vector3,&quot;Axis&quot;)</p>\r
-\r
-<p class="whs1">id_wire &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(wire,&quot;Wire&quot;)</p>\r
-\r
-<p class="whs1">id_revolution = geompy.addToStudy(revolution,&quot;Revolution&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the vector, the wire and the revolution</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_vector3)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_wire)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_revolution)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_revolution,1)</span> \r
- </p>\r
-\r
-<h3><a name=bookmark2>Creation of a Filling</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">mindeg = 2</p>\r
-\r
-<p class="whs1">maxdeg = 5</p>\r
-\r
-<p class="whs1">tol3d &nbsp;&nbsp;= \r
- 0.0001</p>\r
-\r
-<p class="whs1">tol2d &nbsp;&nbsp;= \r
- 0.0001</p>\r
-\r
-<p class="whs1">nbiter = 5</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex( \r
- &nbsp;-30., &nbsp;-30., \r
- &nbsp;50.)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex( \r
- &nbsp;-60., &nbsp;-60., \r
- &nbsp;30.)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex( \r
- &nbsp;-30., &nbsp;-30., \r
- &nbsp;10.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create an arc from three points</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(p1, \r
- p2, p3)</p>\r
-\r
-<p class="whs1">ShapeListCompound \r
- = []</p>\r
-\r
-<p class="whs1">i = 0</p>\r
-\r
-<p class="whs1">while i &lt;= 3 :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;S \r
- = geompy.MakeTranslation(arc, i * 50., 0., 0.)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;ShapeListCompound.append(S)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;i \r
- = i + 1</p>\r
-\r
-<p class="whs1">compound = geompy.MakeCompound(ShapeListCompound)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a filling</p>\r
-\r
-<p class="whs1">filling = geompy.MakeFilling(compound, \r
- mindeg, maxdeg, tol3d, tol2d, nbiter)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_compound = geompy.addToStudy(compound,&quot;Compound&quot;)</p>\r
-\r
-<p class="whs1">id_filling = geompy.addToStudy(filling,&quot;Filling&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the compound and the filling</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_compound)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_filling)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_filling,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark3>Creation of a Pipe</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p0 &nbsp;&nbsp;= \r
- geompy.MakeVertex(0. &nbsp;, \r
- 0. &nbsp;, 0. \r
- &nbsp;)</p>\r
-\r
-<p class="whs1">px &nbsp;&nbsp;= \r
- geompy.MakeVertex(100., 0. &nbsp;, \r
- 0. &nbsp;)</p>\r
-\r
-<p class="whs1">py &nbsp;&nbsp;= \r
- geompy.MakeVertex(0. &nbsp;, \r
- 100., 0. &nbsp;)</p>\r
-\r
-<p class="whs1">pz &nbsp;&nbsp;= \r
- geompy.MakeVertex(0. &nbsp;, \r
- 0. &nbsp;, 100.)</p>\r
-\r
-<p class="whs1">pxyz = geompy.MakeVertex(100., \r
- 100., 100.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vector from two points</p>\r
-\r
-<p class="whs1">vxy = geompy.MakeVector(px, \r
- py)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create an arc from three points</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(py, \r
- pz, px)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a wire</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vxy, \r
- arc])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create an edge</p>\r
-\r
-<p class="whs1">edge = geompy.MakeEdge(p0, \r
- pxyz)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a pipe</p>\r
-\r
-<p class="whs1">pipe = geompy.MakePipe(wire, \r
- edge)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_wire = geompy.addToStudy(wire,&quot;Wire&quot;)</p>\r
-\r
-<p class="whs1">id_edge = geompy.addToStudy(edge,&quot;Edge&quot;)</p>\r
-\r
-<p class="whs1">id_pipe = geompy.addToStudy(pipe,&quot;Pipe&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the wire, the edge (path) and the pipe</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_wire)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_edge)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_pipe)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_pipe,1)</span> \r
- </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
+<!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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vertex and a vector</p>
+
+<p class="whs1">p1 = geompy.MakeVertex( 
+ &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p2 = geompy.MakeVertex( 
+ 100., &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p3 = geompy.MakeVertex( 
+ 100., 100., &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p4 = geompy.MakeVertex( 
+ &nbsp;&nbsp;0., 
+ 100., &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p5 = geompy.MakeVertex( 
+ &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0., 
+ &nbsp;60.)</p>
+
+<p class="whs1">p6 = geompy.MakeVertex(-100., 
+ &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p7 = geompy.MakeVertex(-100.,-100., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">p8 = geompy.MakeVertex( 
+ &nbsp;&nbsp;0.,-100., 
+ &nbsp;&nbsp;0.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vector from the given components</p>
+
+<p class="whs1">vector = geompy.MakeVectorDXDYDZ(50., 
+ 50., 50.)</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_face1 &nbsp;&nbsp;= 
+ geompy.addToStudy(face1,&quot;Face1&quot;)</p>
+
+<p class="whs1">id_face2 &nbsp;&nbsp;= 
+ geompy.addToStudy(face2,&quot;Face2&quot;)</p>
+
+<p class="whs1">id_prism1 = geompy.addToStudy(prism1,&quot;Prism1&quot;)</p>
+
+<p class="whs1">id_prism2 = geompy.addToStudy(prism2,&quot;Prism2&quot;)</p>
+
+<p>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vertex and a vector</p>
+
+<p class="whs1">p1 = geompy.MakeVertex( 
+ &nbsp;10., &nbsp;10., 
+ &nbsp;10.)</p>
+
+<p class="whs1">p2 = geompy.MakeVertex( 
+ &nbsp;15., &nbsp;15., 
+ &nbsp;50.)</p>
+
+<p class="whs1">p3 = geompy.MakeVertex( 
+ &nbsp;40., &nbsp;40., 
+ &nbsp;&nbsp;0.)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># create a vector from the given components</p>
+
+<p class="whs1">vector3 = geompy.MakeVectorDXDYDZ(-20., 
+ -20., 100.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a wire</p>
+
+<p class="whs1">wire = geompy.MakeWire([vector1, 
+ vector2])</p>
+
+<p>&nbsp;</p>
+
+<p># create a revolution</p>
+
+<p class="whs1">revolution = geompy.MakeRevolution(wire, 
+ vector3, 2.3)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_vector3 &nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(vector3,&quot;Axis&quot;)</p>
+
+<p class="whs1">id_wire &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(wire,&quot;Wire&quot;)</p>
+
+<p class="whs1">id_revolution = geompy.addToStudy(revolution,&quot;Revolution&quot;)</p>
+
+<p>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p class="whs1">mindeg = 2</p>
+
+<p class="whs1">maxdeg = 5</p>
+
+<p class="whs1">tol3d &nbsp;&nbsp;= 
+ 0.0001</p>
+
+<p class="whs1">tol2d &nbsp;&nbsp;= 
+ 0.0001</p>
+
+<p class="whs1">nbiter = 5</p>
+
+<p>&nbsp;</p>
+
+<p># create a vertex and a vector</p>
+
+<p class="whs1">p1 = geompy.MakeVertex( 
+ &nbsp;-30., &nbsp;-30., 
+ &nbsp;50.)</p>
+
+<p class="whs1">p2 = geompy.MakeVertex( 
+ &nbsp;-60., &nbsp;-60., 
+ &nbsp;30.)</p>
+
+<p class="whs1">p3 = geompy.MakeVertex( 
+ &nbsp;-30., &nbsp;-30., 
+ &nbsp;10.)</p>
+
+<p>&nbsp;</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 &lt;= 3 :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;S 
+ = geompy.MakeTranslation(arc, i * 50., 0., 0.)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;ShapeListCompound.append(S)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;i 
+ = i + 1</p>
+
+<p class="whs1">compound = geompy.MakeCompound(ShapeListCompound)</p>
+
+<p>&nbsp;</p>
+
+<p># create a filling</p>
+
+<p class="whs1">filling = geompy.MakeFilling(compound, 
+ mindeg, maxdeg, tol3d, tol2d, nbiter)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_compound = geompy.addToStudy(compound,&quot;Compound&quot;)</p>
+
+<p class="whs1">id_filling = geompy.addToStudy(filling,&quot;Filling&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices</p>
+
+<p class="whs1">p0 &nbsp;&nbsp;= 
+ geompy.MakeVertex(0. &nbsp;, 
+ 0. &nbsp;, 0. 
+ &nbsp;)</p>
+
+<p class="whs1">px &nbsp;&nbsp;= 
+ geompy.MakeVertex(100., 0. &nbsp;, 
+ 0. &nbsp;)</p>
+
+<p class="whs1">py &nbsp;&nbsp;= 
+ geompy.MakeVertex(0. &nbsp;, 
+ 100., 0. &nbsp;)</p>
+
+<p class="whs1">pz &nbsp;&nbsp;= 
+ geompy.MakeVertex(0. &nbsp;, 
+ 0. &nbsp;, 100.)</p>
+
+<p class="whs1">pxyz = geompy.MakeVertex(100., 
+ 100., 100.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vector from two points</p>
+
+<p class="whs1">vxy = geompy.MakeVector(px, 
+ py)</p>
+
+<p>&nbsp;</p>
+
+<p># create an arc from three points</p>
+
+<p class="whs1">arc = geompy.MakeArc(py, 
+ pz, px)</p>
+
+<p>&nbsp;</p>
+
+<p># create a wire</p>
+
+<p class="whs1">wire = geompy.MakeWire([vxy, 
+ arc])</p>
+
+<p>&nbsp;</p>
+
+<p># create an edge</p>
+
+<p class="whs1">edge = geompy.MakeEdge(p0, 
+ pxyz)</p>
+
+<p>&nbsp;</p>
+
+<p># create a pipe</p>
+
+<p class="whs1">pipe = geompy.MakePipe(wire, 
+ edge)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_wire = geompy.addToStudy(wire,&quot;Wire&quot;)</p>
+
+<p class="whs1">id_edge = geompy.addToStudy(edge,&quot;Edge&quot;)</p>
+
+<p class="whs1">id_pipe = geompy.addToStudy(pipe,&quot;Pipe&quot;)</p>
+
+<p>&nbsp;</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>
index 2649dacef1c25623958b3df1601a6ac85102576a..11465b4c727e3a744910dff96e2d5d69ac238ce5 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Compound</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; }\r
-img_whs5 { border:none; width:195px; height:174px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nCompound");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o create \r
- a <span style="font-weight: bold;"><B>Compound </B></span>in the Main Menu select \r
- New Entity - &gt; Build - &gt; <span style="font-weight: bold;"><B>Compound.</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">You can create a compound from a list of shells. \r
- </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be a</span> </b>GEOM_Object \r
- (COMPOUND).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeCompound(ListOfShape)</I></span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + List of shapes.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/neo-obj7.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/compoundsn.png" x-maintain-ratio="TRUE" width="195px" height="174px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="geometrical_objects.htm#bookmark4">Advanced Geometric \r
- Objects</a>. </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</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
+<!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 - &gt; Build - &gt; <span style="font-weight: bold;"><B>Compound.</B></span></p>
+
+<p>&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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>&nbsp;</p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 46b250bef1a7db775c18b2c8f644b0ed6fbb2124..8e0fec793dc3441f556750cc0593b294edbaefd5 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Cone</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-weight:bold; }\r
-img_whs4 { border:none; width:312px; height:402px; float:none; border-style:none; }\r
-p.whs5 { margin-left:0px; }\r
-p.whs6 { font-size:12pt; margin-left:40px; }\r
-img_whs7 { border:none; width:276px; height:282px; float:none; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs5 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCone");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</font></span>Cone</h1>\r
-\r
-<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cone</B></span> \r
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
- style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Cone</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Cone</B></span>. \r
- </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of each operation will be a</span></b> \r
- GEOM_Object (SOLID).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Firstly, you can define a <span style="font-weight: bold;"><B>Cone</B></span> \r
- by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central \r
- point of the cone base), the <span style="font-weight: bold;"><B>Axis</B></span>, \r
- the <span style="font-weight: bold;"><B>Height</B></span> and the first and the \r
- second <span style="font-weight: bold;"><B>Radiuses</B></span>. </p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point, \r
- Axis, Radius1, Radius2)</I></span></p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments: \r
- </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 1 vertex \r
- + 1 vector (for direction) + 3 values (Radius of the base part, radius \r
- of the upper part, height).</font></span></p>\r
-\r
-<p><img src="pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs4"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Secondly, you can define a <span style="font-weight: bold;"><B>Cone</B></span> \r
- with the center at the origin of coordinates by its <span style="font-weight: bold;"><B>Height</B></span> \r
- and <span style="font-weight: bold;"><B>Radiuses</B></span>. The <span style="font-weight: bold;"><B>Axis</B></span> \r
- of the <span style="font-weight: bold;"><B>Cone</B></span> will be collinear \r
- to the OZ axis of the coordinate system. </p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-weight: bold;"><B>geompy.MakeConeR1R2H(Radius1, \r
- Radius2, Height)</B></span> </p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments: \r
- </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 3 values \r
- (Radius of the base part, radius of the upper part, height).</font></span></p>\r
-\r
-<p class="whs5">&nbsp;&nbsp;<img src="pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs4"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><span style="font-weight: bold;"><B>Note:</B></span> If both radiuses are non-zero, \r
- the <span style="font-weight: bold;"><B>Cone</B></span> will be truncated. If \r
- the radiuses are equal, a <span style="font-weight: bold;"><B>Cylinder</B></span> \r
- will be created instead. </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs6"><img src="pics/cones.png" x-maintain-ratio="TRUE" width="276px" height="282px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="primitives.htm#bookmark4">Primitives</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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"> &nbsp;</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 - &gt; Primitives - &gt; Cone</B></span></p>
+
+<p>&nbsp;</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>&nbsp;</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">&nbsp;</p>
+
+<p class="whs4"><img src="pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs5"></p>
+
+<p>&nbsp;</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">&nbsp;</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>&nbsp;</p>
+
+<p><b style="font-weight: bold;">Example:</b></p>
+
+<p>&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">Our TUI Scripts provide you with useful examples 
+ of creation of <a href="primitives.htm#bookmark4">Primitives</a>. </p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index afb68b6ee050a45ed2c59109d4c30fa0c9cba5cf..6ac8b78903658298ddf0db0a275590f9fac41c19 100755 (executable)
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="JavaScript">\r
-<!--\r
-\r
-var gArrayCsh = new Array();\r
-\r
-var gstrWindowOption = "";\r
-var gstrURL = "";\r
-var gbWithNavPane = false;\r
-\r
-function CshEntityItem(strAliasId, nTopicNum, strUrl) \r
-{\r
-    this.strAliasId = strAliasId;\r
-    this.nTopicNum = nTopicNum;\r
-    this.strUrl = strUrl;\r
-}\r
-\r
-\r
-//Try to get to topic number from hash string\r
-function GetTopicNumberAuto(strMayBeNumber)\r
-{\r
-   var nNum = -1;\r
-   if (strMayBeNumber.length >= 1)\r
-   {\r
-               var strTmp = strMayBeNumber;\r
-               var iEnd = strTmp.length;\r
-               for (var i=0; i<iEnd; i++)\r
-               {\r
-                         var ch = strTmp.charAt(i);\r
-                         if (!((ch == "0") || (ch == "1") ||\r
-                               (ch == "2") || (ch == "3") ||\r
-                               (ch == "4") || (ch == "5") ||\r
-                               (ch == "6") || (ch == "7") ||\r
-                               (ch == "8") || (ch == "9")))\r
-                             return GetTopicNumberById(strTmp);\r
-               }\r
-               nNum = parseInt(strTmp);\r
-   }\r
-   return nNum;\r
-}\r
-\r
-function GetTopicNumber(strHashString)\r
-{\r
-       var nTopicEndPos = strHashString.indexOf(',')\r
-       if (nTopicEndPos == -1) { // no window option.\r
-               return GetTopicNumberOnly(strHashString);\r
-       }\r
-       else {\r
-               var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);\r
-               var strWithNavPane = 'withnavpane=true';\r
-               if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)\r
-               {\r
-                       if (strWindowOption.length > strWithNavPane.length)\r
-                               gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);\r
-                       else\r
-                               gstrWindowOption = "";\r
-                       gbWithNavPane = true;\r
-               }\r
-               else\r
-                       gstrWindowOption = strWindowOption;\r
-               return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));            \r
-       }\r
-}\r
-\r
-function GetTopicNumberOnly(strTopicString)\r
-{\r
-       var nEqualPos = strTopicString.indexOf('=');\r
-       if (nEqualPos == -1) {\r
-               return GetTopicNumberAuto(strTopicString);\r
-       }\r
-       else {\r
-               var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);\r
-               if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {\r
-                       return parseInt(strValue);\r
-               } else if (strTopicString.toLowerCase().indexOf("context") == 0) {\r
-                       return GetTopicNumberById(strValue);\r
-               } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {\r
-                       gstrURL = strValue;\r
-                       return -1;\r
-               }\r
-\r
-       }\r
-}\r
-\r
-//Find HomePage of the WebHelp system\r
-// we try to get the topic from remote project if it exists.\r
-function RedirectToHomePage()\r
-{\r
-       if (parent && parent != this && parent.goNext)\r
-       {\r
-               var sHome = parent.goNext();\r
-               if (sHome != "")\r
-                       RedirectTo(sHome);\r
-       }\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       if (parent && parent != this && parent.getRelHomePage)\r
-       {\r
-               return parent.getRelHomePage(document.location.href);\r
-       }\r
-       return "";\r
-}\r
-\r
-function addRemoteProject(strPath)\r
-{\r
-       if (parent && parent != this && parent.addProject)\r
-       {\r
-               parent.addProject(strPath);\r
-       }\r
-}\r
-\r
-//Redirect page to...\r
-function RedirectTo(strUrl)\r
-{\r
-   if (gstrWindowOption.length != 0) {\r
-               var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);\r
-               // close current window and rename the stub window to current window.\r
-               if (wnd)\r
-                       wnd.focus();\r
-               if (parent)\r
-                       parent.close();\r
-   }\r
-   else {\r
-       parent.document.location.href = strUrl;\r
-       window.focus();\r
-  }\r
-}\r
-\r
-//Prompt the user that we can not find...\r
-function FailToFind(strMsg)\r
-{\r
-    RedirectToHomePage();\r
-}\r
-\r
-//Find topic by topic number (defined in h file)\r
-function FindTopicByTopicNum(nTopicNum)\r
-{\r
-       var i = 0;\r
-       var iEnd = gArrayCsh.length;\r
-       for (i=0; i<iEnd; i++)\r
-       {\r
-               if (gArrayCsh[i].nTopicNum == nTopicNum)\r
-               {\r
-                       var strURL = gArrayCsh[i].strUrl;\r
-                       if (gbWithNavPane)\r
-                       {\r
-                               var strHomePage = getHomePage();\r
-                               if (strHomePage.length != 0)\r
-                                       strURL = strHomePage + strURL;\r
-                       }       \r
-                       RedirectTo(strURL);\r
-                       return true;\r
-               }\r
-       }\r
-       FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);\r
-       return false;\r
-}\r
-\r
-var oldPrefix = "HelpIdFromHTMLHelp_"\r
-//Find topic by topic id (alias id defined in ali file)\r
-function GetTopicNumberById(strTopicId)\r
-{\r
-   if (strTopicId.indexOf(oldPrefix) == 0)\r
-   {\r
-               strTopicId = strTopicId.substring(oldPrefix.length);\r
-   }\r
-\r
-   var i = 0;\r
-   var iEnd = gArrayCsh.length;\r
-   for (i=0; i<iEnd; i++)\r
-   {\r
-       if (gArrayCsh[i].strAliasId.toLowerCase() == strTopicId.toLowerCase())\r
-       {\r
-           return gArrayCsh[i].nTopicNum;\r
-        }\r
-   }\r
-   gstrURL = "";\r
-   return -1;\r
-}\r
-\r
-//Set Context-sensitive help entity...\r
-function SetCsh(n, strAliasId, nTopicNum, strUrl)\r
-{\r
-   gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);\r
-}\r
-\r
-\r
-function getHash()\r
-{\r
-       if (parent && parent != this)\r
-               return parent.location.hash;\r
-       else\r
-               return "";\r
-}\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-\r
-\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-//Find CSH according to hash string after this page\r
-if (getHash().length > 0)\r
-{\r
-   // VH 05/16/00 now support \r
-   // TopicID=\r
-   // TopicNumber=\r
-   // RemoteURL=   \r
-   // and WindowsOptions\r
-   // with the format #a=xxx,b=xxx,c=xxx...\r
-   var strHashString = getHash().toString();\r
-   // change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it. \r
-   // so here need to change it back.\r
-   strHashString = strHashString.substring(1,strHashString.length);\r
-   strHashString = strHashString.replace("%072%057%057", "://");\r
-   var nTopicNum = GetTopicNumber(strHashString);\r
-\r
-   if (nTopicNum != -1)\r
-   {\r
-      FindTopicByTopicNum(nTopicNum);\r
-   }\r
-   else\r
-   {\r
-      if (gstrURL.length > 0) \r
-       RedirectTo(gstrURL);\r
-      else\r
-       RedirectToHomePage();\r
-   }\r
-}\r
-else\r
-{\r
-   RedirectToHomePage();\r
-}\r
-//-->\r
-</script>\r
-<noscript>\r
- <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>\r
-</noscript>\r
-</body>\r
-</html>\r
-\r
-\r
-\r
-\r
-\r
-\r
+<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>
+
+
+
+
+
+
index 2d66f403cbe7d5058345f7ed9ae2715186fde5ff..6b2c6fc86e8b5da48305c600a90de5fb2ca0700d 100755 (executable)
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="JavaScript">\r
-<!--\r
-\r
-var gArrayCsh = new Array();\r
-\r
-var gstrWindowOption = "";\r
-var gstrURL = "";\r
-var gbWithNavPane = false;\r
-\r
-function CshEntityItem(strAliasId, nTopicNum, strUrl) \r
-{\r
-    this.strAliasId = strAliasId;\r
-    this.nTopicNum = nTopicNum;\r
-    this.strUrl = strUrl;\r
-}\r
-\r
-\r
-//Try to get to topic number from hash string\r
-function GetTopicNumberAuto(strMayBeNumber)\r
-{\r
-   var nNum = -1;\r
-   if (strMayBeNumber.length >= 1)\r
-   {\r
-               var strTmp = strMayBeNumber;\r
-               var iEnd = strTmp.length;\r
-               for (var i=0; i<iEnd; i++)\r
-               {\r
-                         var ch = strTmp.charAt(i);\r
-                         if (!((ch == "0") || (ch == "1") ||\r
-                               (ch == "2") || (ch == "3") ||\r
-                               (ch == "4") || (ch == "5") ||\r
-                               (ch == "6") || (ch == "7") ||\r
-                               (ch == "8") || (ch == "9")))\r
-                             return GetTopicNumberById(strTmp);\r
-               }\r
-               nNum = parseInt(strTmp);\r
-   }\r
-   return nNum;\r
-}\r
-\r
-function GetTopicNumber(strHashString)\r
-{\r
-       var nTopicEndPos = strHashString.indexOf(',')\r
-       if (nTopicEndPos == -1) { // no window option.\r
-               return GetTopicNumberOnly(strHashString);\r
-       }\r
-       else {\r
-               var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);\r
-               var strWithNavPane = 'withnavpane=true';\r
-               if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)\r
-               {\r
-                       if (strWindowOption.length > strWithNavPane.length)\r
-                               gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);\r
-                       else\r
-                               gstrWindowOption = "";\r
-                       gbWithNavPane = true;\r
-               }\r
-               else\r
-                       gstrWindowOption = strWindowOption;\r
-               return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));            \r
-       }\r
-}\r
-\r
-function GetTopicNumberOnly(strTopicString)\r
-{\r
-       var nEqualPos = strTopicString.indexOf('=');\r
-       if (nEqualPos == -1) {\r
-               return GetTopicNumberAuto(strTopicString);\r
-       }\r
-       else {\r
-               var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);\r
-               if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {\r
-                       return parseInt(strValue);\r
-               } else if (strTopicString.toLowerCase().indexOf("topicid") == 0) {\r
-                       return GetTopicNumberById(strValue);\r
-               } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {\r
-                       gstrURL = strValue;\r
-                       return -1;\r
-               }\r
-\r
-       }\r
-}\r
-\r
-//Find HomePage of the WebHelp system\r
-// we try to get the topic from remote project if it exists.\r
-function RedirectToHomePage()\r
-{\r
-       if (parent && parent != this && parent.goNext)\r
-       {\r
-               var sHome = parent.goNext();\r
-               if (sHome != "")\r
-                       RedirectTo(sHome);\r
-       }\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       if (parent && parent != this && parent.getRelHomePage)\r
-       {\r
-               return parent.getRelHomePage(document.location.href);\r
-       }\r
-       return "";\r
-}\r
-\r
-function addRemoteProject(strPath)\r
-{\r
-       if (parent && parent != this && parent.addProject)\r
-       {\r
-               parent.addProject(strPath);\r
-       }\r
-}\r
-\r
-//Redirect page to...\r
-function RedirectTo(strUrl)\r
-{\r
-   if (gstrWindowOption.length != 0) {\r
-               var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);\r
-               // close current window and rename the stub window to current window.\r
-               wnd.focus();\r
-               if (parent)\r
-                       parent.close();\r
-   }\r
-   else {\r
-       parent.document.location.href = strUrl;\r
-       window.focus();\r
-  }\r
-}\r
-\r
-//Prompt the user that we can not find...\r
-function FailToFind(strMsg)\r
-{\r
-    RedirectToHomePage();\r
-}\r
-\r
-//Find topic by topic number (defined in h file)\r
-function FindTopicByTopicNum(nTopicNum)\r
-{\r
-       var i = 0;\r
-       var iEnd = gArrayCsh.length;\r
-       for (i=0; i<iEnd; i++)\r
-       {\r
-               if (gArrayCsh[i].nTopicNum == nTopicNum)\r
-               {\r
-                       var strURL = gArrayCsh[i].strUrl;\r
-                       if (gbWithNavPane)\r
-                       {\r
-                               var strHomePage = getHomePage();\r
-                               if (strHomePage.length != 0)\r
-                                       strURL = strHomePage + strURL;\r
-                       }       \r
-                       RedirectTo(strURL);\r
-                       return true;\r
-               }\r
-       }\r
-       FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);\r
-       return false;\r
-}\r
-\r
-//Find topic by topic id (alias id defined in ali file)\r
-function GetTopicNumberById(strTopicId)\r
-{\r
-   var i = 0;\r
-   var iEnd = gArrayCsh.length;\r
-   for (i=0; i<iEnd; i++)\r
-   {\r
-       if (gArrayCsh[i].strAliasId == strTopicId)\r
-       {\r
-           return gArrayCsh[i].nTopicNum;\r
-        }\r
-   }\r
-   gstrURL = "";\r
-   return -1;\r
-}\r
-\r
-//Set Context-sensitive help entity...\r
-function SetCsh(n, strAliasId, nTopicNum, strUrl)\r
-{\r
-   gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);\r
-}\r
-\r
-\r
-function getHash()\r
-{\r
-       if (parent && parent != this)\r
-               return parent.location.hash;\r
-       else\r
-               return "";\r
-}\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-\r
-\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-//Find CSH according to hash string after this page\r
-if (getHash().length > 0)\r
-{\r
-   // VH 05/16/00 now support \r
-   // TopicID=\r
-   // TopicNumber=\r
-   // RemoteURL=   \r
-   // and WindowsOptions\r
-   // with the format #a=xxx,b=xxx,c=xxx...\r
-   var strHashString = getHash().toString();\r
-   // change ? to : for remote URL. because java applet have some problem to pass a URL with two : inside the URL so we changed it. \r
-   // so here need to change it back.\r
-   strHashString = strHashString.substring(1,strHashString.length);\r
-   strHashString = strHashString.replace("%072%057%057", "://");\r
-   var nTopicNum = GetTopicNumber(strHashString);\r
-\r
-   if (nTopicNum != -1)\r
-   {\r
-      FindTopicByTopicNum(nTopicNum);\r
-   }\r
-   else\r
-   {\r
-      if (gstrURL.length > 0) \r
-       RedirectTo(gstrURL);\r
-      else\r
-       RedirectToHomePage();\r
-   }\r
-}\r
-else\r
-{\r
-   RedirectToHomePage();\r
-}\r
-//-->\r
-</script>\r
-<noscript>\r
- <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>\r
-</noscript>\r
-</body>\r
-</html>\r
-\r
-\r
-\r
-\r
-\r
-\r
+<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>
+
+
+
+
+
+
index 1fa1a5aae9db41e6782e536985eb45a5d83fa96b..2f3b21c6d40b1b95671149c0d0526ac37370afaa 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Curve</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:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-ul.whs3 { list-style:disc; }\r
-p.whs4 { font-size:12pt; font-style:italic; }\r
-img_whs5 { border:none; width:312px; height:289px; float:none; border-style:none; }\r
-p.whs6 { font-size:12pt; font-style:normal; font-weight:bold; }\r
-p.whs7 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }\r
-img_whs8 { border:none; float:none; width:310px; height:308px; border-style:none; }\r
-img_whs9 { border:none; width:313px; height:310px; float:none; border-style:none; }\r
-img_whs10 { border:none; float:none; width:291px; height:313px; border-style:none; }\r
-p.whs11 { font-size:12pt; margin-left:40px; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nCurve");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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"> &nbsp;</b></font></span>Curve</h1>\r
-\r
-<p>To create a <span style="font-weight: bold;"><B>Curve</B></span> in the <span \r
- style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New \r
- Entity - &gt; Basic - &gt; Curve</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create \r
- a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve</B></font></span><span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> in the 3D space. Each time you define it by \r
- 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 \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> through which the curve passes. The three </font></span><span \r
- style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Curve Construction</B></font></span><span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> menu choices correspond to three possible types \r
- of curves: Polyline, Besier or B-spline (Interpolated). </font></span></p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span \r
- style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">of \r
- each operation will be a</span></b> GEOM_Object (edge).</font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Commands:</b> \r
- </p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span></p></li>\r
-</ul>\r
-\r
-<p class="whs2">ListOfShape is a list of points through which \r
- the curve passes.</p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> \r
- Name + at least 2 points which will serve as nodes on the curve.</font></span></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/curve.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs5"> </p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs6">Examples:</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs7">Polyline \r
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span \r
- style="font-size: 12pt;\r
-               font-weight: bold;\r
-               font-style: italic;\r
-               x-text-underline: off;\r
-               /*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ "><font size=3 style="font-size:12pt;"><I><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bezier \r
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B-Spline</B></I></font></span></p>\r
-\r
-<p class="whs2"><img src="pics/polyline.png" x-maintain-ratio="TRUE" width="310px" height="308px" border="0" class="img_whs8"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/bezier.png" x-maintain-ratio="TRUE" width="313px" height="310px" border="0" class="img_whs9"> &nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/interpol.png" x-maintain-ratio="TRUE" width="291px" height="313px" border="0" class="img_whs10"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="basic_geometrical_objects.htm#bookmark4">Basic \r
- Geometric Objects</a>. </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</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
+<!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"> &nbsp;</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 - &gt; Basic - &gt; Curve</B></span></p>
+
+<p>&nbsp;</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>&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs7">Examples:</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs8">Polyline 
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bezier 
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/bezier.png" x-maintain-ratio="TRUE" width="313px" height="310px" border="0" class="img_whs10"> &nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/interpol.png" x-maintain-ratio="TRUE" width="291px" height="313px" border="0" class="img_whs11"></p>
+
+<p class="whs12">&nbsp;</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>&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index cc5d74ed003182b28918f43cdd640f2df679e956..ea377fa9facd7d03e307bb14e39878ddd2bc997d 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Cut</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
-p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }\r
-img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
-img_whs6 { border:none; border-style:none; width:253px; height:266px; float:none; }\r
-img_whs7 { border:none; border-style:none; width:231px; height:267px; float:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nCut");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Cut</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>Operations - &gt; Boolean - &gt; Cut</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3">This operation cuts a shape with another \r
- one.</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be a</span> </b>&nbsp;GEOM_Object \r
- (COMPOUND).</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 2 shapes.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/bool3.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> &nbsp;<img src="pics/cutsn.png" x-maintain-ratio="TRUE" width="231px" height="267px" border="0" class="img_whs7"> </p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of the use of <a href="boolean_operations.htm#bookmark3">Boolean Operations</a>. \r
- </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Boolean - &gt; 
+ Cut</B></span></p>
+
+<p>&nbsp;</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>&nbsp;GEOM_Object 
+ (COMPOUND).</p>
+
+<p class="whs3"><b style="font-weight: bold;">Arguments:</b> 
+ Name + 2 shapes.</p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
+
+<p class="whs3">&nbsp;</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">&nbsp;</p>
+
+<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> &nbsp;<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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 087d2d73d4493cfa0869ff7ead34c32827638b88..d2b7695f4e26798ab6f021eb20148c3b8ccdf085 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Cylinder</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-weight:bold; }\r
-img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }\r
-p.whs5 { margin-left:0px; }\r
-p.whs6 { margin-left:40px; }\r
-img_whs7 { border:none; width:287px; height:272px; float:none; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs5 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCylinder");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Cylinder</h1>\r
-\r
-<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cylinder</B></span> \r
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
- style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Cylinder</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Cylinder</B></span>. \r
- </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of each operation will be a</span></b> \r
- GEOM_Object (SOLID).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Cylinder</B></span> \r
- by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central \r
- point of the cylinder base), the <span style="font-weight: bold;"><B>Vector</B></span> \r
- (the axis of the cylinder), and its dimensions: the Radius and the Height.</p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCylinder(Point, \r
- Axis, Radius, Height)</I></span>, </p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments: \r
- <span style="font-weight: normal;">&nbsp;</span></b><span \r
- style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name \r
- + 1 vertex + 1 vector + 2 values (Dimensions: radius and height).</font></span></p>\r
-\r
-<p><b style="font-weight: bold;"><img src="pics/cylinder1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b><span style="font-weight: normal;">Secondly, you can define</b> a \r
- </span><span style="font-weight: bold;"><B>Cylinder</B></span> by the given radius \r
- and the height at &nbsp;the \r
- origin of coordinate system. The axis of the cylinder will be collinear \r
- to the OZ axis of the coordinate system. </p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command: </b><span style="font-style: italic;"><I>geompy.MakeCylinderRH(Radius, \r
- Height)</I></span></p>\r
-\r
-<p><span><b style="font-weight: bold;">Arguments</span>: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>2 values (Dimensions at origin: radius and height).</p>\r
-\r
-<p class="whs5">&nbsp;&nbsp;<img src="pics/cylinder2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs6"><img src="pics/cylinders.png" x-maintain-ratio="TRUE" width="287px" height="272px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="primitives.htm#bookmark1">Primitives</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Primitives - &gt; Cylinder</B></span></p>
+
+<p>&nbsp;</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">&nbsp;</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;">&nbsp;</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>&nbsp;</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 &nbsp;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>&nbsp;</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">&nbsp;&nbsp;</p>
+
+<p><b style="font-weight: bold;">Example:</b></p>
+
+<p>&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">Our TUI Scripts provide you with useful examples 
+ of creation of <a href="primitives.htm#bookmark1">Primitives</a>. </p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index de2e5d955068e5135152a18b39282a1280ef05e5..1f8d6d7723e712de7dfe09085e3238e07473d413 100755 (executable)
-BODY { \r
-      background-color:#ffffff; \r
-      font-family:"Times New Roman" , serif;  }\r
-H1 { \r
-    font-weight:bold; \r
-    font-size:24.0pt;  }\r
-LI.kadov-H1 { \r
-             font-weight:bold; \r
-             font-size:24.0pt;  }\r
-H2 { \r
-    font-weight:bold; \r
-    font-size:18.0pt;  }\r
-LI.kadov-H2 { \r
-             font-weight:bold; \r
-             font-size:18.0pt;  }\r
-H3 { \r
-    font-weight:bold; \r
-    font-size:14.0pt;  }\r
-LI.kadov-H3 { \r
-             font-weight:bold; \r
-             font-size:14.0pt;  }\r
-H4 { \r
-    font-weight:bold; \r
-    font-size:12.0pt;  }\r
-LI.kadov-H4 { \r
-             font-weight:bold; \r
-             font-size:12.0pt;  }\r
-H5 { \r
-    font-weight:bold; \r
-    font-size:10.0pt;  }\r
-LI.kadov-H5 { \r
-             font-weight:bold; \r
-             font-size:10.0pt;  }\r
-H6 { \r
-    font-weight:bold; \r
-    font-size:8.0pt;  }\r
-LI.kadov-H6 { \r
-             font-weight:bold; \r
-             font-size:8.0pt;  }\r
-P { \r
-   font-size:12.0pt; \r
-   margin-top:0pt; \r
-   margin-bottom:0pt;  }\r
-LI.kadov-P { \r
-            font-size:12.0pt;  }\r
-A.expandspot { \r
-              color:#008000; \r
-              cursor:hand; \r
-              font-style:italic; \r
-              x-text-underline:off; \r
-              x-text-overline:off; \r
-              x-text-line-through:off; \r
-              text-decoration:none none none;  }\r
-SPAN.expandtext { \r
-                 font-style:italic; \r
-                 font-weight:normal; \r
-                 color:#ff0000;  }\r
-A.dropspot { \r
-            cursor:hand; \r
-            color:#008000; \r
-            font-style:italic; \r
-            x-text-underline:off; \r
-            x-text-overline:off; \r
-            x-text-line-through:off; \r
-            text-decoration:none none none;  }\r
-A.glossterm { \r
-             color:#800000; \r
-             cursor:hand; \r
-             font-style:italic; \r
-             x-text-underline:off; \r
-             x-text-overline:off; \r
-             x-text-line-through:off; \r
-             text-decoration:none none none;  }\r
-SPAN.glosstext { \r
-                font-style:italic; \r
-                font-weight:normal; \r
-                color:#0000ff;  }\r
-OL { \r
-    margin-top:0px; \r
-    margin-bottom:0px;  }\r
-UL { \r
-    margin-top:0px; \r
-    margin-bottom:0px;  }\r
-A:active {  }\r
-A:hover { \r
-         x-text-underline:Off; \r
-         text-decoration:none;  }\r
-A:link { \r
-        x-text-underline:Off; \r
-        text-decoration:none;  }\r
-A:visited { \r
-           x-text-underline:Off; \r
-           text-decoration:none;  }\r
-P.TODO { \r
-        font-weight:normal; \r
-        font-style:italic; \r
-        font-family:"Arial Black" , sans-serif;  }\r
-LI.kadov-P-CTODO { \r
-                  font-weight:normal; \r
-                  font-style:italic; \r
-                  font-family:"Arial Black" , sans-serif;  }\r
+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;  }
index 3eeb3c49656ad0f0c62497bfb3ac18e8e7a00177..46e8b0018d0c393b09a0c0587a2d9fd4866ca388 100755 (executable)
-BODY { \r
-      background-color:#ffffff; \r
-      font-family:"Times New Roman"  , serif;  }\r
-H1 { \r
-    font-weight:bold; \r
-    font-size:24.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H1 { \r
-             font-weight:bold; \r
-             font-size:24.0pt;  }\r
-H2 { \r
-    font-weight:bold; \r
-    font-size:18.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H2 { \r
-             font-weight:bold; \r
-             font-size:18.0pt;  }\r
-H3 { \r
-    font-weight:bold; \r
-    font-size:14.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H3 { \r
-             font-weight:bold; \r
-             font-size:14.0pt;  }\r
-H4 { \r
-    font-weight:bold; \r
-    font-size:12.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H4 { \r
-             font-weight:bold; \r
-             font-size:12.0pt;  }\r
-H5 { \r
-    font-weight:bold; \r
-    font-size:10.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H5 { \r
-             font-weight:bold; \r
-             font-size:10.0pt;  }\r
-H6 { \r
-    font-weight:bold; \r
-    font-size:8.0pt; \r
-    font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-H6 { \r
-             font-weight:bold; \r
-             font-size:8.0pt;  }\r
-P { \r
-   font-size:12.0pt; \r
-   margin-top:1pt; \r
-   margin-bottom:1pt; \r
-   font-family:"Times New Roman"  , serif;  }\r
-LI.kadov-P { \r
-            font-size:12.0pt;  }\r
-A.expandspot { \r
-              color:#008000; \r
-              cursor:hand; \r
-              font-style:italic; \r
-              x-text-underline:off; \r
-              x-text-overline:off; \r
-              x-text-line-through:off; \r
-              text-decoration:none none none;  }\r
-SPAN.expandtext { \r
-                 font-style:italic; \r
-                 font-weight:normal; \r
-                 color:#ff0000;  }\r
-A.dropspot { \r
-            cursor:hand; \r
-            color:#008000; \r
-            font-style:italic; \r
-            x-text-underline:off; \r
-            x-text-overline:off; \r
-            x-text-line-through:off; \r
-            text-decoration:none none none;  }\r
-A.glossterm { \r
-             color:#800000; \r
-             cursor:hand; \r
-             font-style:italic; \r
-             x-text-underline:off; \r
-             x-text-overline:off; \r
-             x-text-line-through:off; \r
-             text-decoration:none none none;  }\r
-SPAN.glosstext { \r
-                font-style:italic; \r
-                font-weight:normal; \r
-                color:#0000ff;  }\r
-OL { \r
-    margin-top:0px; \r
-    margin-bottom:0px; \r
-    font-family:"Times New Roman"  , serif;  }\r
-UL { \r
-    margin-top:0px; \r
-    margin-bottom:0px; \r
-    font-family:"Times New Roman"  , serif;  }\r
-A:active {  }\r
-A:hover { \r
-         x-text-underline:Off; \r
-         text-decoration:none;  }\r
-A:link { \r
-        x-text-underline:Off; \r
-        text-decoration:none;  }\r
-A:visited { \r
-           x-text-underline:Off; \r
-           text-decoration:none;  }\r
-P.TODO { \r
-        font-weight:normal; \r
-        font-style:italic; \r
-        font-family:"Arial Black"  , sans-serif;  }\r
-LI.kadov-P-CTODO { \r
-                  font-weight:normal; \r
-                  font-style:italic; \r
-                  font-family:"Arial Black"  , sans-serif;  }\r
-ol ol { \r
-       margin-top:1px;  }\r
-ol ul { \r
-       margin-top:1px;  }\r
-ul ul { \r
-       margin-top:1px;  }\r
-ul ol { \r
-       margin-top:1px;  }\r
+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;  }
index 184e5ba47dd76c0449628abca013927cab0d5aec..75696858f933a0f63ae8571e2fa781020ff9a475 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Edge</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
-img_whs5 { border:none; width:195px; height:202px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nEdge");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b><span style="font-weight: normal;">T</b>o</span> \r
- create an <span style="font-weight: bold;"><B>Edge</B></span> in the <span style="font-weight: bold;"><B>Main \r
- Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt; \r
- Build - &gt; Edge</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">You can create an <span style="font-weight: bold;"><B>Edge</B></span> \r
- from two points (<span style="font-weight: bold;"><B>Point1</B></span> and <span \r
- style="font-weight: bold;"><B>Point2</B></span>), being the first and the last \r
- vertices of the edge.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">&nbsp;will \r
- be a</span></b> GEOM_Object (EDGE).</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeEdge(Vertex1, Vertex2)</I></span>, \r
- where Vertex1 and Vertex2 are correspondingly the first and the last vertex \r
- of the edge.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 2 vertices.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/neo-obj2.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/edgesn.png" x-maintain-ratio="TRUE" width="195px" height="202px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="geometrical_objects.htm#bookmark">Advanced Geometric \r
- Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; 
+ Build - &gt; Edge</B></span></p>
+
+<p class="whs2">&nbsp;</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;">&nbsp;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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 190aa23690bafaff0276a66af617400362e4251c..5fbcc543d2cba275c83173ed1374a884dfe38862 100755 (executable)
@@ -1,10 +1,10 @@
-<?xml version="1.0"?>\r
-<!DOCTYPE SYSTEM "ehelpopt.dtd">\r
-<FILE-OPTIONS FILE-VERSION="2" FILE-KEY="a306ebd6_4870_4c36_a066_58c07171acf6">\r
-</FILE-OPTIONS>\r
-<EHELP-OPTIONS FORMAT-VERSION="1.0">\r
- <OPTIONS ENABLED="NO" EMBEDDED="YES" MAIN-WINDOW-ONLY="NO" COMMUNITY-NOTIFY="NO" FIRST-PAGE="NOT-SET">\r
- </OPTIONS>\r
- <BUTTON-LABEL>WebSearch\r
- </BUTTON-LABEL>\r
+<?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
index f8b34dad2fdf72e12a1578d3eba2ea2c6d7b07bd..e09a7562a8ec1f9c6dd31a2e93716bc0a084c5d3 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Ellipse</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }\r
-p.whs5 { font-size:12pt; font-weight:bold; margin-left:0px; }\r
-p.whs6 { font-size:12pt; color:#000000; }\r
-p.whs7 { color:#808080; font-size:12pt; }\r
-p.whs8 { color:#808080; font-size:12pt; margin-left:40px; }\r
-img_whs9 { border:none; width:354px; height:323px; float:none; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs5 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nEllipse");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p><b><span style="font-weight: normal;">T</span></b>o create an <span \r
- style="font-weight: bold;"><B>Ellipse</B></span> in the <span style="font-weight: bold;"><B>Main \r
- Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt; \r
- Basic - &gt; Ellipse</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">You \r
- can define an</span> Ellipse <span style="font-weight: normal;">by its</span> \r
- Center Point, <span style="font-weight: normal;">a</span> Vector <span \r
- style="font-weight: normal;">giving its normal, and its</span> Major &amp; \r
- Minor Radiuses.</b></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of the operation will be a</span></b><b> \r
- GEOM_Object (edge).</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><span \r
- style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor, \r
- RadiusMinor)</I></span>, </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 vertex (for the center) + 1 edge (for the direction) + 1 X Radius \r
- + 1 Y Radius.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/ellipse.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs6"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="pics/ellipsesn.png" x-maintain-ratio="TRUE" width="354px" height="323px" border="0" class="img_whs9"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
- provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark3">Basic \r
- Geometric Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; 
+ Basic - &gt; Ellipse</B></span></p>
+
+<p class="whs2">&nbsp;</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 &amp; 
+ 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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs7">&nbsp;</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">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 46e1d3560931390461f3d1297d9d9bf8b6836543..7e21453c5397e7e98ca7fc469ab24f070395d33c 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Explode</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { margin-left:0px; }\r
-p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }\r
-p.whs4 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-p.whs5 { font-size:12pt; }\r
-ul.whs6 { list-style:disc; }\r
-p.whs7 { font-size:12pt; font-style:italic; }\r
-p.whs8 { font-size:12pt; font-style:normal; }\r
-p.whs9 { font-size:12pt; margin-left:40px; }\r
-img_whs10 { border:none; width:312px; height:283px; float:none; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs2 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nExplode");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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"> &nbsp;</font></span></b>Explode</h1>\r
-\r
-<p class="whs2">To<span style="font-weight: bold;"><B> Explode</B></span> \r
- an object into subshapes, in the main menu select <span style="font-weight: bold;"><B>New \r
- Entity &gt; Explode</B></span>.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">To create a list of &nbsp;subshapes \r
- (vertices, edges, wires etc.) of the given shape using the </font></span><span \r
- 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;"> \r
- 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 \r
- Object,</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> which will be exploded and \r
- 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 \r
- 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>\r
-\r
-<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of the operation will be a List</span> \r
- of</b> GEOM_Objects (edges, faces, solids or compsolids).</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">Using</span> \r
- TUI Commands<span style="font-weight: normal;"> you can perform this operation \r
- in a variety of ways:</span> </b></p>\r
-\r
-<ul type="disc" class="whs6">\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAll(Shape, \r
- Type)</I></span> explodes a Shape on subshapes of a given Type and returns \r
- a <span style="font-weight: bold;"><B>List</B></span> of sub-shapes. </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllIDs(Shape, \r
- Type)</I></span> &nbsp;explodes \r
- a Shape on subshapes of a given Type and returns a List of IDs of sub-shapes. \r
- </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllSorted(Shape, \r
- Type)</I></span> &nbsp;explodes \r
- a shape on subshapes of a given type and <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">sorts \r
- them by coordinates of their gravity centers, returning &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a \r
- list of sub-shapes. </font></span></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs7">geompy.SubShapeAllSortedIDs(Shape, \r
- Type) &nbsp;<span style="font-style: normal;">explodes \r
- a shape on subshapes of a given type</span> <span style="font-style: normal;">and \r
- sorts them by coordinates of their gravity centers, &nbsp;returning \r
- a List of IDs of sub-shapes.</span></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs7"><span \r
- style="font-style: normal;">g</span>eompy.SubShape(Shape, Type, ListOfInd) \r
- &nbsp;<span style="font-style: normal;">allows \r
- to obtain a compound of sub-shapes of &nbsp;the \r
- Shape, &nbsp;selected \r
- by they indices in a list of all sub-shapes of the given Type. Each index \r
- is in the range [1, Nb_Sub-Shapes_Of_Given_Type].</span> </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs8"><span \r
- style="font-size: 12pt; font-style: normal;"><font size=3 style="font-size:12pt;">geompy.SubShapeSorted(Shape, \r
- Type, ListOfInd) allows to obtain a compound of sub-shapes of the Shape, \r
- selected by they indices in sorted list of all sub-shapes of the given \r
- Type. Each index is in the range [1, Nb_Sub-Shapes_Of_Given_Type] </font></span></p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b> \r
- 1 SHAPE + 1 type of SubShape.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="pics/neo-obj1.png" x-maintain-ratio="TRUE" width="312px" height="283px" border="0" class="img_whs10"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p>&nbsp;</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
+<!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"> &nbsp;</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 &gt; Explode</B></span>.</p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs4"><span 
+ style="font-size: 12pt;"><font size=3 style="font-size:12pt;">To create a list of &nbsp;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">&nbsp;</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> &nbsp;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> &nbsp;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 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a 
+ list of sub-shapes. </font></span></p></li>
+       
+       <li class=kadov-p><p class="whs7">geompy.SubShapeAllSortedIDs(Shape, 
+ Type) &nbsp;<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, &nbsp;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) 
+ &nbsp;<span style="font-style: normal;">allows 
+ to obtain a compound of sub-shapes of &nbsp;the 
+ Shape, &nbsp;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">&nbsp;</p>
+
+<p class="whs5"><b style="font-weight: bold;">Arguments:</b> 
+ 1 SHAPE + 1 type of SubShape.</p>
+
+<p class="whs5">&nbsp;</p>
+
+<p class="whs5">&nbsp;</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">&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index d03efcc16f72d2df31473d9ad91b544555695fe0..e30f3e8027386f5b7350bc1190976117b9379d34 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Explode on Blocks</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:22px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:372px; float:none; border-style:none; }\r
-p.whs5 { font-size:12pt; margin-left:0px; }\r
-p.whs6 { font-size:12pt; margin-left:0px; font-weight:bold; }\r
-p.whs7 { margin-left:40px; font-size:12pt; }\r
-img_whs8 { border:none; width:316px; height:278px; float:none; border-style:none; }\r
-p.whs9 { font-size:12pt; margin-left:36px; text-indent:-36px; }\r
-p.whs10 { font-size:12pt; text-indent:-36px; margin-left:40px; font-weight:bold; }\r
-p.whs11 { font-weight:bold; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs5 {margin-left:1pt; }";\r
-  strNSS += "p.whs6 {margin-left:1pt; }";\r
-  strNSS += "p.whs9 {text-indent:1pt; }";\r
-  strNSS += "p.whs10 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nBlocks Operations\nExplode on Blocks");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1><img src="image53.gif" width="23px" height="22px" border="0" class="img_whs1"> Explode on Blocks</h1>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- an <span style="font-weight: bold;"><B>Explode on Blocks</B></span> operation \r
- in the Main Menu select <span style="font-weight: bold;"><B>Operations - \r
- &gt; Blocks - &gt; Explode on Blocks.</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">This operation</b> \r
- returns blocks of the given compound. The user may define the type of \r
- blocks to be extracted by setting the minimum and maximum number of faces \r
- in the target block. By checking the corresponding box the user may also \r
- interactively choose the blocks from a compound .</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeBlockExplode(Compound, \r
- MinNbFaces, MaxNbFaces)</I></span>, where Compound is a compound to be exploded \r
- into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal \r
- and &nbsp;the \r
- maximal number of faces of the resulting blocks.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: <span \r
- style="font-weight: normal;">1 compound + 2 integers (min. and max. number \r
- of faces in the block to be extracted).</span></b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/mtransf3.png" x-maintain-ratio="TRUE" width="312px" height="372px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs6">Example:</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="pics/block_explodesn.png" x-maintain-ratio="TRUE" width="316px" height="278px" border="0" class="img_whs8"></p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs11">&nbsp;&nbsp;&nbsp;<span \r
- style="font-weight: normal;">Our</span> TUI \r
- Scripts <span style="font-weight: normal;">provide you with useful examples \r
- of the use of</span> <a href="blocks_operations.htm#bookmark5">Blocks \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - 
+ &gt; Blocks - &gt; Explode on Blocks.</B></span></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</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 &nbsp;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">&nbsp;</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs6">Example:</p>
+
+<p class="whs5">&nbsp;</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">&nbsp;</p>
+
+<p class="whs10">&nbsp;</p>
+
+<p class="whs11">&nbsp;&nbsp;&nbsp;<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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index c525078399725b7d0352e3422613859007147730..5c0812908203c07c01738f2e6e91b3f58dbe26e1 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Extrusion</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:312px; height:350px; float:none; border-style:none; }\r
-p.whs4 { font-size:12pt; font-weight:bold; }\r
-p.whs5 { font-size:12pt; margin-left:40px; }\r
-p.whs6 { font-size:12pt; font-style:italic; }\r
-p.whs7 { font-size:12pt; margin-left:0px; }\r
-img_whs8 { border:none; float:none; width:300px; height:175px; border-style:none; }\r
-img_whs9 { border:none; width:350px; height:175px; float:none; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs7 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nGeneration of Complex Objects\nExtrusion");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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"> &nbsp;</b></font></span>Extrusion</h1>\r
-\r
-<p><b><span style="font-weight: normal;">T</b>o</span> generate an <span \r
- style="font-weight: bold;"><B>Extrusion</B></span> on an object in the <span \r
- style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New \r
- Entity - &gt; Generation &nbsp;- \r
- &gt; Extrusion</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">To create an Extrusion (Prism) you should define \r
- the <span style="font-weight: bold;"><B>Base Shape </B></span>(a basis of the \r
- extrusion)<span style="font-weight: bold;"><B>, </B></span>the <span style="font-weight: bold;"><B>Vector</B></span> \r
- (a normal of the extrusion) and the <span style="font-weight: bold;"><B>Height</B></span> \r
- of extrusion. &nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of the operation will be a</span></b> \r
- GEOM_Object (edge, face, solid or compsolid).</p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI \r
- Command :</b><i> </i></B></span><span style="font-style: italic;"><I>geompy.MakePrismVecH(Base, \r
- Vector, Height)</I></span></p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 shape (vertex, edge, wire, face or shell) serving as base object \r
- + 1 vector (for direction of the extrusion) + 1 value (dimension).</font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/extrusion.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4">NB! <span style="font-weight: normal;">The \r
- is another way to create an</span> Extrusion, <span style="font-weight: normal;">which \r
- is currently accessible only via</span> TUI commands.</p>\r
-\r
-<p class="whs4"><span style="font-weight: normal;">You \r
- can define the</span> Extrusion <span style="font-weight: normal;">by \r
- the </span>Base Shape<span style="font-weight: normal;"> and the </span>Start<span \r
- style="font-weight: normal;"> and </span>End Point<span style="font-weight: normal;"> \r
- of the </span>Vector<span style="font-weight: normal;"> &nbsp;(in \r
- this way you don't need to create it in advance).</span> </p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI \r
- Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakePrism(Base, \r
- Point1, Point2) </I></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs6">Base Shape &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prisms</p>\r
-\r
-<p class="whs7"><img src="pics/prisms_basessn.png" x-maintain-ratio="TRUE" width="300px" height="175px" border="0" class="img_whs8"> <img src="pics/prismssn.png" x-maintain-ratio="TRUE" width="350px" height="175px" border="0" class="img_whs9"> &nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
- provide you with useful examples of creation of <a href="complex_objects.htm#bookmark">Complex \r
- Geometric Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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:312px; height:350px; float:none; border-style:none; }
+p.whs5 { font-size:12pt; font-weight:bold; }
+p.whs6 { font-size:12pt; font-style:italic; margin-left:40px; }
+img_whs7 { border:none; float:none; width:300px; height:175px; border-style:none; }
+img_whs8 { 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"> &nbsp;</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 - &gt; Generation &nbsp;- 
+ &gt; Extrusion</B></span></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">To create an Extrusion (Prism) you should 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. &nbsp;</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>&nbsp;</p>
+
+<p class="whs3"><img src="pics/extrusion.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs4"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs5">NB! <span style="font-weight: normal;">The 
+ is another way to create an</span> Extrusion, <span style="font-weight: normal;">which 
+ is currently accessible only via</span> TUI commands.</p>
+
+<p class="whs5"><span style="font-weight: normal;">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;"> &nbsp;(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>&nbsp;</p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs6">Base Shape &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prisms</p>
+
+<p class="whs3"><img src="pics/prisms_basessn.png" x-maintain-ratio="TRUE" width="300px" height="175px" border="0" class="img_whs7"> <img src="pics/prismssn.png" x-maintain-ratio="TRUE" width="350px" height="175px" border="0" class="img_whs8"> &nbsp;</p>
+
+<p class="whs2">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index fea6224515a8c6893e25987b49c08e5d7b68f826..a0fdccf8095f1812381a56efdbaa2c30450af8a4 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Face</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }\r
-p.whs5 { font-size:12pt; font-style:italic; }\r
-img_whs6 { border:none; width:180px; height:180px; float:none; border-style:none; }\r
-img_whs7 { border:none; float:none; width:180px; height:180px; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nFace");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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"> &nbsp;</font></span>Face</h1>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o create \r
- a <span style="font-weight: bold;"><B>Face</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>New Entity - &gt; Build - &gt; Face</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">To \r
- create a </span><span style="font-weight: bold;"><B>Face</B></span><span style="font-weight: normal;"> \r
- you need to select a wire, whose elements will be connected so that the \r
- surface of the resulting object was minimal. Check </span><span style="font-weight: bold;"><B>Try \r
- to create a planar face</B></span><span style="font-weight: normal;"> to create \r
- a planar face or nothing if it is impossible.</span></b></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result<span style="font-weight: normal;"> will be a</span></b> GEOM_Object \r
- (FACE).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeFace(Wire, isPlanarWanted</I></span>)</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 wire.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/neo-obj4.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">There are some advanced possibilities accessible \r
- only via<span style="font-weight: bold;"><B> TUI commands</B></span>.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaceWires(Wires, \r
- isPlanarWanted)</I></span> - Creates a face on the given wires set. The argument \r
- is not a single wire, but a list of wires. </p>\r
-\r
-<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaces(Wires, \r
- isPlanarWanted)</I></span> is a shortcut to <span style="font-style: italic;"><I>MakeFaceWires(). \r
- </I></span></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<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>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="geometrical_objects.htm#bookmark1">Advanced Geometric \r
- Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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"> &nbsp;</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 - &gt; Build - &gt; Face</B></span></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index cfcad978cfcdd03d2152179f81581d0de658dd01..83ab6e5d62a7611eef62a5675cb85a7421aa4395 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Fillet</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:312px; height:315px; float:none; border-style:none; }\r
-p.whs4 { font-size:12pt; margin-left:0px; }\r
-img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }\r
-p.whs6 { font-size:12pt; font-style:italic; }\r
-img_whs7 { border:none; width:226px; height:250px; float:none; border-style:none; }\r
-img_whs8 { border:none; float:none; width:208px; height:250px; border-style:none; }\r
-img_whs9 { border:none; width:220px; height:250px; float:none; border-style:none; }\r
-p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs4 {margin-left:1pt; }";\r
-  strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nFillet");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Fillet</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>Operations - &gt; Transformation - &gt; \r
- Fillet</B></span> &nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">This operation creates<span style="font-weight: bold;"> \r
- <B></B></span>fillets on the edges of a shape.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">To create fillets on all edges of the given \r
- shape, you need to define the <span style="font-weight: bold;"><B>Main Object</B></span> \r
- to create a fillet on and the <span style="font-weight: bold;"><B>Radius</B></span> \r
- of the Fillet. &nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i>geompy.MakeFilletAll(Shape, R) </p>\r
-\r
-<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span \r
- style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 value \r
- (fillet radius).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/fillet1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs3"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">To create fillets &nbsp;on \r
- the specified edges or faces of the given shape, &nbsp;you \r
- need to define the <span style="font-weight: bold;"><B>Main Object</B></span> \r
- to create a fillet on, select the necessary edges or faces in the object \r
- browser or in the OCC Viewer and define the &nbsp;<span \r
- style="font-weight: bold;"><B>Radius</B></span> \r
- of the Fillet. </p>\r
-\r
-<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI \r
- Command:</b><i> </i>geompy.MakeFillet(Shape, R, ShapeType, ListShapes) \r
- </I></span></p>\r
-\r
-<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span \r
- style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 Selection \r
- of edges (or faces) + 1 value (Fillet radius).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/fillet2.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> &nbsp;<img src="pics/fillet3.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs2">&nbsp; </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs6">Fillet on all &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fillet \r
- on an edge &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fillet \r
- on a Face</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/fillet_all.png" x-maintain-ratio="TRUE" width="226px" height="250px" border="0" class="img_whs7"> &nbsp;&nbsp;<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;">&nbsp;<img src="pics/fillet_prism.png" x-maintain-ratio="TRUE" width="220px" height="250px" border="0" class="img_whs9"></font></span></p>\r
-\r
-<p class="whs10">&nbsp;&nbsp;</p>\r
-\r
-<p class="whs10"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark3">Transformation \r
- Operations</a>. </font></span></p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Transformation - &gt; 
+ Fillet</B></span> &nbsp;</p>
+
+<p>&nbsp;</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">&nbsp;</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. &nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">To create fillets on the specified edges or 
+ faces of the given shape, &nbsp;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 &nbsp;<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">&nbsp;</p>
+
+<p class="whs3"><img src="pics/fillet2.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> &nbsp;<img src="pics/fillet3.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"></p>
+
+<p class="whs2">&nbsp; </p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs6">Fillet on all &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fillet 
+ on an edge &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fillet 
+ on a Face</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs3"><img src="pics/fillet_all.png" x-maintain-ratio="TRUE" width="226px" height="250px" border="0" class="img_whs7"> &nbsp;&nbsp;<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;">&nbsp;<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">&nbsp;&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 463608b82cfe2773607273a22430d797d970c044..a9eea44fd37dd7904effc8d8e1f6835dc3444524 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Filling</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:0px; }\r
-img_whs4 { border:none; width:312px; height:367px; float:none; border-style:none; }\r
-p.whs5 { font-size:12pt; margin-left:40px; }\r
-img_whs6 { border:none; float:none; width:260px; height:230px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs3 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nGeneration of Complex Objects\nFilling");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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"> &nbsp;</font></span>Filling \r
- Surface with Curves</h1>\r
-\r
-<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate \r
- a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Filling</B></font></span><span \r
- style="font-size: 12pt;"> <font size=3 style="font-size:12pt;"></font></span>in the <span style="font-weight: bold;"><B>Main \r
- Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt; \r
- Generation &nbsp;- \r
- &gt; Filling</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">To create a curving face using several curves \r
- you need to define the <span style="font-weight: bold;"><B>Curves</B></span>, \r
- which will be the components of your face, <span style="font-weight: bold;"><B>Minimum</B></span> \r
- and <span style="font-weight: bold;"><B>Maximum Degree</B></span>, <span style="font-weight: bold;"><B>Tolerance \r
- </B></span>for<span style="font-weight: bold;"><B> 2D</B></span> and for <span style="font-weight: bold;"><B>3D \r
- </B></span>&nbsp;and \r
- the <span style="font-weight: bold;"><B>Number of Iterations</B></span>. </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of the operation will be a</span></b> \r
- GEOM_Object (face).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeFilling(Shape, MinDegree, \r
- MaxDegree, Tol2D, Tol3D, NbIter)</I></span>,</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 List of edges + 5 Parameters (Min. degree, Max. degree, Number \r
- of iterations, 2D tolerance, 3D tolerance).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/filling.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs5"><img src="pics/filling_compoundsn.png" x-maintain-ratio="TRUE" width="260px" height="230px" border="0" class="img_whs6"> <img src="pics/fillingsn.png" x-maintain-ratio="TRUE" width="260px" height="230px" border="0" class="img_whs6"> &nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="complex_objects.htm#bookmark2">Complex Geometric \r
- Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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:312px; height:367px; float:none; border-style: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"> &nbsp;</font></span>Filling 
+ Surface with Curves</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 - &gt; 
+ Generation &nbsp;- 
+ &gt; Filling</B></span></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">To create a curving face using several curves 
+ you need to define the <span style="font-weight: bold;"><B>Curves</B></span>, 
+ which will be the components of your face, <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>&nbsp;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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs3"><img src="pics/filling.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs4"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</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"> &nbsp;</p>
+
+<p class="whs3">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index ede4d6dd242d93918d57f3c98c711195fcf2a115..f5895cac7a4092ea6df486b4af5786206ff62165 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Fuse</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
-p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }\r
-img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
-p.whs6 { list-style:disc; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }\r
-img_whs7 { border:none; float:none; width:252px; height:265px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nFuse");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Fuse</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>Operations - &gt; Boolean - &gt; Fuse</B></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span \r
- style="font-weight: normal;">This operation creates a shape from two</span> \r
- </b>shapes.</font></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span \r
- style="font-weight: normal;">The</span> Result<span style="font-weight: normal;"> \r
- will be a</span></b> GEOM_Object (COMPOUND).</font></span></p>\r
-\r
-<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 2 shapes.</font></span></p>\r
-\r
-<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>TUI \r
- Command:</B></span> &nbsp;<span style="font-style: italic;"><I>geompy.MakeFuse(s1, \r
- s2)</I></span> </font></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<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>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<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>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<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"> &nbsp;<img src="pics/fusesn2.png" x-maintain-ratio="TRUE" width="252px" height="265px" border="0" class="img_whs7"></font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
- provide you with useful examples of the use of <a href="boolean_operations.htm#bookmark">Boolean \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Boolean - &gt; 
+ Fuse</B></span></p>
+
+<p class="whs3">&nbsp;</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">&nbsp;</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> &nbsp;<span style="font-style: italic;"><I>geompy.MakeFuse(s1, 
+ s2)</I></span> </font></span></p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3">&nbsp;</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">&nbsp;</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">&nbsp;</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"> &nbsp;<img src="pics/fusesn2.png" x-maintain-ratio="TRUE" width="252px" height="265px" border="0" class="img_whs7"></font></span></p>
+
+<p class="whs2">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
diff --git a/doc/salome/gui/GEOM/geom.htm b/doc/salome/gui/GEOM/geom.htm
deleted file mode 100755 (executable)
index 46797c7..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-\r
-<html>\r
-<head><script language="javascript">\r
-<!--\r
-var sIcon="whstart.ico";\r
-var sPath=document.location.href;\r
-if (sPath.indexOf("http")!= -1)\r
-       document.write("<link REL=\"SHORTCUT ICON\" href=\""+ sIcon +"\">");\r
-//-->\r
-</script>\r
- <title>GEOM reference manual</title>\r
- <meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
- <meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" >\r
-<!--\r
-if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript" src="whstub.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var nWebhelpNavPaneMode = 1;                   //1: DHTML 2:Applet 3:PureHTML 4:NoframeAt all\r
-var strPaneDHTML  = "whskin_pdhtml.htm";               //whd_nvp10.htm  if tab enabled, whnframe.htm if tab disabled.\r
-var strPaneApplet = "whskin_papplet.htm";\r
-var strPaneList   = "whskin_plist.htm";\r
-var bNoApplet  = false;\r
-\r
-var strPane = "";\r
-\r
-var nViewFrameType = -1;\r
-\r
-if (!window.gAgent)\r
-{\r
-       // low end browser, we don't even try to determine it.\r
-       document.location = "whnjs.htm";\r
-}\r
-else\r
-{\r
-       if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)                              \r
-               document.location = "whnjs.htm";\r
-       else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))\r
-               document.location = "whnjs.htm";\r
-       else if (gbMac && gbIE4 && !gbIE5)              \r
-               document.location = "whnjs.htm";\r
-       //figure out which mode is the best\r
-       else\r
-       {\r
-               nViewFrameType=nWebhelpNavPaneMode;\r
-               if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)\r
-               {\r
-                       var gbDHTML=(nWebhelpNavPaneMode==1);\r
-                       if (gbNav4)                                                                             nViewFrameType = 2;\r
-                       if (gbNav4&&(gnVerMinor < 4.1))                                         nViewFrameType = 3;\r
-                       if (gbNav4&&(gnVerMinor == 4.6))                                        nViewFrameType = 3;\r
-                       if (gbIE4&&gbDHTML)                                                                     nViewFrameType = 1;\r
-                       if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2)                     nViewFrameType = 3;\r
-                       if (gbNav4&&gbSunOS&&nViewFrameType==2)                 nViewFrameType = 3;\r
-                       if (gbNav6&&gbDHTML)                                                            nViewFrameType = 1;\r
-                       if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2)         nViewFrameType = 3;\r
-                       if (gbMac)                                                                                      nViewFrameType = 3;\r
-                       if (gbOpera7&&nViewFrameType == 2)                                      nViewFrameType = 3;\r
-                       if ((bNoApplet)&&(nViewFrameType == 2))                         nViewFrameType = 3;\r
-               }\r
-       }\r
-}\r
-\r
-if (nViewFrameType!=-1)\r
-{\r
-       var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));\r
-       //The colordepth of the 16 color on Windows is 1. \r
-       if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))\r
-       {\r
-          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.");\r
-          nViewFrameType = 3;\r
-       }\r
-\r
-       //figure out which one is navpane\r
-       // ReplaceMark:nViewFrameType = 1\r
-       if (nViewFrameType == 1)\r
-       {\r
-               if (gbNav4 && !gbNav6)\r
-                       strPane = strPaneList;\r
-               else\r
-                       strPane = strPaneDHTML;\r
-       }\r
-       else if (nViewFrameType == 2)\r
-               strPane = strPaneApplet;\r
-       else\r
-               strPane = strPaneList;\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="javascript" src="whstart.js"></script>\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (!gbIE4&&!gbNav4&&!gbOpera7&&!gbSafari)\r
-       document.location = "whnjs.htm";\r
-\r
-function CMRAgent( strID, strURL, strLabel, strFrameAttr )\r
-{\r
-  this.m_strID = strID;\r
-  this.m_strURL = strURL;\r
-  this.m_strLabel = strLabel;\r
-  this.m_strFrameAttr = strFrameAttr;\r
-}\r
-\r
-function CMRServer()\r
-{\r
-  this.m_cAgents = new Array;\r
-}\r
-var cMRServer = new CMRServer;\r
-// GetServerInfo\r
-// Registry the agent array handled by webhelp\r
-// ReplaceMark:MRServer.strServerData\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (nViewFrameType!=-1)\r
-{\r
-       var strHTML = "<frameset rows=\"32,*\" hostof=\"parent:toolbar!startpage:yes\" frameborder=\"0\" border=\"0\"><frame src=\"whskin_tbars.htm\" id=\"toolbar\" frameborder=\"0\" border=\"0\" scrolling=\"no\" noresize marginheight=\"0\" marginwidth=\"0\" title=\"Toolbar\"></frame><frame src=\"whskin_frmset01.htm\"  frameborder=\"1\" border=\"1\" scrolling=\"auto\" marginheight=\"0\" marginwidth=\"0\"></frame></frameset>";\r
-       document.write(strHTML);\r
-}\r
-//-->\r
-</script>\r
-\r
-<frameset cols="100%,*" frameborder=no border=0>\r
-  <frame src="whnjs.htm">\r
-  <frame src="whskin_blank.htm" noresize>\r
-</frameset>\r
-\r
-</html>
\ No newline at end of file
index 32566f5125e9b084f4a33e39c8a563efe5ad2232..c5689070b36ca38ebffdab0d306dbaec0e754c95 100755 (executable)
-|SourceProjectName:GEOM.hpr\r
-|DestinationProjectName:geom.htm\r
-whhost.js\r
-whmsg.js\r
-whmozemu.js\r
-whproxy.js\r
-whstub.js\r
-whutils.js\r
-whver.js\r
-whform.js\r
-whphost.js\r
-whstart.js\r
-whtopic.js\r
-whframes.js\r
-whlang.js\r
-whskin_info.htm\r
-whskin_blank.htm\r
-whskin_pickup.htm\r
-whskin_homepage.htm\r
-whskin_tw.htm\r
-whnjs.htm\r
-whthost.js\r
-whtdhtml.htm\r
-whihost.js\r
-whibody.htm\r
-whiform.htm\r
-whfhost.js\r
-whfbody.htm\r
-whfform.htm\r
-whghost.js\r
-whgbody.htm\r
-whgdhtml.htm\r
-whgdef.htm\r
-whproj.js\r
-whproj.xml\r
-whproj.htm\r
-whxdata\whtoc.xml\r
-whxdata\whidx.xml\r
-whxdata\whfts.xml\r
-whxdata\whglo.xml\r
-whdata\whtoc.js\r
-whdata\whtoc.htm\r
-whdata\whtdata.js\r
-whdata\whidx.js\r
-whdata\whidx.htm\r
-whdata\whidata.js\r
-whdata\whfts.js\r
-whdata\whfts.htm\r
-whdata\whglo.js\r
-whdata\whglo.htm\r
-whdata\whgdata.js\r
-whdata\whftdata.js\r
-whdata\whfwdata.js\r
-whres.xml\r
-webhelp.jar\r
-webhelp.cab\r
-whgdata\whnvp30.htm\r
-whgdata\whnvp31.htm\r
-whgdata\whnvp32.htm\r
-whgdata\whnvp33.htm\r
-whgdata\whnvt30.htm\r
-whgdata\whnvt31.htm\r
-whgdata\whnvt32.htm\r
-whgdata\whnvt33.htm\r
-whgdata\whnvf30.htm\r
-whgdata\whnvf31.htm\r
-whgdata\whnvf32.htm\r
-whgdata\whnvf33.htm\r
-whgdata\whnvl31.htm\r
-whgdata\whnvl32.htm\r
-whgdata\whnvl33.htm\r
-whgdata\whexpbar.gif\r
-cshdat_webhelp.htm\r
-whcsh_home.htm\r
-whcshdata.htm\r
-cshdat_robohelp.htm\r
-wht_tab0.gif\r
-wht_tab1.gif\r
-wht_tab2.gif\r
-wht_tab3.gif\r
-wht_tab4.gif\r
-wht_tab5.gif\r
-wht_tab6.gif\r
-wht_tab7.gif\r
-wht_tab8.gif\r
-wht_glo_h.gif\r
-wht_glo_n.gif\r
-wht_fts_h.gif\r
-wht_fts_n.gif\r
-wht_idx_h.gif\r
-wht_idx_n.gif\r
-wht_toc_h.gif\r
-wht_toc_n.gif\r
-wht_ws.gif\r
-wht_ws_g.gif\r
-wht_logo1.gif\r
-wht_logo2.gif\r
-wht_abgw.jpg\r
-wht_abgi.jpg\r
-wht_abge.jpg\r
-wht_abtw.jpg\r
-wht_abte.jpg\r
-wht_abti.jpg\r
-wht_spac.gif\r
-wht_next.gif\r
-wht_next_g.gif\r
-wht_prev.gif\r
-wht_prev_g.gif\r
-wht_sync.gif\r
-wht_hide.gif\r
-wht_go.gif\r
-whstart.ico\r
-whestart.ico\r
-whrstart.ico\r
-whidhtml.htm\r
-whfdhtml.htm\r
-whskin_banner.htm\r
-whtbar.js\r
-whskin_pdhtml.htm\r
-whskin_papplet.htm\r
-whskin_plist.htm\r
-whskin_tbars.htm\r
-whskin_mbars.htm\r
-wht_toc4.gif\r
-wht_toc1.gif\r
-wht_toc2.gif\r
-wht_toc3.gif\r
-whskin_frmset010.htm\r
-whst_topics.xml\r
-whskin_frmset01.htm\r
-geom_hha.hhk\r
-geom.hhc\r
-geom.hhk\r
-add_point_on_edge.htm\r
-arc.htm\r
-archimede.htm\r
-basic_geometrical_objects.htm\r
-basic_operations.htm\r
-blocks.htm\r
-blocks_operations.htm\r
-boolean_operations.htm\r
-box.htm\r
-building_by_blocks.htm\r
-chamfer.htm\r
-changing_display_parameters.htm\r
-changing_displaying_parameters.htm\r
-check_free_boundaries.htm\r
-check_free_faces.htm\r
-circle.htm\r
-close_contour.htm\r
-color.htm\r
-common.htm\r
-complex_objects.htm\r
-compound.htm\r
-cone.htm\r
-curve.htm\r
-cut.htm\r
-cylinder.htm\r
-edge.htm\r
-ellipse.htm\r
-explode.htm\r
-explode_on_blocks.htm\r
-extrusion.htm\r
-face.htm\r
-files\introduction_to_geom.htm\r
-files\salome2_sp3_basicgui_functions.htm\r
-files\salome2_sp3_booleangui_functions.htm\r
-files\salome2_sp3_buildgui_functions.htm\r
-files\salome2_sp3_displaygui_functions.htm\r
-files\salome2_sp3_generationgui_functions.htm\r
-files\salome2_sp3_geomtoolsgui_functions.htm\r
-files\salome2_sp3_measuregui_functions.htm\r
-files\salome2_sp3_operationgui_functions.htm\r
-files\salome2_sp3_primitivegui_functions.htm\r
-files\salome2_sp3_repairgui_functions.htm\r
-files\salome2_sp3_transformationgui_functions.htm\r
-fillet.htm\r
-filling.htm\r
-fuse.htm\r
-geometrical_objects.htm\r
-glue_faces.htm\r
-groups.htm\r
-isos.htm\r
-line.htm\r
-local_coordinate_system.htm\r
-measurement_tools.htm\r
-mirror_image.htm\r
-modify_the_location.htm\r
-multi_rotation.htm\r
-multi_transformation.htm\r
-multi_translation.htm\r
-newentity_blocks.htm\r
-offset_surface.htm\r
-partition.htm\r
-pipe_creation.htm\r
-plane.htm\r
-point.htm\r
-primitives.htm\r
-propagate.htm\r
-repairing_operations.htm\r
-revolution.htm\r
-rotation.htm\r
-scale_transform.htm\r
-section.htm\r
-sewing.htm\r
-shape_processing.htm\r
-shell.htm\r
-sketcher.htm\r
-sketcher_tui.htm\r
-solid.htm\r
-sphere.htm\r
-suppress_faces.htm\r
-suppress_holes.htm\r
-suppress_internal_wires.htm\r
-transformation_operations.htm\r
-translation.htm\r
-transparency.htm\r
-turus.htm\r
-vector.htm\r
-wire.htm\r
-wireframe_and_shading.htm\r
-working_plane.htm\r
-working_with_groups.htm\r
-ehelp.xml\r
-geom.glo\r
-default.css\r
-pics\chamfer_all.png\r
-pics\edgesn.png\r
-pics\boxes.png\r
-pics\mtrans1.png\r
-pics\transformation3.png\r
-pics\mtransf2.png\r
-pics\export.png\r
-image15.jpg\r
-image204.jpg\r
-image56.gif\r
-image149.jpg\r
-image127.jpg\r
-image23.gif\r
-image12.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image55.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif\r
-pics\archimedesn1.png\r
-pics\neo-basicprop.png\r
-pics\mtrans2.png\r
-pics\transformation4.png\r
-pics\mtransf3.png\r
-pics\plane1.png\r
-image16.jpg\r
-image57.gif\r
-image35.gif\r
-image128.jpg\r
-image24.gif\r
-image27.jpg\r
-image13.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif\r
-pics\suppress_faces1.png\r
-pics\mirror_axissn1.png\r
-pics\archimedesn2.png\r
-pics\revolutionsn.png\r
-pics\ellipsesn.png\r
-pics\transformation10.png\r
-pics\transformation5.png\r
-pics\mtransf4.png\r
-pics\plane2.png\r
-image206.jpg\r
-image25.gif\r
-image129.jpg\r
-image14.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif\r
-pics\suppress_faces2.png\r
-pics\multi_translation1dsn.png\r
-pics\mirror_axissn2.png\r
-pics\multi_transformationsn2d.png\r
-pics\archimedesn3.png\r
-pics\wiresn.png\r
-pics\transformation11.png\r
-pics\transformation6.png\r
-pics\block1.png\r
-pics\creategroup.png\r
-pics\pipe.png\r
-pics\torus1.png\r
-pics\plane3.png\r
-image59.gif\r
-image37.gif\r
-image15.gif\r
-image18.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif\r
-pics\multi_transformationsn1d.png\r
-pics\fillingsn.png\r
-pics\spheres.png\r
-pics\polyline.png\r
-pics\neo-obj1.png\r
-pics\repair1.png\r
-pics\transformation7.png\r
-pics\block2.png\r
-pics\torus2.png\r
-image27.gif\r
-image191.jpg\r
-image180.jpg\r
-image49.gif\r
-image109.jpg\r
-image16.gif\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif\r
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif\r
-image28.gif\r
-selectcolor.png\r
-pics\glue_faces1.png\r
-pics\supp_int_wires1.png\r
-pics\fusesn1.png\r
-pics\transparencysn.png\r
-pics\arcsn.png\r
-pics\points.png\r
-pics\neo-obj2.png\r
-pics\neo-localcs1.png\r
-pics\measures10.png\r
-pics\repair2.png\r
-pics\transformation8.png\r
-pics\block3.png\r
-image181.jpg\r
-image170.jpg\r
-image80.jpg\r
-image17.gif\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif\r
-image3.jpg\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif\r
-pics\neo-isos.png\r
-pics\glue_faces2.png\r
-pics\supp_int_wires2.png\r
-pics\sectionsn.png\r
-pics\fusesn2.png\r
-pics\toruses.png\r
-pics\circles.png\r
-pics\neo-materials.png\r
-pics\neo-obj3.png\r
-pics\neo-localcs2.png\r
-pics\measures1.png\r
-pics\repair3.png\r
-pics\transformation9.png\r
-pics\bool1.png\r
-pics\partition1.png\r
-pics\block4.png\r
-pics\sphere1.png\r
-image193.jpg\r
-image29.gif\r
-image171.jpg\r
-image160.jpg\r
-image81.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif\r
-pics\chamfer_faces.png\r
-pics\fillet_prism.png\r
-pics\rotationsn1.png\r
-pics\disp_mode1sn.png\r
-pics\pipesn.png\r
-pics\pipe_wire_edgesn.png\r
-pics\cones.png\r
-pics\planes1.png\r
-pics\lines.png\r
-pics\neo-obj4.png\r
-pics\neo-localcs3.png\r
-pics\repair4.png\r
-pics\bool2.png\r
-pics\partition2.png\r
-pics\block5.png\r
-pics\sphere2.png\r
-pics\point1.png\r
-pics\import.png\r
-image172.jpg\r
-image150.jpg\r
-image82.jpg\r
-image19.gif\r
-pics\rotationsn2.png\r
-pics\disp_mode2sn.png\r
-pics\neo-detect2.png\r
-pics\neo-section.png\r
-pics\neo-obj5.png\r
-pics\measures3.png\r
-pics\repair5.png\r
-pics\bool3.png\r
-pics\chamfer1.png\r
-pics\filling.png\r
-pics\revolution.png\r
-pics\arc.png\r
-pics\ellipse.png\r
-pics\circle1.png\r
-image3.gif\r
-image151.jpg\r
-image94.jpg\r
-image83.jpg\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif\r
-pics\isos_u12_v12sn.png\r
-pics\free_boudaries1.png\r
-pics\multi_rotation1d1.png\r
-pics\multi_translation2dsn.png\r
-pics\offsetsn.png\r
-pics\compoundsn.png\r
-pics\prisms_basessn.png\r
-pics\cylinders.png\r
-pics\vectors.png\r
-pics\neo-obj6.png\r
-pics\measures4.png\r
-pics\repair6.png\r
-pics\chamfer2.png\r
-pics\cone1.png\r
-pics\circle2.png\r
-pics\point3.png\r
-image185.jpg\r
-image163.jpg\r
-image130.jpg\r
-image95.jpg\r
-image84.jpg\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif\r
-pics\free_boudaries2.png\r
-pics\multi_rotation2d1.png\r
-pics\multi_rotation1d2.png\r
-pics\mirror_pointsn1.png\r
-pics\new-tolerance.png\r
-pics\neo-obj7.png\r
-pics\neo-point2.png\r
-pics\measures5.png\r
-pics\repair7.png\r
-pics\chamfer3.png\r
-pics\cone2.png\r
-image197.jpg\r
-image164.jpg\r
-image96.jpg\r
-image85.jpg\r
-image52.jpg\r
-image8.jpg\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif\r
-pics\chamfer_edge.png\r
-pics\fillet_edge.png\r
-pics\multi_rotation2d2.png\r
-pics\scale_transformsn1.png\r
-pics\mirror_pointsn2.png\r
-pics\cutsn.png\r
-pics\shellsn.png\r
-pics\filling_compoundsn.png\r
-pics\prismssn.png\r
-pics\neo-mrot1.png\r
-pics\repair8.png\r
-pics\cylinder1.png\r
-pics\vector1.png\r
-image61.gif\r
-image154.jpg\r
-image121.jpg\r
-image110.jpg\r
-image97.jpg\r
-image53.jpg\r
-image9.jpg\r
-image6.gif\r
-files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif\r
-pics\scale_transformsn2.png\r
-pics\translationsn1.png\r
-pics\facesn1.png\r
-pics\neo-mrot2.png\r
-pics\repair9.png\r
-pics\cylinder2.png\r
-pics\vector2.png\r
-image188.jpg\r
-image51.gif\r
-image133.jpg\r
-image122.jpg\r
-image98.jpg\r
-image76.jpg\r
-image54.jpg\r
-image7.gif\r
-image10.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif\r
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif\r
-files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif\r
-files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif\r
-i_blue.jpg\r
-image30.gif\r
-pics\free_faces1.png\r
-pics\fillet_all.png\r
-pics\translationsn2.png\r
-pics\partitionsn1.png\r
-pics\colorsn.png\r
-pics\facesn2.png\r
-pics\interpol.png\r
-pics\measures8.png\r
-pics\fillet1.png\r
-pics\archimede.png\r
-pics\workplane4.png\r
-image189.jpg\r
-image52.gif\r
-image167.jpg\r
-image156.jpg\r
-image41.gif\r
-image145.jpg\r
-image112.jpg\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif\r
-image8.gif\r
-image11.jpg\r
-files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif\r
-files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif\r
-image31.gif\r
-pics\commonsn.png\r
-pics\free_faces2.png\r
-pics\mirror_planesn1.png\r
-pics\block_explodesn.png\r
-pics\partitionsn2.png\r
-pics\solidsn.png\r
-pics\facesn3.png\r
-pics\distance.png\r
-pics\neo-scetcher1.png\r
-pics\neo-transparency.png\r
-pics\measures9.png\r
-pics\fillet2.png\r
-pics\workplane5.png\r
-image201.jpg\r
-image53.gif\r
-image168.jpg\r
-image42.gif\r
-image124.jpg\r
-image113.jpg\r
-image78.jpg\r
-image20.gif\r
-image67.jpg\r
-image9.gif\r
-image12.jpg\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image52.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif\r
-pics\mirror_planesn2.png\r
-pics\neo-scetcher2.png\r
-pics\transformation1.png\r
-pics\fillet3.png\r
-pics\box1.png\r
-pics\workplane6.png\r
-pics\curve.png\r
-pics\line.png\r
-image10.gif\r
-image202.jpg\r
-image147.jpg\r
-image32.gif\r
-image79.jpg\r
-image21.gif\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image53.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif\r
-pics\multi_translation_initialsn.png\r
-pics\plane_on_face.png\r
-pics\bezier.png\r
-pics\repair10.png\r
-pics\transformation2.png\r
-pics\mtransf1.png\r
-pics\editgroup.png\r
-pics\extrusion.png\r
-pics\box2.png\r
-image44.gif\r
-image22.gif\r
-image11.gif\r
-files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif\r
-files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif\r
-files\salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image54.gif\r
-files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif\r
-salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif\r
-ehlpdhtm.js\r
-geom.ppf\r
-default_ns.css\r
-whxdata\whtdata0.xml\r
-whxdata\whftdata0.xml\r
-whxdata\whfwdata0.xml\r
-whxdata\whgdata0.xml\r
-whdata\whtdata0.htm\r
-whdata\whftdata0.htm\r
-whdata\whfwdata0.htm\r
-whdata\whgdata0.htm\r
-whgdata\whlstt0.htm\r
-whgdata\whlstt1.htm\r
-whgdata\whlstt2.htm\r
-whgdata\whlstt3.htm\r
-whgdata\whlstt4.htm\r
-whgdata\whlstt5.htm\r
-whgdata\whlstt6.htm\r
-whgdata\whlstt7.htm\r
-whgdata\whlstt8.htm\r
-whgdata\whlstt9.htm\r
-whgdata\whlstt10.htm\r
-whgdata\whlstt11.htm\r
-whgdata\whlstt12.htm\r
-whgdata\whlstt13.htm\r
-whgdata\whlstt14.htm\r
-whgdata\whlstt15.htm\r
-whgdata\whlstt16.htm\r
-whgdata\whlstt17.htm\r
-whgdata\whlsti0.htm\r
-whgdata\whlstfl0.htm\r
-whgdata\whlstfl1.htm\r
-whgdata\whlstfl2.htm\r
-whgdata\whlstfl3.htm\r
-whgdata\whlstfl4.htm\r
-whgdata\whlstfl5.htm\r
-whgdata\whlstfl6.htm\r
-whgdata\whlstfl7.htm\r
-whgdata\whlstfl8.htm\r
-whgdata\whlstfl9.htm\r
-whgdata\whlstfl10.htm\r
-whgdata\whlstfl11.htm\r
-whgdata\whlstfl12.htm\r
-whgdata\whlstfl13.htm\r
-whgdata\whlstfl14.htm\r
-whgdata\whlstfl15.htm\r
-whgdata\whlstfl16.htm\r
-whgdata\whlstfl17.htm\r
-whgdata\whlstfl18.htm\r
-whgdata\whlstfl19.htm\r
-whgdata\whlstfl20.htm\r
-whgdata\whlstfl21.htm\r
-whgdata\whlstfl22.htm\r
-whgdata\whlstfl23.htm\r
-whgdata\whlstfl24.htm\r
-whgdata\whlstfl25.htm\r
-whgdata\whlstf0.htm\r
-whgdata\whlstf1.htm\r
-whgdata\whlstf2.htm\r
-whgdata\whlstf3.htm\r
-whgdata\whlstf4.htm\r
-whgdata\whlstf5.htm\r
-whgdata\whlstf6.htm\r
-whgdata\whlstf7.htm\r
-whgdata\whlstf8.htm\r
-whgdata\whlstf9.htm\r
-whgdata\whlstf10.htm\r
-whgdata\whlstf11.htm\r
-whgdata\whlstf12.htm\r
-whgdata\whlstf13.htm\r
-whgdata\whlstf14.htm\r
-whgdata\whlstf15.htm\r
-whgdata\whlstg0.htm\r
-geom.htm\r
-geom_csh.htm\r
-geom_rhc.htm\r
+|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
+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\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
+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-materials.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
+image2.gif
+pics\chamfer_faces.png
+pics\fillet_prism.png
+pics\rotationsn1.png
+pics\disp_mode1sn.png
+pics\pipesn.png
+pics\pipe_wire_edgesn.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\partition2.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
+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
+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
+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\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
+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\extrusion.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\whlstg0.htm
+index.htm
+index_csh.htm
+index_rhc.htm
diff --git a/doc/salome/gui/GEOM/geom_csh.htm b/doc/salome/gui/GEOM/geom_csh.htm
deleted file mode 100755 (executable)
index 24b1d19..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gCSHFileName   = "whc_data.htm";\r
-var gCSHSuffixName1 = "_csh.html";\r
-var gCSHSuffixName2 = "_csh.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-gCSHFileName="cshdat_webhelp.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-var gasProj = new Array();\r
-gasProj[0] = _getPath(document.location.href);\r
-var gCurrent = 0;\r
-\r
-function addProject(strProj)\r
-{\r
-       var len  = gasProj.length;\r
-       if (strProj)\r
-       {\r
-               strProj = _replaceSlash(strProj);\r
-               if (strProj.lastIndexOf("/") != strProj.length - 1)\r
-                       strProj += "/";\r
-               var strPPath = _getFullPath(_getPath(document.location.href), strProj);\r
-               var bFound = false;\r
-               for (var i = 0; i < len; i ++)\r
-               {\r
-                       if (isSamePath(gasProj[i], strPPath))\r
-                       {\r
-                               bFound = true;\r
-                               break;\r
-                       }\r
-               }\r
-               if (!bFound)\r
-                       gasProj[len] = strPPath;\r
-       }\r
-}\r
-\r
-function isSamePath(strPath1, strPath2)\r
-{\r
-       return strPath1.toLowerCase() == strPath2.toLowerCase();\r
-}\r
-\r
-function goNext()\r
-{\r
-       gCurrent ++;\r
-       var len = gasProj.length;\r
-       if (gCurrent >= len)\r
-               return getHomePage()\r
-       else\r
-               frames["csh"].location = gasProj[gCurrent] + gCSHFileName;\r
-       return "";\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath = _getPath(strLocation);\r
-       var strOriPPath = _getPath(getHomePage());\r
-       var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);\r
-       var strURL = getHomePage() + "#" + strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp = location.toString();\r
-       var nPos = strTmp.indexOf("#");\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strTmp.substring(0, nPos);\r
-       }\r
-       else\r
-       {\r
-          strHomePage = strTmp;\r
-       }\r
-       var nPos1 = strHomePage.indexOf(gCSHSuffixName1);\r
-       var nPos = strHomePage.indexOf(gCSHSuffixName2);\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strHomePage.substring(0,nPos);\r
-          if (nPos1 != -1)\r
-            strHomePage += ".html";\r
-          else\r
-            strHomePage += ".htm";\r
-       }\r
-       return strHomePage;\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<frameset rows="1,*">\r
-<frame name="dumb" src="about:blank"></frame>\r
-<frame name="csh" src="cshdat_webhelp.htm"></frame>            \r
-</frameset>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/geom_rhc.htm b/doc/salome/gui/GEOM/geom_rhc.htm
deleted file mode 100755 (executable)
index 3f33cfe..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gCSHFileName   = "whc_data.htm";\r
-var gCSHSuffixName1 = "_rhc.html";\r
-var gCSHSuffixName2 = "_rhc.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-gCSHFileName="cshdat_robohelp.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-var gasProj = new Array();\r
-gasProj[0] = _getPath(document.location.href);\r
-var gCurrent = 0;\r
-\r
-function addProject(strProj)\r
-{\r
-       var len  = gasProj.length;\r
-       if (strProj)\r
-       {\r
-               strProj = _replaceSlash(strProj);\r
-               if (strProj.lastIndexOf("/") != strProj.length - 1)\r
-                       strProj += "/";\r
-               var strPPath = _getFullPath(_getPath(document.location.href), strProj);\r
-               var bFound = false;\r
-               for (var i = 0; i < len; i ++)\r
-               {\r
-                       if (isSamePath(gasProj[i], strPPath))\r
-                       {\r
-                               bFound = true;\r
-                               break;\r
-                       }\r
-               }\r
-               if (!bFound)\r
-                       gasProj[len] = strPPath;\r
-       }\r
-}\r
-\r
-function isSamePath(strPath1, strPath2)\r
-{\r
-       return strPath1.toLowerCase() == strPath2.toLowerCase();\r
-}\r
-\r
-function goNext()\r
-{\r
-       gCurrent ++;\r
-       var len = gasProj.length;\r
-       if (gCurrent >= len)\r
-               return getHomePage()\r
-       else\r
-               frames["csh"].location = gasProj[gCurrent] + gCSHFileName;\r
-       return "";\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath = _getPath(strLocation);\r
-       var strOriPPath = _getPath(getHomePage());\r
-       var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);\r
-       var strURL = getHomePage() + "#" + strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp = location.toString();\r
-       var nPos = strTmp.indexOf("#");\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strTmp.substring(0, nPos);\r
-       }\r
-       else\r
-       {\r
-          strHomePage = strTmp;\r
-       }\r
-       var nPos1 = strHomePage.indexOf(gCSHSuffixName1);\r
-       var nPos = strHomePage.indexOf(gCSHSuffixName2);\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strHomePage.substring(0,nPos);\r
-          if (nPos1 != -1)\r
-            strHomePage += ".html";\r
-          else\r
-            strHomePage += ".htm";\r
-       }\r
-       return strHomePage;\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<frameset rows="1,*">\r
-<frame name="dumb" src="about:blank"></frame>\r
-<frame name="csh" src="cshdat_robohelp.htm"></frame>           \r
-</frameset>\r
-</html>
\ No newline at end of file
index 8fb80b9c2b7f6c5303173e9a21afecc54c6d10c9..68c30331400e92aa99ada7b700abd16f221f816d 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Geometrical Objects</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\r
-p.whs2 { font-family:'Times New Roman' , serif; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nAdvanced Geometrical Objects");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Advanced Geometrical Objects</h1>\r
-\r
-<h3><a name=bookmark>Creation of an Edge</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p0 &nbsp;&nbsp;= \r
- geompy.MakeVertex(0. &nbsp;, \r
- 0. &nbsp;, 0. \r
- &nbsp;)</p>\r
-\r
-<p class="whs1">pxyz = geompy.MakeVertex(100., \r
- 100., 100.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create an edge</p>\r
-\r
-<p class="whs1">edge = geompy.MakeEdge(p0, \r
- pxyz)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add object in the study</p>\r
-\r
-<p class="whs1">id_edge = geompy.addToStudy(edge,&quot;Edge&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display an edge</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_edge) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3><a name=Creation>Creation of a Wire</a></h3>\r
-\r
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import \r
- geompy</span></p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"># create vertices</p>\r
-\r
-<p class="whs1">px &nbsp;&nbsp;= \r
- geompy.MakeVertex(100., 0. &nbsp;, \r
- 0. &nbsp;)</p>\r
-\r
-<p class="whs1">py &nbsp;&nbsp;= \r
- geompy.MakeVertex(0. &nbsp;, \r
- 100., 0. &nbsp;)</p>\r
-\r
-<p class="whs1">pz &nbsp;&nbsp;= \r
- geompy.MakeVertex(0. &nbsp;, \r
- 0. &nbsp;, 100.)</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"># create a vector from \r
- two points</p>\r
-\r
-<p class="whs1">vxy = geompy.MakeVector(px, \r
- py)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create an arc from \r
- three points</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(py, \r
- pz, px)</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"># create a wire</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vxy, \r
- arc])</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"># add an object in the \r
- study</p>\r
-\r
-<p class="whs1">id_wire = geompy.addToStudy(wire,&quot;Wire&quot;)</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"># display the wire</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_wire) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3><a name=bookmark1>Creation of a Face</a></h3>\r
-\r
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import \r
- geompy</span></p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create vertices</p>\r
-\r
-<p class="whs1">p0 &nbsp;&nbsp;= \r
- geompy.MakeVertex(0. &nbsp;, \r
- 0. &nbsp;, 0. \r
- &nbsp;)</p>\r
-\r
-<p class="whs1">px &nbsp;&nbsp;= \r
- geompy.MakeVertex(100., 0. &nbsp;, \r
- 0. &nbsp;)</p>\r
-\r
-<p class="whs1">py &nbsp;&nbsp;= \r
- geompy.MakeVertex(0. &nbsp;, \r
- 100., 0. &nbsp;)</p>\r
-\r
-<p class="whs1">pz &nbsp;&nbsp;= \r
- geompy.MakeVertex(0. &nbsp;, \r
- 0. &nbsp;, 100.)</p>\r
-\r
-<p class="whs1">pxyz = geompy.MakeVertex(100., \r
- 100., 100.)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a vector from \r
- two points</p>\r
-\r
-<p class="whs1">vxy = geompy.MakeVector(px, \r
- py)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create an arc from \r
- three points</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(py, \r
- pz, px)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a wire</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vxy, \r
- arc])</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create sketchers</p>\r
-\r
-<p class="whs1">sketcher1 = geompy.MakeSketcher(&quot;Sketcher:F \r
- -100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WW&quot;,</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[100,0,0, \r
- 1,1,1, -1,1,0])</p>\r
-\r
-<p class="whs1">sketcher2 = geompy.MakeSketcher(&quot;Sketcher:F \r
- 0 0:TT 70 0:TT 70 70:TT 0 70:WW&quot;)</p>\r
-\r
-<p class="whs1">sketcher3 = geompy.MakeSketcher(&quot;Sketcher:F \r
- 20 20:TT 50 20:TT 50 50:TT 20 50:WW&quot;)</p>\r
-\r
-<p class="whs1">isPlanarFace = 1</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a face from \r
- the wire</p>\r
-\r
-<p class="whs1">face1 = geompy.MakeFace(wire, \r
- isPlanarFace)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create faces from two \r
- wires</p>\r
-\r
-<p class="whs1">face2 = geompy.MakeFaceWires([wire, \r
- sketcher1],isPlanarFace)</p>\r
-\r
-<p class="whs1">face3 = geompy.MakeFaces([sketcher2, \r
- sketcher3],isPlanarFace)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># add objects in the \r
- study</p>\r
-\r
-<p class="whs1">id_face1 = geompy.addToStudy(face1,&quot;Face1&quot;)</p>\r
-\r
-<p class="whs1">id_face2 = geompy.addToStudy(face2,&quot;Face2&quot;)</p>\r
-\r
-<p class="whs1">id_face3 = geompy.addToStudy(face3,&quot;Face3&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># display the faces</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_face1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_face1,1)</p>\r
-\r
-<p class="whs1">gg.setTransparency(id_face1,0.2)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_face2)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_face2,1)</p>\r
-\r
-<p class="whs1">gg.setTransparency(id_face2,0.2)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_face3)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_face3,1)</p>\r
-\r
-<p class="whs1">gg.setTransparency(id_face3,0.2) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3><a name=bookmark2>Creation of a Shell</a></h3>\r
-\r
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import \r
- geompy</span></p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2">#create vertices</p>\r
-\r
-<p class="whs1">p0 &nbsp;&nbsp;= \r
- geompy.MakeVertex( 0., &nbsp;0., \r
- &nbsp;0.)</p>\r
-\r
-<p class="whs1">pxyz = geompy.MakeVertex( \r
- 5., &nbsp;5., \r
- 40.)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create sketchers</p>\r
-\r
-<p class="whs1">sketcher1 = geompy.MakeSketcher(&quot;Sketcher:F \r
- 0 0:TT 70 0:TT 70 70:TT 0 70:WW&quot;)</p>\r
-\r
-<p class="whs1">sketcher2 = geompy.MakeSketcher(&quot;Sketcher:F \r
- 20 20:TT 50 20:TT 50 50:TT 20 50:WW&quot;)</p>\r
-\r
-<p class="whs1">isPlanarFace = 1</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a face from \r
- two wires</p>\r
-\r
-<p class="whs1">face = geompy.MakeFaces([sketcher1, \r
- sketcher2],isPlanarFace)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a prism</p>\r
-\r
-<p class="whs1">prism = geompy.MakePrism(face, \r
- p0, pxyz)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># explode the prism into \r
- faces</p>\r
-\r
-<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a shell from \r
- a set of faces</p>\r
-\r
-<p class="whs1">shell = geompy.MakeShell([prism_faces[0], \r
- prism_faces[2], prism_faces[3],</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[7], \r
- prism_faces[9]])</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># add objects in the \r
- study</p>\r
-\r
-<p class="whs1">id_shell = geompy.addToStudy(shell,&quot;Shell&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># display the shell</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_shell)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_shell,1) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3><a name=bookmark3>Creation of a Solid</a></h3>\r
-\r
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import \r
- geompy</span></p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2">#create vertices</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex( \r
- 0., &nbsp;0., \r
- &nbsp;0.)</p>\r
-\r
-<p class="whs1">pz = geompy.MakeVertex( \r
- 0., &nbsp;0., \r
- 40.)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create sketchers</p>\r
-\r
-<p class="whs1">sketcher = geompy.MakeSketcher(&quot;Sketcher:F \r
- -50 -50:TT 100 -50:R 0:C 50 70:R 0:L 100:WW&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create faces from two \r
- wires</p>\r
-\r
-<p class="whs1">face = geompy.MakeFace(sketcher,1)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a prism</p>\r
-\r
-<p class="whs1">prism = geompy.MakePrism(face, \r
- p0, pz)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># explode the prism into \r
- faces</p>\r
-\r
-<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a shell from \r
- a set of faces</p>\r
-\r
-<p class="whs1">shell = geompy.MakeShell([prism_faces[0], \r
- prism_faces[1],</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[3], \r
- prism_faces[4],</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[5], \r
- prism_faces[2]])</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a solid, bounded \r
- by the given shells</p>\r
-\r
-<p class="whs1">solid = geompy.MakeSolid([shell])</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># add objects in the \r
- study</p>\r
-\r
-<p class="whs1">id_solid = geompy.addToStudy(solid,&quot;Solid&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># display the solid</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_solid)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_solid,1) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3><a name=bookmark4>Creation of a Compound</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2">#create vertices</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex( \r
- 0., &nbsp;0., \r
- &nbsp;0.)</p>\r
-\r
-<p class="whs1">pz = geompy.MakeVertex( \r
- 0., &nbsp;0., \r
- 40.)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create sketchers</p>\r
-\r
-<p class="whs1">sketcher = geompy.MakeSketcher(&quot;Sketcher:F \r
- -50 -50:TT 100 -50:R 0:C 50 70:R 0:L 100:WW&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create faces from two \r
- wires</p>\r
-\r
-<p class="whs1">face = geompy.MakeFace(sketcher,1)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a prism</p>\r
-\r
-<p class="whs1">prism = geompy.MakePrism(face, \r
- p0, pz)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># explode the prism into \r
- faces</p>\r
-\r
-<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a shell from \r
- a set of faces</p>\r
-\r
-<p class="whs1">shell = geompy.MakeShell([prism_faces[0], \r
- prism_faces[1],</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[3], \r
- prism_faces[4],</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[5], \r
- prism_faces[2]])</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a solid, bounded \r
- by the given shells</p>\r
-\r
-<p class="whs1">solid = geompy.MakeSolid([shell])</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># add objects in the \r
- study</p>\r
-\r
-<p class="whs1">id_solid = geompy.addToStudy(solid,&quot;Solid&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># display the solid</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_solid)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_solid,1) \r
- </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
+<!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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices</p>
+
+<p class="whs1">p0 &nbsp;&nbsp;= 
+ geompy.MakeVertex(0. &nbsp;, 
+ 0. &nbsp;, 0. 
+ &nbsp;)</p>
+
+<p class="whs1">pxyz = geompy.MakeVertex(100., 
+ 100., 100.)</p>
+
+<p>&nbsp;</p>
+
+<p># create an edge</p>
+
+<p class="whs1">edge = geompy.MakeEdge(p0, 
+ pxyz)</p>
+
+<p>&nbsp;</p>
+
+<p># add object in the study</p>
+
+<p class="whs1">id_edge = geompy.addToStudy(edge,&quot;Edge&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># display an edge</p>
+
+<p class="whs1">gg.createAndDisplayGO(id_edge) 
+ </p>
+
+<p class="whs1">&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"># create vertices</p>
+
+<p class="whs1">px &nbsp;&nbsp;= 
+ geompy.MakeVertex(100., 0. &nbsp;, 
+ 0. &nbsp;)</p>
+
+<p class="whs1">py &nbsp;&nbsp;= 
+ geompy.MakeVertex(0. &nbsp;, 
+ 100., 0. &nbsp;)</p>
+
+<p class="whs1">pz &nbsp;&nbsp;= 
+ geompy.MakeVertex(0. &nbsp;, 
+ 0. &nbsp;, 100.)</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"># create a vector from 
+ two points</p>
+
+<p class="whs1">vxy = geompy.MakeVector(px, 
+ py)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create an arc from 
+ three points</p>
+
+<p class="whs1">arc = geompy.MakeArc(py, 
+ pz, px)</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"># create a wire</p>
+
+<p class="whs1">wire = geompy.MakeWire([vxy, 
+ arc])</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"># add an object in the 
+ study</p>
+
+<p class="whs1">id_wire = geompy.addToStudy(wire,&quot;Wire&quot;)</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"># display the wire</p>
+
+<p class="whs1">gg.createAndDisplayGO(id_wire) 
+ </p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs1">&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create vertices</p>
+
+<p class="whs1">p0 &nbsp;&nbsp;= 
+ geompy.MakeVertex(0. &nbsp;, 
+ 0. &nbsp;, 0. 
+ &nbsp;)</p>
+
+<p class="whs1">px &nbsp;&nbsp;= 
+ geompy.MakeVertex(100., 0. &nbsp;, 
+ 0. &nbsp;)</p>
+
+<p class="whs1">py &nbsp;&nbsp;= 
+ geompy.MakeVertex(0. &nbsp;, 
+ 100., 0. &nbsp;)</p>
+
+<p class="whs1">pz &nbsp;&nbsp;= 
+ geompy.MakeVertex(0. &nbsp;, 
+ 0. &nbsp;, 100.)</p>
+
+<p class="whs1">pxyz = geompy.MakeVertex(100., 
+ 100., 100.)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create a vector from 
+ two points</p>
+
+<p class="whs1">vxy = geompy.MakeVector(px, 
+ py)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create an arc from 
+ three points</p>
+
+<p class="whs1">arc = geompy.MakeArc(py, 
+ pz, px)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create a wire</p>
+
+<p class="whs1">wire = geompy.MakeWire([vxy, 
+ arc])</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create sketchers</p>
+
+<p class="whs1">sketcher1 = geompy.MakeSketcher(&quot;Sketcher:F 
+ -100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WW&quot;,</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[100,0,0, 
+ 1,1,1, -1,1,0])</p>
+
+<p class="whs1">sketcher2 = geompy.MakeSketcher(&quot;Sketcher:F 
+ 0 0:TT 70 0:TT 70 70:TT 0 70:WW&quot;)</p>
+
+<p class="whs1">sketcher3 = geompy.MakeSketcher(&quot;Sketcher:F 
+ 20 20:TT 50 20:TT 50 50:TT 20 50:WW&quot;)</p>
+
+<p class="whs1">isPlanarFace = 1</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create a face from 
+ the wire</p>
+
+<p class="whs1">face1 = geompy.MakeFace(wire, 
+ isPlanarFace)</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"># add objects in the 
+ study</p>
+
+<p class="whs1">id_face1 = geompy.addToStudy(face1,&quot;Face1&quot;)</p>
+
+<p class="whs1">id_face2 = geompy.addToStudy(face2,&quot;Face2&quot;)</p>
+
+<p class="whs1">id_face3 = geompy.addToStudy(face3,&quot;Face3&quot;)</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2">#create vertices</p>
+
+<p class="whs1">p0 &nbsp;&nbsp;= 
+ geompy.MakeVertex( 0., &nbsp;0., 
+ &nbsp;0.)</p>
+
+<p class="whs1">pxyz = geompy.MakeVertex( 
+ 5., &nbsp;5., 
+ 40.)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create sketchers</p>
+
+<p class="whs1">sketcher1 = geompy.MakeSketcher(&quot;Sketcher:F 
+ 0 0:TT 70 0:TT 70 70:TT 0 70:WW&quot;)</p>
+
+<p class="whs1">sketcher2 = geompy.MakeSketcher(&quot;Sketcher:F 
+ 20 20:TT 50 20:TT 50 50:TT 20 50:WW&quot;)</p>
+
+<p class="whs1">isPlanarFace = 1</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create a face from 
+ two wires</p>
+
+<p class="whs1">face = geompy.MakeFaces([sketcher1, 
+ sketcher2],isPlanarFace)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create a prism</p>
+
+<p class="whs1">prism = geompy.MakePrism(face, 
+ p0, pxyz)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># explode the prism into 
+ faces</p>
+
+<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[7], 
+ prism_faces[9]])</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># add objects in the 
+ study</p>
+
+<p class="whs1">id_shell = geompy.addToStudy(shell,&quot;Shell&quot;)</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2">#create vertices</p>
+
+<p class="whs1">p0 = geompy.MakeVertex( 
+ 0., &nbsp;0., 
+ &nbsp;0.)</p>
+
+<p class="whs1">pz = geompy.MakeVertex( 
+ 0., &nbsp;0., 
+ 40.)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create sketchers</p>
+
+<p class="whs1">sketcher = geompy.MakeSketcher(&quot;Sketcher:F 
+ -50 -50:TT 100 -50:R 0:C 50 70:R 0:L 100:WW&quot;)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create faces from two 
+ wires</p>
+
+<p class="whs1">face = geompy.MakeFace(sketcher,1)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create a prism</p>
+
+<p class="whs1">prism = geompy.MakePrism(face, 
+ p0, pz)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># explode the prism into 
+ faces</p>
+
+<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[3], 
+ prism_faces[4],</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[5], 
+ prism_faces[2]])</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create a solid, bounded 
+ by the given shells</p>
+
+<p class="whs1">solid = geompy.MakeSolid([shell])</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># add objects in the 
+ study</p>
+
+<p class="whs1">id_solid = geompy.addToStudy(solid,&quot;Solid&quot;)</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</p>
+
+<h3><a name=bookmark4>Creation of a Compound</a></h3>
+
+<p class="whs1">import geompy</p>
+
+<p class="whs1">import salome</p>
+
+<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2">#create vertices</p>
+
+<p class="whs1">p0 = geompy.MakeVertex( 
+ 0., &nbsp;0., 
+ &nbsp;0.)</p>
+
+<p class="whs1">pz = geompy.MakeVertex( 
+ 0., &nbsp;0., 
+ 40.)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create sketchers</p>
+
+<p class="whs1">sketcher = geompy.MakeSketcher(&quot;Sketcher:F 
+ -50 -50:TT 100 -50:R 0:C 50 70:R 0:L 100:WW&quot;)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create faces from two 
+ wires</p>
+
+<p class="whs1">face = geompy.MakeFace(sketcher,1)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create a prism</p>
+
+<p class="whs1">prism = geompy.MakePrism(face, 
+ p0, pz)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># explode the prism into 
+ faces</p>
+
+<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[3], 
+ prism_faces[4],</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[5], 
+ prism_faces[2]])</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># create a solid, bounded 
+ by the given shells</p>
+
+<p class="whs1">solid = geompy.MakeSolid([shell])</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># add objects in the 
+ study</p>
+
+<p class="whs1">id_solid = geompy.addToStudy(solid,&quot;Solid&quot;)</p>
+
+<p class="whs1">&nbsp;</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>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 3e2e4ceafe7c6d40a0232f23e482447a0006460b..7a68cf4592696458e83fb1b2f148626e2e6815bc 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>geometry</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:30px; height:30px; float:none; border-style:none; }\r
-ul.whs2 { list-style:disc; }\r
-table.whs3 { x-cell-content-align:top; width:100%; border-spacing:0px; }\r
-col.whs4 { width:50%; }\r
-tr.whs5 { x-cell-content-align:top; }\r
-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; }\r
-td.whs7 { width:50%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
-img_whs8 { border:none; width:400px; height:292px; border-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\nIntroduction to Geometry");\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>Introduction to Geometry</h1>\r
-\r
-<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 \r
- of SALOME is destined for: </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p>Import and export of geometrical models in IGES, \r
- BREP and STEP formats.</p></li>\r
-       \r
-       <li class=kadov-p><p>Construction and optimization of geometrical models \r
- using a wide range of &nbsp;CAD \r
- functions:</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<table x-use-null-cells cellspacing="0" width="100%" class="whs3">\r
-<col class="whs4">\r
-<col class="whs4">\r
-\r
-<tr valign="top" class="whs5">\r
-<td width="50%" class="whs6">\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p>Creation of basic geometrical objects</p></li>\r
-       \r
-       <li class=kadov-p><p>Construction of primitives</p></li>\r
-       \r
-       <li class=kadov-p><p>Building shapes</p></li>\r
-       \r
-       <li class=kadov-p><p>Generation of complex shapes</p></li>\r
-       \r
-       <li class=kadov-p><p>Working with groups</p></li>\r
-       \r
-       <li class=kadov-p><p>Geometrical repairing of objects</p></li>\r
-       \r
-       <li class=kadov-p><p>Geometrical boolean operations</p></li>\r
-       \r
-       <li class=kadov-p><p>Geometrical transformations</p></li>\r
-       \r
-       <li class=kadov-p><p>Building by blocks</p></li>\r
-</ul>\r
-<p>&nbsp;</td>\r
-<td width="50%" class="whs7">\r
-<p><img src="image3.jpg" width="400px" height="292px" border="0" class="img_whs8"></td></tr>\r
-</table>\r
-\r
-<p>&nbsp;</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
+<!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>&nbsp;</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 &nbsp;CAD 
+ functions:</p></li>
+</ul>
+
+<p>&nbsp;</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>&nbsp;</td>
+<td width="50%" class="whs7">
+<p><img src="image3.jpg" width="400px" height="292px" border="0" class="img_whs8"></td></tr>
+</table>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 3b470af559d61d05638a7cf8cbd87bf66c37e2f1..9cdc1db725f793c34cfffe78b51108bb885f6ea1 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Glue Faces</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:25px; height:24px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; text-indent:-68px; margin-left:72px; font-weight:normal; }\r
-p.whs4 { font-size:12pt; text-indent:-68px; margin-left:72px; }\r
-p.whs5 { font-size:12pt; text-indent:-68px; margin-left:112px; }\r
-img_whs6 { border:none; width:312px; height:315px; float:none; border-style:none; }\r
-p.whs7 { font-size:12pt; margin-left:112px; text-indent:-112px; }\r
-p.whs8 { font-size:12pt; text-indent:-112px; margin-left:152px; }\r
-img_whs9 { border:none; float:none; width:292px; height:239px; border-style:none; }\r
-img_whs10 { border:none; float:none; width:275px; height:239px; border-style:none; }\r
-p.whs11 { font-size:12pt; text-indent:-40px; margin-left:80px; }\r
-p.whs12 { font-weight:bold; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs3 {text-indent:1pt; }";\r
-  strNSS += "p.whs4 {text-indent:1pt; }";\r
-  strNSS += "p.whs5 {text-indent:1pt; }";\r
-  strNSS += "p.whs7 {text-indent:1pt; }";\r
-  strNSS += "p.whs8 {text-indent:1pt; }";\r
-  strNSS += "p.whs11 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nGlue Faces");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: normal;">T</b>o \r
- Glue Faces in the Main Menu select Repair - &gt; Glue Faces.</font></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><b style="font-weight: normal;">This operation \r
- g</b>lues faces that are coincident with respect to the given tolerance \r
- value.</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b> \r
- GEOM_Object.</font></span></p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI Command \r
- : </b><span style="font-style: italic;"><I>geompy.MakeGlueFaces(theShape, \r
- theTolerance)</I></span>, where theShape is a compound of shapes to be glued, \r
- theTolerance is a maximum distance between two faces, which can be considered \r
- as coincident.</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments: \r
- <span style="font-weight: normal;">Name +</span> </b>1 <i><span style="font-style: normal;">Compound \r
- + Tolerance value</span></i></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs5"><img src="pics/repair7.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs7"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="pics/glue_faces1.png" x-maintain-ratio="TRUE" width="292px" height="239px" border="0" class="img_whs9"> &nbsp;&nbsp;<img src="pics/glue_faces2.png" x-maintain-ratio="TRUE" width="275px" height="239px" border="0" class="img_whs10"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p class="whs12"><span style="font-weight: normal;">Our</span> \r
- TUI Scripts <span style="font-weight: normal;">provide you with useful \r
- examples of the use of</span> <a href="repairing_operations.htm#bookmark6">Repairing \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Glue Faces.</font></span></p>
+
+<p class="whs3">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs4">&nbsp;</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">&nbsp;</p>
+
+<p class="whs7"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs7">&nbsp;</p>
+
+<p class="whs8"><img src="pics/glue_faces1.png" x-maintain-ratio="TRUE" width="292px" height="239px" border="0" class="img_whs9"> &nbsp;&nbsp;<img src="pics/glue_faces2.png" x-maintain-ratio="TRUE" width="275px" height="239px" border="0" class="img_whs10"></p>
+
+<p class="whs11">&nbsp;</p>
+
+<p class="whs11">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 2d0fbf3714e9c7974626310bd6ed49ecfc0ee080..6cabf4139dbf9705465b16d7e4d288fef95ce55d 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Groups</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nWorking with Groups");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Groups</h1>\r
-\r
-<h3>Creation of a group</h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create two vertices</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex(0. \r
- &nbsp;, 0. &nbsp;, \r
- 0. &nbsp;)</p>\r
-\r
-<p class="whs1">p200 = geompy.MakeVertex(200., \r
- 200., 200.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box from two points</p>\r
-\r
-<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0, \r
- p200)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a group from the faces of the box</p>\r
-\r
-<p class="whs1">group = geompy.CreateGroup(Box, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects to the group</p>\r
-\r
-<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p class="whs1">for i in [0, 3, 5] \r
- :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID \r
- = geompy.GetSubShapeID(Box, SubFaceList[i])</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group, \r
- FaceID)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add all selected shapes from the list to the group </p>\r
-\r
-<p># (the program doesn't raise error, if some shapes are already included)</p>\r
-\r
-<p class="whs1">geompy.UnionList(group, \r
- [SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># remove an object from the group</p>\r
-\r
-<p class="whs1">geompy.RemoveObject(group, \r
- FaceID)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># remove all selected shapes from the group </p>\r
-\r
-<p># (the program doesn't raise error, if some shapes are not included)</p>\r
-\r
-<p class="whs1">geompy.DifferenceList(group, \r
- [SubFaceList[2], SubFaceList[3], SubFaceList[4]])</p>\r
-\r
-<p class="whs1">id_group1 = geompy.addToStudy(group, \r
- &quot;Group1&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the contents of the group</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_group1)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span> \r
- </p>\r
-\r
-<h3>Adding an object to the group.</h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create two vertices</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex(0. \r
- &nbsp;, 0. &nbsp;, \r
- 0. &nbsp;)</p>\r
-\r
-<p class="whs1">p200 = geompy.MakeVertex(200., \r
- 200., 200.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box from two points</p>\r
-\r
-<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0, \r
- p200)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a group from the faces of the box</p>\r
-\r
-<p class="whs1">group = geompy.CreateGroup(Box, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects to the group</p>\r
-\r
-<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p class="whs1">for i in [0, 3, 5] \r
- :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID \r
- = geompy.GetSubShapeID(Box, SubFaceList[i])</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group, \r
- FaceID)</p>\r
-\r
-<p class="whs1">id_group1 = geompy.addToStudy(group, \r
- &quot;Group1&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the contents of the group</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_group1)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3>Removing an object from the group</h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create two vertices</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex(0. \r
- &nbsp;, 0. &nbsp;, \r
- 0. &nbsp;)</p>\r
-\r
-<p class="whs1">p200 = geompy.MakeVertex(200., \r
- 200., 200.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box from two points</p>\r
-\r
-<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0, \r
- p200)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a group from the faces of the box</p>\r
-\r
-<p class="whs1">group = geompy.CreateGroup(Box, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects to the group</p>\r
-\r
-<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p class="whs1">for i in [0, 3, 5] \r
- :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID \r
- = geompy.GetSubShapeID(Box, SubFaceList[i])</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group, \r
- FaceID)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add all selected shapes from the list to the group </p>\r
-\r
-<p># (the program doesn't raise errors, if some shapes are already included)</p>\r
-\r
-<p class="whs1">geompy.UnionList(group, \r
- [SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># remove an object from the group</p>\r
-\r
-<p class="whs1">geompy.RemoveObject(group, \r
- FaceID)</p>\r
-\r
-<p class="whs1">id_group1 = geompy.addToStudy(group, \r
- &quot;Group1&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the contents of the group</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_group1)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</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
+<!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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create two vertices</p>
+
+<p class="whs1">p0 = geompy.MakeVertex(0. 
+ &nbsp;, 0. &nbsp;, 
+ 0. &nbsp;)</p>
+
+<p class="whs1">p200 = geompy.MakeVertex(200., 
+ 200., 200.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a box from two points</p>
+
+<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0, 
+ p200)</p>
+
+<p>&nbsp;</p>
+
+<p># create a group from the faces of the box</p>
+
+<p class="whs1">group = geompy.CreateGroup(Box, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p>&nbsp;</p>
+
+<p># add objects to the group</p>
+
+<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p class="whs1">for i in [0, 3, 5] 
+ :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID 
+ = geompy.GetSubShapeID(Box, SubFaceList[i])</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group, 
+ FaceID)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># remove an object from the group</p>
+
+<p class="whs1">geompy.RemoveObject(group, 
+ FaceID)</p>
+
+<p>&nbsp;</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, 
+ &quot;Group1&quot;)</p>
+
+<p>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create two vertices</p>
+
+<p class="whs1">p0 = geompy.MakeVertex(0. 
+ &nbsp;, 0. &nbsp;, 
+ 0. &nbsp;)</p>
+
+<p class="whs1">p200 = geompy.MakeVertex(200., 
+ 200., 200.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a box from two points</p>
+
+<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0, 
+ p200)</p>
+
+<p>&nbsp;</p>
+
+<p># create a group from the faces of the box</p>
+
+<p class="whs1">group = geompy.CreateGroup(Box, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p>&nbsp;</p>
+
+<p># add objects to the group</p>
+
+<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p class="whs1">for i in [0, 3, 5] 
+ :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID 
+ = geompy.GetSubShapeID(Box, SubFaceList[i])</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group, 
+ FaceID)</p>
+
+<p class="whs1">id_group1 = geompy.addToStudy(group, 
+ &quot;Group1&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create two vertices</p>
+
+<p class="whs1">p0 = geompy.MakeVertex(0. 
+ &nbsp;, 0. &nbsp;, 
+ 0. &nbsp;)</p>
+
+<p class="whs1">p200 = geompy.MakeVertex(200., 
+ 200., 200.)</p>
+
+<p>&nbsp;</p>
+
+<p># create a box from two points</p>
+
+<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0, 
+ p200)</p>
+
+<p>&nbsp;</p>
+
+<p># create a group from the faces of the box</p>
+
+<p class="whs1">group = geompy.CreateGroup(Box, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p>&nbsp;</p>
+
+<p># add objects to the group</p>
+
+<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p class="whs1">for i in [0, 3, 5] 
+ :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID 
+ = geompy.GetSubShapeID(Box, SubFaceList[i])</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group, 
+ FaceID)</p>
+
+<p>&nbsp;</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>&nbsp;</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, 
+ &quot;Group1&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
diff --git a/doc/salome/gui/GEOM/image10.jpg b/doc/salome/gui/GEOM/image10.jpg
deleted file mode 100755 (executable)
index 89009bc..0000000
Binary files a/doc/salome/gui/GEOM/image10.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image11.gif b/doc/salome/gui/GEOM/image11.gif
deleted file mode 100755 (executable)
index 4a07b5e..0000000
Binary files a/doc/salome/gui/GEOM/image11.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image11.jpg b/doc/salome/gui/GEOM/image11.jpg
deleted file mode 100755 (executable)
index 4f666fd..0000000
Binary files a/doc/salome/gui/GEOM/image11.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image12.gif b/doc/salome/gui/GEOM/image12.gif
deleted file mode 100755 (executable)
index 9e872c8..0000000
Binary files a/doc/salome/gui/GEOM/image12.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image12.jpg b/doc/salome/gui/GEOM/image12.jpg
deleted file mode 100755 (executable)
index fac5c12..0000000
Binary files a/doc/salome/gui/GEOM/image12.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image121.jpg b/doc/salome/gui/GEOM/image121.jpg
deleted file mode 100755 (executable)
index 2dfe66e..0000000
Binary files a/doc/salome/gui/GEOM/image121.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image122.jpg b/doc/salome/gui/GEOM/image122.jpg
deleted file mode 100755 (executable)
index 847a397..0000000
Binary files a/doc/salome/gui/GEOM/image122.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image124.jpg b/doc/salome/gui/GEOM/image124.jpg
deleted file mode 100755 (executable)
index 2bc4bf3..0000000
Binary files a/doc/salome/gui/GEOM/image124.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image127.jpg b/doc/salome/gui/GEOM/image127.jpg
deleted file mode 100755 (executable)
index f0cf3d9..0000000
Binary files a/doc/salome/gui/GEOM/image127.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image128.jpg b/doc/salome/gui/GEOM/image128.jpg
deleted file mode 100755 (executable)
index c62cbf8..0000000
Binary files a/doc/salome/gui/GEOM/image128.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image129.jpg b/doc/salome/gui/GEOM/image129.jpg
deleted file mode 100755 (executable)
index d8fcb94..0000000
Binary files a/doc/salome/gui/GEOM/image129.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image13.gif b/doc/salome/gui/GEOM/image13.gif
deleted file mode 100755 (executable)
index 83f73a5..0000000
Binary files a/doc/salome/gui/GEOM/image13.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image130.jpg b/doc/salome/gui/GEOM/image130.jpg
deleted file mode 100755 (executable)
index 8874e8e..0000000
Binary files a/doc/salome/gui/GEOM/image130.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image133.jpg b/doc/salome/gui/GEOM/image133.jpg
deleted file mode 100755 (executable)
index 0bc42a6..0000000
Binary files a/doc/salome/gui/GEOM/image133.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image14.gif b/doc/salome/gui/GEOM/image14.gif
deleted file mode 100755 (executable)
index a05dd64..0000000
Binary files a/doc/salome/gui/GEOM/image14.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image147.jpg b/doc/salome/gui/GEOM/image147.jpg
deleted file mode 100755 (executable)
index e38c1da..0000000
Binary files a/doc/salome/gui/GEOM/image147.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image149.jpg b/doc/salome/gui/GEOM/image149.jpg
deleted file mode 100755 (executable)
index 2332885..0000000
Binary files a/doc/salome/gui/GEOM/image149.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image15.gif b/doc/salome/gui/GEOM/image15.gif
deleted file mode 100755 (executable)
index 3dcdf00..0000000
Binary files a/doc/salome/gui/GEOM/image15.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image150.jpg b/doc/salome/gui/GEOM/image150.jpg
deleted file mode 100755 (executable)
index 31fceea..0000000
Binary files a/doc/salome/gui/GEOM/image150.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image151.jpg b/doc/salome/gui/GEOM/image151.jpg
deleted file mode 100755 (executable)
index eda0dfc..0000000
Binary files a/doc/salome/gui/GEOM/image151.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image16.gif b/doc/salome/gui/GEOM/image16.gif
deleted file mode 100755 (executable)
index 44f8616..0000000
Binary files a/doc/salome/gui/GEOM/image16.gif and /dev/null differ
index a88429f793a658d8680738deb9dc094b3d9cae12..c97d8378af4b313466a80082e9d4f350050b86af 100755 (executable)
Binary files a/doc/salome/gui/GEOM/image160.jpg and b/doc/salome/gui/GEOM/image160.jpg differ
diff --git a/doc/salome/gui/GEOM/image163.jpg b/doc/salome/gui/GEOM/image163.jpg
deleted file mode 100755 (executable)
index 8f87e35..0000000
Binary files a/doc/salome/gui/GEOM/image163.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image164.jpg b/doc/salome/gui/GEOM/image164.jpg
deleted file mode 100755 (executable)
index a180e04..0000000
Binary files a/doc/salome/gui/GEOM/image164.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image17.gif b/doc/salome/gui/GEOM/image17.gif
deleted file mode 100755 (executable)
index 4436895..0000000
Binary files a/doc/salome/gui/GEOM/image17.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image170.jpg b/doc/salome/gui/GEOM/image170.jpg
deleted file mode 100755 (executable)
index 4e24375..0000000
Binary files a/doc/salome/gui/GEOM/image170.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image171.jpg b/doc/salome/gui/GEOM/image171.jpg
deleted file mode 100755 (executable)
index 9e05588..0000000
Binary files a/doc/salome/gui/GEOM/image171.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image172.jpg b/doc/salome/gui/GEOM/image172.jpg
deleted file mode 100755 (executable)
index 2bee447..0000000
Binary files a/doc/salome/gui/GEOM/image172.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image18.jpg b/doc/salome/gui/GEOM/image18.jpg
deleted file mode 100755 (executable)
index 7b7d6f4..0000000
Binary files a/doc/salome/gui/GEOM/image18.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image188.jpg b/doc/salome/gui/GEOM/image188.jpg
deleted file mode 100755 (executable)
index 00f58a0..0000000
Binary files a/doc/salome/gui/GEOM/image188.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image189.jpg b/doc/salome/gui/GEOM/image189.jpg
deleted file mode 100755 (executable)
index d02a239..0000000
Binary files a/doc/salome/gui/GEOM/image189.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image19.gif b/doc/salome/gui/GEOM/image19.gif
deleted file mode 100755 (executable)
index ecd250a..0000000
Binary files a/doc/salome/gui/GEOM/image19.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image191.jpg b/doc/salome/gui/GEOM/image191.jpg
deleted file mode 100755 (executable)
index 92144cc..0000000
Binary files a/doc/salome/gui/GEOM/image191.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image197.jpg b/doc/salome/gui/GEOM/image197.jpg
deleted file mode 100755 (executable)
index 11eb06e..0000000
Binary files a/doc/salome/gui/GEOM/image197.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image20.gif b/doc/salome/gui/GEOM/image20.gif
deleted file mode 100755 (executable)
index ef92faf..0000000
Binary files a/doc/salome/gui/GEOM/image20.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image201.jpg b/doc/salome/gui/GEOM/image201.jpg
deleted file mode 100755 (executable)
index 0a6a1b4..0000000
Binary files a/doc/salome/gui/GEOM/image201.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image202.jpg b/doc/salome/gui/GEOM/image202.jpg
deleted file mode 100755 (executable)
index 0674262..0000000
Binary files a/doc/salome/gui/GEOM/image202.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image21.gif b/doc/salome/gui/GEOM/image21.gif
deleted file mode 100755 (executable)
index 8fa295c..0000000
Binary files a/doc/salome/gui/GEOM/image21.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image22.gif b/doc/salome/gui/GEOM/image22.gif
deleted file mode 100755 (executable)
index 00f3879..0000000
Binary files a/doc/salome/gui/GEOM/image22.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image23.gif b/doc/salome/gui/GEOM/image23.gif
deleted file mode 100755 (executable)
index 9af6909..0000000
Binary files a/doc/salome/gui/GEOM/image23.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image24.gif b/doc/salome/gui/GEOM/image24.gif
deleted file mode 100755 (executable)
index d53209d..0000000
Binary files a/doc/salome/gui/GEOM/image24.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image25.gif b/doc/salome/gui/GEOM/image25.gif
deleted file mode 100755 (executable)
index b111102..0000000
Binary files a/doc/salome/gui/GEOM/image25.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image27.jpg b/doc/salome/gui/GEOM/image27.jpg
deleted file mode 100755 (executable)
index ec850e7..0000000
Binary files a/doc/salome/gui/GEOM/image27.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image31.gif b/doc/salome/gui/GEOM/image31.gif
deleted file mode 100755 (executable)
index 0285eb3..0000000
Binary files a/doc/salome/gui/GEOM/image31.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image52.jpg b/doc/salome/gui/GEOM/image52.jpg
deleted file mode 100755 (executable)
index 06cf191..0000000
Binary files a/doc/salome/gui/GEOM/image52.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image53.jpg b/doc/salome/gui/GEOM/image53.jpg
deleted file mode 100755 (executable)
index 0de05fd..0000000
Binary files a/doc/salome/gui/GEOM/image53.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image54.jpg b/doc/salome/gui/GEOM/image54.jpg
deleted file mode 100755 (executable)
index b331a4a..0000000
Binary files a/doc/salome/gui/GEOM/image54.jpg and /dev/null differ
index 049e1ebdcdff36feda74aee4babc6b2ba22e2454..becd5b28c7b78658a0f7a4983978bc6d110f3137 100755 (executable)
Binary files a/doc/salome/gui/GEOM/image56.gif and b/doc/salome/gui/GEOM/image56.gif differ
diff --git a/doc/salome/gui/GEOM/image6.gif b/doc/salome/gui/GEOM/image6.gif
deleted file mode 100755 (executable)
index ef3e4bc..0000000
Binary files a/doc/salome/gui/GEOM/image6.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image67.jpg b/doc/salome/gui/GEOM/image67.jpg
deleted file mode 100755 (executable)
index 658b943..0000000
Binary files a/doc/salome/gui/GEOM/image67.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image7.gif b/doc/salome/gui/GEOM/image7.gif
deleted file mode 100755 (executable)
index dda1141..0000000
Binary files a/doc/salome/gui/GEOM/image7.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image76.jpg b/doc/salome/gui/GEOM/image76.jpg
deleted file mode 100755 (executable)
index deb1aed..0000000
Binary files a/doc/salome/gui/GEOM/image76.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image78.jpg b/doc/salome/gui/GEOM/image78.jpg
deleted file mode 100755 (executable)
index 8737d82..0000000
Binary files a/doc/salome/gui/GEOM/image78.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image79.jpg b/doc/salome/gui/GEOM/image79.jpg
deleted file mode 100755 (executable)
index 099999d..0000000
Binary files a/doc/salome/gui/GEOM/image79.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image8.gif b/doc/salome/gui/GEOM/image8.gif
deleted file mode 100755 (executable)
index 6759737..0000000
Binary files a/doc/salome/gui/GEOM/image8.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image8.jpg b/doc/salome/gui/GEOM/image8.jpg
deleted file mode 100755 (executable)
index f2c07eb..0000000
Binary files a/doc/salome/gui/GEOM/image8.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image80.jpg b/doc/salome/gui/GEOM/image80.jpg
deleted file mode 100755 (executable)
index ce81b70..0000000
Binary files a/doc/salome/gui/GEOM/image80.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image81.jpg b/doc/salome/gui/GEOM/image81.jpg
deleted file mode 100755 (executable)
index 415dabe..0000000
Binary files a/doc/salome/gui/GEOM/image81.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image82.jpg b/doc/salome/gui/GEOM/image82.jpg
deleted file mode 100755 (executable)
index 96d4a04..0000000
Binary files a/doc/salome/gui/GEOM/image82.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image83.jpg b/doc/salome/gui/GEOM/image83.jpg
deleted file mode 100755 (executable)
index bafd8be..0000000
Binary files a/doc/salome/gui/GEOM/image83.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image84.jpg b/doc/salome/gui/GEOM/image84.jpg
deleted file mode 100755 (executable)
index 25625c1..0000000
Binary files a/doc/salome/gui/GEOM/image84.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image85.jpg b/doc/salome/gui/GEOM/image85.jpg
deleted file mode 100755 (executable)
index 51ceee4..0000000
Binary files a/doc/salome/gui/GEOM/image85.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image9.gif b/doc/salome/gui/GEOM/image9.gif
deleted file mode 100755 (executable)
index cf29eb9..0000000
Binary files a/doc/salome/gui/GEOM/image9.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image9.jpg b/doc/salome/gui/GEOM/image9.jpg
deleted file mode 100755 (executable)
index 6040b66..0000000
Binary files a/doc/salome/gui/GEOM/image9.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image94.jpg b/doc/salome/gui/GEOM/image94.jpg
deleted file mode 100755 (executable)
index 9ac2ee5..0000000
Binary files a/doc/salome/gui/GEOM/image94.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image95.jpg b/doc/salome/gui/GEOM/image95.jpg
deleted file mode 100755 (executable)
index 12f6002..0000000
Binary files a/doc/salome/gui/GEOM/image95.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image96.jpg b/doc/salome/gui/GEOM/image96.jpg
deleted file mode 100755 (executable)
index 53006ac..0000000
Binary files a/doc/salome/gui/GEOM/image96.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image97.jpg b/doc/salome/gui/GEOM/image97.jpg
deleted file mode 100755 (executable)
index b81765b..0000000
Binary files a/doc/salome/gui/GEOM/image97.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/image98.jpg b/doc/salome/gui/GEOM/image98.jpg
deleted file mode 100755 (executable)
index e5abf9d..0000000
Binary files a/doc/salome/gui/GEOM/image98.jpg and /dev/null differ
index aff470fc2b3c0d56b411c3c692c49574f7d6535c..54c41df02a6a5bad86f5123a126f94faf308a3ac 100755 (executable)
-<html>\r
-<head>\r
-<title>Geometry Module Reference Manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whstub.js"></script><script language="javascript1.2" src="whstart.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var strDefaultTopic = "about:blank";\r
-var nWebhelpNavPaneMode = 1;                   //1: DHTML 2:Applet 3:PureHTML 4:Noframeset\r
-var bNoApplet  = false;\r
-var strPaneDHTML  = "whd_nvp10.htm";           //whd_nvp10.htm  if tab enabled, whnframe.htm if tab disabled.\r
-var strPaneApplet = "whd_nvp20.htm";\r
-var strPaneList   = "whgdata/whnvp30.htm";\r
-\r
-var strHTML = "";\r
-var strPane = "";\r
-var nViewFrameType = -1;\r
-\r
-function CMRServer()\r
-{\r
-  this.m_cAgents = new Array;\r
-}\r
-var cMRServer = new CMRServer;\r
-\r
-//figure out which mode is the best\r
-if (!window.gAgent)\r
-{\r
-       // low end browser, we don't even try to determine it.\r
-       document.location = "whnjs.htm";\r
-}\r
-else\r
-{\r
-       if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)\r
-               document.location = "whnjs.htm";\r
-       else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))\r
-               document.location = "whnjs.htm";\r
-       else if (gbMac && gbIE4 && !gbIE5)\r
-               document.location = "whnjs.htm";\r
-       //figure out which mode is the best\r
-       else \r
-       {\r
-               nViewFrameType=nWebhelpNavPaneMode;\r
-               if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)\r
-               {\r
-                       var gbDHTML=(nWebhelpNavPaneMode==1);\r
-                       if (gbNav4)                                                                             nViewFrameType = 2;\r
-                       if (gbNav4&&(gnVerMinor < 4.1))                                         nViewFrameType = 3;\r
-                       if (gbNav4&&(gnVerMinor == 4.6))                                        nViewFrameType = 3;\r
-                       if (gbIE4&&gbDHTML)                                                                     nViewFrameType = 1;\r
-                       if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2)                     nViewFrameType = 3;\r
-                       if (gbNav6&&gbDHTML)                                                            nViewFrameType = 1;\r
-                       if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2)         nViewFrameType = 3;\r
-                       if (gbMac)                                                                                      nViewFrameType = 3;\r
-                       if (gbOpera7&&nViewFrameType == 2)                                      nViewFrameType = 3;\r
-                       if ((bNoApplet)&&(nViewFrameType == 2))                         nViewFrameType = 3;\r
-               }\r
-       }\r
-}\r
-\r
-if (nViewFrameType!=-1)\r
-{\r
-       var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));\r
-       //The colordepth of the 16 color on Windows is 1. \r
-       if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))\r
-       {\r
-          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.");\r
-          nViewFrameType = 3;\r
-       }\r
-\r
-       //figure out which one is navpane\r
-       if (nViewFrameType == 1)\r
-               strPane = strPaneDHTML;\r
-       else if (nViewFrameType == 2)\r
-               strPane = strPaneApplet;\r
-       else \r
-               strPane = strPaneList;\r
-\r
-       var oParam = new Object();\r
-       oParam.sTopic = "";\r
-       var oMsg = new whMessage(WH_MSG_GETDEFAULTTOPIC, window, 1, oParam);\r
-       if (SendMessage(oMsg) && oParam.sTopic != "")\r
-               strDefaultTopic =  oParam.sTopic;\r
-\r
-\r
-       if (nViewFrameType == 1)\r
-       {\r
-               //DHTML (iframe or xml based)\r
-               strHTML += "<frameset  id=\"whPfset\" cols=\"260,*\" frameborder=\"1\">";\r
-               strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane + "\" scrolling=\"no\"></frame>";\r
-               strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";\r
-       }\r
-       else if (nViewFrameType == 2)\r
-       {\r
-               //applet (xml based)\r
-               strHTML += "<frameset  id=\"whPfset\" cols=\"260,*\" framespacing=\"0\" frameborder=\"0\" border=\"0\">";\r
-               strHTML += "<frame name=\"bsscleft\" title=\"navigation frame\" src=\"" + strPane+ "\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\"></frame>";\r
-               strHTML += "<frame name=\"bsscright\" title=\"topic frame\" src=\"" + strDefaultTopic + "\" scrolling=\"auto\"></frame></frameset>";\r
-       }\r
-       else if (nViewFrameType == 3)\r
-       {\r
-               //generic html (pure html based)\r
-               strHTML += "<frameset  id=\"whPfset\" cols=\"260,*\">";\r
-               strHTML += "<frame title=\"navigation frame\" src=\"" + strPane + "\" name=\"bsscleft\"  scrolling=\"no\"></frame>";\r
-               strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" scrolling=\"auto\"></frame>";\r
-               strHTML += "</frameset>";\r
-       } \r
-       else if (nViewFrameType == 4)\r
-       {\r
-               //no navipane at all\r
-               strHTML += "<frameset  id=\"whPfset\" border=\"0\" cols=\"100%,*\">";\r
-               strHTML += "<frame title=\"topic frame\" src=\"" + strDefaultTopic + "\" name=\"bsscright\" framespacing=\"0\" frameborder=\"0\" border=\"0\" scrolling=\"auto\">";\r
-               strHTML += "</frameset>";\r
-       }\r
-\r
-       document.write(strHTML);\r
-\r
-       RegisterListener2(window, WH_MSG_SHOWPANE);\r
-       RegisterListener2(window, WH_MSG_HIDEPANE);\r
-       RegisterListener2(window, WH_MSG_ISPANEVISIBLE);\r
-       window.onunload = window_unload;\r
-}\r
-\r
-function window_unload()\r
-{\r
-       UnRegisterListener2(window, WH_MSG_SHOWPANE);\r
-       UnRegisterListener2(window, WH_MSG_HIDEPANE);\r
-       UnRegisterListener2(window, WH_MSG_ISPANEVISIBLE);\r
-}\r
-\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       var nMsgId = oMsg.nMessageId;\r
-       if (nMsgId == WH_MSG_SHOWPANE)\r
-       {\r
-               getElement("whPfset").cols = "260,*";\r
-               var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "visible");\r
-               SendMessage(onMsg);\r
-               onMsg = new whMessage(WH_MSG_GETPANEINFO, this, 1, "");\r
-               if (SendMessage(onMsg))\r
-               {\r
-                       onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, onMsg.oParam);\r
-                       SendMessage(onMsg);\r
-               }\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_HIDEPANE)\r
-       {\r
-               getElement("whPfset").cols = "0,*";\r
-               var onMsg = new whMessage(WH_MSG_PANESTATUE, this, 1, "invisible");\r
-               SendMessage(onMsg);\r
-               onMsg = new whMessage(WH_MSG_PANEINFO, this, 1, "");\r
-               SendMessage(onMsg);\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_ISPANEVISIBLE)\r
-       {\r
-               var n = parseInt(getElement("whPfset").cols);\r
-               if (n > 0)\r
-               {\r
-                       oMsg.oParam.bVisible = true;\r
-               }\r
-               return false;\r
-       }\r
-       return true;\r
-}\r
-//-->\r
-</script>\r
-<body>\r
-<noscript>\r
-       <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>\r
-</noscript>\r
-</body>\r
-</html>\r
+<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>
index 6aeea9d3fa11cd011d9444cfc9042cb8a661a065..631f73da19dccc73f5bc3686d08d48e17b0f1415 100755 (executable)
-<html>\r
-<head>\r
-<title>Geometry Module Reference Manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gCSHFileName   = "whc_data.htm";\r
-var gCSHSuffixName1 = "_csh.html";\r
-var gCSHSuffixName2 = "_csh.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-gCSHFileName="cshdat_webhelp.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-var gasProj = new Array();\r
-gasProj[0] = _getPath(document.location.href);\r
-var gCurrent = 0;\r
-\r
-function addProject(strProj)\r
-{\r
-       var len  = gasProj.length;\r
-       if (strProj)\r
-       {\r
-               strProj = _replaceSlash(strProj);\r
-               if (strProj.lastIndexOf("/") != strProj.length - 1)\r
-                       strProj += "/";\r
-               var strPPath = _getFullPath(_getPath(document.location.href), strProj);\r
-               var bFound = false;\r
-               for (var i = 0; i < len; i ++)\r
-               {\r
-                       if (isSamePath(gasProj[i], strPPath))\r
-                       {\r
-                               bFound = true;\r
-                               break;\r
-                       }\r
-               }\r
-               if (!bFound)\r
-                       gasProj[len] = strPPath;\r
-       }\r
-}\r
-\r
-function isSamePath(strPath1, strPath2)\r
-{\r
-       return strPath1.toLowerCase() == strPath2.toLowerCase();\r
-}\r
-\r
-function goNext()\r
-{\r
-       gCurrent ++;\r
-       var len = gasProj.length;\r
-       if (gCurrent >= len)\r
-               return getHomePage()\r
-       else\r
-               frames["csh"].location = gasProj[gCurrent] + gCSHFileName;\r
-       return "";\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath = _getPath(strLocation);\r
-       var strOriPPath = _getPath(getHomePage());\r
-       var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);\r
-       var strURL = getHomePage() + "#" + strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp = location.toString();\r
-       var nPos = strTmp.indexOf("#");\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strTmp.substring(0, nPos);\r
-       }\r
-       else\r
-       {\r
-          strHomePage = strTmp;\r
-       }\r
-       var nPos1 = strHomePage.indexOf(gCSHSuffixName1);\r
-       var nPos = strHomePage.indexOf(gCSHSuffixName2);\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strHomePage.substring(0,nPos);\r
-          if (nPos1 != -1)\r
-            strHomePage += ".html";\r
-          else\r
-            strHomePage += ".htm";\r
-       }\r
-       return strHomePage;\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<frameset rows="1,*">\r
-<frame name="dumb" src="about:blank"></frame>\r
-<frame name="csh" src="cshdat_webhelp.htm"></frame>            \r
-</frameset>\r
+<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
index 431b5e60e3485ca202c6d511563cb3e2daa6e5bb..459833070f0b474686b25adc924e0a695ad49620 100755 (executable)
-<html>\r
-<head>\r
-<title>Geometry Module Reference Manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gCSHFileName   = "whc_data.htm";\r
-var gCSHSuffixName1 = "_rhc.html";\r
-var gCSHSuffixName2 = "_rhc.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-gCSHFileName="cshdat_robohelp.htm";\r
-//-->\r
-</script>\r
-<script language="javascript">\r
-<!--\r
-var gasProj = new Array();\r
-gasProj[0] = _getPath(document.location.href);\r
-var gCurrent = 0;\r
-\r
-function addProject(strProj)\r
-{\r
-       var len  = gasProj.length;\r
-       if (strProj)\r
-       {\r
-               strProj = _replaceSlash(strProj);\r
-               if (strProj.lastIndexOf("/") != strProj.length - 1)\r
-                       strProj += "/";\r
-               var strPPath = _getFullPath(_getPath(document.location.href), strProj);\r
-               var bFound = false;\r
-               for (var i = 0; i < len; i ++)\r
-               {\r
-                       if (isSamePath(gasProj[i], strPPath))\r
-                       {\r
-                               bFound = true;\r
-                               break;\r
-                       }\r
-               }\r
-               if (!bFound)\r
-                       gasProj[len] = strPPath;\r
-       }\r
-}\r
-\r
-function isSamePath(strPath1, strPath2)\r
-{\r
-       return strPath1.toLowerCase() == strPath2.toLowerCase();\r
-}\r
-\r
-function goNext()\r
-{\r
-       gCurrent ++;\r
-       var len = gasProj.length;\r
-       if (gCurrent >= len)\r
-               return getHomePage()\r
-       else\r
-               frames["csh"].location = gasProj[gCurrent] + gCSHFileName;\r
-       return "";\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath = _getPath(strLocation);\r
-       var strOriPPath = _getPath(getHomePage());\r
-       var strRelPath = _getRelativeFileName(strOriPPath, strCurPPath);\r
-       var strURL = getHomePage() + "#" + strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp = location.toString();\r
-       var nPos = strTmp.indexOf("#");\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strTmp.substring(0, nPos);\r
-       }\r
-       else\r
-       {\r
-          strHomePage = strTmp;\r
-       }\r
-       var nPos1 = strHomePage.indexOf(gCSHSuffixName1);\r
-       var nPos = strHomePage.indexOf(gCSHSuffixName2);\r
-       if (nPos != -1)\r
-       {\r
-          strHomePage = strHomePage.substring(0,nPos);\r
-          if (nPos1 != -1)\r
-            strHomePage += ".html";\r
-          else\r
-            strHomePage += ".htm";\r
-       }\r
-       return strHomePage;\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<frameset rows="1,*">\r
-<frame name="dumb" src="about:blank"></frame>\r
-<frame name="csh" src="cshdat_robohelp.htm"></frame>           \r
-</frameset>\r
+<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
index 15e54e35bedd511bde78b270713a3820157f5b4f..d2eae1becfd4635e90a35db409369cf5a21e3989 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Isos</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
-p.whs1 { font-size:12pt; }\r
-p.whs2 { font-size:12pt; margin-left:40px; }\r
-img_whs3 { border:none; width:255px; height:150px; float:none; border-style:none; }\r
-img_whs4 { border:none; width:400px; height:420px; float:none; border-style:none; }\r
-p.whs5 { font-family:'Times New Roman' , serif; font-size:12pt; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nManaging geometrical objects\nChanging Display Parameters\nIsolines");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Isolines</h1>\r
-\r
-<p class="whs1">In this menu you can change the number of isolines \r
- displayed within a shape.</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- 2 values (number of isolines).</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/neo-isos.png" x-maintain-ratio="TRUE" width="255px" height="150px" border="0" class="img_whs3"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="400px" height="420px" border="0" class="img_whs4"> &nbsp;<img src="pics/isos_u12_v12sn.png" x-maintain-ratio="TRUE" width="400px" height="420px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p>&nbsp;</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
+<!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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs1"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" width="400px" height="420px" border="0" class="img_whs4"> &nbsp;<img src="pics/isos_u12_v12sn.png" x-maintain-ratio="TRUE" width="400px" height="420px" border="0" class="img_whs4"></p>
+
+<p class="whs5">&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index a525ab79acadf36112c2e7b46bd5578da886b00b..0ad6efe1adcf97503fff10523aad75fae19910fd 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Line</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
-p.whs5 { color:#808080; font-size:12pt; }\r
-p.whs6 { font-size:12pt; color:#000000; }\r
-p.whs7 { color:#808080; font-size:12pt; margin-left:40px; }\r
-img_whs8 { border:none; width:357px; height:322px; float:none; border-style:none; }\r
-p.whs9 { font-size:12pt; font-weight:bold; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nLine");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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_image28.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Line</h1>\r
-\r
-<p>To create a <span style="font-weight: bold;"><B>Line</B></span> in the <span \r
- style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New \r
- Entity - &gt; Basic - &gt; Line</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">To create a <span style="font-weight: bold;"><B>Line</B></span> \r
- you should define <span style="font-weight: bold;"><B>Point1</B></span> and <span \r
- style="font-weight: bold;"><B>Point2</B></span>, which are the points through \r
- &nbsp;which the \r
- <span style="font-weight: bold;"><B>Line</B></span> passes.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of the operation will be a</span></b> \r
- GEOM_Object (edge).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b> \r
- <span style="font-style: italic;"><I>geompy.MakeLineTwoPnt(Point1, Point2)</I></span> \r
- </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 2 vertices.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/line.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs6"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="pics/lines.png" x-maintain-ratio="TRUE" width="357px" height="322px" border="0" class="img_whs8"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs9">NB! <span style="font-weight: normal;">There \r
- is another way to create a line, which is currently accessible only via</span> \r
- TUI <span style="font-weight: normal;">commands.</span></p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs9"><span style="font-weight: normal;">You \r
- can define a line &nbsp;passing \r
- through the given</span> Point <span style="font-weight: normal;">and \r
- parallel to the given</span> Vector. </p>\r
-\r
-<p class="whs9"><b style="font-weight: bold;">TUI \r
- Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeLine(Point, \r
- Vector)</I></span> </p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
- provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark1">Basic \r
- Geometric Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Basic - &gt; Line</B></span></p>
+
+<p class="whs2">&nbsp;</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 
+ &nbsp;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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs5">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs9"><span style="font-weight: normal;">You 
+ can define a line &nbsp;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">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index dd0490e3597884b8625c3aa13a02abf734ef5ab3..f760763a2a48d0ecaac2e34145848927e8b2d72a 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Local Coordinate System</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:16px; height:16px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-weight:bold; font-size:14pt; }\r
-img_whs4 { border:none; width:312px; height:391px; float:none; border-style:none; }\r
-p.whs5 { font-size:12pt; font-weight:normal; }\r
-img_whs6 { border:none; width:312px; height:289px; float:none; border-style:none; }\r
-p.whs7 { font-size:12pt; font-weight:bold; }\r
-img_whs8 { border:none; width:312px; height:359px; float:none; border-style:none; }\r
-p.whs9 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }\r
-p.whs10 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }\r
-p.whs11 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }\r
-img_whs12 { border:none; width:200px; height:219px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs9 {text-indent:1pt; }";\r
-  strNSS += "p.whs10 {text-indent:1pt; }";\r
-  strNSS += "p.whs11 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nLocal Coordinate System");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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 \r
- System</h1>\r
-\r
-<p>To create a <span style="font-weight: bold;"><B>Local Coordinate System</B></span> \r
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
- style="font-weight: bold;"><B>New Entity - &gt; Basic - &gt; Local Coordinate \r
- System</B></span></p>\r
-\r
-<p class="whs2">There are three algorithms to choose from.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Firstly, you can by yourselves the values of \r
- X, Y, and Z coordinates of origin and the directions of X and Y axes<span>.</span></p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
- <span style="font-style: italic;"><I>geompy.MakeMarker(OX, OY, OZ, XDX, XDY, \r
- XDZ, YDX, YDY, YDZ)</I></span>, where OX, OY, OZ are coordinates of the origin \r
- of LCS, XDX, XDY, XDZ is a vector of OX &nbsp;direction \r
- of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + Coordinates of origin, X axis direction, Y axis direction.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/neo-localcs1.png" x-maintain-ratio="TRUE" width="312px" height="391px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5">Secondly, you can simply \r
- select a point in the object browser or 3D viewer, in this case the coordinates \r
- of origin are automatically filled in with the coordinates of the selected \r
- point and X and Y axes direction will be parallel to the X and Y direction \r
- of the Global CS. &nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments: \r
- </b>Name + reference object.</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/neo-localcs2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">The last algorithm also presumes that you select \r
- a point in the object browser or 3D viewer, but in this case you define \r
- X and Y axes direction yourselves. </p>\r
-\r
-<p class="whs7"><b>Arguments:</b> <span \r
- style="font-weight: normal;">Name + 1 point of origin + X axis direction, \r
- Y axis direction.</span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/neo-localcs3.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs8"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Press «OK» or «Apply» button to create an LCS \r
- at the location with the specified coordinates. The new object is shown \r
- in the Object Browser and in 3D viewer.</p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs10">Example:</p>\r
-\r
-<p class="whs11"><img src="image145.jpg" width="200px" height="219px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs11">&nbsp;</p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Basic - &gt; Local Coordinate 
+ System</B></span></p>
+
+<p class="whs2">There are three algorithms to choose from.</p>
+
+<p class="whs2">&nbsp;</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 &nbsp;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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs6">Secondly, you can simply 
+ select a point in the object browser or 3D viewer, in this case the coordinates 
+ of origin are automatically filled in with the coordinates of the selected 
+ point and X and Y axes direction will be parallel to the X and Y direction 
+ of the Global CS. &nbsp;</p>
+
+<p class="whs6"><b style="font-weight: bold;">Arguments: 
+ </b>Name + reference object.</p>
+
+<p class="whs6">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">The last algorithm also presumes that you select 
+ a point in the object browser or 3D viewer, but in this case you define 
+ X and Y axes direction yourselves. </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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 9a45d4c943e53b20ec31a6a98f9dcb8efefbd43c..f364fbdfb7ee9ab7f303d2bdf53104bd01c3a114 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Measurement Tools</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\r
-p.whs2 { font-family:'Times New Roman' , serif; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nMeasurement Tools");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Measurement Tools</h1>\r
-\r
-<h3>Point Coordinates</h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a point</p>\r
-\r
-<p class="whs1">point = geompy.MakeVertex(15, \r
- 23, 80)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># get the coordinates of the point and check its values</p>\r
-\r
-<p class="whs1">coords = geompy.PointCoordinates(point)</p>\r
-\r
-<p class="whs1">if coords[0] != 15 \r
- or coords[1] != 23 or coords[2] != 80 :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;Coordinates of point must be (15, 23, 80), but returned (&quot;, \r
- coords[0], &quot;, &quot;, coords[1], &quot;, &quot;, coords[2], &quot;)&quot;</p>\r
-\r
-<p class="whs1">else :</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;All values are OK.&quot;</span> </p>\r
-\r
-<h3>Basic Properties</h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import math</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>\r
-\r
-<p class="whs1">props = geompy.BasicProperties(box)</p>\r
-\r
-<p class="whs1">print &quot;\nBox \r
- 100x30x100 Basic Properties:&quot;</p>\r
-\r
-<p class="whs1">print &quot; Wires \r
- length: &quot;, props[0]</p>\r
-\r
-<p class="whs1">print &quot; Surface \r
- area: &quot;, props[1]</p>\r
-\r
-<p class="whs1">print &quot; Volume \r
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: \r
- &quot;, props[2]</p>\r
-\r
-<p class="whs1">length = math.sqrt((props[0] \r
- - 1840)*(props[0] - 1840))</p>\r
-\r
-<p class="whs1">area = math.sqrt((props[1] \r
- - 32000)*(props[1] - 32000))</p>\r
-\r
-<p class="whs1">volume = math.sqrt((props[2] \r
- - 300000)*(props[2] - 300000))</p>\r
-\r
-<p class="whs1">if length &gt; 1e-7 \r
- or area &gt; 1e-7 or volume &gt; 1e-7:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;While must be:&quot;</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot; Wires length: &quot;, 1840</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot; Surface area: &quot;, 32000</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot; Volume &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: \r
- &quot;, 300000.</p>\r
-\r
-<h3>Center of masses</h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import math</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a box</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>\r
-\r
-<p class="whs1">cm = geompy.MakeCDG(box)</p>\r
-\r
-<p class="whs1">if cm is None:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;raise \r
- RuntimeError, &quot;MakeCDG(box) failed&quot;</p>\r
-\r
-<p class="whs1">else:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;\nCentre of gravity of box has been successfully obtained:&quot;</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;coords \r
- = geompy.PointCoordinates(cm)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;(&quot;, coords[0], &quot;, &quot;, coords[1], &quot;, &quot;, coords[2], \r
- &quot;)&quot;</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;dx \r
- = math.sqrt((coords[0] - 50)*(coords[0] - 50))</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;dy \r
- = math.sqrt((coords[1] - 15)*(coords[1] - 15))</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;dz \r
- = math.sqrt((coords[2] - 50)*(coords[2] - 50))</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if \r
- dx &gt; 1e-7 or dy &gt; 1e-7 or dz &gt; 1e-7:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;But must be (50, 15, 50)&quot; </p>\r
-\r
-<h3>Inertia</h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import math</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a box</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>\r
-\r
-<p class="whs1">In = geompy.Inertia(box)</p>\r
-\r
-<p class="whs1">print &quot;\nInertia \r
- matrix of box 100x30x100:&quot;</p>\r
-\r
-<p class="whs1">print &quot; (&quot;, \r
- In[0], &quot;, &quot;, In[1], &quot;, &quot;, In[2], &quot;)&quot;</p>\r
-\r
-<p class="whs1">print &quot; (&quot;, \r
- In[3], &quot;, &quot;, In[4], &quot;, &quot;, In[5], &quot;)&quot;</p>\r
-\r
-<p class="whs1">print &quot; (&quot;, \r
- In[6], &quot;, &quot;, In[7], &quot;, &quot;, In[8], &quot;)&quot;</p>\r
-\r
-<p class="whs1">print &quot;Main moments \r
- of inertia of box 100x30x100:&quot;</p>\r
-\r
-<p class="whs1">print &quot; Ix = \r
- &quot;, In[9], &quot;, Iy = &quot;, In[10], &quot;, Iz = &quot;, In[11] \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3>Bounding Box</h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a box</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>\r
-\r
-<p class="whs1">bb = geompy.BoundingBox(box)</p>\r
-\r
-<p class="whs1">print &quot;\nBounding \r
- Box of box 100x30x100:&quot;</p>\r
-\r
-<p class="whs1">print &quot; Xmin \r
- = &quot;, bb[0], &quot;, Xmax = &quot;, bb[1]</p>\r
-\r
-<p class="whs1">print &quot; Ymin \r
- = &quot;, bb[2], &quot;, Ymax = &quot;, bb[3]</p>\r
-\r
-<p class="whs1">print &quot; Zmin \r
- = &quot;, bb[4], &quot;, Zmax = &quot;, bb[5] </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3>Minimal Distance </h3>\r
-\r
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import \r
- geompy</span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create boxes</p>\r
-\r
-<p class="whs1">box1 = geompy.MakeBoxDXDYDZ(100,30,100)</p>\r
-\r
-<p class="whs1">box2 = geompy.MakeBox(105,0,0,200,30,100)</p>\r
-\r
-<p class="whs1">min_dist = geompy.MinDistance(box1,box2)</p>\r
-\r
-<p class="whs1">print &quot;\nMinimal \r
- distance between box1 and box2 = &quot;, min_dist </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3>Tolerance</h3>\r
-\r
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import \r
- geompy</span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a box</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>\r
-\r
-<p class="whs1">Toler = geompy.Tolerance(box)</p>\r
-\r
-<p class="whs1">print &quot;\nBox \r
- 100x30x100 tolerance:&quot;</p>\r
-\r
-<p class="whs1">print &quot; Face \r
- min. tolerance: &quot;, Toler[0]</p>\r
-\r
-<p class="whs1">print &quot; Face \r
- max. tolerance: &quot;, Toler[1]</p>\r
-\r
-<p class="whs1">print &quot; Edge \r
- min. tolerance: &quot;, Toler[2]</p>\r
-\r
-<p class="whs1">print &quot; Edge \r
- max. tolerance: &quot;, Toler[3]</p>\r
-\r
-<p class="whs1">print &quot; Vertex \r
- min. tolerance: &quot;, Toler[4]</p>\r
-\r
-<p class="whs1">print &quot; Vertex \r
- max. tolerance: &quot;, Toler[5] </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3>What Is</h3>\r
-\r
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import \r
- geompy</span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a box</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>\r
-\r
-<p class="whs1">Descr = geompy.WhatIs(box)</p>\r
-\r
-<p class="whs1">print &quot;\nBox \r
- 100x30x100 description:&quot;</p>\r
-\r
-<p class="whs1">print Descr </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3>Check Shape</h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create a box</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100,30,100)</p>\r
-\r
-<p class="whs1">IsValid = geompy.CheckShape(box)</p>\r
-\r
-<p class="whs1">if IsValid == 0:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;raise \r
- RuntimeError, &quot;Invalid box created&quot;</p>\r
-\r
-<p class="whs1">else:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;\nBox is valid&quot; </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3>Check Compound of Blocks</h3>\r
-\r
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import \r
- geompy</span></p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create boxes</p>\r
-\r
-<p class="whs1">box1 = geompy.MakeBox(0,0,0,100,50,100)</p>\r
-\r
-<p class="whs1">box2 = geompy.MakeBox(100,0,0,250,50,100)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># make a compound</p>\r
-\r
-<p class="whs1">compound = geompy.MakeCompound([box1, \r
- box2])</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># glue the faces of the \r
- compound</p>\r
-\r
-<p class="whs1">tolerance = 1e-5</p>\r
-\r
-<p class="whs1">glue = geompy.MakeGlueFaces(compound, \r
- tolerance)</p>\r
-\r
-<p class="whs1">IsValid = geompy.CheckCompoundOfBlocks(glue)</p>\r
-\r
-<p class="whs1">if IsValid == 0:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;raise \r
- RuntimeError, &quot;Invalid compound created&quot;</p>\r
-\r
-<p class="whs1">else:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;\nCompound is valid&quot; </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</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
+<!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 geompy</p>
+
+<p>&nbsp;</p>
+
+<p># create a point</p>
+
+<p class="whs1">point = geompy.MakeVertex(15, 
+ 23, 80)</p>
+
+<p>&nbsp;</p>
+
+<p># get the coordinates of the point and check its values</p>
+
+<p class="whs1">coords = geompy.PointCoordinates(point)</p>
+
+<p class="whs1">if coords[0] != 15 
+ or coords[1] != 23 or coords[2] != 80 :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;Coordinates of point must be (15, 23, 80), but returned (&quot;, 
+ coords[0], &quot;, &quot;, coords[1], &quot;, &quot;, coords[2], &quot;)&quot;</p>
+
+<p class="whs1">else :</p>
+
+<p><span style="font-family: 'Lucida Console', monospace;">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;All values are OK.&quot;</span> </p>
+
+<h3>Basic Properties</h3>
+
+<p class="whs1">import geompy</p>
+
+<p class="whs1">import math</p>
+
+<p>&nbsp;</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 &quot;\nBox 
+ 100x30x100 Basic Properties:&quot;</p>
+
+<p class="whs1">print &quot; Wires 
+ length: &quot;, props[0]</p>
+
+<p class="whs1">print &quot; Surface 
+ area: &quot;, props[1]</p>
+
+<p class="whs1">print &quot; Volume 
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 
+ &quot;, 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 &gt; 1e-7 
+ or area &gt; 1e-7 or volume &gt; 1e-7:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;While must be:&quot;</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot; Wires length: &quot;, 1840</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot; Surface area: &quot;, 32000</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot; Volume &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: 
+ &quot;, 300000.</p>
+
+<h3>Center of masses</h3>
+
+<p class="whs1">import geompy</p>
+
+<p class="whs1">import math</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;raise 
+ RuntimeError, &quot;MakeCDG(box) failed&quot;</p>
+
+<p class="whs1">else:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;\nCentre of gravity of box has been successfully obtained:&quot;</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;coords 
+ = geompy.PointCoordinates(cm)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;(&quot;, coords[0], &quot;, &quot;, coords[1], &quot;, &quot;, coords[2], 
+ &quot;)&quot;</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;dx 
+ = math.sqrt((coords[0] - 50)*(coords[0] - 50))</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;dy 
+ = math.sqrt((coords[1] - 15)*(coords[1] - 15))</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;dz 
+ = math.sqrt((coords[2] - 50)*(coords[2] - 50))</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if 
+ dx &gt; 1e-7 or dy &gt; 1e-7 or dz &gt; 1e-7:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;But must be (50, 15, 50)&quot; </p>
+
+<h3>Inertia</h3>
+
+<p class="whs1">import geompy</p>
+
+<p class="whs1">import math</p>
+
+<p class="whs1">&nbsp;</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 &quot;\nInertia 
+ matrix of box 100x30x100:&quot;</p>
+
+<p class="whs1">print &quot; (&quot;, 
+ In[0], &quot;, &quot;, In[1], &quot;, &quot;, In[2], &quot;)&quot;</p>
+
+<p class="whs1">print &quot; (&quot;, 
+ In[3], &quot;, &quot;, In[4], &quot;, &quot;, In[5], &quot;)&quot;</p>
+
+<p class="whs1">print &quot; (&quot;, 
+ In[6], &quot;, &quot;, In[7], &quot;, &quot;, In[8], &quot;)&quot;</p>
+
+<p class="whs1">print &quot;Main moments 
+ of inertia of box 100x30x100:&quot;</p>
+
+<p class="whs1">print &quot; Ix = 
+ &quot;, In[9], &quot;, Iy = &quot;, In[10], &quot;, Iz = &quot;, In[11] 
+ </p>
+
+<p class="whs1">&nbsp;</p>
+
+<h3>Bounding Box</h3>
+
+<p class="whs1">import geompy</p>
+
+<p class="whs1">&nbsp;</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 &quot;\nBounding 
+ Box of box 100x30x100:&quot;</p>
+
+<p class="whs1">print &quot; Xmin 
+ = &quot;, bb[0], &quot;, Xmax = &quot;, bb[1]</p>
+
+<p class="whs1">print &quot; Ymin 
+ = &quot;, bb[2], &quot;, Ymax = &quot;, bb[3]</p>
+
+<p class="whs1">print &quot; Zmin 
+ = &quot;, bb[4], &quot;, Zmax = &quot;, bb[5] </p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs1">&nbsp;</p>
+
+<h3>Minimal Distance </h3>
+
+<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import 
+ geompy</span></p>
+
+<p class="whs1">&nbsp;</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 &quot;\nMinimal 
+ distance between box1 and box2 = &quot;, min_dist </p>
+
+<p class="whs1">&nbsp;</p>
+
+<h3>Tolerance</h3>
+
+<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import 
+ geompy</span></p>
+
+<p class="whs1">&nbsp;</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 &quot;\nBox 
+ 100x30x100 tolerance:&quot;</p>
+
+<p class="whs1">print &quot; Face 
+ min. tolerance: &quot;, Toler[0]</p>
+
+<p class="whs1">print &quot; Face 
+ max. tolerance: &quot;, Toler[1]</p>
+
+<p class="whs1">print &quot; Edge 
+ min. tolerance: &quot;, Toler[2]</p>
+
+<p class="whs1">print &quot; Edge 
+ max. tolerance: &quot;, Toler[3]</p>
+
+<p class="whs1">print &quot; Vertex 
+ min. tolerance: &quot;, Toler[4]</p>
+
+<p class="whs1">print &quot; Vertex 
+ max. tolerance: &quot;, Toler[5] </p>
+
+<p class="whs1">&nbsp;</p>
+
+<h3>What Is</h3>
+
+<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import 
+ geompy</span></p>
+
+<p class="whs1">&nbsp;</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 &quot;\nBox 
+ 100x30x100 description:&quot;</p>
+
+<p class="whs1">print Descr </p>
+
+<p class="whs1">&nbsp;</p>
+
+<h3>Check Shape</h3>
+
+<p class="whs1">import geompy</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;raise 
+ RuntimeError, &quot;Invalid box created&quot;</p>
+
+<p class="whs1">else:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;\nBox is valid&quot; </p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs1">&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"># make a compound</p>
+
+<p class="whs1">compound = geompy.MakeCompound([box1, 
+ box2])</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;raise 
+ RuntimeError, &quot;Invalid compound created&quot;</p>
+
+<p class="whs1">else:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;\nCompound is valid&quot; </p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs1">&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 9858edf4008366c73b6ad0280d44e33da8339b46..dce4702d898e5af710ef51b20db11b2a683fbe61 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Mirror Image</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
-p.whs1 { font-size:12pt; }\r
-img_whs2 { border:none; width:312px; height:350px; float:none; border-style:none; }\r
-img_whs3 { border:none; width:174px; height:233px; float:none; border-style:none; }\r
-img_whs4 { border:none; float:none; width:174px; height:233px; border-style:none; }\r
-p.whs5 { font-size:12pt; margin-left:40px; }\r
-img_whs6 { border:none; width:227px; height:176px; float:none; border-style:none; }\r
-img_whs7 { border:none; float:none; width:199px; height:177px; border-style:none; }\r
-img_whs8 { border:none; width:312px; height:350px; float:none; border-style:none; }\r
-img_whs9 { border:none; float:none; width:250px; height:350px; border-style:none; }\r
-img_whs10 { border:none; float:none; width:248px; height:349px; border-style:none; }\r
-p.whs11 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs11 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nMirror Image");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Mirror Image</h1>\r
-\r
-<p class="whs1"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Mirror Image</B></span> in the Main Menu \r
- select <span style="font-weight: bold;"><B>Operations - &gt; Transformation \r
- - &gt; Mirror Image</B></span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">This operation creates a symmetrical copy of \r
- an <span style="font-weight: bold;"><B>Object, </B></span>which can be mirrored \r
- in three different ways.<span style="font-weight: bold;"><B> Create a copy \r
- </B></span>checkbox allows to keep the initial object, otherwise it will be \r
- removed.</p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Firstly an Object \r
- can be mirrored through a Point of symmetry</font></span></p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command: \r
- </b><span style="font-style: italic;"><I>geompy.MakeMirrorByPoint(Object, \r
- Point)</I></span> </p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments: <span \r
- style="font-weight: normal;">Name + </span></b>1 shape + 1 vertex.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><img src="pics/transformation7.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs2"> &nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><img src="pics/mirror_pointsn1.png" x-maintain-ratio="TRUE" width="174px" height="233px" border="0" class="img_whs3"> &nbsp;<img src="pics/mirror_pointsn2.png" x-maintain-ratio="TRUE" width="174px" height="233px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Secondly an \r
- Object can be mirrored through an Axis of symmetry </font></span></p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command: \r
- </b><span style="font-style: italic;"><I>geompy.MakeMirrorByAxis(Object, \r
- Axis)</I></span> </p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments: <span \r
- style="font-weight: normal;">Name + </span></b>1 shape + 1 vector.</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><img src="pics/transformation8.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs2"> &nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><img src="pics/mirror_axissn1.png" x-maintain-ratio="TRUE" width="227px" height="176px" border="0" class="img_whs6"> &nbsp;<img src="pics/mirror_axissn2.png" x-maintain-ratio="TRUE" width="199px" height="177px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">Finally an <span style="font-weight: bold;"><B>Object</B></span> \r
- can be mirrored through a <span style="font-weight: bold;"><B>Plane</B></span> \r
- of symmetry </p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeMirrorByPlane(Shape, \r
- Plane)</I></span>, </p>\r
-\r
-<p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
- <b><span style="font-weight: normal;">Name + </span></b>1 shape + 1 plane</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><img src="pics/transformation9.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs8"> &nbsp;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1"><img src="pics/mirror_planesn1.png" x-maintain-ratio="TRUE" width="250px" height="350px" border="0" class="img_whs9"> &nbsp;<img src="pics/mirror_planesn2.png" x-maintain-ratio="TRUE" width="248px" height="349px" border="0" class="img_whs10"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs11">&nbsp;&nbsp;<span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark5">Transformation \r
- Operations</a>. </font></span></p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Transformation 
+ - &gt; Mirror Image</B></span></p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><img src="pics/transformation7.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"> &nbsp;</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"><img src="pics/mirror_pointsn1.png" x-maintain-ratio="TRUE" width="174px" height="233px" border="0" class="img_whs4"> &nbsp;<img src="pics/mirror_pointsn2.png" x-maintain-ratio="TRUE" width="174px" height="233px" border="0" class="img_whs5"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><img src="pics/transformation8.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"> &nbsp;</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"><img src="pics/mirror_axissn1.png" x-maintain-ratio="TRUE" width="227px" height="176px" border="0" class="img_whs6"> &nbsp;<img src="pics/mirror_axissn2.png" x-maintain-ratio="TRUE" width="199px" height="177px" border="0" class="img_whs7"></p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><img src="pics/transformation9.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"> &nbsp;</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"><img src="pics/mirror_planesn1.png" x-maintain-ratio="TRUE" width="250px" height="350px" border="0" class="img_whs8"> &nbsp;<img src="pics/mirror_planesn2.png" x-maintain-ratio="TRUE" width="248px" height="349px" border="0" class="img_whs9"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs10">&nbsp;&nbsp;<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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index c98bb203916b0ba16472e4e059c26586bfee9a78..2db2e84a92e5e1c84716fdf495b5588db321088b 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Modify the Location</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:25px; height:22px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:312px; height:350px; float:none; border-style:none; }\r
-img_whs4 { border:none; width:431px; height:233px; border-style:none; }\r
-img_whs5 { border:none; width:312px; height:385px; float:none; border-style:none; }\r
-img_whs6 { border:none; width:326px; height:377px; border-style:none; }\r
-p.whs7 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs7 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nModify the Location");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o<span \r
- style="font-weight: bold;"><B> Modify the Location</B></span> in the Main Menu \r
- select <span style="font-weight: bold;"><B>Operations - &gt; Transformation \r
- - &gt; Modify the Location.</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This operation modifies the <span style="font-weight: bold;"><B>Location</B></span> \r
- of an <span style="font-weight: bold;"><B>Object </B></span></p>\r
-\r
-<p class="whs2">The first algorithm places the object so that \r
- its center coincides with the center of an End Local Coordinate System.</p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B>Create a copy \r
- </B></span>checkbox allows to keep the initial object, otherwise it will be \r
- removed.</p>\r
-\r
-<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> \r
- Name + 1 GEOM_Object + End Coordinate System.</font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/transformation5.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"> &nbsp;&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">In the picture the initial cube with the global \r
- coordinate system is &nbsp;to \r
- the right and the modified cube with the Local Coordinate System in the \r
- center of it is to the left . </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="image30.gif" width="431px" height="233px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">The second algorithm &nbsp;modifies \r
- the location of an object using Start and End LSC, however, it does not \r
- place the object in the center of any of the two systems. &nbsp;</p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B>Create a copy \r
- </B></span>checkbox allows to keep the initial object, otherwise it will be \r
- removed.</p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 GEOM_Object + Start Coordinate System + End Coordinate System.</font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/transformation6.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">In this picture the initial cube with the global \r
- coordinate system is above, the modified cube is below and the End Local \r
- Coordinate System is the big one. </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="image31.gif" width="326px" height="377px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">The <span style="font-weight: bold;"><B>R</B></span><b><span \r
- style="font-weight: bold;"><B>esult</B></span><span style="font-weight: normal;"> \r
- of this operation will be a</span> </b>&nbsp;GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where&nbsp;theObject \r
- is a shape, location of which is modified, theStartLCS is a location to \r
- move the shape from, theEndLCS is a location to move the shape to.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs7"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark2">Transformation \r
- Operations</a>. </font></span></p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Transformation 
+ - &gt; Modify the Location.</B></span></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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>&nbsp;</p>
+
+<p class="whs3"><img src="pics/transformation5.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs4"> &nbsp;&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">In the picture the initial cube with the global 
+ coordinate system is &nbsp;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">&nbsp;</p>
+
+<p class="whs3"><img src="image30.gif" width="431px" height="233px" border="0" class="img_whs5"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">The second algorithm &nbsp;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 &nbsp;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">&nbsp;</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">&nbsp;</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) &nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs3"><img src="image1.gif" width="214px" height="222px" border="0" class="img_whs7"></p>
+
+<p class="whs2">&nbsp;</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>&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> 
+ geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where&nbsp;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">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 5a98460572ca02a46adf5f0711ff1e73c1c5a615..c42f36e7dcae27af3700dc779153232a808a2461 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Multi Rotation</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-weight:bold; }\r
-p.whs4 { font-size:12pt; font-weight:normal; }\r
-img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }\r
-img_whs6 { border:none; float:none; width:315px; height:260px; border-style:none; }\r
-img_whs7 { border:none; float:none; width:301px; height:260px; border-style:none; }\r
-img_whs8 { border:none; width:312px; height:450px; float:none; border-style:none; }\r
-img_whs9 { border:none; float:none; width:310px; height:405px; border-style:none; }\r
-img_whs10 { border:none; float:none; width:337px; height:405px; border-style:none; }\r
-p.whs11 { font-size:12pt; margin-left:40px; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nMulti Rotation");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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"> &nbsp;</font></span>Multi \r
- Rotation</h1>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Multi Rotation</B></span> in the Main Menu \r
- select <span style="font-weight: bold;"><B>Operations - &gt; Transformation \r
- - &gt; Multi Rotation</B></span> </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This operation creates several geometrical \r
- objects rotated in <span style="font-weight: bold;"><B>one </B></span>or <span \r
- style="font-weight: bold;"><B>two </B></span>dimentions basing on the initial \r
- geometrical object. </p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span \r
- style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will \r
- be one or several</span></b> GEOM_Objects (compound).</font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">To produce a <span style="font-weight: bold;"><B>Simple \r
- Multi Rotation</B></span> (in one dimension) you need to define a <span style="font-weight: bold;"><B>Shape</B></span> \r
- to be rotated, an <span style="font-weight: bold;"><B>Axis</B></span> of rotation \r
- and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape \r
- must be rotated. <span style="font-weight: bold;"><B>Rotation Angle</B></span> \r
- will be 2*PI/NbTimes</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI \r
- Command: </b><span style="font-style: italic; font-weight: normal;"><I>geompy.MakeMultiRotate1D(Shape, \r
- Axis, NbTimes)</I></span></p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments: \r
- </b><span style="font-weight: normal;">Name + 1 shape + 1 vector for direction \r
- + 1 value (repetition).</span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4">There is a <span style="font-weight: bold;"><B>TUI</B></span>-only<span \r
- style="font-weight: bold;"> <B></B></span>command <span style="font-style: italic;"><I>geompy.MakeMultiRotation1D(Shape, \r
- Dir, Point, NbTimes)</I></span> which works in the same way, but the Axis \r
- is defined &nbsp;by \r
- direction and point. </p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/neo-mrot1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> </p>\r
-\r
-<p class="whs2"><img src="pics/multi_rotation1d1.png" x-maintain-ratio="TRUE" width="315px" height="260px" border="0" class="img_whs6"> &nbsp;<img src="pics/multi_rotation1d2.png" x-maintain-ratio="TRUE" width="301px" height="260px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B>Double Multi \r
- Rotation</B></span> (in two dimensions) rotates the given <span style="font-weight: bold;"><B>Object</B></span> \r
- around the given <span style="font-weight: bold;"><B>Axis</B></span> on the given \r
- <span style="font-weight: bold;"><B>Angle</B></span> a given <span style="font-weight: bold;"><B>Number \r
- of Times</B></span> and multi-translates each rotation result. &nbsp;Translation \r
- direction passes through the center of gravity of the rotated shape and \r
- its projection on the rotation axis. <span style="font-weight: bold;"><B>Reverse \r
- </B></span>checkbox allows to set the direction of rotation.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">T<span style="font-weight: bold;"><B>UI \r
- Command: </B></span><span style="font-weight: normal;">g</span></b><span style="font-style: italic;"><I>eompy.MakeMultiRotate2D(Shape, \r
- Axis, Angle, NbTimes1, Step, NbTimes2)</I></span></p>\r
-\r
-<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span \r
- style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 vector \r
- for direction + 1 angle + 1 value (repetition) + 1 step value + 1 value \r
- (repetition);</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">There is a <span style="font-weight: bold;"><B>TUI</B></span>-only \r
- command <span style="font-style: italic;"><I>geompy.MakeMultiRotation2D(Shape, \r
- Dir, Point, Angle, nbtimes1, Step, nbtimes2)</I></span> which works in the \r
- same way, but the Axis is defined &nbsp;by \r
- direction and point. </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/neo-mrot2.png" x-maintain-ratio="TRUE" width="312px" height="450px" border="0" class="img_whs8"></p>\r
-\r
-<p class="whs2">&nbsp;&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;<img src="pics/multi_rotation2d1.png" x-maintain-ratio="TRUE" width="310px" height="405px" border="0" class="img_whs9"> <img src="pics/multi_rotation2d2.png" x-maintain-ratio="TRUE" width="337px" height="405px" border="0" class="img_whs10"></p>\r
-\r
-<p class="whs11">&nbsp;&nbsp;&nbsp;&nbsp;</p>\r
-\r
-<p class="whs11">Our <span style="font-weight: bold;"><B>TUI \r
- Scripts</B></span> provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark9">Transformation \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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"> &nbsp;</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 - &gt; Transformation 
+ - &gt; Multi Rotation</B></span> </p>
+
+<p class="whs2">&nbsp;</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>&nbsp;</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">&nbsp;</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 &nbsp;by 
+ direction and point. </p>
+
+<p class="whs3">&nbsp;</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"> &nbsp;<img src="pics/multi_rotation1d2.png" x-maintain-ratio="TRUE" width="301px" height="260px" border="0" class="img_whs8"></p>
+
+<p class="whs2">&nbsp;</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. &nbsp;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">&nbsp;</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 &nbsp;by 
+ direction and point. </p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs5"><img src="pics/multi_rotation2d1.png" x-maintain-ratio="TRUE" width="310px" height="405px" border="0" class="img_whs10"> &nbsp;<img src="pics/multi_rotation2d2.png" x-maintain-ratio="TRUE" width="337px" height="405px" border="0" class="img_whs11"></p>
+
+<p class="whs2">&nbsp;&nbsp;<span 
+ style="font-size: 12pt; margin-left: 40px;"><font size=3 style="font-size:12pt;">&nbsp;&nbsp;&nbsp;&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 8a2708cbef58a9bdaabd90980f0b2f697e4f9878..3362e1f57dbdf8da4d12ca280bc36ff3a1cfd9e7 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Multi Transformation</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:24px; height:22px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-weight:bold; }\r
-img_whs4 { border:none; width:312px; height:381px; float:none; border-style:none; }\r
-img_whs5 { border:none; width:301px; height:306px; float:none; border-style:none; }\r
-img_whs6 { border:none; width:312px; height:494px; float:none; border-style:none; }\r
-img_whs7 { border:none; width:277px; height:304px; float:none; border-style:none; }\r
-p.whs8 { font-weight:bold; }\r
-p.whs9 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs9 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nBlocks Operations\nMulti Transformation");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1><img src="image52.gif" width="24px" height="22px" border="0" class="img_whs1"> Block Multi Transformation</h1>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Multi Translation</B></span> operation \r
- in the Main Menu select <span style="font-weight: bold;"><B>Operations - \r
- &gt; Blocks - &gt; Multi Transformation</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This operation makes several translations of \r
- a block (solid) in <span style="font-weight: bold;"><B>one</B></span> or <span \r
- style="font-weight: bold;"><B>two</B></span> directions depending on the arguments \r
- specified by the user.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result<span style="font-weight: normal;"> in both cases will be a</span></b> \r
- GEOM_Object.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Simple Multi \r
- Transformation (in one direction).</b></p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI \r
- Command:</b><i> </i><span style="font-style: italic; font-weight: normal;"><I>geompy. \r
- MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes), </I></span><span \r
- style="font-weight: normal;">where</span><span style="font-style: italic; font-weight: normal;"><I> \r
- Block </I></span><span style="font-weight: normal;">is a block to be transformed,</span><span \r
- style="font-style: italic; font-weight: normal;"><I> DirFaceID1 </I></span><span \r
- style="font-weight: normal;">is an ID of the face which defines the first \r
- direction of transformation,</span><span style="font-style: italic; font-weight: normal;"><I> \r
- DirFaceID2 </I></span><span style="font-weight: normal;">is an ID of the face \r
- which defines the second direction of transformation,</span><span style="font-style: italic; font-weight: normal;"><I> \r
- NbTimes </I></span><span style="font-weight: normal;">is a number of transformations.</span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
- + 1 hexahedral solid + 1 or 2 faces + 1 integer (number of blocks).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/mtransf1.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs4"> &nbsp;&nbsp;<img src="pics/multi_transformationsn1d.png" x-maintain-ratio="TRUE" width="301px" height="306px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Double \r
- Multi Transformation (in two directions).</b></font></span></p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI \r
- Command:</b><i> </i></B></span><span style="font-size: 12pt; font-style: italic;"><font size=3 style="font-size:12pt;"><I>geompy. \r
- MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU, DirFaceID1V, \r
- DirFaceID2V, NbTimesV)</I></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Block \r
- is a block to be transformed, DirFaceID1U and DirFace1V are IDs of the \r
- faces, which define directions of the first transformation, DirFaceID1V \r
- and DirFaceID2V are ID\92s of the faces which define directions of the second \r
- transformation, NbTimesU and NbTimesV are numbers of transformations.</font></span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: &nbsp;</b><span \r
- style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name \r
- + 1 hexahedral solid + 2, 3 or 4 faces + 2 integers (number of blocks).</font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/mtransf2.png" x-maintain-ratio="TRUE" width="312px" height="494px" border="0" class="img_whs6"> &nbsp;<img src="pics/multi_transformationsn2d.png" x-maintain-ratio="TRUE" width="277px" height="304px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs8">&nbsp;&nbsp;&nbsp;<span \r
- style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Our</font></span><span \r
- 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;"> \r
- provide you with useful examples of the use of</font></span><span style="font-size: 12pt;"> \r
- <font size=3 style="font-size:12pt;"><a href="blocks_operations.htm#bookmark4">Blocks Operations</a>. </font></span></p>\r
-\r
-<p class="whs8">&nbsp;&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs9">&nbsp;</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
+<!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 - 
+ &gt; Blocks - &gt; Multi Transformation</B></span></p>
+
+<p class="whs2">&nbsp;</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>&nbsp;</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">&nbsp;</p>
+
+<p class="whs4"><img src="pics/mtransf1.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs5"> &nbsp;&nbsp;<img src="pics/multi_transformationsn1d.png" x-maintain-ratio="TRUE" width="301px" height="306px" border="0" class="img_whs6"></p>
+
+<p class="whs2">&nbsp;</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: &nbsp;</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">&nbsp;</p>
+
+<p class="whs4"><img src="pics/mtransf2.png" x-maintain-ratio="TRUE" width="312px" height="494px" border="0" class="img_whs7"> &nbsp;<img src="pics/multi_transformationsn2d.png" x-maintain-ratio="TRUE" width="277px" height="304px" border="0" class="img_whs8"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs9">&nbsp;&nbsp;&nbsp;<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">&nbsp;&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p class="whs10">&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 95312679ddc3e86bfd655424cf49b32f06375158..05449ca5a6370170fb38ce19a6e0359daaf0a2a0 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Multi Translation</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:312px; height:398px; float:none; border-style:none; }\r
-img_whs4 { border:none; height:203px; float:none; width:282px; border-style:none; }\r
-img_whs5 { border:none; width:291px; height:202px; float:none; border-style:none; }\r
-img_whs6 { border:none; width:312px; height:509px; float:none; border-style:none; }\r
-img_whs7 { border:none; float:none; width:292px; height:209px; border-style:none; }\r
-img_whs8 { border:none; width:288px; height:209px; float:none; border-style:none; }\r
-p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nMulti Translation");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Multi Translation</B></span> in the Main \r
- Menu select <span style="font-weight: bold;"><B>Operations - &gt; Transformation \r
- - &gt; Multi Translation</B></span> </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">This operation</b> \r
- makes several translations of a shape in <span style="font-weight: bold;"><B>one</B></span> \r
- or <span style="font-weight: bold;"><B>two</B></span> directions.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be one or several</span></b> \r
- GEOM_Objects (compound).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">To produce a <span style="font-weight: bold;"><B>Simple \r
- Multi Translation</B></span> (in one direction) you need to indicate a <span \r
- style="font-weight: bold;"><B>Shape</B></span> to be translated, a <span style="font-weight: bold;"><B>Vector</B></span> \r
- of translation, a <span style="font-weight: bold;"><B>Step</B></span> of translation \r
- and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape \r
- must be moved.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command: \r
- </b><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape, \r
- Dir, Step, NbTimes)</I></span></p>\r
-\r
-<p class="whs2"><b>A<span style="font-weight: bold;"><B>rguments: \r
- </B></span></b>Name + 1 shape + 1 vector (for direction) + 1 step value + \r
- 1 value (repetition).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;<img src="pics/mtrans1.png" x-maintain-ratio="TRUE" width="312px" height="398px" border="0" class="img_whs3"> &nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/multi_translation_initialsn.png" x-maintain-ratio="TRUE" height="203px" width="282px" border="0" class="img_whs4"> &nbsp;<img src="pics/multi_translation1dsn.png" x-maintain-ratio="TRUE" width="291px" height="202px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">To produce a <span style="font-weight: bold;"><B>Double \r
- Multi Translation</B></span> (in two directions) you need to indicate a <span \r
- style="font-weight: bold;"><B>Shape</B></span> to be translated and a <span style="font-weight: bold;"><B>Vector</B></span> \r
- of translation, a <span style="font-weight: bold;"><B>Step</B></span> of translation \r
- and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape \r
- must be moved along each axis.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b>TUI Command: <span style="font-style: italic; font-weight: normal;"><I>g</I></span></b><span \r
- style="font-style: italic;"><I>eompy.MakeMultiTranslation2D(Shape, Dir1, \r
- Step1, NbTimes1, Dir2, Step2, NbTimes2)</I></span>, where <span style="font-style: italic;"><I>Shape</I></span> \r
- is a shape to be translated, <span style="font-style: italic;"><I>Dir1</I></span> \r
- is the first direction of translation, <span style="font-style: italic;"><I>Step1</I></span> \r
- of the first translation, <span style="font-style: italic;"><I>NbTimes1</I></span> \r
- is a number of translations to be done along <span style="font-style: italic;"><I>Dir1</I></span>, \r
- <span style="font-style: italic;"><I>Dir2</I></span> is the second direction \r
- of translation, <span style="font-style: italic;"><I>Step2</I></span> of the \r
- second translation, <span style="font-style: italic;"><I>NbTimes2</I></span> \r
- is a number of translations to be done along <span style="font-style: italic;"><I>Dir2</I></span>.</p>\r
-\r
-<p class="whs2"><b>A<span style="font-weight: bold;"><B>rguments: \r
- </B></span></b>Name + 1 shape + 2 vectors defining the direction + 2 step \r
- values + 2 values (repetitions).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/mtrans2.png" x-maintain-ratio="TRUE" width="312px" height="509px" border="0" class="img_whs6"> </p>\r
-\r
-<p class="whs2"><img src="pics/multi_translation_initialsn.png" x-maintain-ratio="TRUE" width="292px" height="209px" border="0" class="img_whs7"> &nbsp;<img src="pics/multi_translation2dsn.png" x-maintain-ratio="TRUE" width="288px" height="209px" border="0" class="img_whs8"></p>\r
-\r
-<p class="whs9">&nbsp;&nbsp;</p>\r
-\r
-<p class="whs9"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark8">Transformation \r
- Operations</a>. </font></span></p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Transformation 
+ - &gt; Multi Translation</B></span> </p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs3"><img src="pics/multi_translation_initialsn.png" x-maintain-ratio="TRUE" height="203px" width="282px" border="0" class="img_whs5"> &nbsp;&nbsp;<img src="pics/multi_translation1dsn.png" x-maintain-ratio="TRUE" width="291px" height="202px" border="0" class="img_whs6"></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs3"><img src="pics/multi_translation_initialsn.png" x-maintain-ratio="TRUE" width="292px" height="209px" border="0" class="img_whs8"> &nbsp;&nbsp;&nbsp;<img src="pics/multi_translation2dsn.png" x-maintain-ratio="TRUE" width="288px" height="209px" border="0" class="img_whs9"></p>
+
+<p class="whs2">&nbsp;<span style="list-style: disc;
+       margin-left: 0in;
+       margin-right: 0in;
+       margin-top: 0px;
+       margin-bottom: 0px;">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index f1ea5806ad606f8eafd3281931499c47c38337e9..1fcbf4c894f87a9f5bcf3524448c41c65ea3d054 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Blocks</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
-p.whs1 { font-size:14pt; font-weight:bold; }\r
-img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
-ul.whs3 { list-style:disc; }\r
-img_whs4 { border:none; width:23px; height:22px; border-style:none; }\r
-p.whs5 { font-size:12pt; }\r
-p.whs6 { font-size:12pt; font-style:italic; font-weight:normal; }\r
-table.whs7 { x-cell-content-align:top; width:66.515%; border-spacing:0px; }\r
-col.whs8 { width:32.996%; }\r
-col.whs9 { width:33.052%; }\r
-col.whs10 { width:33.952%; }\r
-tr.whs11 { x-cell-content-align:top; }\r
-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; }\r
-img_whs13 { border:none; width:312px; height:410px; float:none; border-style:none; }\r
-td.whs14 { width:33.052%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }\r
-td.whs15 { width:33.952%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
-p.whs16 { font-weight:bold; }\r
-img_whs17 { border:none; width:250px; height:195px; border-style:none; }\r
-img_whs18 { border:none; width:24px; height:22px; border-style:none; }\r
-table.whs19 { x-cell-content-align:top; width:40.406%; border-spacing:0px; }\r
-col.whs20 { width:49.761%; }\r
-col.whs21 { width:50.239%; }\r
-td.whs22 { 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; }\r
-img_whs23 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
-td.whs24 { width:50.239%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
-img_whs25 { border:none; width:312px; height:464px; float:none; border-style:none; }\r
-p.whs26 { font-size:12pt; font-weight:bold; }\r
-p.whs27 { font-size:12pt; font-weight:bold; margin-left:0px; }\r
-img_whs28 { border:none; width:300px; height:234px; float:none; border-style:none; }\r
-img_whs29 { border:none; width:251px; height:234px; border-style:none; }\r
-p.whs30 { font-size:12pt; margin-left:40px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs27 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nBuilding by blocks");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Building by blocks</h1>\r
-\r
-<p class="whs1"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Introduction.</B></font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Below are some general notions about blocks:</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<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 \r
- has specific geometric constraints oriented for meshing. In the hexahedral \r
- case, blocks have 6 faces and each face has 4 edges. &nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Tetrahedral Block - is a block with constraints for tetrahedral meshing. \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Hexahedral Block - is a block with constraints for hexahedral meshing.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Block Compound - is a compound composed of blocks only.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>These functionalities are available from the main menu via <span style="font-style: italic;"><I>New \r
- Entity / Blocks.</I></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p><a href="#QuadrangleFace">Quadrangle face</a></p></li>\r
-       \r
-       <li class=kadov-p><p><a href="#HexahedralSolid">Hexahedral solid</a></p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<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 \r
- face</B></font></span></a></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
- Builds a face using the below mentioned arguments. This operation allows \r
- to build a face bypassing the intermediate stage of building edges and \r
- wires (in the case of building by 4 points) or wires (in the case of building \r
- by 4 or 2 edges).</font></span></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;"><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">T</b><b>he</font></span><span \r
- 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 \r
- 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 \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> (face).</font></span></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs6"><b style="font-weight: normal;">geompy.MakeQuad4Vertices(V1, \r
- V2, V3, V4), <span style="font-style: normal;">where V1, V2, V3, V4 are \r
- four vertices from which a face is constructed. Edges are created automatically.</span></b></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeQuad2Edges(E1, \r
- E2)</I></span>, where E1, E2 are edges from which the face is constructed, \r
- two other edges are created automatically.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><b style="font-weight: normal;"><span \r
- style="font-style: italic;"><I>g</b>eompy.MakeQuad(E1, E2, E3, E4)</I></span>, \r
- where E1, E2, E3, E4 are four edges from which the face is constructed.</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b> \r
- </p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs5">Name + 4 Points, or</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5">Name + 2 Edges, or </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5">Name + 4 Edges.</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<table x-use-null-cells cellspacing="0" width="66.515%" class="whs7">\r
-<col class="whs8">\r
-<col class="whs9">\r
-<col class="whs10">\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="32.996%" class="whs12">\r
-<p><img src="pics/block1.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td>\r
-<td width="33.052%" class="whs14">\r
-<p><img src="pics/block2.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td>\r
-<td width="33.952%" class="whs15">\r
-<p><img src="pics/block3.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td></tr>\r
-</table>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs16">Example:</p>\r
-\r
-<p class="whs16">&nbsp;</p>\r
-\r
-<p><img src="image185.jpg" width="250px" height="195px" border="0" class="img_whs17"> </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><a name=HexahedralSolid><img src="image51.gif" width="24px" height="22px" border="0" class="img_whs18"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Hexahedral \r
- solid</B></font></span></a></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Description:</b> \r
- Builds a hexahedral solid. either of the below mentioned arguments. This \r
- operation allows to build a solid bypassing the intermediate stage of \r
- building a shell and 4 faces (in the case of building by 2 faces) or just \r
- a shell (in the case of building by 6 faces).</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b><span style="font-weight: normal;">The</span> \r
- Result<span style="font-weight: normal;"> of the operation will be a</span></b><b> \r
- GEOM_Object</b> (solid).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexa2Faces(F1, \r
- F2)</I></span><span style="font-style: italic;"><I>, where F1 and F2 are faces \r
- from which the hexahedron is constructed, other four faces are created \r
- automatically.</I></span></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexa(F1, \r
- F2, F3, F4, F5, F6)</I></span>, where F1 \96 F6 are six faces from which the \r
- hexahedron is constructed.</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Arguments:</b> \r
- </p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs5">Name + 2 Faces, or </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5">Name + 6 Faces.</p></li>\r
-</ul>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<table x-use-null-cells cellspacing="0" width="40.406%" class="whs19">\r
-<col class="whs20">\r
-<col class="whs21">\r
-\r
-<tr valign="top" class="whs11">\r
-<td width="49.761%" class="whs22">\r
-<p class="whs5"><b style="font-weight: bold;">&nbsp;<img src="pics/block4.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs23"></b></td>\r
-<td width="50.239%" class="whs24">\r
-<p><img src="pics/block5.png" x-maintain-ratio="TRUE" width="312px" height="464px" border="0" class="img_whs25"></td></tr>\r
-</table>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs26">Example:</p>\r
-\r
-<p class="whs26">&nbsp;</p>\r
-\r
-<p class="whs27"><img src="image180.jpg" x-maintain-ratio="TRUE" width="300px" height="234px" border="0" class="img_whs28"> &nbsp;&nbsp;&nbsp;<img src="image181.jpg" width="251px" height="234px" border="0" class="img_whs29"> &nbsp;</p>\r
-\r
-<p class="whs30"><b style="font-weight: bold;">&nbsp;&nbsp;&nbsp;</b>&nbsp;&nbsp;</p>\r
-\r
-<p class="whs5">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
- provide you with useful examples of <a href="building_by_blocks.htm">Building \r
- by Blocks</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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>&nbsp;</p>
+
+<p>Below are some general notions about blocks:</p>
+
+<p>&nbsp;</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. &nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p>Tetrahedral Block - is a block with constraints for tetrahedral meshing. 
+ </p>
+
+<p>&nbsp;</p>
+
+<p>Hexahedral Block - is a block with constraints for hexahedral meshing.</p>
+
+<p>&nbsp;</p>
+
+<p>Block Compound - is a compound composed of blocks only.</p>
+
+<p>&nbsp;</p>
+
+<p>These functionalities are available from the main menu via <span style="font-style: italic;"><I>New 
+ Entity / Blocks.</I></span></p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p>&nbsp;</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>&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p class="whs16">Example:</p>
+
+<p class="whs16">&nbsp;</p>
+
+<p class="whs17"><img src="image185.jpg" width="250px" height="195px" border="0" class="img_whs18"> </p>
+
+<p>&nbsp;</p>
+
+<p>&nbsp;</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>&nbsp;</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">&nbsp;</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>&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
+
+<p class="whs5">&nbsp;</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;">&nbsp;<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">&nbsp;</td>
+<td colspan="1" rowspan="1" width="50.239%" class="whs28">
+<p>&nbsp;</td></tr>
+</table>
+
+<p class="whs5">&nbsp;</p>
+
+<p class="whs29">Example:</p>
+
+<p class="whs29">&nbsp;</p>
+
+<p class="whs30"><img src="image180.jpg" x-maintain-ratio="TRUE" width="300px" height="234px" border="0" class="img_whs31"> &nbsp;&nbsp;&nbsp;<img src="image181.jpg" width="251px" height="234px" border="0" class="img_whs32"> &nbsp;</p>
+
+<p class="whs33"><b style="font-weight: bold;">&nbsp;&nbsp;&nbsp;</b>&nbsp;&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 171561038c1bceb52c64a2917cd799af68a4d25d..6e9bd37c2eda0bbd9f2b9d726e71465062bee2af 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>OCC_Viewer</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:291px; height:29px; float:none; border-style:none; }\r
-ul.whs2 { list-style:disc; }\r
-img_whs3 { border:none; width:26px; height:25px; float:none; border-style:none; }\r
-img_whs4 { border:none; width:27px; height:25px; float:none; border-style:none; }\r
-img_whs5 { border:none; width:24px; height:23px; float:none; border-style:none; }\r
-img_whs6 { border:none; width:24px; height:24px; float:none; border-style:none; }\r
-img_whs7 { border:none; width:25px; height:24px; float:none; border-style:none; }\r
-img_whs8 { border:none; width:23px; height:23px; float:none; border-style:none; }\r
-img_whs9 { border:none; width:26px; height:26px; float:none; border-style:none; }\r
-img_whs10 { border:none; width:78px; height:147px; float:none; border-style:none; }\r
-img_whs11 { border:none; height:26px; float:none; width:29px; border-style:none; }\r
-img_whs12 { border:none; width:26px; height:24px; float:none; border-style:none; }\r
-img_whs13 { border:none; width:28px; height:29px; float:none; border-style:none; }\r
-img_whs14 { border:none; width:29px; height:26px; float:none; border-style:none; }\r
-p.whs15 { margin-left:40px; }\r
-img_whs16 { border:none; width:395px; height:280px; float:none; border-style:none; }\r
-p.whs17 { margin-left:84px; }\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\nViewing geometrical objects\nOCC 3D Viewer");\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>OCC 3D Viewer</h1>\r
-\r
-<p><span style="font-weight: bold;"><B>OCC (Open CasCade) 3D viewer</B></span> \r
- has been developed on the basis of Open CASCADE Technology. This is the \r
- default viewer for Geometry Module, providing good representation of construction \r
- and transformation of geometrical objects. Only this viewer allows to \r
- work with groups and sub-shapes. This viewer can also work in Mesh module, \r
- however, it doesn't allow to visualize meshes. </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>The functions of OCC viewer are available via its Viewer Toolbar. Buttons \r
- marked with small downward triangles have extended functionality which \r
- can be accessed by locking on them with left mouse button. &nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><img src="pics/image95.gif" x-maintain-ratio="TRUE" width="291px" height="29px" border="0" class="img_whs1"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p><img src="pics/image77.gif" x-maintain-ratio="TRUE" width="26px" height="25px" border="0" class="img_whs3"> <span style="font-weight: bold;"><B>Dump \r
- View</B></span> - exports an object from the viewer in bmp, png, jpg or jpeg \r
- image format. </p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image88.gif" x-maintain-ratio="TRUE" width="27px" height="25px" border="0" class="img_whs4"> <span style="font-weight: bold;"><B>Show/Hide \r
- Trihedron</B></span> - shows or hides coordinate axes. </p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image96.gif" x-maintain-ratio="TRUE" width="24px" height="23px" border="0" class="img_whs5"> &nbsp;<span \r
- style="font-weight: bold;"><B>Fit all - </B></span>allows \r
- to select a point to be the center of a scene representing all displayed \r
- objects in the visible area.<span style="font-weight: bold;"> <B></B></span></p></li>\r
-       \r
-       <li class=kadov-p><p>&nbsp;<img src="pics/image97.gif" x-maintain-ratio="TRUE" width="24px" height="24px" border="0" class="img_whs6"> <span style="font-weight: bold;"><B>Fit area</B></span> - resizes \r
- the view to place in the visible area only the contents of a frame drawn \r
- with pressed left mouse button.</p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image98.gif" x-maintain-ratio="TRUE" width="25px" height="24px" border="0" class="img_whs7"> <span style="font-weight: bold;"><B>Zoom</B></span> \r
- - &nbsp;allows \r
- to zoom in and out. </p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image99.gif" x-maintain-ratio="TRUE" width="23px" height="23px" border="0" class="img_whs8"> <span style="font-weight: bold;"><B>Panning</B></span> \r
- - if the represented objects are greater that the visible area and you \r
- don't wish to use <span style="font-weight: bold;"><B>Fit all</B></span> functionality, \r
- click on this button and you'll be able to drag the scene to see its remote \r
- parts. </p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image100.gif" x-maintain-ratio="TRUE" width="24px" height="24px" border="0" class="img_whs6"> <span style="font-weight: bold;"><B>Global \r
- panning</B></span> - represents all displayed objects in the visible area. \r
- </p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image89.gif" x-maintain-ratio="TRUE" width="26px" height="26px" border="0" class="img_whs9"> <span style="font-weight: bold;"><B>Rotation</B></span> \r
- - allows to rotate the selected object using the mouse. </p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image102.gif" x-maintain-ratio="TRUE" width="78px" height="147px" border="0" class="img_whs10"> These buttons orientate the scene \r
- strictly about coordinate axes.</p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image91.gif" x-maintain-ratio="TRUE" height="26px" width="29px" border="0" class="img_whs11"> <span style="font-weight: bold;"><B>Reset</B></span> \r
- - restores the default position (isometric) of objects in the scene.</p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image103.gif" x-maintain-ratio="TRUE" width="26px" height="24px" border="0" class="img_whs12"> <span style="font-weight: bold;"><B>Memorise \r
- view</B></span> - saves the current position of objects in the scene</p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image105.gif" x-maintain-ratio="TRUE" width="26px" height="25px" border="0" class="img_whs3"> <span style="font-weight: bold;"><B>Restore \r
- view - </B></span>restores the<span style="font-weight: bold;"> <B></B></span>saved \r
- position of objects in the scene</p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image86.gif" x-maintain-ratio="TRUE" width="28px" height="29px" border="0" class="img_whs13"> <span style="font-weight: bold;"><B>Clone \r
- view</B></span> - opens a new duplicate scene.</p></li>\r
-       \r
-       <li class=kadov-p><p><img src="pics/image106.gif" x-maintain-ratio="TRUE" width="29px" height="26px" border="0" class="img_whs14"> <span style="font-weight: bold;"><B>Clipping \r
- -</B></span> allows to create cross-section views (clipping planes) of geometrical \r
- objects.</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs15"><img src="pics/clipping.png" x-maintain-ratio="TRUE" width="395px" height="280px" border="0" class="img_whs16"></p>\r
-\r
-<p class="whs15">&nbsp;</p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p class="whs15"><span style="font-weight: bold;"><B>Base \r
- point</B></span> - allows to define the coordinates of the base point for \r
- the clipping plane. Click </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs17"><span style="font-weight: bold;"><B>Reset</B></span> \r
- - returns the base point to coordinate origin. </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs15"><span style="font-weight: bold;"><B>Direction</B></span> \r
- - allows to define the orientation of the clipping plane.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs17"><span style="font-weight: bold;"><B>Invert</B></span> \r
- - allows to select which part of the object will be removed and which \r
- will remain after clipping. </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs15"><span style="font-weight: bold;"><B>Preview</B></span> \r
- - allows to see the results of clipping in the viewer.</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</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
+<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
+
+<html>
+
+<head>
+<title>OCC_Viewer</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:291px; height:29px; float:none; border-style:none; }
+ul.whs2 { list-style:disc; }
+img_whs3 { border:none; width:26px; height:25px; float:none; border-style:none; }
+img_whs4 { border:none; width:27px; height:25px; float:none; border-style:none; }
+img_whs5 { border:none; width:24px; height:23px; float:none; border-style:none; }
+img_whs6 { border:none; width:24px; height:24px; float:none; border-style:none; }
+img_whs7 { border:none; width:25px; height:24px; float:none; border-style:none; }
+img_whs8 { border:none; width:23px; height:23px; float:none; border-style:none; }
+img_whs9 { border:none; width:26px; height:26px; float:none; border-style:none; }
+img_whs10 { border:none; width:78px; height:147px; float:none; border-style:none; }
+img_whs11 { border:none; height:26px; float:none; width:29px; border-style:none; }
+img_whs12 { border:none; width:26px; height:24px; float:none; border-style:none; }
+img_whs13 { border:none; width:28px; height:29px; float:none; border-style:none; }
+img_whs14 { border:none; width:29px; height:26px; float:none; border-style:none; }
+p.whs15 { margin-left:40px; }
+img_whs16 { border:none; width:395px; height:280px; float:none; border-style:none; }
+p.whs17 { margin-left:84px; }
+-->
+</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\nOCC 3D Viewer");
+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>OCC 3D Viewer</h1>
+
+<p><span style="font-weight: bold;"><B>OCC (Open CasCade) 3D viewer</B></span> 
+ has been developed on the basis of Open CASCADE Technology. This is the 
+ default viewer for Geometry Module, providing good representation of construction 
+ and transformation of geometrical objects. Only this viewer allows to 
+ work with groups and sub-shapes. This viewer can also work in Mesh module, 
+ however, it doesn't allow to visualize meshes. </p>
+
+<p>&nbsp;</p>
+
+<p>The functions of OCC viewer are available via its Viewer Toolbar. Buttons 
+ marked with small downward triangles have extended functionality which 
+ can be accessed by locking on them with left mouse button. &nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p><img src="pics/image95.gif" x-maintain-ratio="TRUE" width="291px" height="29px" border="0" class="img_whs1"></p>
+
+<p>&nbsp;</p>
+
+<ul type="disc" class="whs2">
+       
+       <li class=kadov-p><p><img src="pics/image77.gif" x-maintain-ratio="TRUE" width="26px" height="25px" border="0" class="img_whs3"> <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><img src="pics/image88.gif" x-maintain-ratio="TRUE" width="27px" height="25px" border="0" class="img_whs4"> <span style="font-weight: bold;"><B>Show/Hide 
+ Trihedron</B></span> - shows or hides coordinate axes. </p></li>
+       
+       <li class=kadov-p><p><img src="pics/image96.gif" x-maintain-ratio="TRUE" width="24px" height="23px" border="0" class="img_whs5"> &nbsp;<span 
+ style="font-weight: bold;"><B>Fit all - </B></span>allows 
+ to select a point to be the center of a scene representing all displayed 
+ objects in the visible area.<span style="font-weight: bold;"> <B></B></span></p></li>
+       
+       <li class=kadov-p><p>&nbsp;<img src="pics/image97.gif" x-maintain-ratio="TRUE" width="24px" height="24px" border="0" class="img_whs6"> <span style="font-weight: bold;"><B>Fit area</B></span> - resizes 
+ the view to place in the visible area only the contents of a frame drawn 
+ with pressed left mouse button.</p></li>
+       
+       <li class=kadov-p><p><img src="pics/image98.gif" x-maintain-ratio="TRUE" width="25px" height="24px" border="0" class="img_whs7"> <span style="font-weight: bold;"><B>Zoom</B></span> 
+ - &nbsp;allows 
+ to zoom in and out. </p></li>
+       
+       <li class=kadov-p><p><img src="pics/image99.gif" x-maintain-ratio="TRUE" width="23px" height="23px" border="0" class="img_whs8"> <span style="font-weight: bold;"><B>Panning</B></span> 
+ - if the represented objects are greater that the visible area and you 
+ don't wish to use <span style="font-weight: bold;"><B>Fit all</B></span> functionality, 
+ click on this button and you'll be able to drag the scene to see its remote 
+ parts. </p></li>
+       
+       <li class=kadov-p><p><img src="pics/image100.gif" x-maintain-ratio="TRUE" width="24px" height="24px" border="0" class="img_whs6"> <span style="font-weight: bold;"><B>Global 
+ panning</B></span> - represents all displayed objects in the visible area. 
+ </p></li>
+       
+       <li class=kadov-p><p><img src="pics/image89.gif" x-maintain-ratio="TRUE" width="26px" height="26px" border="0" class="img_whs9"> <span style="font-weight: bold;"><B>Rotation</B></span> 
+ - allows to rotate the selected object using the mouse. </p></li>
+       
+       <li class=kadov-p><p><img src="pics/image102.gif" x-maintain-ratio="TRUE" width="78px" height="147px" border="0" class="img_whs10"> These buttons orientate the scene 
+ strictly about coordinate axes.</p></li>
+       
+       <li class=kadov-p><p><img src="pics/image91.gif" x-maintain-ratio="TRUE" height="26px" width="29px" border="0" class="img_whs11"> <span style="font-weight: bold;"><B>Reset</B></span> 
+ - restores the default position (isometric) of objects in the scene.</p></li>
+       
+       <li class=kadov-p><p><img src="pics/image103.gif" x-maintain-ratio="TRUE" width="26px" height="24px" border="0" class="img_whs12"> <span style="font-weight: bold;"><B>Memorise 
+ view</B></span> - saves the current position of objects in the scene</p></li>
+       
+       <li class=kadov-p><p><img src="pics/image105.gif" x-maintain-ratio="TRUE" width="26px" height="25px" border="0" class="img_whs3"> <span style="font-weight: bold;"><B>Restore 
+ view - </B></span>restores the<span style="font-weight: bold;"> <B></B></span>saved 
+ position of objects in the scene</p></li>
+       
+       <li class=kadov-p><p><img src="pics/image86.gif" x-maintain-ratio="TRUE" width="28px" height="29px" border="0" class="img_whs13"> <span style="font-weight: bold;"><B>Clone 
+ view</B></span> - opens a new duplicate scene.</p></li>
+       
+       <li class=kadov-p><p><img src="pics/image106.gif" x-maintain-ratio="TRUE" width="29px" height="26px" border="0" class="img_whs14"> <span style="font-weight: bold;"><B>Clipping 
+ -</B></span> allows to create cross-section views (clipping planes) of geometrical 
+ objects.</p></li>
+</ul>
+
+<p>&nbsp;</p>
+
+<p class="whs15"><img src="pics/clipping.png" x-maintain-ratio="TRUE" width="395px" height="280px" border="0" class="img_whs16"></p>
+
+<p class="whs15">&nbsp;</p>
+
+<ul type="disc" class="whs2">
+       
+       <li class=kadov-p><p class="whs15"><span style="font-weight: bold;"><B>Base 
+ point</B></span> - allows to define the coordinates of the base point for 
+ the clipping plane. Click </p></li>
+       
+       <li class=kadov-p><p class="whs17"><span style="font-weight: bold;"><B>Reset</B></span> 
+ - returns the base point to coordinate origin. </p></li>
+       
+       <li class=kadov-p><p class="whs15"><span style="font-weight: bold;"><B>Direction</B></span> 
+ - allows to define the orientation of the clipping plane.</p></li>
+       
+       <li class=kadov-p><p class="whs17"><span style="font-weight: bold;"><B>Invert</B></span> 
+ - allows to select which part of the object will be removed and which 
+ will remain after clipping. </p></li>
+       
+       <li class=kadov-p><p class="whs15"><span style="font-weight: bold;"><B>Preview</B></span> 
+ - allows to see the results of clipping in the viewer.</p></li>
+</ul>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 204a067b7053511aa0e00c46d09a2d549a8256b2..776c23f698c5a31cc88f2302ba722901220b7bc1 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Offset Surface</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:24px; height:22px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
-img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }\r
-p.whs5 { font-size:12pt; font-weight:bold; }\r
-p.whs6 { font-size:12pt; margin-left:40px; }\r
-img_whs7 { border:none; width:235px; height:236px; float:none; border-style:none; }\r
-p.whs8 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs8 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nOffset Surface");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- an <span style="font-weight: bold;"><B>Offset Surface</B></span> in the Main \r
- Menu select <span style="font-weight: bold;"><B>Operations - &gt; Transformation \r
- - &gt;</B></span> <span style="font-weight: bold;"><B>Offset Surface</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">This operation<span style="font-weight: bold;"> \r
- <B></B></span>translates each point of an<span style="font-weight: bold;"><B> Object</B></span> \r
- (a set of Objects) along a local normal by a given <span style="font-weight: bold;"><B>Offset</B></span> \r
- distance (signed number, negative value meaning inner offset). <span style="font-weight: bold;"><B>Offset</B></span> \r
- operation is applicable to faces, shells and solids.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object \r
- </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: bold;"><B>T</B></span>UI \r
- Command: </b><span style="font-style: italic;"><I>geompy.MakeOffset(Shape, \r
- Offset)</I></span>, where Shape is a shape which has to be an offset, Offset \r
- is a value of the offset.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b><span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + Object (face, shell, solid, compound) \r
- + Offset value </font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/transformation11.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs5">Example:</p>\r
-\r
-<p class="whs6"><img src="pics/offsetsn.png" x-maintain-ratio="TRUE" width="235px" height="236px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs8">&nbsp;&nbsp;<span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark7">Transformation \r
- Operations</a>. </font></span></p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Transformation 
+ - &gt;</B></span> <span style="font-weight: bold;"><B>Offset Surface</B></span></p>
+
+<p>&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs8">&nbsp;&nbsp;<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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 49cd51c2c210fd9afd022ae213a0f2f9fbacb736..5ccff637ca3d8c4e8f41e813bfe44fb5f7797bc7 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Partition</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-weight:normal; }\r
-p.whs4 { font-weight:bold; font-size:14pt; }\r
-p.whs5 { font-size:12pt; font-weight:bold; }\r
-img_whs6 { border:none; width:312px; height:483px; float:none; border-style:none; }\r
-img_whs7 { border:none; width:448px; height:302px; float:none; border-style:none; }\r
-p.whs8 { font-size:12pt; margin-left:40px; }\r
-img_whs9 { border:none; float:none; width:297px; height:245px; border-style:none; }\r
-img_whs10 { border:none; float:none; width:273px; height:245px; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nBasic Operations\nPartition");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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"> &nbsp;</font></span></b>Partition</h1>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Partition</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>Operations - &gt; Partition</B></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b><span style="font-weight: normal;">This \r
- operation </b>builds a shape by intersection of two shapes or a shape \r
- and a plane.</span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be any</span> </b>GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4"><b><span style="font-weight: bold;"><B>Intersection \r
- of two shapes.</B></span></b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes, \r
- ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs, \r
- ListOfMaterials)</I></span>, where ListOfShapes is a list of shapes to be \r
- intersected, ListOfTools is a list of shapes to intersect the shapes from \r
- ListOfShapes, ListOfKeepInside is a list of shapes outside which the results \r
- will be deleted, ListOfRemoveInside is a list of shapes inside which the \r
- results will be deleted, Limit is a type of the result shapes, if RemoveWebs \r
- is True the Glue 3D algorithm will be performed on the results, ListOfMaterials \r
- is a list of materials indices for each shape, it makes sense only if \r
- RemoveWebs is True.</p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> \r
- </font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + 2 shapes (the first shape \r
- will be intersected by the second shape) + reconstruction limit.</font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/partition1.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/neo-materials.png" x-maintain-ratio="TRUE" width="448px" height="302px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4">Intersection of a Shape \r
- and a Plane.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B>TUI Command</B></span> \r
- &nbsp;<span style="font-style: italic;"><I>geompy.MakeHalfPartition(Shape, \r
- Plane), </I></span>where<span style="font-style: italic;"><I> Shape</I></span> is \r
- a Shape to be intersected and <span style="font-style: italic;"><I>Plane</I></span> \r
- is a Tool shape, to intersect the <span style="font-style: italic;"><I>Shape</I></span>.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
- + 1 shape which will be intersected + 1 cutting face.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/partition2.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs8"><img src="pics/partitionsn1.png" x-maintain-ratio="TRUE" width="297px" height="245px" border="0" class="img_whs9"> &nbsp;<img src="pics/partitionsn2.png" x-maintain-ratio="TRUE" width="273px" height="245px" border="0" class="img_whs10"></p>\r
-\r
-<p class="whs8">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of the use of <a href="basic_operations.htm#bookmark">Basic Operations</a>. \r
- </p>\r
-\r
-<p>&nbsp;</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
+<!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; font-weight:bold; }
+p.whs6 { font-size:12pt; margin-left:40px; }
+img_whs7 { border:none; width:312px; height:483px; float:none; border-style:none; }
+img_whs8 { border:none; width:448px; height:302px; float:none; border-style:none; }
+img_whs9 { border:none; float:none; width:297px; height:245px; border-style:none; }
+img_whs10 { 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"> &nbsp;</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 - &gt; 
+ Partition</B></span></p>
+
+<p class="whs3">&nbsp;</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">&nbsp;</p>
+
+<p class="whs4"><b><span style="font-weight: bold;"><B>Intersection 
+ of two shapes.</B></span></b></p>
+
+<p class="whs5">&nbsp;</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 ListOfShapes is a list of shapes to be 
+ intersected, ListOfTools is a list of shapes to intersect the shapes from 
+ ListOfShapes, ListOfKeepInside is a list of shapes outside which the results 
+ will be deleted, ListOfRemoveInside is a list of shapes inside which the 
+ results will be deleted, Limit is a type of the result shapes, if RemoveWebs 
+ is True the Glue 3D algorithm will be performed on the results, ListOfMaterials 
+ is a list of materials indices for each shape, it makes sense only if 
+ RemoveWebs is True.</p>
+
+<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> 
+ </font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + 2 shapes (the first shape 
+ will be intersected by the second shape) + reconstruction limit.</font></span></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs6"><img src="pics/partition1.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs7"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs6"><img src="pics/neo-materials.png" x-maintain-ratio="TRUE" width="448px" height="302px" border="0" class="img_whs8"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs4">Intersection of a Shape 
+ and a Plane.</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"><span style="font-weight: bold;"><B>TUI Command</B></span> 
+ &nbsp;<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">&nbsp;</p>
+
+<p class="whs6"><img src="pics/partition2.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs7"></p>
+
+<p class="whs6">&nbsp;</p>
+
+<p class="whs6">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs6"><img src="pics/partitionsn1.png" x-maintain-ratio="TRUE" width="297px" height="245px" border="0" class="img_whs9"> &nbsp;<img src="pics/partitionsn2.png" x-maintain-ratio="TRUE" width="273px" height="245px" border="0" class="img_whs10"></p>
+
+<p class="whs6">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 94ae244f7dad995de6385bdb97108dc24f751ff0..a996ddfc5c9e9c189a1342e8edf395121388f9d3 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Pipe Creation</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
-p.whs4 { font-size:12pt; margin-left:40px; }\r
-img_whs5 { border:none; width:260px; height:200px; float:none; border-style:none; }\r
-img_whs6 { border:none; float:none; width:260px; height:200px; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nGeneration of Complex Objects\nPipe");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate \r
- a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Pipe</B></font></span> \r
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
- style="font-weight: bold;"><B>New Entity - &gt; Generation &nbsp;- \r
- &gt; Pipe</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>To create an extruded <span style="font-weight: bold;"><B>Pipe</B></span> shape, \r
- you need to define the <span style="font-weight: bold;"><B>Base Object </B></span><span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">(vertex, edge, wire, face or shell)</font></span><span \r
- style="font-weight: bold;"><B>,</B></span> which will be extruded and the <span \r
- style="font-weight: bold;"><B>Path Object</B></span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">(edge, \r
- face or shell) </font></span>along which the Base Object will be extruded. </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of the operation will be a</span></b> \r
- GEOM_Object (edge, face, solid or compsolid).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakePipe(baseShape, pathShape)</I></span> \r
- </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 shape (vertex, edge, wire, face or shell) serving as base object \r
- + 1 shape (edge, face or shell) for definition of the path.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/pipe.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs3"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/pipe_wire_edgesn.png" x-maintain-ratio="TRUE" width="260px" height="200px" border="0" class="img_whs5"> &nbsp;<img src="pics/pipesn.png" x-maintain-ratio="TRUE" width="260px" height="200px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="complex_objects.htm#bookmark3">Complex Geometric \r
- Objects</a>. </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;</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
+<!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 - &gt; Generation &nbsp;- 
+ &gt; Pipe</B></span></p>
+
+<p>&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs3"><img src="pics/pipe_wire_edgesn.png" x-maintain-ratio="TRUE" width="260px" height="200px" border="0" class="img_whs5"> &nbsp;<img src="pics/pipesn.png" x-maintain-ratio="TRUE" width="260px" height="200px" border="0" class="img_whs6"></p>
+
+<p class="whs3">&nbsp;</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>&nbsp;</p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3">&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 776c520f220c1d9b453216bdecd4ec4dc355e535..d858d3ec8d3d5dec897b260326a4abe12505ffc6 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Plane</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:312px; height:346px; float:none; border-style:none; }\r
-p.whs4 { font-size:12pt; font-weight:bold; }\r
-img_whs5 { border:none; width:312px; height:385px; float:none; border-style:none; }\r
-table.whs6 { x-cell-content-align:top; width:72.604%; border-spacing:0px; }\r
-col.whs7 { width:32.089%; }\r
-col.whs8 { width:32.008%; }\r
-col.whs9 { width:35.903%; }\r
-tr.whs10 { x-cell-content-align:top; }\r
-td.whs11 { 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; }\r
-img_whs12 { border:none; width:258px; height:249px; float:none; border-style:none; }\r
-td.whs13 { width:32.008%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }\r
-img_whs14 { border:none; width:291px; height:181px; float:none; border-style:none; }\r
-td.whs15 { width:35.903%; padding-right:10px; padding-left:10px; border-top-style:none; 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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nPlane");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p>To create a <span style="font-weight: bold;"><B>Plane</B></span> in the <span \r
- style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New \r
- Entity - &gt; Basic - &gt; Plane</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create \r
- a point in the 3D space.</font></span></p>\r
-\r
-<p><b style="font-weight: bold;"><span style="font-weight: normal;">The</span><span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> Result </font></span><span style="font-weight: normal;">of \r
- each operation will be a</span></b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> GEOM_Object \r
- (face).</font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Plane</B></span> \r
- by a <span style="font-weight: bold;"><B>Point </B></span>through which &nbsp;the \r
- plane passes, a <span style="font-weight: bold;"><B>Vector </B></span>giving \r
- a normal of the plane and a <span style="font-weight: bold;"><B>Size of the \r
- Plane</B></span> (size of a side of quadrangle face, representing the plane).</p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI \r
- Command:</b> </B></span><span style="font-style: italic;"><I>geompy.MakePlane(Point, \r
- Vector, TrimSize)</I></span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
- + 1 vertex + 1 vector &nbsp;+ \r
- 1 value (to define the size of the plane).</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><img src="pics/plane1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs3"></b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Secondly, you can define a <span style="font-weight: bold;"><B>Plane</B></span> \r
- by three <span style="font-weight: bold;"><B>Points </B></span>through which \r
- &nbsp;the plane \r
- passes.</p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI \r
- Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakePlaneThreePnt(Point1, \r
- Point2, Point3, TrimSize)</I></span> </p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments: \r
- </b><span style="font-weight: normal;">Name + 3 points + 1 value (to define \r
- the size of the plane).</span></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/plane2.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Finally, you can define a <span style="font-weight: bold;"><B>Plane</B></span>, \r
- similar to the existing one, but with another size of representing face. \r
- </p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI \r
- Command:</b> </B></span>geompy.MakePlaneFace(Face, TrimSize) </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
- + 1 face + 1 value (to define the size of the plane).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/plane3.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs5"></font></span> \r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4">Examples:</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4"><span style="font-weight: normal; font-style: italic;"><I>Planes</I></span> \r
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span \r
- style="font-weight: normal; font-style: italic;"><I>A \r
- Plane created on a Plane of another size</I></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<table x-use-null-cells cellspacing="0" width="72.604%" class="whs6">\r
-<col class="whs7">\r
-<col class="whs8">\r
-<col class="whs9">\r
-\r
-<tr valign="top" class="whs10">\r
-<td width="32.089%" class="whs11">\r
-<p class="whs2"><img src="pics/planes1.png" x-maintain-ratio="TRUE" width="258px" height="249px" border="0" class="img_whs12"></td>\r
-<td width="32.008%" class="whs13">\r
-<p class="whs2"><img src="pics/plane_on_face.png" x-maintain-ratio="TRUE" width="291px" height="181px" border="0" class="img_whs14"></td>\r
-<td width="35.903%" class="whs15">\r
-<p class="whs2">&nbsp;</td></tr>\r
-</table>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="basic_geometrical_objects.htm#bookmark6">Basic \r
- Geometric Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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; }
+p.whs7 { margin-left:40px; }
+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 - &gt; Basic - &gt; Plane</B></span></p>
+
+<p>&nbsp;</p>
+
+<p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create 
+ a point 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">&nbsp;</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 &nbsp;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 &nbsp;+ 
+ 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">&nbsp;</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 
+ &nbsp;the plane 
+ passes.</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">Finally, you can define a <span style="font-weight: bold;"><B>Plane</B></span>, 
+ similar to the existing one, but with another size of representing face. 
+ </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 style="font-weight: bold;">Arguments: </b>Name 
+ + 1 face + 1 value (to define the size of the plane).</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs7"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/plane3.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs6"></font></span> </p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs5">Examples:</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs5"><span style="font-weight: normal; font-style: italic;"><I>Planes</I></span> 
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span 
+ style="font-weight: normal; font-style: italic;"><I>A 
+ Plane created on a Plane of another size</I></span></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</td></tr>
+</table>
+
+<p class="whs2">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 87bd221aef2dc38d1ff1b18b453eb18d9f08b374..6400c29950ac334f5a225bf4a79bcca20429d8c4 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Point</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:312px; height:332px; float:none; border-style:none; }\r
-img_whs4 { border:none; width:312px; height:473px; float:none; border-style:none; }\r
-p.whs5 { font-size:12pt; margin-left:120px; }\r
-p.whs6 { font-size:12pt; margin-left:0px; }\r
-p.whs7 { font-size:12pt; font-style:italic; margin-left:0px; }\r
-img_whs8 { border:none; width:312px; height:421px; float:none; border-style:none; }\r
-p.whs9 { font-size:12pt; color:#000000; }\r
-p.whs10 { color:#808080; font-size:12pt; }\r
-img_whs11 { border:none; width:354px; height:326px; float:none; border-style:none; }\r
-p.whs12 { color:#808080; font-size:12pt; margin-left:40px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs6 {margin-left:1pt; }";\r
-  strNSS += "p.whs7 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nPoint");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p>To create a <span style="font-weight: bold;"><B>Point</B></span> in the <span \r
- style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New \r
- Entity - &gt; Basic - &gt; Point</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create \r
- a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Point</B></font></span><span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> in the 3D space.</font></span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Each \r
- time the</span> Result <span style="font-weight: normal;">of the operation \r
- will be a</span></b> GEOM_Object (vertex).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly, \r
- 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 \r
- style="font-weight: bold;"><B>oordinates</B></span><span style="font-weight: normal;">.</span> \r
- </b></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b> \r
- &nbsp;&nbsp;<span style="font-style: italic;"><I>g</I></span>eompy.MakeVertex(X, \r
- Y, Z) </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
- <b><span style="font-weight: normal;">(Vertex_n by default) </span></b>+ \r
- X, Y and Z coordinates of the point.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/point1.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs3"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Secondly, &nbsp;we \r
- can define a point by a <span style="font-weight: bold;"><B>Reference</B></span> \r
- to another point and the shift of the coordinates of the new point regarding \r
- the coordinates of the old one. </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b> \r
- &nbsp;&nbsp;<span style="font-style: italic;"><I>geompy.MakeVertexWithRef(Reference, \r
- X, Y, Z).</I></span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
- + 1 reference point + 3 coordinates defining the position of this point \r
- regarding the reference one.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><span style="font-style: italic;"><I><img src="pics/neo-point2.png" x-maintain-ratio="TRUE" width="312px" height="473px" border="0" class="img_whs4"></I></span></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs6">Finally, we can define a \r
- point by an <span style="font-weight: bold;"><B>Edge</B></span> and a <span style="font-weight: bold;"><B>Parameter</B></span> \r
- &nbsp;indicating \r
- its position on the Edge. For example, 0.5 means that the point is located \r
- in the middle of the edge.<span style="font-style: italic;"> <I></I></span></p>\r
-\r
-<p class="whs7"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI \r
- Command :</b> &nbsp;&nbsp;geompy.MakeVertexOnCurve(Edge, \r
- Parameter).</I></span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: N</b>ame \r
- + 1 edge &nbsp;+ \r
- 1 Parameter defining the position of the point on the given edge.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><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_whs8"></b></I></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs9"><span style="font-style: italic;"><I><span \r
- style="font-size: 12pt; color: #000000;"><font size=3 color=black style="font-size:12.000000pt;"><b style="font-weight: bold;"><b \r
- style="font-weight: bold;">E</b>xample:</b></font></span></I></span></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs2"><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_whs11"></b></I></span></p>\r
-\r
-<p class="whs12">&nbsp;</p>\r
-\r
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
- provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark" style="font-style: normal;">Basic \r
- Geometric Objects</a>. </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
+<!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 - &gt; Basic - &gt; Point</B></span></p>
+
+<p>&nbsp;</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">&nbsp;</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> 
+ &nbsp;&nbsp;<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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">Secondly, &nbsp;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> 
+ &nbsp;&nbsp;<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">&nbsp;</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">&nbsp;</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> 
+ &nbsp;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> &nbsp;&nbsp;geompy.MakeVertexOnCurve(Edge, 
+ Parameter).</I></span></p>
+
+<p class="whs2"><b style="font-weight: bold;">Arguments: N</b>ame 
+ + 1 edge &nbsp;+ 
+ 1 Parameter defining the position of the point on the given edge.</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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>
index 5fc9c0a8beea8b2facca0586a26192743bc0cd18..994a173375cdbfb7e6359e1fedd427449c0cd99f 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Primitives</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nPrimitives");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Primitives</h1>\r
-\r
-<h3><a name=bookmark>Creation of a Box</a></h3>\r
-\r
-<p>i<span style="font-family: 'Lucida Console', monospace;">mport geompy</span></p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex(15, \r
- 25, 35)</p>\r
-\r
-<p class="whs1">p70 = geompy.MakeVertex(70, \r
- 70, 70)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create boxes</p>\r
-\r
-<p class="whs1">box1 = geompy.MakeBoxDXDYDZ(10, \r
- 20, 30)</p>\r
-\r
-<p class="whs1">box2 = geompy.MakeBox(10,20,30, \r
- 15,25,35)</p>\r
-\r
-<p class="whs1">box3 = geompy.MakeBoxTwoPnt(p0, \r
- p70)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_box1 = geompy.addToStudy(box1,&quot;Box1&quot;)</p>\r
-\r
-<p class="whs1">id_box2 = geompy.addToStudy(box2,&quot;Box2&quot;)</p>\r
-\r
-<p class="whs1">id_box3 = geompy.addToStudy(box3,&quot;Box3&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the boxes</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_box1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box2)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_box2,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box3)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_box3,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark1>Creation of a Cylinder</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(35, \r
- 35, 0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(35, \r
- 35, 70)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create cones</p>\r
-\r
-<p class="whs1">cone1 = geompy.MakeCone(p1, \r
- v, 17, 1, 20)</p>\r
-\r
-<p class="whs1">cone2 = geompy.MakeConeR1R2H(30, \r
- 10, 30)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_cone1 = geompy.addToStudy(cone1,&quot;Cone1&quot;)</p>\r
-\r
-<p class="whs1">id_cone2 = geompy.addToStudy(cone2,&quot;Cone2&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display cones</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cone1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_cone1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cone2)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cone2,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark2>Creation of a Sphere</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex</p>\r
-\r
-<p class="whs1">p = geompy.MakeVertex(55, \r
- 45, 25)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create spheres</p>\r
-\r
-<p class="whs1">radius1 = 20</p>\r
-\r
-<p class="whs1">sphere1 = geompy.MakeSpherePntR(p, \r
- radius1)</p>\r
-\r
-<p class="whs1">radius2 = 15</p>\r
-\r
-<p class="whs1">sphere2 = geompy.MakeSphere(0, \r
- 0, 45, radius2)</p>\r
-\r
-<p class="whs1">radius3 = 30</p>\r
-\r
-<p class="whs1">sphere3 = geompy.MakeSphereR(radius3)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_sphere1 = geompy.addToStudy(sphere1,&quot;Sphere1&quot;)</p>\r
-\r
-<p class="whs1">id_sphere2 = geompy.addToStudy(sphere2,&quot;Sphere2&quot;)</p>\r
-\r
-<p class="whs1">id_sphere3 = geompy.addToStudy(sphere3,&quot;Sphere3&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display spheres</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_sphere1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_sphere1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_sphere2)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_sphere2,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_sphere3)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_sphere3,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark3>Creation of a Torus</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(35, \r
- 40, 45)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(35, \r
- 45, 70)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create toruses</p>\r
-\r
-<p class="whs1">torus1 = geompy.MakeTorus(p1, \r
- v, 20, 10)</p>\r
-\r
-<p class="whs1">torus2 = geompy.MakeTorusRR(30, \r
- 15)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_torus1 = geompy.addToStudy(torus1,&quot;Torus1&quot;)</p>\r
-\r
-<p class="whs1">id_torus2 = geompy.addToStudy(torus2,&quot;Torus2&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display toruses</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_torus1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_torus1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_torus2)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_torus2,1)</span> \r
- </p>\r
-\r
-<h3><a name=bookmark4>Creation of a Cone</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(35, \r
- 35, 0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(35, \r
- 35, 70)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create cones</p>\r
-\r
-<p class="whs1">cone1 = geompy.MakeCone(p1, \r
- v, 17, 1, 20)</p>\r
-\r
-<p class="whs1">cone2 = geompy.MakeConeR1R2H(30, \r
- 10, 30)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_cone1 = geompy.addToStudy(cone1,&quot;Cone1&quot;)</p>\r
-\r
-<p class="whs1">id_cone2 = geompy.addToStudy(cone2,&quot;Cone2&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display cones</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cone1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_cone1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cone2)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cone2,1)</span> \r
- </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
+<!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(&quot;GEOM&quot;)</p>
+
+<p class="whs1">&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_box1 = geompy.addToStudy(box1,&quot;Box1&quot;)</p>
+
+<p class="whs1">id_box2 = geompy.addToStudy(box2,&quot;Box2&quot;)</p>
+
+<p class="whs1">id_box3 = geompy.addToStudy(box3,&quot;Box3&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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 class="whs1">&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_cone1 = geompy.addToStudy(cone1,&quot;Cone1&quot;)</p>
+
+<p class="whs1">id_cone2 = geompy.addToStudy(cone2,&quot;Cone2&quot;)</p>
+
+<p>&nbsp;</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>
+
+<p>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create a vertex</p>
+
+<p class="whs1">p = geompy.MakeVertex(55, 
+ 45, 25)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_sphere1 = geompy.addToStudy(sphere1,&quot;Sphere1&quot;)</p>
+
+<p class="whs1">id_sphere2 = geompy.addToStudy(sphere2,&quot;Sphere2&quot;)</p>
+
+<p class="whs1">id_sphere3 = geompy.addToStudy(sphere3,&quot;Sphere3&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_torus1 = geompy.addToStudy(torus1,&quot;Torus1&quot;)</p>
+
+<p class="whs1">id_torus2 = geompy.addToStudy(torus2,&quot;Torus2&quot;)</p>
+
+<p>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_cone1 = geompy.addToStudy(cone1,&quot;Cone1&quot;)</p>
+
+<p class="whs1">id_cone2 = geompy.addToStudy(cone2,&quot;Cone2&quot;)</p>
+
+<p>&nbsp;</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>
index 9fd1dd1beb8a61091762798e0c6c519b869f7be9..fc07f3be351f9a4de0b18b6e0980c33154906c82 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Propagate</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:21px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { margin-left:40px; font-size:12pt; }\r
-img_whs4 { border:none; width:312px; height:230px; float:none; border-style:none; }\r
-p.whs5 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
-p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }\r
-p.whs7 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }\r
-img_whs8 { border:none; width:250px; height:236px; border-style:none; }\r
-img_whs9 { border:none; width:250px; height:233px; border-style:none; }\r
-p.whs10 { font-weight:bold; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs5 {text-indent:1pt; }";\r
-  strNSS += "p.whs6 {text-indent:1pt; }";\r
-  strNSS += "p.whs7 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nBlocks Operations\nPropagate");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1><img src="image3.gif" width="23px" height="21px" border="0" class="img_whs1"> Propagate</h1>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Propagate</B></span> operation in the Main \r
- Menu select <span style="font-weight: bold;"><B>Operations - &gt; Blocks \r
- - &gt;</B></span> <span style="font-weight: bold;"><B>Propagate</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">This operation breaks a multitude of edges \r
- of a shape into groups (builds all possible propagation groups).</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be a</span></b> List of \r
- GEOM_Objects. Each Geom Object will contain a group of edges.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.Propagate(Shape)</I></span>, \r
- where Shape is a shape to build propagation groups on.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: <span \r
- style="font-weight: normal;">1 Shape.</span></b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/mtransf4.png" x-maintain-ratio="TRUE" width="312px" height="230px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs6">Example:</p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="image15.jpg" width="250px" height="236px" border="0" class="img_whs8"> &nbsp;&nbsp;<img src="image16.jpg" width="250px" height="233px" border="0" class="img_whs9"> &nbsp;&nbsp;</p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs10">&nbsp;&nbsp;&nbsp;<span \r
- style="font-weight: normal;">Our</span> TUI \r
- Scripts<span style="font-weight: normal;"> provide you with useful examples \r
- of the use of</span> <a href="blocks_operations.htm#bookmark6">Blocks \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Blocks 
+ - &gt;</B></span> <span style="font-weight: bold;"><B>Propagate</B></span></p>
+
+<p>&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs6">Example:</p>
+
+<p class="whs6">&nbsp;</p>
+
+<p class="whs7"><img src="image15.jpg" width="250px" height="236px" border="0" class="img_whs8"> &nbsp;&nbsp;<img src="image16.jpg" width="250px" height="233px" border="0" class="img_whs9"> &nbsp;&nbsp;</p>
+
+<p class="whs7">&nbsp;</p>
+
+<p class="whs10">&nbsp;&nbsp;&nbsp;<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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 9aa4cb0f5dba169ce2b9b649eab14c244588c400..60a5c824b0a6061c83ff8078fc7326a9c74fc155 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Repairing Operations</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\r
-p.whs2 { font-family:'Times New Roman' , serif; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nTransformation\nRepairing Operations");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Repairing Operations</h1>\r
-\r
-<h3><a name=bookmark>Shape Processing</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices, an edge, an arc, a wire, a face and a prism</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(0,0,0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(200,0,0)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex(100,150,0)</p>\r
-\r
-<p class="whs1">edge = geompy.MakeEdge(p1,p2)</p>\r
-\r
-<p class="whs1">arc &nbsp;= \r
- geompy.MakeArc(p1,p3,p2)</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([edge,arc])</p>\r
-\r
-<p class="whs1">face = geompy.MakeFace(wire, \r
- 1)</p>\r
-\r
-<p class="whs1">theShape = geompy.MakePrismVecH(face, \r
- edge, 130)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># check the shape at the beginning</p>\r
-\r
-<p class="whs1">print &quot;Before \r
- ProcessShape:&quot;</p>\r
-\r
-<p class="whs1">isValid = geompy.CheckShape(theShape)</p>\r
-\r
-<p class="whs1">if isValid == 0:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;The shape is not valid&quot;</p>\r
-\r
-<p class="whs1">else:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;The shape seems to be valid&quot;</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p># process the Shape</p>\r
-\r
-<p class="whs1">Operators = [&quot;FixShape&quot;]</p>\r
-\r
-<p class="whs1">Parameters = [&quot;FixShape.Tolerance3d&quot;]</p>\r
-\r
-<p class="whs1">Values = [&quot;1e-7&quot;]</p>\r
-\r
-<p class="whs1">PS = geompy.ProcessShape(theShape, \r
- Operators, Parameters, Values)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># check the shape at the end</p>\r
-\r
-<p class="whs1">print &quot;After \r
- ProcessShape:&quot;</p>\r
-\r
-<p class="whs1">isValid = geompy.CheckShape(PS)</p>\r
-\r
-<p class="whs1">if isValid == 0:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;The shape is not valid&quot;</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;raise \r
- RuntimeError, &quot;It seems, that the ProcessShape() has failed&quot;</p>\r
-\r
-<p class="whs1">else:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;The shape seems to be valid&quot;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add in the study and display</p>\r
-\r
-<p class="whs1">Id_Shape = geompy.addToStudy(theShape, \r
- &quot;Invalid Shape&quot;)</p>\r
-\r
-<p class="whs1">Id_PS &nbsp;&nbsp;&nbsp;= \r
- geompy.addToStudy(PS, &quot;Processed Shape&quot;)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(Id_Shape)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(Id_Shape,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(Id_PS)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(Id_PS,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark1>Suppress Faces</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(200, \r
- 200, 200)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># The list of IDs (IDList) for suppress faces</p>\r
-\r
-<p class="whs1">sup_faces = []</p>\r
-\r
-<p class="whs1">sup_faces = geompy.SubShapeAllSorted(box, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># get indices of the sub-shape </p>\r
-\r
-<p class="whs1">f1_id = geompy.GetSubShapeID(box, \r
- sup_faces[3])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># remove faces from the given object (shape)</p>\r
-\r
-<p class="whs1">result = geompy.SuppressFaces(box, \r
- [f1_id])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_box = geompy.addToStudy(box, \r
- &quot;Box&quot;)</p>\r
-\r
-<p class="whs1">id_result = geompy.addToStudy(result, \r
- &quot;Result&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_result)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_result,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark2>Close Contour</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices and vectors</p>\r
-\r
-<p class="whs1">p0 &nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">px &nbsp;= \r
- geompy.MakeVertex(100., &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">py &nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- 100., &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">py1 = geompy.MakeVertex( \r
- &nbsp;0., 140., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">pz &nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- &nbsp;&nbsp;0., \r
- 100.)</p>\r
-\r
-<p class="whs1">vxy = geompy.MakeVector(px, \r
- py)</p>\r
-\r
-<p>&nbsp;&nbsp;</p>\r
-\r
-<p># create an arc</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(py1, \r
- pz, px)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a wire</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vxy, \r
- arc])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># close an open wire by creation of an edge between ends</p>\r
-\r
-<p class="whs1">wire_close = geompy.CloseContour(wire, \r
- [1], 0)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_wire = geompy.addToStudy(wire, \r
- &quot;Wire&quot;)</p>\r
-\r
-<p class="whs1">id_wire_close = geompy.addToStudy(wire_close, \r
- &quot;Wire close&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_wire)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_wire_close)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark3>Suppress Internal Wires</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(55, \r
- 65, 50)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(55, \r
- &nbsp;0, 50)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cylinder</p>\r
-\r
-<p class="whs1">height = 100</p>\r
-\r
-<p class="whs1">radius1 = 40</p>\r
-\r
-<p class="whs1">cylinder = geompy.MakeCylinder(p1, \r
- v, radius1, height)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(100, \r
- 100, 100)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># make a cut</p>\r
-\r
-<p class="whs1">cut = geompy.MakeCut(box, \r
- cylinder)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># suppress all internal wires</p>\r
-\r
-<p class="whs1">result = geompy.SuppressInternalWires(cut, \r
- [])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_cut = geompy.addToStudy(cut, \r
- &quot;Cut&quot;)</p>\r
-\r
-<p class="whs1">id_result = geompy.addToStudy(result, \r
- &quot;Result&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cut)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_cut,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_result)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_result,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark4>Suppress Holes</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(35, \r
- 35, 0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(35, \r
- 35, 50)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cylinder</p>\r
-\r
-<p class="whs1">height = 20</p>\r
-\r
-<p class="whs1">radius1 = 20</p>\r
-\r
-<p class="whs1">cylinder = geompy.MakeCylinder(p1, \r
- v, radius1, height)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cone</p>\r
-\r
-<p class="whs1">cone = geompy.MakeCone(p1, \r
- v, 70, 0, 80)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># make a cut</p>\r
-\r
-<p class="whs1">cut = geompy.MakeCut(cone, \r
- cylinder)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># get faces as sub-shapes</p>\r
-\r
-<p class="whs1">faces = []</p>\r
-\r
-<p class="whs1">faces = geompy.SubShapeAllSorted(cut, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p class="whs1">f_2 = geompy.GetSubShapeID(cut, \r
- faces[2])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># remove one face from the shape</p>\r
-\r
-<p class="whs1">cut_without_f_2 = \r
- geompy.SuppressFaces(cut, [f_2])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># get wires as sub-shapes</p>\r
-\r
-<p class="whs1">wires = []</p>\r
-\r
-<p class="whs1">wires = geompy.SubShapeAllSorted(cut_without_f_2, \r
- geompy.ShapeType[&quot;WIRE&quot;])</p>\r
-\r
-<p class="whs1">w_0 = geompy.GetSubShapeID(cut_without_f_2, \r
- wires[0])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># suppress the selected wire</p>\r
-\r
-<p class="whs1">result = geompy.SuppressHoles(cut_without_f_2, \r
- [w_0])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_cut = geompy.addToStudy(cut, \r
- &quot;Cut&quot;)</p>\r
-\r
-<p class="whs1">id_cut_without_f_2 \r
- = geompy.addToStudy(cut_without_f_2, &quot;Cut without f_2&quot;)</p>\r
-\r
-<p class="whs1">id_result = geompy.addToStudy(result, \r
- &quot;Result&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cut)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_cut,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cut_without_f_2)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_cut_without_f_2,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_result)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_result,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark5>Sewing</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">import math</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create base points</p>\r
-\r
-<p class="whs1">px = geompy.MakeVertex(100., \r
- 0., 0.)</p>\r
-\r
-<p class="whs1">py = geompy.MakeVertex(0., \r
- 100., 0.)</p>\r
-\r
-<p class="whs1">pz = geompy.MakeVertex(0., \r
- 0., 100.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create base geometry 2D &amp; 3D</p>\r
-\r
-<p class="whs1">vector = geompy.MakeVector(px, \r
- py)</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(py, \r
- pz, px)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create base objects</p>\r
-\r
-<p class="whs1">angle = 45. * math.pi \r
- / 180</p>\r
-\r
-<p class="whs1">WantPlanarFace = 1 \r
- #True</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vector, \r
- arc])</p>\r
-\r
-<p class="whs1">face = geompy.MakeFace(wire, \r
- WantPlanarFace)</p>\r
-\r
-<p class="whs1">face_rot = geompy.MakeRotation(face, \r
- vector, angle)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># make sewing</p>\r
-\r
-<p class="whs1">precision = 0.00001</p>\r
-\r
-<p class="whs1">sewing = geompy.MakeSewing([face, \r
- face_rot], precision)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_face = geompy.addToStudy(face, \r
- &quot;Face&quot;)</p>\r
-\r
-<p class="whs1">id_face_rot = geompy.addToStudy(face_rot, \r
- &quot;Face rotation&quot;)</p>\r
-\r
-<p class="whs1">id_sewing = geompy.addToStudy(sewing, \r
- &quot;Sewing&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_face)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_face,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_face_rot)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_face_rot,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_sewing)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_sewing,1) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3><a name=bookmark6>Glue Faces</a></h3>\r
-\r
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import \r
- geompy</span></p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create boxes</p>\r
-\r
-<p class="whs1">box1 = geompy.MakeBox(0,0,0,100,50,100)</p>\r
-\r
-<p class="whs1">box2 = </p>\r
-\r
-<p class="whs1">geompy.MakeBox(100,0,0,250,50,100)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># make compound</p>\r
-\r
-<p class="whs1">compound = geompy.MakeCompound([box1, \r
- box2])</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># glue compound's faces</p>\r
-\r
-<p class="whs1">tolerance = 1e-5</p>\r
-\r
-<p class="whs1">glue = geompy.MakeGlueFaces(compound, \r
- tolerance)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># add objects in study</p>\r
-\r
-<p class="whs1">id_box1 = geompy.addToStudy(box1, \r
- &quot;Box1&quot;)</p>\r
-\r
-<p class="whs1">id_box2 = geompy.addToStudy(box2, \r
- &quot;Box2&quot;)</p>\r
-\r
-<p class="whs1">id_compound = geompy.addToStudy(compound, \r
- &quot;Compound&quot;)</p>\r
-\r
-<p class="whs1">id_glue = geompy.addToStudy(glue, \r
- &quot;Glue faces&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># display results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_box1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box2)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_box2,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_compound)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_compound,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_glue)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_glue,1) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3><a name=bookmark7>Add Point on Edge</a></h3>\r
-\r
-<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import \r
- geompy</span></p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># create vertices</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(0,0,50)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(60,0,50)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># make an edge</p>\r
-\r
-<p class="whs1">edge = geompy.MakeEdge(p1, \r
- p2) #geompy.GetSubShape(box, edge_ind)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># divide an edge</p>\r
-\r
-<p class="whs1">divide = geompy.DivideEdge(edge, \r
- -1, 0.5, 0)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class="whs2"># add objects in the \r
- study</p>\r
-\r
-<p class="whs1">id_edge = geompy.addToStudy(edge, \r
- &quot;Edge&quot;)</p>\r
-\r
-<p class="whs1">edge_points = geompy.SubShapeAllSorted(edge, \r
- geompy.ShapeType[&quot;VERTEX&quot;])</p>\r
-\r
-<p class="whs1">for point in edge_points:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudyInFather(edge, \r
- point, &quot;Edge's point&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;</p>\r
-\r
-<p class="whs1">id_divide = geompy.addToStudy(divide, \r
- &quot;Divided edge&quot;)</p>\r
-\r
-<p class="whs1">edge_points = geompy.SubShapeAllSorted(divide, \r
- geompy.ShapeType[&quot;VERTEX&quot;])</p>\r
-\r
-<p class="whs1">for point in edge_points:</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudyInFather(divide, \r
- point, &quot;Edge's point after divide&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;</p>\r
-\r
-<p class="whs1">salome.sg.updateObjBrowser(1) \r
- </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<h3><a name=bookmark8>Check Free Boundaries</a></h3>\r
-\r
-<p class="whs1">import os</p>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"># create boxes</p>\r
-\r
-<p class="whs1">box1 = geompy.MakeBox(0,0,0,100,50,100)</p>\r
-\r
-<p class="whs1">box2 = geompy.MakeBox(100,0,0,250,50,100)</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"># make a compound</p>\r
-\r
-<p class="whs1">compound = geompy.MakeCompound([box1, \r
- box2])</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"># import from *.brep</p>\r
-\r
-<p class="whs1">ImportBREP = geompy.ImportBREP(&quot;ImportBREP \r
- = <span style="font-family: 'Lucida Console', monospace;">geompy.ImportBREP(os.getenv(&quot;DATA_DIR&quot;)+&quot;/Shapes/Brep/flight_solid.brep&quot;)</span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"># get a face</p>\r
-\r
-<p class="whs1">faces = geompy.SubShapeAllSorted(ImportBREP, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"># get the free boundary \r
- for face 32</p>\r
-\r
-<p class="whs1">Res = geompy.GetFreeBoundary(faces[32])</p>\r
-\r
-<p class="whs1">isSuccess &nbsp;&nbsp;= \r
- Res[0]</p>\r
-\r
-<p class="whs1">ClosedWires = Res[1]</p>\r
-\r
-<p class="whs1">OpenWires &nbsp;&nbsp;= \r
- Res[2]</p>\r
-\r
-<p class="whs2">&nbsp;&nbsp;</p>\r
-\r
-<p class="whs2">i<span style="font-family: 'Lucida Console', monospace;">f \r
- isSuccess == 1 :</span></p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;Checking free boudaries is OK.&quot;</p>\r
-\r
-<p class="whs1">else :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;Checking free boudaries is KO!&quot;</p>\r
-\r
-<p class="whs1">print &quot;len(ClosedWires) \r
- = &quot;, len(ClosedWires)</p>\r
-\r
-<p class="whs1">i = 0</p>\r
-\r
-<p class="whs1">for wire in ClosedWires \r
- :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name \r
- = &quot;Face 32 -&gt; Close wires : WIRE %d&quot;%(i+1)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(ClosedWires[i], \r
- wire_name)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if \r
- i &lt; len(ClosedWires) :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i \r
- = i+ 1</p>\r
-\r
-<p class="whs1">print &quot;len(OpenWires) \r
- = &quot;, len(OpenWires)</p>\r
-\r
-<p class="whs1">i = 0</p>\r
-\r
-<p class="whs1">for wire in OpenWires \r
- :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name \r
- = &quot;Face 32 -&gt; Open wires : WIRE %d&quot;%(i+1)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(OpenWires[i], \r
- wire_name)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if \r
- i &lt; len(OpenWires) :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i \r
- = i+ 1</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"># get the free boundary \r
- for face 41</p>\r
-\r
-<p class="whs1">Res = geompy.GetFreeBoundary(faces[41])</p>\r
-\r
-<p class="whs1">isSuccess &nbsp;&nbsp;= \r
- Res[0]</p>\r
-\r
-<p class="whs1">ClosedWires = Res[1]</p>\r
-\r
-<p class="whs1">OpenWires &nbsp;&nbsp;= \r
- Res[2]</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;</p>\r
-\r
-<p class="whs1">if isSuccess == 1 \r
- :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;Checking free boudaries is OK.&quot;</p>\r
-\r
-<p class="whs1">else :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print \r
- &quot;Checking free boudaries is KO!&quot;</p>\r
-\r
-<p class="whs1">print &quot;len(ClosedWires) \r
- = &quot;, len(ClosedWires)</p>\r
-\r
-<p class="whs1">i = 0</p>\r
-\r
-<p class="whs1">for wire in ClosedWires \r
- :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name \r
- = &quot;Face 41 -&gt; Close wires : WIRE %d&quot;%(i+1)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(ClosedWires[i], \r
- wire_name)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if \r
- i &lt; len(ClosedWires) :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i \r
- = i+ 1</p>\r
-\r
-<p class="whs1">print &quot;len(OpenWires) \r
- = &quot;, len(OpenWires)</p>\r
-\r
-<p class="whs1">i = 0</p>\r
-\r
-<p class="whs1">for wire in OpenWires \r
- :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name \r
- = &quot;Face 41 -&gt; Open wires : WIRE %d&quot;%(i+1)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(OpenWires[i], \r
- wire_name)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if \r
- i &lt; len(OpenWires) :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i \r
- = i+ 1</p>\r
-\r
-<p class="whs2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\r
-\r
-<p class="whs2"># add the imported object \r
- to the study</p>\r
-\r
-<p class="whs1">id_ImportBREP = geompy.addToStudy(ImportBREP, \r
- &quot;ImportBREP&quot;)</p>\r
-\r
-<p class="whs2"><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span> \r
- </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<h3><a name=bookmark9>Check Free Faces</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(35, \r
- 35, 0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(35, \r
- 35, 50)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cylinder</p>\r
-\r
-<p class="whs1">cylinder = geompy.MakeCone(p1, \r
- v, 30, 20, 20)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cone</p>\r
-\r
-<p class="whs1">cone = geompy.MakeCone(p1, \r
- v, 70, 40, 60)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># make cut</p>\r
-\r
-<p class="whs1">cut = geompy.MakeCut(cone, \r
- cylinder)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># get faces as sub-shapes</p>\r
-\r
-<p class="whs1">faces = []</p>\r
-\r
-<p class="whs1">faces = geompy.SubShapeAllSorted(cut, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p class="whs1">f_2 = geompy.GetSubShapeID(cut, \r
- faces[0])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># remove one face from the shape</p>\r
-\r
-<p class="whs1">cut_without_f_2 = \r
- geompy.SuppressFaces(cut, [f_2])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># suppress the specified wire</p>\r
-\r
-<p class="whs1">result = geompy.GetFreeFacesIDs(cut_without_f_2)</p>\r
-\r
-<p class="whs1">print &quot;A number \r
- of free faces is &quot;, len(result)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">all_faces = geompy.SubShapeAllSorted(cut_without_f_2, \r
- geompy.ShapeType[&quot;FACE&quot;])</p>\r
-\r
-<p class="whs1">for face in all_faces \r
- :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;sub_shape_id \r
- = geompy.GetSubShapeID(cut_without_f_2, face)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if \r
- result.count(sub_shape_id) &gt; 0 :</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;face_name \r
- = &quot;Free face %d&quot;%(sub_shape_id)</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(face, \r
- face_name)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># in this example all faces from cut_without_f_2 are free</p>\r
-\r
-<p class="whs1">id_cut_without_f_2 \r
- = geompy.addToStudy(cut_without_f_2, &quot;Cut without f_2&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cut_without_f_2)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cut_without_f_2,1)</span> \r
- </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
+<!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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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 &nbsp;= 
+ 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>&nbsp;</p>
+
+<p># check the shape at the beginning</p>
+
+<p class="whs1">print &quot;Before 
+ ProcessShape:&quot;</p>
+
+<p class="whs1">isValid = geompy.CheckShape(theShape)</p>
+
+<p class="whs1">if isValid == 0:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;The shape is not valid&quot;</p>
+
+<p class="whs1">else:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;The shape seems to be valid&quot;</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p># process the Shape</p>
+
+<p class="whs1">Operators = [&quot;FixShape&quot;]</p>
+
+<p class="whs1">Parameters = [&quot;FixShape.Tolerance3d&quot;]</p>
+
+<p class="whs1">Values = [&quot;1e-7&quot;]</p>
+
+<p class="whs1">PS = geompy.ProcessShape(theShape, 
+ Operators, Parameters, Values)</p>
+
+<p>&nbsp;</p>
+
+<p># check the shape at the end</p>
+
+<p class="whs1">print &quot;After 
+ ProcessShape:&quot;</p>
+
+<p class="whs1">isValid = geompy.CheckShape(PS)</p>
+
+<p class="whs1">if isValid == 0:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;The shape is not valid&quot;</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;raise 
+ RuntimeError, &quot;It seems, that the ProcessShape() has failed&quot;</p>
+
+<p class="whs1">else:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;The shape seems to be valid&quot;</p>
+
+<p>&nbsp;</p>
+
+<p># add in the study and display</p>
+
+<p class="whs1">Id_Shape = geompy.addToStudy(theShape, 
+ &quot;Invalid Shape&quot;)</p>
+
+<p class="whs1">Id_PS &nbsp;&nbsp;&nbsp;= 
+ geompy.addToStudy(PS, &quot;Processed Shape&quot;)</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create a box</p>
+
+<p class="whs1">box = geompy.MakeBoxDXDYDZ(200, 
+ 200, 200)</p>
+
+<p>&nbsp;</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[&quot;FACE&quot;])</p>
+
+<p>&nbsp;</p>
+
+<p># get indices of the sub-shape </p>
+
+<p class="whs1">f1_id = geompy.GetSubShapeID(box, 
+ sup_faces[3])</p>
+
+<p>&nbsp;</p>
+
+<p># remove faces from the given object (shape)</p>
+
+<p class="whs1">result = geompy.SuppressFaces(box, 
+ [f1_id])</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_box = geompy.addToStudy(box, 
+ &quot;Box&quot;)</p>
+
+<p class="whs1">id_result = geompy.addToStudy(result, 
+ &quot;Result&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices and vectors</p>
+
+<p class="whs1">p0 &nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">px &nbsp;= 
+ geompy.MakeVertex(100., &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">py &nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ 100., &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">py1 = geompy.MakeVertex( 
+ &nbsp;0., 140., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">pz &nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ &nbsp;&nbsp;0., 
+ 100.)</p>
+
+<p class="whs1">vxy = geompy.MakeVector(px, 
+ py)</p>
+
+<p>&nbsp;&nbsp;</p>
+
+<p># create an arc</p>
+
+<p class="whs1">arc = geompy.MakeArc(py1, 
+ pz, px)</p>
+
+<p>&nbsp;</p>
+
+<p># create a wire</p>
+
+<p class="whs1">wire = geompy.MakeWire([vxy, 
+ arc])</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_wire = geompy.addToStudy(wire, 
+ &quot;Wire&quot;)</p>
+
+<p class="whs1">id_wire_close = geompy.addToStudy(wire_close, 
+ &quot;Wire close&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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, 
+ &nbsp;0, 50)</p>
+
+<p class="whs1">v = geompy.MakeVector(p1, 
+ p2)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># create a box</p>
+
+<p class="whs1">box = geompy.MakeBoxDXDYDZ(100, 
+ 100, 100)</p>
+
+<p>&nbsp;</p>
+
+<p># make a cut</p>
+
+<p class="whs1">cut = geompy.MakeCut(box, 
+ cylinder)</p>
+
+<p>&nbsp;</p>
+
+<p># suppress all internal wires</p>
+
+<p class="whs1">result = geompy.SuppressInternalWires(cut, 
+ [])</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_cut = geompy.addToStudy(cut, 
+ &quot;Cut&quot;)</p>
+
+<p class="whs1">id_result = geompy.addToStudy(result, 
+ &quot;Result&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># create a cone</p>
+
+<p class="whs1">cone = geompy.MakeCone(p1, 
+ v, 70, 0, 80)</p>
+
+<p>&nbsp;</p>
+
+<p># make a cut</p>
+
+<p class="whs1">cut = geompy.MakeCut(cone, 
+ cylinder)</p>
+
+<p>&nbsp;</p>
+
+<p># get faces as sub-shapes</p>
+
+<p class="whs1">faces = []</p>
+
+<p class="whs1">faces = geompy.SubShapeAllSorted(cut, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p class="whs1">f_2 = geompy.GetSubShapeID(cut, 
+ faces[2])</p>
+
+<p>&nbsp;</p>
+
+<p># remove one face from the shape</p>
+
+<p class="whs1">cut_without_f_2 = 
+ geompy.SuppressFaces(cut, [f_2])</p>
+
+<p>&nbsp;</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[&quot;WIRE&quot;])</p>
+
+<p class="whs1">w_0 = geompy.GetSubShapeID(cut_without_f_2, 
+ wires[0])</p>
+
+<p>&nbsp;</p>
+
+<p># suppress the selected wire</p>
+
+<p class="whs1">result = geompy.SuppressHoles(cut_without_f_2, 
+ [w_0])</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_cut = geompy.addToStudy(cut, 
+ &quot;Cut&quot;)</p>
+
+<p class="whs1">id_cut_without_f_2 
+ = geompy.addToStudy(cut_without_f_2, &quot;Cut without f_2&quot;)</p>
+
+<p class="whs1">id_result = geompy.addToStudy(result, 
+ &quot;Result&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># create base geometry 2D &amp; 3D</p>
+
+<p class="whs1">vector = geompy.MakeVector(px, 
+ py)</p>
+
+<p class="whs1">arc = geompy.MakeArc(py, 
+ pz, px)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># make sewing</p>
+
+<p class="whs1">precision = 0.00001</p>
+
+<p class="whs1">sewing = geompy.MakeSewing([face, 
+ face_rot], precision)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_face = geompy.addToStudy(face, 
+ &quot;Face&quot;)</p>
+
+<p class="whs1">id_face_rot = geompy.addToStudy(face_rot, 
+ &quot;Face rotation&quot;)</p>
+
+<p class="whs1">id_sewing = geompy.addToStudy(sewing, 
+ &quot;Sewing&quot;)</p>
+
+<p>&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"># make compound</p>
+
+<p class="whs1">compound = geompy.MakeCompound([box1, 
+ box2])</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"># add objects in study</p>
+
+<p class="whs1">id_box1 = geompy.addToStudy(box1, 
+ &quot;Box1&quot;)</p>
+
+<p class="whs1">id_box2 = geompy.addToStudy(box2, 
+ &quot;Box2&quot;)</p>
+
+<p class="whs1">id_compound = geompy.addToStudy(compound, 
+ &quot;Compound&quot;)</p>
+
+<p class="whs1">id_glue = geompy.addToStudy(glue, 
+ &quot;Glue faces&quot;)</p>
+
+<p class="whs1">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"># divide an edge</p>
+
+<p class="whs1">divide = geompy.DivideEdge(edge, 
+ -1, 0.5, 0)</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p class="whs2"># add objects in the 
+ study</p>
+
+<p class="whs1">id_edge = geompy.addToStudy(edge, 
+ &quot;Edge&quot;)</p>
+
+<p class="whs1">edge_points = geompy.SubShapeAllSorted(edge, 
+ geompy.ShapeType[&quot;VERTEX&quot;])</p>
+
+<p class="whs1">for point in edge_points:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudyInFather(edge, 
+ point, &quot;Edge's point&quot;)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;</p>
+
+<p class="whs1">id_divide = geompy.addToStudy(divide, 
+ &quot;Divided edge&quot;)</p>
+
+<p class="whs1">edge_points = geompy.SubShapeAllSorted(divide, 
+ geompy.ShapeType[&quot;VERTEX&quot;])</p>
+
+<p class="whs1">for point in edge_points:</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudyInFather(divide, 
+ point, &quot;Edge's point after divide&quot;)</p>
+
+<p class="whs1">&nbsp;&nbsp;</p>
+
+<p class="whs1">salome.sg.updateObjBrowser(1) 
+ </p>
+
+<p class="whs2">&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"># make a compound</p>
+
+<p class="whs1">compound = geompy.MakeCompound([box1, 
+ box2])</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"># import from *.brep</p>
+
+<p class="whs1">ImportBREP = geompy.ImportBREP(&quot;<span 
+ style="font-family: 'Lucida Console', monospace;">os.getenv(&quot;DATA_DIR&quot;)+&quot;/Shapes/Brep/flight_solid.brep&quot;)</span></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"># get a face</p>
+
+<p class="whs1">faces = geompy.SubShapeAllSorted(ImportBREP, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p class="whs2">&nbsp;</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 &nbsp;&nbsp;= 
+ Res[0]</p>
+
+<p class="whs1">ClosedWires = Res[1]</p>
+
+<p class="whs1">OpenWires &nbsp;&nbsp;= 
+ Res[2]</p>
+
+<p class="whs2">&nbsp;&nbsp;</p>
+
+<p class="whs2">i<span style="font-family: 'Lucida Console', monospace;">f 
+ isSuccess == 1 :</span></p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;Checking free boudaries is OK.&quot;</p>
+
+<p class="whs1">else :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;Checking free boudaries is KO!&quot;</p>
+
+<p class="whs1">print &quot;len(ClosedWires) 
+ = &quot;, len(ClosedWires)</p>
+
+<p class="whs1">i = 0</p>
+
+<p class="whs1">for wire in ClosedWires 
+ :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name 
+ = &quot;Face 32 -&gt; Close wires : WIRE %d&quot;%(i+1)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(ClosedWires[i], 
+ wire_name)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if 
+ i &lt; len(ClosedWires) :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i 
+ = i+ 1</p>
+
+<p class="whs1">print &quot;len(OpenWires) 
+ = &quot;, len(OpenWires)</p>
+
+<p class="whs1">i = 0</p>
+
+<p class="whs1">for wire in OpenWires 
+ :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name 
+ = &quot;Face 32 -&gt; Open wires : WIRE %d&quot;%(i+1)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(OpenWires[i], 
+ wire_name)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if 
+ i &lt; len(OpenWires) :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i 
+ = i+ 1</p>
+
+<p class="whs2">&nbsp;</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 &nbsp;&nbsp;= 
+ Res[0]</p>
+
+<p class="whs1">ClosedWires = Res[1]</p>
+
+<p class="whs1">OpenWires &nbsp;&nbsp;= 
+ Res[2]</p>
+
+<p class="whs1">&nbsp;&nbsp;</p>
+
+<p class="whs1">if isSuccess == 1 
+ :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;Checking free boudaries is OK.&quot;</p>
+
+<p class="whs1">else :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print 
+ &quot;Checking free boudaries is KO!&quot;</p>
+
+<p class="whs1">print &quot;len(ClosedWires) 
+ = &quot;, len(ClosedWires)</p>
+
+<p class="whs1">i = 0</p>
+
+<p class="whs1">for wire in ClosedWires 
+ :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name 
+ = &quot;Face 41 -&gt; Close wires : WIRE %d&quot;%(i+1)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(ClosedWires[i], 
+ wire_name)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if 
+ i &lt; len(ClosedWires) :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i 
+ = i+ 1</p>
+
+<p class="whs1">print &quot;len(OpenWires) 
+ = &quot;, len(OpenWires)</p>
+
+<p class="whs1">i = 0</p>
+
+<p class="whs1">for wire in OpenWires 
+ :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name 
+ = &quot;Face 41 -&gt; Open wires : WIRE %d&quot;%(i+1)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(OpenWires[i], 
+ wire_name)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if 
+ i &lt; len(OpenWires) :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i 
+ = i+ 1</p>
+
+<p class="whs2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
+
+<p class="whs2"># add the imported object 
+ to the study</p>
+
+<p class="whs1">id_ImportBREP = geompy.addToStudy(ImportBREP, 
+ &quot;ImportBREP&quot;)</p>
+
+<p class="whs2"><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span> 
+ </p>
+
+<p class="whs2">&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p># create a cylinder</p>
+
+<p class="whs1">cylinder = geompy.MakeCone(p1, 
+ v, 30, 20, 20)</p>
+
+<p>&nbsp;</p>
+
+<p># create a cone</p>
+
+<p class="whs1">cone = geompy.MakeCone(p1, 
+ v, 70, 40, 60)</p>
+
+<p>&nbsp;</p>
+
+<p># make cut</p>
+
+<p class="whs1">cut = geompy.MakeCut(cone, 
+ cylinder)</p>
+
+<p>&nbsp;</p>
+
+<p># get faces as sub-shapes</p>
+
+<p class="whs1">faces = []</p>
+
+<p class="whs1">faces = geompy.SubShapeAllSorted(cut, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p class="whs1">f_2 = geompy.GetSubShapeID(cut, 
+ faces[0])</p>
+
+<p>&nbsp;</p>
+
+<p># remove one face from the shape</p>
+
+<p class="whs1">cut_without_f_2 = 
+ geompy.SuppressFaces(cut, [f_2])</p>
+
+<p>&nbsp;</p>
+
+<p># suppress the specified wire</p>
+
+<p class="whs1">result = geompy.GetFreeFacesIDs(cut_without_f_2)</p>
+
+<p class="whs1">print &quot;A number 
+ of free faces is &quot;, len(result)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">all_faces = geompy.SubShapeAllSorted(cut_without_f_2, 
+ geompy.ShapeType[&quot;FACE&quot;])</p>
+
+<p class="whs1">for face in all_faces 
+ :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;sub_shape_id 
+ = geompy.GetSubShapeID(cut_without_f_2, face)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if 
+ result.count(sub_shape_id) &gt; 0 :</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;face_name 
+ = &quot;Free face %d&quot;%(sub_shape_id)</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(face, 
+ face_name)</p>
+
+<p>&nbsp;</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, &quot;Cut without f_2&quot;)</p>
+
+<p>&nbsp;</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>
index f19dcf81a03420da87ceb887327fbb26b0f5f633..3e0d2593dcd325e88b7e90625a5c017708c55390 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Revolution</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:0px; }\r
-img_whs4 { border:none; width:312px; height:350px; float:none; border-style:none; }\r
-p.whs5 { font-size:12pt; margin-left:40px; }\r
-img_whs6 { border:none; width:268px; height:275px; float:none; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs3 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nGeneration of Complex Objects\nRevolution");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create \r
- an extruded shape by </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Revolution</B></font></span> \r
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
- style="font-weight: bold;"><B>New Entity - &gt; Generation &nbsp;- \r
- &gt; Revolution</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">To create an extruded shape by <span style="font-weight: bold;"><B>Revolution</B></span> \r
- you need to define the source <span style="font-weight: bold;"><B>Object</B></span> \r
- to rotate, the <span style="font-weight: bold;"><B>Axis</B></span> of revolution \r
- and the <span style="font-weight: bold;"><B>Angle</B></span> by which the Shape \r
- has to be rotated around the <span style="font-weight: bold;"><B>Axis</B></span> \r
- (in degrees).</p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span \r
- style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">of \r
- the operation will be a</span></b> GEOM_Object (edge, face, solid or compsolid).</font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeRevolution(Shape, Axis, \r
- Angle)</I></span>.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 shape (vertex, edge, wire, face or shell) serving as base object \r
- + 1 vector (for direction) + 1 value (angle).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/revolution.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs5"><img src="pics/revolutionsn.png" x-maintain-ratio="TRUE" width="268px" height="275px" border="0" class="img_whs6"> &nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
- provide you with useful examples of creation of <a href="complex_objects.htm#bookmark1">Complex \r
- Geometric Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create 
+ an extruded shape by </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Revolution</B></font></span> 
+ in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span 
+ style="font-weight: bold;"><B>New Entity - &gt; Generation &nbsp;- 
+ &gt; Revolution</B></span></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs3"><img src="pics/revolutionsn.png" x-maintain-ratio="TRUE" width="268px" height="275px" border="0" class="img_whs5"> &nbsp;</p>
+
+<p class="whs2">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index cc5464188c13645cd18d6fee49106d79f783602f..b5423cce06ebbe5bfc1ece7d93a6ea0d74c52feb 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Rotation</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }\r
-p.whs5 { margin-left:40px; }\r
-img_whs6 { border:none; width:247px; height:292px; float:none; border-style:none; }\r
-img_whs7 { border:none; width:257px; height:291px; float:none; border-style:none; }\r
-p.whs8 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs8 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nRotation");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Rotation</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>Operations - &gt; Transformation - &gt; \r
- Rotation</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This operation rotates the initial shape. To \r
- produce a <span style="font-weight: bold;"><B>Rotation</B></span> you need to \r
- define an <span style="font-weight: bold;"><B>Object</B></span> &nbsp;to \r
- be rotated, an <span style="font-weight: bold;"><B>Axis</B></span> of rotation \r
- and an <span style="font-weight: bold;"><B>Angle</B></span> of rotation.</p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>Reverse \r
- </B></span>checkbox allows to specify the direction of rotation.</font></span></p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B>Create a copy \r
- </B></span>checkbox allows to keep the initial object, otherwise it will be \r
- removed.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be any</span> </b>&nbsp;GEOM_Object.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeRotation(Shape, Axis, \r
- Angle)</I></span> </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- 1 shape + 1 vector for direction of rotation + 1 angle.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/transformation4.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs5"><img src="pics/rotationsn1.png" x-maintain-ratio="TRUE" width="247px" height="292px" border="0" class="img_whs6"> &nbsp;<img src="pics/rotationsn2.png" x-maintain-ratio="TRUE" width="257px" height="291px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs8">&nbsp;&nbsp;</p>\r
-\r
-<p class="whs8"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark1">Transformation \r
- Operations</a>. </font></span></p>\r
-\r
-<p>&nbsp;</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
+<!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:312px; height:376px; float:none; border-style:none; }
+p.whs5 { margin-left:40px; }
+img_whs6 { border:none; width:247px; height:292px; float:none; border-style:none; }
+img_whs7 { border:none; width:257px; height:291px; 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\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 - &gt; Transformation - &gt; 
+ Rotation</B></span></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">This operation rotates the initial shape. To 
+ produce a <span style="font-weight: bold;"><B>Rotation</B></span> you need to 
+ define an <span style="font-weight: bold;"><B>Object</B></span> &nbsp;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"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>Reverse 
+ </B></span>checkbox allows to specify the direction of rotation.</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">&nbsp;</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>&nbsp;GEOM_Object.</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="whs2">&nbsp;</p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3"><img src="pics/transformation4.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs5"><img src="pics/rotationsn1.png" x-maintain-ratio="TRUE" width="247px" height="292px" border="0" class="img_whs6"> &nbsp;<img src="pics/rotationsn2.png" x-maintain-ratio="TRUE" width="257px" height="291px" border="0" class="img_whs7"></p>
+
+<p class="whs8">&nbsp;&nbsp;</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#bookmark1">Transformation 
+ Operations</a>. </font></span></p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 0946867511fe145cfdde7fb77706d0983e387ac1..0c1c6338e9f0a401ded4950cead7a769d10b4a09 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Scale Transform</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:350px; float:none; border-style:none; }\r
-p.whs5 { margin-left:40px; font-size:12pt; }\r
-img_whs6 { border:none; width:206px; height:233px; float:none; border-style:none; }\r
-img_whs7 { border:none; float:none; width:216px; height:234px; border-style:none; }\r
-p.whs8 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs8 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nScale Transform");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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"> &nbsp;</font></span>Scale \r
- Transform</h1>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Scale Transform</B></span> in the Main \r
- Menu select <span style="font-weight: bold;"><B>Operations - &gt; Transformation \r
- - &gt; Scale Transform</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This operation creates a scaled shape basing \r
- on the initial shape. For this, you need to define the <span style="font-weight: bold;"><B>Shape</B></span> \r
- to be scaled, the <span style="font-weight: bold;"><B>Central Point</B></span> \r
- of scale and the Scale Factor.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeScaleTransform(Shape, \r
- CenterOfScale, Factor)</I></span>, </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 shape(s) + 1 vertex + 1 Scale Factor.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/transformation10.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs5"><img src="pics/scale_transformsn1.png" x-maintain-ratio="TRUE" width="206px" height="233px" border="0" class="img_whs6"> &nbsp;<img src="pics/scale_transformsn2.png" x-maintain-ratio="TRUE" width="216px" height="234px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8">&nbsp;&nbsp;<span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark6">Transformation \r
- Operations</a>. </font></span></p>\r
-\r
-<p>&nbsp;</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
+<!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"> &nbsp;</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 - &gt; Transformation 
+ - &gt; Scale Transform</B></span></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs5"><img src="pics/scale_transformsn1.png" x-maintain-ratio="TRUE" width="206px" height="233px" border="0" class="img_whs6"> &nbsp;<img src="pics/scale_transformsn2.png" x-maintain-ratio="TRUE" width="216px" height="234px" border="0" class="img_whs7"></p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs8">&nbsp;&nbsp;<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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index e5681eef65dd0d7108740168587cfde541f9973d..fd55db0313b552c8e3f94e908ba70f339728eb73 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Section</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
-p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }\r
-img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
-img_whs6 { border:none; width:253px; height:266px; float:none; border-style:none; }\r
-img_whs7 { border:none; width:215px; height:265px; float:none; border-style:none; }\r
-p.whs8 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS += "p.whs8 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nSection");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Section</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>Operations - &gt; Boolean - &gt; Section</B></span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">This \r
- operation creates</span> </b>the section between 2 shapes. </p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be a</span> </b>GEOM_Object \r
- (COMPOUND).</p>\r
-\r
-<p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span> \r
- &nbsp;<span style="font-style: italic;"><I>geompy.MakeSection(s1, \r
- s2)</I></span> </p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 2 shapes.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/neo-section.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> &nbsp;<img src="pics/sectionsn.png" x-maintain-ratio="TRUE" width="215px" height="265px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs8">&nbsp;&nbsp;<span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
- provide you with useful examples of the use of <a href="boolean_operations.htm#bookmark3">Boolean \r
- Operations</a>. </font></span></p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Boolean 
+ - &gt; Section</B></span></p>
+
+<p class="whs3">&nbsp;</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">&nbsp;</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> 
+ &nbsp;<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">&nbsp;</p>
+
+<p class="whs3">&nbsp;</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">&nbsp;</p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs4"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="253px" height="266px" border="0" class="img_whs6"> &nbsp;<img src="pics/sectionsn.png" x-maintain-ratio="TRUE" width="215px" height="265px" border="0" class="img_whs7"></p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs8">&nbsp;&nbsp;<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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 70800b28a85152860df923033e14da4ba6bc882d..f218bc46033b8f177801bae5a82dc5b28b3c9cb0 100755 (executable)
Binary files a/doc/salome/gui/GEOM/selectcolor.png and b/doc/salome/gui/GEOM/selectcolor.png differ
index abac91a386de9713816bb93aaa0f5c837da0db9f..6851c44d41d49ff4ac501d988738ee389f194b41 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Sewing</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-img_whs4 { border:none; width:312px; height:346px; float:none; border-style:none; }\r
-p.whs5 { font-size:12pt; margin-left:40px; }\r
-img_whs6 { border:none; width:343px; height:123px; float:none; border-style:none; }\r
-img_whs7 { border:none; width:150px; height:132px; border-style:none; }\r
-p.whs8 { font-weight:bold; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nSewing");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Sewing</B></span> operation in the Main \r
- Menu select <span style="font-weight: bold;"><B>Repair - &gt; Sewing</B></span>.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs3">This \r
- operation allows to sew several &nbsp;shapes.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeSewing(ListOfShape, Precision)</I></span>, \r
- where ListOfShape is list of shapes to be sewed, Precision is a precision \r
- for sewing.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/repair6.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 or more shapes + 1 value (sew precision).</p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>Detect \r
- </B></span>button allows to display the number of free boundaries in your \r
- shape:</font></span></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><img src="pics/neo-detect2.png" x-maintain-ratio="TRUE" width="343px" height="123px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs5"><img src="image112.jpg" width="150px" height="132px" border="0" class="img_whs7"> &nbsp;<img src="image113.jpg" width="150px" height="132px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs8"><span style="font-weight: normal;">Our</span> \r
- TUI Scripts<span style="font-weight: normal;"> provide you with useful \r
- examples of the use of</span> <a href="repairing_operations.htm#bookmark5">Repairing \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Sewing</B></span>.</p>
+
+<p>&nbsp;</p>
+
+<p class="whs3">This 
+ operation allows to sew several &nbsp;shapes.</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs4"><img src="image112.jpg" width="150px" height="132px" border="0" class="img_whs7"> &nbsp;<img src="image113.jpg" width="150px" height="132px" border="0" class="img_whs7"></p>
+
+<p class="whs2">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index ba0c19f7fe843bf7f9f9d48c7339c39f0d7ab302..9355a95b69b1bdaf374bc179138b352a68d0a7cb 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Shape Processing</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:25px; height:24px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-table.whs3 { x-cell-content-align:top; width:100%; border-spacing:0px; }\r
-col.whs4 { width:8.851%; }\r
-col.whs5 { width:91.149%; }\r
-tr.whs6 { x-cell-content-align:top; }\r
-td.whs7 { width:8.851%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }\r
-td.whs8 { width:91.149%; border-top-style:Solid; border-top-color:#000000; border-top-width:1px; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }\r
-td.whs9 { width:8.851%; border-left-width:1px; border-left-color:#000000; border-left-style:Solid; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }\r
-td.whs10 { width:91.149%; border-right-width:1px; border-right-color:#000000; border-right-style:Solid; border-bottom-style:Solid; border-bottom-color:#000000; border-bottom-width:1px; padding-right:10px; padding-left:10px; }\r
-p.whs11 { font-size:12pt; margin-left:40px; }\r
-img_whs12 { border:none; width:403px; height:469px; float:none; border-style:none; }\r
-img_whs13 { border:none; width:300px; height:214px; border-style:none; }\r
-img_whs14 { border:none; width:244px; height:214px; border-style:none; }\r
-p.whs15 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
-p.whs16 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-img_whs17 { border:none; width:239px; height:214px; border-style:none; }\r
-p.whs18 { font-weight:bold; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nShape Processing");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Shape Processing</B></span> operation in \r
- the Main Menu select <span style="font-weight: bold;"><B>Repair - &gt;</B></span> \r
- <span style="font-weight: bold;"><B>Shape Processing.</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This operation processes a shape using various \r
- operators.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.ProcessShape(Shape, Operators, \r
- Parameters, Values)</I></span>, where Shape is a processed shape, Operators \r
- is a list of names of operators (&quot;FixShape&quot;, &quot;SplitClosedFaces&quot;, \r
- etc.), Parameters is a list of names of parameters (\93FixShape.Tolerance3d\94\r
- etc), Values is a list of values of parameters in the same order as the \r
- Parameters list.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- 1 or more shapes.</p>\r
-\r
-<table x-use-null-cells cellspacing="0" width="100%" class="whs3">\r
-<script language='JavaScript'><!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='100%' border='1' bordercolor='black' bordercolorlight='black' bordercolordark='black'>");\r
-//--></script>\r
-<col class="whs4">\r
-<col class="whs5">\r
-\r
-<tr valign="top" class="whs6">\r
-<td width="8.851%" class="whs7">\r
-<p>1</td>\r
-<td width="91.149%" class="whs8">\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitAngle \96 \r
- this operator is intended for splitting faces based on conical surfaces, \r
- surfaces of revolution and cylindrical surfaces by angle</font></span></p>\r
-<p class="whs2">SplitAngle.Angle \96 angle (in radians) defining \r
- size of result segments.</p>\r
-<p class="whs2">SplitAngle.MaxTolerance \96 maximal possible \r
- tolerance on result shape</td></tr>\r
-\r
-<tr valign="top" class="whs6">\r
-<td width="8.851%" class="whs9">\r
-<p>2</td>\r
-<td width="91.149%" class="whs10">\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitClosedFaces \r
\96 this operator is intended for dividing all closed faces in the shape \r
- according to the number of points.</font></span></p>\r
-<p class="whs2">SplitClosedFaces.NbSplitPoints \96 number of \r
- points for cutting each closed faces.</td></tr>\r
-\r
-<tr valign="top" class="whs6">\r
-<td width="8.851%" class="whs9">\r
-<p>3</td>\r
-<td width="91.149%" class="whs10">\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixFaceSize \r
\96 this operator is intended for removing small faces (case of the spot \r
- face and strip face)</font></span></p>\r
-<p class="whs2">FixFaceSize.Tolerance \96 work tolerance defining \r
- which faces will be removed.</td></tr>\r
-\r
-<tr valign="top" class="whs6">\r
-<td width="8.851%" class="whs9">\r
-<p>4</td>\r
-<td width="91.149%" class="whs10">\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">DropSmallEdges \r
\96 this operator is intended for removing small edges or merging with neigbour. \r
- &nbsp;</font></span></p>\r
-<p class="whs2">DropSmallEdges.Tolerance3d \96 work tolerance \r
- for detection and removing small edges.</td></tr>\r
-\r
-<tr valign="top" class="whs6">\r
-<td width="8.851%" class="whs9">\r
-<p>5</td>\r
-<td width="91.149%" class="whs10">\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">BsplineRestriction \r
\96this operator is intended for re-approximation BSplines curves and surfaces \r
- or conversion of the curves and surfaces to BSplines with specified parameters. \r
- </font></span></p>\r
-<p class="whs2">BSplineRestriction.SurfaceMode - mode of approximation \r
- of surfaces if restriction is necessary</p>\r
-<p class="whs2">BSplineRestriction.Curve3dMode -mode of conversion \r
- of any 3D curve to BSpline and approximation.</p>\r
-<p class="whs2">BSplineRestriction.Curve2dMode - mode of conversion \r
- of any 2D curve to BSpline and approximation</p>\r
-<p class="whs2">BSplineRestriction.Tolerance3d \96 work tolerance \r
- for definition of the possibility of the approximation of the surfaces \r
- and 3D curves with specified parameters.</p>\r
-<p class="whs2">BSplineRestriction.Tolerance2d - work tolerance \r
- for definition of the possibility of the approximation of the 2D curves \r
- with specified parameters.</p>\r
-<p class="whs2">BSplineRestriction.Continuity3d \96 desired continuity \r
- of the resultant surfaces and 3D curves.</p>\r
-<p class="whs2">BSplineRestriction.Continuity2d \96 desired continuity \r
- of the resultant 2D curves.</p>\r
-<p class="whs2">BSplineRestriction.RequiredDegree - required \r
- degree of the resultant BSplines</p>\r
-<p class="whs2">BSplineRestriction.RequiredNbSegments - required \r
- maximum number of segments of resultant BSp<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">lines.</font></span></td></tr>\r
-\r
-<tr valign="top" class="whs6">\r
-<td width="8.851%" class="whs9">\r
-<p>6</td>\r
-<td width="91.149%" class="whs10">\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitContinuity \r
\96 this operator is intended for splitting shapes to achieve continuities \r
- of curves and surfaces less than specified ones. </font></span></p>\r
-<p class="whs2">SplitContinuity.Tolerance3d - 3D tolerance \r
- for correction of geometry.</p>\r
-<p class="whs2">SplitContinuity.SurfaceContinuity - required \r
- continuity for surfaces.</p>\r
-<p class="whs2">SplitContinuity.CurveContinuity - required \r
- continuity for curves.</td></tr>\r
-\r
-<tr valign="top" class="whs6">\r
-<td width="8.851%" class="whs9">\r
-<p>7</td>\r
-<td width="91.149%" class="whs10">\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">ToBezier - this \r
- operator is intended for conversion of the curves and surfaces of the \r
- all types into Bezier curves and surfaces. </font></span></p>\r
-<p class="whs2">ToBezier.SurfaceMode - mode of conversion of \r
- the surfaces.</p>\r
-<p class="whs2">ToBezier.Curve3dMode \96 mode for conversion \r
- of the 3D curves.</p>\r
-<p class="whs2">ToBezier.Curve2dMode \96 mode for conversion \r
- of the 2D curves.</p>\r
-<p class="whs2">ToBezier.MaxTolerance \96 max possible tolerance \r
- on the resultant shape.</td></tr>\r
-\r
-<tr valign="top" class="whs6">\r
-<td width="8.851%" class="whs9">\r
-<p>8</td>\r
-<td width="91.149%" class="whs10">\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixShape \96 this \r
- operator is intended for correction of the invalid shapes </font></span></p>\r
-<p class="whs2">FixShape.Tolerance3d \96 work tolerance for detection \r
- of the problems and correction of them.</p>\r
-<p class="whs2">FixShape.MaxTolerance3d - maximal possible \r
- tolerance of the shape after correction.</td></tr>\r
-\r
-<tr valign="top" class="whs6">\r
-<td width="8.851%" class="whs9">\r
-<p>9</td>\r
-<td width="91.149%" class="whs10">\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SameParameter \r
\96 this operator is intended for fixing edges having not same parameter \r
- 2D and 3D curves. </font></span></p>\r
-<p class="whs2">SameParameter.Tolerance3d \96 tolerance for detection \r
- and fix problems. </td></tr>\r
-<script language='JavaScript'><!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");\r
-//--></script>\r
-</table>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="pics/repair1.png" x-maintain-ratio="TRUE" width="403px" height="469px" border="0" class="img_whs12"> &nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">Shape before applying Shape Processing (FixShape \r
- operator).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="image154.jpg" width="300px" height="214px" border="0" class="img_whs13"> &nbsp;&nbsp;&nbsp;<img src="image156.jpg" width="244px" height="214px" border="0" class="img_whs14"></p>\r
-\r
-<p class="whs15">&nbsp;</p>\r
-\r
-<p class="whs16">The \r
- same shape after applying Shape Processing.</p>\r
-\r
-<p class="whs15">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="image160.jpg" width="239px" height="214px" border="0" class="img_whs17"></p>\r
-\r
-<p class="whs18">&nbsp;</p>\r
-\r
-<p class="whs18"><span style="font-weight: normal;">Our</span> \r
- TUI Scripts<span style="font-weight: normal;"> provide you with useful \r
- examples of the use of</span> <a href="repairing_operations.htm#bookmark">Repairing \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt;</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">&nbsp;</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">&nbsp;</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 (&quot;FixShape&quot;, &quot;SplitClosedFaces&quot;, 
+ 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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs5">Operators and Parameters<span 
+ style="font-weight: normal;"> (TUI names are given in brackets)</span></p>
+
+<p class="whs2">&nbsp;</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) 
+ &nbsp;- 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 . &nbsp;</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 &nbsp;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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p>&nbsp;</p>
+
+<p class="whs2">Shape before applying Shape Processing (FixShape 
+ operator).</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs3"><img src="image154.jpg" width="300px" height="214px" border="0" class="img_whs16"> &nbsp;&nbsp;&nbsp;<img src="image156.jpg" width="244px" height="214px" border="0" class="img_whs17"></p>
+
+<p class="whs18">&nbsp;</p>
+
+<p class="whs19">The 
+ same shape after applying Shape Processing.</p>
+
+<p class="whs18">&nbsp;</p>
+
+<p class="whs3"><img src="image160.jpg" width="239px" height="214px" border="0" class="img_whs20"></p>
+
+<p class="whs21">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index df6d6ee37e9d500652b618e95aabe1d8a862f8fa..ede22748087c9c3d03da72a000f15344ccbf7420 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Shell</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; }\r
-img_whs5 { border:none; width:188px; height:178px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nShell");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o create \r
- a <span style="font-weight: bold;"><B>Shell</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>New Entity - &gt; Build - &gt; Shell</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">You \r
- can</span> <span style="font-weight: normal;">c</span></b>reate a <span \r
- style="font-weight: bold;"><B>Shell</B></span> from a list of faces and (or) \r
- shells.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result<span style="font-weight: normal;"> will be a </b>&nbsp;</span>GEOM_Object \r
- (SHELL).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeShell(ListOfShape)</I></span> \r
- </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">List of faces having connected edges.</font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/neo-obj5.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/shellsn.png" x-maintain-ratio="TRUE" width="188px" height="178px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="geometrical_objects.htm#bookmark2">Advanced Geometric \r
- Objects</a>. </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</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
+<!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 - &gt; Build - &gt; Shell</B></span></p>
+
+<p>&nbsp;</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>&nbsp;</span>GEOM_Object 
+ (shell).</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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>&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 37f343ff155c85e496c04a6ca5eaf3fd2b20c5a3..1bff414a8d497ec905930f369b069387b097bd91 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Sketcher</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; float:none; width:30px; height:30px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { margin-left:108px; font-size:12pt; }\r
-ul.whs4 { list-style:disc; }\r
-p.whs5 { margin-left:40px; font-size:12pt; }\r
-img_whs6 { border:none; width:321px; height:496px; float:none; border-style:none; }\r
-p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
-p.whs8 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }\r
-p.whs9 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }\r
-img_whs10 { border:none; width:200px; height:200px; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs7 {text-indent:1pt; }";\r
-  strNSS += "p.whs8 {text-indent:1pt; }";\r
-  strNSS += "p.whs9 {text-indent:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nSketcher");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Sketcher</h1>\r
-\r
-<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 \r
- segment and arc. &nbsp;The \r
- curve is created from the current point (center of coordinates when the \r
- sketcher is started). &nbsp;The \r
- end of the curve is defined by means of &quot;destination&quot;, which \r
- can be a destination point (for segment only) or destination direction \r
- coupled with length of a segment or angle and radius of an arc.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Sketcher is able to create planar curves only. Therefore, it is necessary \r
- to select a working plane before starting a sketch (by default, XOY plane \r
- is used). Sketcher creates curves lying in the current working plane (New \r
- Entity -&gt; Basic -&gt; Working Plane).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>This functionality is available from the main menu via <span style="font-style: italic;"><I>New \r
- Entity / Sketch.</I></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2"><b><span style="font-weight: normal;">T</span></b><b><span \r
- style="font-weight: normal;">he</span> Result <span style="font-weight: normal;">of \r
- the operation will be a</span></b><b> GEOM_Object</b>.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeSketcher(Command, WorkingPlane)</I></span></p>\r
-\r
-<p class="whs3">This algorithm creates \r
- a sketcher (wire or face), following the textual description, passed through \r
- the Command argument. The edges of the resulting wire or face will be \r
- arcs of circles and/or linear segments.</p>\r
-\r
-<p class="whs3"><span style="font-style: italic;"><I>Command</I></span> \r
- is a string, defining the sketcher by the coordinates of points in the \r
- local working plane.</p>\r
-\r
-<p class="whs3"><span style="font-style: italic;"><I>WorkingPlane</I></span> \r
- is a planar face of the working plane (a list of 9 doubles which are coordinates \r
- of OZ and OX of the local working plane).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- </p>\r
-\r
-<p class="whs2"><span><font size=3 style="font-size:12pt;">1. Element type (segment or arc).</font></span></p>\r
-\r
-<p class="whs2">2. Destination type (point or direction).</p>\r
-\r
-<p class="whs2">3. <span>Destination point by means of:</span></p>\r
-\r
-<ul type="disc" class="whs4">\r
-       \r
-       <li class=kadov-p><p class="whs2">absolute coordinates \r
- X,Y;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">relative coordinates \r
- DX, DY (with respect to the current point);</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">selection of an existing \r
- point.</p></li>\r
-</ul>\r
-\r
-<p class="whs2">4. Destination direction by means of:</p>\r
-\r
-<ul type="disc" class="whs4">\r
-       \r
-       <li class=kadov-p><p class="whs2">angle between the new \r
- segment and the previous one;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">perpendicular to the \r
- previous segment (same as previous, but angle is predefined and is equal \r
- to 90 degrees);</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">tangent to the previous \r
- segment;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">vector components DX, \r
- DY.</p></li>\r
-</ul>\r
-\r
-<p class="whs2">5. Parameters of an element (for segment : \r
- length or target X or Y coordinate value, for arc : radius and angle).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs5"><img src="pics/neo-scetcher1.png" x-maintain-ratio="TRUE" width="321px" height="496px" border="0" class="img_whs6"> &nbsp;&nbsp;<img src="pics/neo-scetcher2.png" x-maintain-ratio="TRUE" width="321px" height="496px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs8">Example:</p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs9"><img src="image204.jpg" width="200px" height="200px" border="0" class="img_whs10"> &nbsp;&nbsp;<img src="image206.jpg" width="200px" height="200px" border="0" class="img_whs10"></p>\r
-\r
-<p class="whs9">&nbsp;</p>\r
-\r
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
- provide you with useful examples of the use of <a href="sketcher_tui.htm">Sketcher</a>. \r
- </p>\r
-\r
-<p>&nbsp;</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
+<!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. &nbsp;The 
+ curve is created from the current point (center of coordinates when the 
+ sketcher is started). &nbsp;The 
+ end of the curve is defined by means of &quot;destination&quot;, 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>&nbsp;</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 -&gt; Basic -&gt; Working Plane).</p>
+
+<p>&nbsp;</p>
+
+<p>This functionality is available from the main menu via <span style="font-style: italic;"><I>New 
+ Entity / Sketch.</I></span></p>
+
+<p>&nbsp;</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>&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs5"><img src="pics/neo-scetcher1.png" x-maintain-ratio="TRUE" width="321px" height="496px" border="0" class="img_whs6"> &nbsp;&nbsp;<img src="pics/neo-scetcher2.png" x-maintain-ratio="TRUE" width="321px" height="496px" border="0" class="img_whs6"></p>
+
+<p class="whs7">&nbsp;</p>
+
+<p class="whs8">Example:</p>
+
+<p class="whs9">&nbsp;</p>
+
+<p class="whs9"><img src="image204.jpg" width="200px" height="200px" border="0" class="img_whs10"> &nbsp;&nbsp;<img src="image206.jpg" width="200px" height="200px" border="0" class="img_whs10"></p>
+
+<p class="whs9">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index f191ae610e99ba88d99a08f330ea94ccafe5ac37..2294988a4f56d91c2fb5b9e3c150ca638c1f8b49 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Sketcher</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\r
-p.whs2 { font-family:'MS Sans Serif' , sans-serif; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nSketcher");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Sketcher</h1>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(70., \r
- &nbsp;0., &nbsp;0.)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex(70., \r
- 70., 80.)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex( \r
- 0., 70., &nbsp;0.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>#create a vector from two points</p>\r
-\r
-<p class="whs1">vector_arc = geompy.MakeVector(p1, \r
- p3)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create an arc from three points</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(p1, \r
- p2, p3)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a wire</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vector_arc, \r
- arc])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a planar face</p>\r
-\r
-<p class="whs1">isPlanarWanted = 1</p>\r
-\r
-<p class="whs1">face = geompy.MakeFace(wire, \r
- isPlanarWanted)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a sketcher (face), following the textual description</p>\r
-\r
-<p class="whs1">sketcher1 = geompy.MakeSketcher(&quot;Sketcher:F \r
- -100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WF&quot;,</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[100,0,0, \r
- 1,1,1, -1,1,0])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a sketcher (wire) on the given face</p>\r
-\r
-<p class="whs1">sketcher2 = geompy.MakeSketcherOnPlane(&quot;Sketcher:F \r
- 10 -30:R 10:C 20 180:R 15:L 50:WW&quot;,</p>\r
-\r
-<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;face)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs2">id_face = geompy.addToStudy(face,&quot;Face&quot;)</p>\r
-\r
-<p class="whs2">id_sketcher1 = geompy.addToStudy(sketcher1,&quot;Sketcher1&quot;)</p>\r
-\r
-<p class="whs2">id_sketcher2 = geompy.addToStudy(sketcher2,&quot;Sketcher2&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the first sketcher and the second sketcher with its planar \r
- face</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_face)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_face,1)</p>\r
-\r
-<p class="whs1">gg.setTransparency(id_face,0.5)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_sketcher1)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_sketcher2)</span> \r
- </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
+<!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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices</p>
+
+<p class="whs1">p1 = geompy.MakeVertex(70., 
+ &nbsp;0., &nbsp;0.)</p>
+
+<p class="whs1">p2 = geompy.MakeVertex(70., 
+ 70., 80.)</p>
+
+<p class="whs1">p3 = geompy.MakeVertex( 
+ 0., 70., &nbsp;0.)</p>
+
+<p>&nbsp;</p>
+
+<p>#create a vector from two points</p>
+
+<p class="whs1">vector_arc = geompy.MakeVector(p1, 
+ p3)</p>
+
+<p>&nbsp;</p>
+
+<p># create an arc from three points</p>
+
+<p class="whs1">arc = geompy.MakeArc(p1, 
+ p2, p3)</p>
+
+<p>&nbsp;</p>
+
+<p># create a wire</p>
+
+<p class="whs1">wire = geompy.MakeWire([vector_arc, 
+ arc])</p>
+
+<p>&nbsp;</p>
+
+<p># create a planar face</p>
+
+<p class="whs1">isPlanarWanted = 1</p>
+
+<p class="whs1">face = geompy.MakeFace(wire, 
+ isPlanarWanted)</p>
+
+<p>&nbsp;</p>
+
+<p># create a sketcher (face), following the textual description</p>
+
+<p class="whs1">sketcher1 = geompy.MakeSketcher(&quot;Sketcher:F 
+ -100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WF&quot;,</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[100,0,0, 
+ 1,1,1, -1,1,0])</p>
+
+<p>&nbsp;</p>
+
+<p># create a sketcher (wire) on the given face</p>
+
+<p class="whs1">sketcher2 = geompy.MakeSketcherOnPlane(&quot;Sketcher:F 
+ 10 -30:R 10:C 20 180:R 15:L 50:WW&quot;,</p>
+
+<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;face)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs2">id_face = geompy.addToStudy(face,&quot;Face&quot;)</p>
+
+<p class="whs2">id_sketcher1 = geompy.addToStudy(sketcher1,&quot;Sketcher1&quot;)</p>
+
+<p class="whs2">id_sketcher2 = geompy.addToStudy(sketcher2,&quot;Sketcher2&quot;)</p>
+
+<p>&nbsp;</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>
index f8f08688eca9265ce55f73f26570ac5ba7fca7ea..a46e8a241e0badaf2cdf665cd2f2a7dee678ae96 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Solid</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-weight:bold; }\r
-p.whs4 { font-size:12pt; margin-left:0px; }\r
-img_whs5 { border:none; width:312px; height:315px; float:none; border-style:none; }\r
-p.whs6 { font-size:12pt; margin-left:40px; }\r
-img_whs7 { border:none; width:215px; height:190px; float:none; border-style:none; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs4 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nSolid");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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"> &nbsp;</font></span>Solid</h1>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o create \r
- a <span style="font-weight: bold;"><B>Solid</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>New Entity - &gt; Build - &gt; Solid.</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><span style="font-weight: normal;">You \r
- can create a</span> Solid <span style="font-weight: normal;">from a list \r
- of shells.</span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">will be a</span><span style="font-weight: normal;"> \r
- </b>&nbsp;</span>GEOM_Object \r
- (SOLID).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeSolid(ListOfShape)</I></span>, \r
- where ListOfShape is a list of shells from which the solid is constructed.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + A closed shell or a list of shells.</p>\r
-\r
-<p class="whs4"><img src="pics/neo-obj6.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3">Example:</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs6"><img src="pics/solidsn.png" x-maintain-ratio="TRUE" width="215px" height="190px" border="0" class="img_whs7"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="geometrical_objects.htm#bookmark3">Advanced Geometric \r
- Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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"> &nbsp;</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 - &gt; Build - &gt; Solid.</B></span></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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>&nbsp;</span>GEOM_Object 
+ (SOLID).</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs3">Example:</p>
+
+<p class="whs3">&nbsp;</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">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index b5352be3d1fcfdfdb553a1171e2028f64a06a50e..b23ecdcab67970664833eec2b13778d9fb0542cd 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Sphere</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:312px; height:315px; float:none; border-style:none; }\r
-p.whs4 { font-size:12pt; font-weight:bold; }\r
-p.whs5 { margin-left:40px; }\r
-img_whs6 { border:none; width:286px; height:284px; float:none; border-style:none; }\r
-p.whs7 { margin-left:40px; font-weight:bold; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nSphere");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</font></span>Sphere</h1>\r
-\r
-<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Sphere</B></span> \r
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
- style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Sphere</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Sphere</B></span>. \r
- </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of each operation will be a</span></b> \r
- GEOM_Object (SOLID).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Sphere</B></span> \r
- by the <span style="font-weight: bold;"><B>Center Point</B></span> and the <span \r
- style="font-weight: bold;"><B>Radius</B></span>.</p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeSphere(Point, \r
- Radius)</I></span></p>\r
-\r
-<p><b style="font-weight: bold;">Arguments:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>1 vertex + 1 value (Radius).</p>\r
-\r
-<p><b style="font-weight: bold;"><img src="pics/sphere1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs3"></b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;"><span style="font-weight: normal;">Secondly, \r
- you can define a</span> Sphere <span style="font-weight: normal;">with \r
- the center at the origin of coordinate system by the</span> Radius.</b></p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command: <span style="font-weight: normal; font-style: italic;"><I>geompy. \r
- MakeSphereR(Radius)</I></span></b></p>\r
-\r
-<p><b style="font-weight: bold;">Arguments:</b> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name \r
- + </font></span>1 &nbsp;value \r
- (Radius from the origin).</p>\r
-\r
-<p><img src="pics/sphere2.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs3"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">NB! <span style="font-weight: normal;">The \r
- is another way to create a </span>Sphere<span style="font-weight: normal;">, \r
- which is currently accessible only via</span> TUI <span style="font-weight: normal;">commands.</span></p>\r
-\r
-<p class="whs4"><span style="font-weight: normal;">You \r
- can define the</span> Sphere <span style="font-weight: normal;">by the \r
- coordinates of the</span> Center Point <span style="font-weight: normal;">and \r
- its</span> Radius <span style="font-weight: normal;">(in this way you \r
- don't need to create it in advance).</span> </p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">TUI \r
- Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeSphere(X, \r
- Y, Z, Radius)</I></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs5"><img src="pics/spheres.png" x-maintain-ratio="TRUE" width="286px" height="284px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="primitives.htm#bookmark2">Primitives</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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"> &nbsp;</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 - &gt; Primitives - &gt; Sphere</B></span></p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</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 &nbsp;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">&nbsp;</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>&nbsp;</p>
+
+<p><b style="font-weight: bold;">Example:</b></p>
+
+<p>&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">Our TUI Scripts provide you with useful examples 
+ of creation of <a href="primitives.htm#bookmark2">Primitives</a>. </p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index a67a8a6972f9cc8cdd0fd02c89a4a98c5ac38ab1..1322bddf25a0d5dcfda19c05bc7c72b66af62809 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Suppress Faces</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; }\r
-img_whs5 { border:none; float:none; width:222px; height:213px; border-style:none; }\r
-img_whs6 { border:none; float:none; width:210px; height:214px; border-style:none; }\r
-p.whs7 { font-weight:bold; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nSuppress Faces");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Suppress Faces</B></span> operation in \r
- the Main Menu select <span style="font-weight: bold;"><B>Repair - &gt; Suppress \r
- Faces</B></span>.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This operation suppresses a face of a shape. \r
- This operation is available in <span style="font-weight: bold;"><B>OCC Viewer</B></span> \r
- only. </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
- (ListOfGeomShapes).</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.SuppressFaces(Shape, ListOfID)</I></span>, \r
- where Shape is a shape to be processed, ListOfID is a list of faces ID's \r
- to be removed.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + Faces which should be removed (you can select them in the 3D viewer).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/repair2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/suppress_faces1.png" x-maintain-ratio="TRUE" width="222px" height="213px" border="0" class="img_whs5"> &nbsp;<img src="pics/suppress_faces2.png" x-maintain-ratio="TRUE" width="210px" height="214px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs7"><span style="font-weight: normal;">Our</span> \r
- TUI Scripts <span style="font-weight: normal;">provide you with useful \r
- examples of the use of</span> <a href="repairing_operations.htm#bookmark1">Repairing \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Suppress 
+ Faces</B></span>.</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs3"><img src="pics/suppress_faces1.png" x-maintain-ratio="TRUE" width="222px" height="213px" border="0" class="img_whs5"> &nbsp;<img src="pics/suppress_faces2.png" x-maintain-ratio="TRUE" width="210px" height="214px" border="0" class="img_whs6"></p>
+
+<p class="whs3">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 3206a63edc192eea27ed5233d8994230b0f78394..1ced853b910f28512d0943cd4804b0fbe6d7fc8c 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Suppress Holes</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:312px; height:381px; float:none; border-style:none; }\r
-p.whs4 { font-size:12pt; margin-left:40px; }\r
-img_whs5 { border:none; width:343px; height:123px; float:none; border-style:none; }\r
-img_whs6 { border:none; width:150px; height:136px; border-style:none; }\r
-p.whs7 { font-weight:bold; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nSuppress Holes");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o <span \r
- style="font-weight: bold;"><B>Suppress Holes</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>Repair - &gt; Suppress Holes</B></span>.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>This operation removes holes on a selected shape. <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">This \r
- operation is available in </font></span><span style="font-weight: bold;"><B>OCC \r
- Viewer</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> only. </font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.SuppressHoles(Shape, ListOfWireID)</I></span>, \r
- where Shape is a shape where holes must be removed, ListOfWireID is a \r
- list of wire sub shapes ID\92s. If it is empty, then all holes are removed.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/repair5.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs3"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
- + 1 shape + Wires which should be removed.</p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B>Remove all \r
- holes </B></span>checkbox allows to fill all holes of a definite shape.</p>\r
-\r
-<p class="whs2"><span style="font-weight: bold;"><B>Detect </B></span>button \r
- allows to display the number of free boundaries in your shape:</p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/neo-detect2.png" x-maintain-ratio="TRUE" width="343px" height="123px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs4">&nbsp;<img src="image109.jpg" width="150px" height="136px" border="0" class="img_whs6"> &nbsp;<img src="image110.jpg" width="150px" height="136px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs7"><span style="font-weight: normal;">Our</span> \r
- TUI Scripts<span style="font-weight: normal;"> provide you with useful \r
- examples of the use of</span> <a href="repairing_operations.htm#bookmark4">Repairing \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Suppress Holes</B></span>.</p>
+
+<p>&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3">&nbsp;<img src="image109.jpg" width="150px" height="136px" border="0" class="img_whs6"> &nbsp;<img src="image110.jpg" width="150px" height="136px" border="0" class="img_whs6"></p>
+
+<p class="whs2">&nbsp;</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>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 463cd206aa99d6e494275f5fcedec5cac95a0be9..53228dc227ff2b7d660f20370793a73e64cf5269 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Suppress Internal Wires</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-ul.whs3 { list-style:disc; }\r
-p.whs4 { font-size:12pt; margin-left:40px; }\r
-img_whs5 { border:none; width:312px; height:350px; float:none; border-style:none; }\r
-p.whs6 { font-size:12pt; font-weight:bold; }\r
-img_whs7 { border:none; width:225px; height:268px; float:none; border-style:none; }\r
-img_whs8 { border:none; float:none; width:234px; height:267px; border-style:none; }\r
-p.whs9 { font-weight:bold; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nSuppress Internal Wires");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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 \r
- Wires</h1>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o <span \r
- style="font-weight: bold;"><B>Suppress Internal Wires</B></span> in the Main \r
- Menu select <span style="font-weight: bold;"><B>Repair - &gt; Suppress Internal \r
- Wires</B></span>.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This operation removes all internal wires or \r
- specified internal wires from user specified faces. This operation is \r
- available in <span style="font-weight: bold;"><B>OCC Viewer</B></span> only. \r
- </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.SuppressInternalWires(Shape, \r
- Wires)</I></span>, where Shape is a shape where wires are to be removed, Wires \r
- is a list of wires ID\92s to be removed; if the list is empty then all internal \r
- wires are removed.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b></p>\r
-\r
-<ul type="disc" class="whs3">\r
-       \r
-       <li class=kadov-p><p class="whs2">Name of the resulting \r
- object</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">User specified face</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2">User specified internal \r
- wires (lying on this face except for its boundary), or, in case the <span \r
- style="font-weight: bold;"><B>Remove all internal wires</B></span> box is checked, \r
- all internal wires</p></li>\r
-</ul>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/repair4.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs6">Example:</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4"><img src="pics/supp_int_wires1.png" x-maintain-ratio="TRUE" width="225px" height="268px" border="0" class="img_whs7"> &nbsp;&nbsp;&nbsp;<img src="pics/supp_int_wires2.png" x-maintain-ratio="TRUE" width="234px" height="267px" border="0" class="img_whs8"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs9"><span style="font-weight: normal;">Our</span> \r
- TUI Scripts<span style="font-weight: normal;"> provide you with useful \r
- examples of the use of</span> <a href="repairing_operations.htm#bookmark3">Repairing \r
- Operations</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Suppress Internal 
+ Wires</B></span>.</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs6">Example:</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs4"><img src="pics/supp_int_wires1.png" x-maintain-ratio="TRUE" width="225px" height="268px" border="0" class="img_whs7"> &nbsp;&nbsp;&nbsp;<img src="pics/supp_int_wires2.png" x-maintain-ratio="TRUE" width="234px" height="267px" border="0" class="img_whs8"></p>
+
+<p class="whs2">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 2578a8271ded1cf26c7e4b24afaee7ebca4f475a..dd15a9910d481aebcf54da84efe87542e3fa49d4 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Transformation Operations</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
-p.whs1 { font-family:'Lucida Console' , monospace; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTUI Scripts\nTransformation\nTransformation Operations");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Transformation Operations</h1>\r
-\r
-<h3><a name=bookmark>Translation</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(10, \r
- 40, 0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex( \r
- 0, &nbsp;0, 50)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex(50, \r
- 80, 0)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p class="whs1">vt = geompy.MakeVector(p1, \r
- p3)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cylinder</p>\r
-\r
-<p class="whs1">height = 35</p>\r
-\r
-<p class="whs1">radius1 = 20</p>\r
-\r
-<p class="whs1">cylinder = geompy.MakeCylinder(p1, \r
- v, radius1, height)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># translate the given object along the vector, specified by its end \r
- points</p>\r
-\r
-<p># (all three functions produce the same result)</p>\r
-\r
-<p class="whs1">translation1 = geompy.MakeTranslationTwoPoints(cylinder, \r
- p1, p3)</p>\r
-\r
-<p class="whs1">translation2 = geompy.MakeTranslation(cylinder, \r
- 40, 40, 0)</p>\r
-\r
-<p class="whs1">translation3 = geompy.MakeTranslationVector(cylinder, \r
- vt)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_cylinder = geompy.addToStudy(cylinder, \r
- &quot;Cylinder&quot;)</p>\r
-\r
-<p class="whs1">id_translation1 = \r
- geompy.addToStudy(translation1, &quot;Translation1&quot;)</p>\r
-\r
-<p class="whs1">id_translation2 = \r
- geompy.addToStudy(translation2, &quot;Translation2&quot;)</p>\r
-\r
-<p class="whs1">id_translation3 = \r
- geompy.addToStudy(translation3, &quot;Translation3&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_translation1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_translation1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_translation2)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_translation2,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_translation3)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_translation3,1)</span> \r
- </p>\r
-\r
-<h3><a name=bookmark1>Rotation</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">import math</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(10, \r
- 40, 0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex( \r
- 0, &nbsp;0, 50)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex(10, \r
- 50,-20)</p>\r
-\r
-<p class="whs1">p4 = geompy.MakeVertex(10, \r
- 50, 60)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p class="whs1">vr = geompy.MakeVector(p3, \r
- p4)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cylinder</p>\r
-\r
-<p class="whs1">height = 35</p>\r
-\r
-<p class="whs1">radius1 = 20</p>\r
-\r
-<p class="whs1">cylinder = geompy.MakeCylinder(p1, \r
- v, radius1, height)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># rotate the given object around the given axis by the given angle</p>\r
-\r
-<p class="whs1">rotation = geompy.MakeRotation(cylinder, \r
- vr, math.pi)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_vr = geompy.addToStudy(vr, \r
- &quot;Rotation axis&quot;)</p>\r
-\r
-<p class="whs1">id_cylinder = geompy.addToStudy(cylinder, \r
- &quot;Cylinder&quot;)</p>\r
-\r
-<p class="whs1">id_rotation = geompy.addToStudy(rotation, \r
- &quot;Rotation&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_vr)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_rotation)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_rotation,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark4>Modify Location</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">import math</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a vertex and a vector</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex(10, \r
- 40, 0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex( \r
- 0, &nbsp;0, 50)</p>\r
-\r
-<p class="whs1">v = geompy.MakeVector(p1, \r
- p2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a cylinder</p>\r
-\r
-<p class="whs1">height = 35</p>\r
-\r
-<p class="whs1">radius1 = 20</p>\r
-\r
-<p class="whs1">cylinder = geompy.MakeCylinder(p1, \r
- v, radius1, height)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create local coordinate systems</p>\r
-\r
-<p class="whs1">cs1 = geompy.MakeMarker( \r
- 0, 0, 0, 1,0,0, 0,1,0)</p>\r
-\r
-<p class="whs1">cs2 = geompy.MakeMarker(30,40,40, \r
- 1,0,0, 0,1,0)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># modify the location of the given object</p>\r
-\r
-<p class="whs1">position = geompy.MakePosition(cylinder, \r
- cs1, cs2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_cs1 = geompy.addToStudy(cs1, \r
- &quot;Coordinate system 1&quot;)</p>\r
-\r
-<p class="whs1">id_cs2 = geompy.addToStudy(cs2, \r
- &quot;Coordinate system 2&quot;)</p>\r
-\r
-<p class="whs1">id_cylinder = geompy.addToStudy(cylinder, \r
- &quot;Cylinder&quot;)</p>\r
-\r
-<p class="whs1">id_position = geompy.addToStudy(position, \r
- &quot;Position&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_position)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_position,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark5>Mirror Image</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(200, \r
- 200, 200)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create an object, symmetrical to the given one relatively the given \r
- plane</p>\r
-\r
-<p class="whs1">p1 = geompy.MakeVertex( \r
- 0, 25, &nbsp;0)</p>\r
-\r
-<p class="whs1">p2 = geompy.MakeVertex( \r
- 5, 25, &nbsp;0)</p>\r
-\r
-<p class="whs1">p3 = geompy.MakeVertex( \r
- 0,-30, 40)</p>\r
-\r
-<p class="whs1">plane = geompy.MakePlaneThreePnt(p1, \r
- p2, p3, 1000.)</p>\r
-\r
-<p class="whs1">mirror1 = geompy.MakeMirrorByPlane(box, \r
- plane)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create an object, symmetrical to the given one relatively the given \r
- axis</p>\r
-\r
-<p class="whs1">p4 = geompy.MakeVertex( \r
- 210, 210, -20)</p>\r
-\r
-<p class="whs1">p5 = geompy.MakeVertex( \r
- 210, 210, 220)</p>\r
-\r
-<p class="whs1">axis = geompy.MakeVector(p4, \r
- p5)</p>\r
-\r
-<p class="whs1">mirror2 = geompy.MakeMirrorByAxis(box, \r
- axis)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create an object, symmetrical to the given one relatively the given \r
- point</p>\r
-\r
-<p class="whs1">mirror3 = geompy.MakeMirrorByPoint(box, \r
- p4)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_box = geompy.addToStudy(box, \r
- &quot;Box&quot;)</p>\r
-\r
-<p class="whs1">id_plane = geompy.addToStudy(plane, \r
- &quot;Plane&quot;)</p>\r
-\r
-<p class="whs1">id_mirror1 = geompy.addToStudy(mirror1, \r
- &quot;Mirror plane&quot;)</p>\r
-\r
-<p class="whs1">id_axis = geompy.addToStudy(axis, \r
- &quot;Axis&quot;)</p>\r
-\r
-<p class="whs1">id_mirror2 = geompy.addToStudy(mirror2, \r
- &quot;Mirror axis&quot;)</p>\r
-\r
-<p class="whs1">id_p4 = geompy.addToStudy(p4, \r
- &quot;Point&quot;)</p>\r
-\r
-<p class="whs1">id_mirror3 = geompy.addToStudy(mirror3, \r
- &quot;Mirror point&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_plane)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_mirror1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_mirror1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_axis)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_mirror2)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_mirror2,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_p4)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_mirror3)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_mirror3,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark6>Scale Transform </a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box and a sphere</p>\r
-\r
-<p class="whs1">box = geompy.MakeBoxDXDYDZ(200, \r
- 200, 200)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># scale the given object by the factor</p>\r
-\r
-<p class="whs1">p0 = geompy.MakeVertex(100, \r
- 100, 100)</p>\r
-\r
-<p class="whs1">factor = 0.5</p>\r
-\r
-<p class="whs1">scale = geompy.MakeScaleTransform(box, \r
- p0, factor)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_box = geompy.addToStudy(box, \r
- &quot;Box&quot;)</p>\r
-\r
-<p class="whs1">id_scale = geompy.addToStudy(scale, \r
- &quot;Scale&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_scale)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_scale,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark7>Offset Surface</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a box and a sphere</p>\r
-\r
-<p class="whs1">box = geompy.MakeBox(20, \r
- 20, 20, 200, 200, 200)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a new object as offset of the given object</p>\r
-\r
-<p class="whs1">offset = geompy.MakeOffset(box, \r
- 70.)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_box = geompy.addToStudy(box, \r
- &quot;Box&quot;)</p>\r
-\r
-<p class="whs1">id_offset = geompy.addToStudy(offset, \r
- &quot;Offset&quot;)</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p># display the results</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_box)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_box,1)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_offset)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark8>Multi Translation</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices and vectors</p>\r
-\r
-<p class="whs1">p0 &nbsp;= \r
- geompy.MakeVertex( 0., &nbsp;0., \r
- &nbsp;0.)</p>\r
-\r
-<p class="whs1">px &nbsp;= \r
- geompy.MakeVertex(20., &nbsp;0., \r
- &nbsp;0.)</p>\r
-\r
-<p class="whs1">py &nbsp;= \r
- geompy.MakeVertex( 0., 20., &nbsp;0.)</p>\r
-\r
-<p class="whs1">pz &nbsp;= \r
- geompy.MakeVertex( 0., &nbsp;0., \r
- 20.)</p>\r
-\r
-<p class="whs1">pxy = geompy.MakeVertex( \r
- 50., 0., 0.)</p>\r
-\r
-<p class="whs1">pxyz = geompy.MakeVertex( \r
- 50., 50., 50.)</p>\r
-\r
-<p class="whs1">vz &nbsp;= \r
- geompy.MakeVector(p0, pz)</p>\r
-\r
-<p class="whs1">vxy = geompy.MakeVector(px, \r
- py)</p>\r
-\r
-<p class="whs1">vtr1d = geompy.MakeVector(p0, \r
- pxyz)</p>\r
-\r
-<p class="whs1">vtr2d = geompy.MakeVector(p0, \r
- pxy)</p>\r
-\r
-<p>&nbsp;&nbsp;</p>\r
-\r
-<p># create an arc</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(py, \r
- pz, px)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a wire</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vxy, \r
- arc])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a planar face</p>\r
-\r
-<p class="whs1">face = geompy.MakeFace(wire, \r
- 1)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a prism</p>\r
-\r
-<p class="whs1">prism = geompy.MakePrismVecH(face, \r
- vz, 20.0)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># translate the given object along the given vector a given number of \r
- times</p>\r
-\r
-<p class="whs1">tr1d = geompy.MakeMultiTranslation1D(prism, \r
- vtr1d, 20, 4)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># consequently apply two specified translations to the object a given \r
- number of times</p>\r
-\r
-<p class="whs1">tr2d = geompy.MakeMultiTranslation2D(prism, \r
- vtr1d, 20, 4, vtr2d, 80, 3)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_prism = geompy.addToStudy(prism,&quot;Prism&quot;)</p>\r
-\r
-<p class="whs1">id_tr1d = geompy.addToStudy(tr1d,&quot;Translation \r
- 1D&quot;)</p>\r
-\r
-<p class="whs1">id_tr2d = geompy.addToStudy(tr2d,&quot;Translation \r
- 2D&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the prism and the results of fillet operation</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_prism)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_prism,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_tr1d)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_tr1d,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_tr2d)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_tr2d,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark9>Multi Rotation</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices and vectors</p>\r
-\r
-<p class="whs1">p0 &nbsp;= \r
- geompy.MakeVertex( 0., &nbsp;0., \r
- &nbsp;0.)</p>\r
-\r
-<p class="whs1">px &nbsp;= \r
- geompy.MakeVertex(20., &nbsp;0., \r
- &nbsp;0.)</p>\r
-\r
-<p class="whs1">py &nbsp;= \r
- geompy.MakeVertex( 0., 20., &nbsp;0.)</p>\r
-\r
-<p class="whs1">pz &nbsp;= \r
- geompy.MakeVertex( 0., &nbsp;0., \r
- 20.)</p>\r
-\r
-<p class="whs1">pxyz = geompy.MakeVertex( \r
- 50., 50., 10.)</p>\r
-\r
-<p class="whs1">vz &nbsp;= \r
- geompy.MakeVector(p0, pz)</p>\r
-\r
-<p class="whs1">vxy = geompy.MakeVector(px, \r
- py)</p>\r
-\r
-<p class="whs1">vrot1d = geompy.MakeVector(p0, \r
- pxyz)</p>\r
-\r
-<p>&nbsp;&nbsp;</p>\r
-\r
-<p># create an arc</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(py, \r
- pz, px)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a wire</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vxy, \r
- arc])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a planar face</p>\r
-\r
-<p class="whs1">face = geompy.MakeFace(wire, \r
- 1)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a prism</p>\r
-\r
-<p class="whs1">prism = geompy.MakePrismVecH(face, \r
- vz, 20.0)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># rotate the given object around the given axis by the given angle a \r
- given number of times</p>\r
-\r
-<p class="whs1">rot1d = geompy.MultiRotate1D(prism, \r
- vrot1d, 4)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># rotate the given object around the given axis by the given angle a \r
- given number of times</p>\r
-\r
-<p># and multi-translate the result of each rotation</p>\r
-\r
-<p class="whs1">rot2d = geompy.MultiRotate2D(prism, \r
- vrot1d, 60, 4, 50, 5)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_prism = geompy.addToStudy(prism,&quot;Prism&quot;)</p>\r
-\r
-<p class="whs1">id_rot1d = geompy.addToStudy(rot1d,&quot;Rotation \r
- 1D&quot;)</p>\r
-\r
-<p class="whs1">id_rot2d = geompy.addToStudy(rot2d,&quot;Rotation \r
- 2D&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the prism and the results of fillet operation</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_prism)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_prism,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_rot1d)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_rot1d,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_rot2d)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_rot2d,1) \r
- </p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<h3><a name=bookmark2>Fillet</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">radius &nbsp;= \r
- 10.</p>\r
-\r
-<p class="whs1">ShapeTypeEdge = geompy.ShapeType[&quot;EDGE&quot;]</p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p># create vertices and vectors</p>\r
-\r
-<p class="whs1">p0 &nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">px &nbsp;= \r
- geompy.MakeVertex(100., &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">py &nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- 100., &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">pz &nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- &nbsp;&nbsp;0., \r
- 100.)</p>\r
-\r
-<p class="whs1">vz &nbsp;= \r
- geompy.MakeVector(p0, pz)</p>\r
-\r
-<p class="whs1">vxy = geompy.MakeVector(px, \r
- py)</p>\r
-\r
-<p>&nbsp;&nbsp;</p>\r
-\r
-<p># create an arc</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(py, \r
- pz, px)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a wire</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vxy, \r
- arc])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a planar face</p>\r
-\r
-<p class="whs1">face = geompy.MakeFace(wire, \r
- 1)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a prism</p>\r
-\r
-<p class="whs1">prism = geompy.MakePrismVecH(face, \r
- vz, 100.0)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># get the list of IDs (IDList) for the fillet</p>\r
-\r
-<p class="whs1">prism_edges = geompy.SubShapeAllSorted(prism, \r
- ShapeTypeEdge)</p>\r
-\r
-<p class="whs1">IDlist_e = []</p>\r
-\r
-<p class="whs1">IDlist_e.append(geompy.GetSubShapeID(prism, \r
- prism_edges[0]))</p>\r
-\r
-<p class="whs1">IDlist_e.append(geompy.GetSubShapeID(prism, \r
- prism_edges[1]))</p>\r
-\r
-<p class="whs1">IDlist_e.append(geompy.GetSubShapeID(prism, \r
- prism_edges[2]))</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># make a fillet on the specified edges of the given shape</p>\r
-\r
-<p class="whs1">fillet = geompy.MakeFillet(prism, \r
- radius, ShapeTypeEdge, IDlist_e)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># make a fillet on all edges of the given shape</p>\r
-\r
-<p class="whs1">filletall = geompy.MakeFilletAll(prism, \r
- radius)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_prism = geompy.addToStudy(prism,&quot;Prism&quot;)</p>\r
-\r
-<p class="whs1">id_fillet = geompy.addToStudy(fillet,&quot;Fillet&quot;)</p>\r
-\r
-<p class="whs1">id_filletall = geompy.addToStudy(filletall,&quot;Fillet \r
- all&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the prism and the results of fillet operation</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_prism)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_prism,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_fillet)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_fillet,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_filletall)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_filletall,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<h3><a name=bookmark3>Chamfer</a></h3>\r
-\r
-<p class="whs1">import geompy</p>\r
-\r
-<p class="whs1">import salome</p>\r
-\r
-<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>\r
-\r
-<p class="whs1">d1 = 10.</p>\r
-\r
-<p class="whs1">d2 = 10.</p>\r
-\r
-<p class="whs1">ShapeTypeFace = geompy.ShapeType[&quot;FACE&quot;]</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create vertices and vectors</p>\r
-\r
-<p class="whs1">p0 &nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">px &nbsp;= \r
- geompy.MakeVertex(100., &nbsp;&nbsp;0., \r
- &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">py &nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- 100., &nbsp;&nbsp;0.)</p>\r
-\r
-<p class="whs1">pz &nbsp;= \r
- geompy.MakeVertex( &nbsp;0., \r
- &nbsp;&nbsp;0., \r
- 100.)</p>\r
-\r
-<p class="whs1">vz &nbsp;= \r
- geompy.MakeVector(p0, pz)</p>\r
-\r
-<p class="whs1">vxy = geompy.MakeVector(px, \r
- py)</p>\r
-\r
-<p>&nbsp;&nbsp;</p>\r
-\r
-<p># create an arc</p>\r
-\r
-<p class="whs1">arc = geompy.MakeArc(py, \r
- pz, px)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a wire</p>\r
-\r
-<p class="whs1">wire = geompy.MakeWire([vxy, \r
- arc])</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a planar face</p>\r
-\r
-<p class="whs1">face = geompy.MakeFace(wire, \r
- 1)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># create a prism</p>\r
-\r
-<p class="whs1">prism = geompy.MakePrismVecH(face, \r
- vz, 100.0)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># get the list of IDs (IDList) for the chamfer</p>\r
-\r
-<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism, \r
- ShapeTypeFace)</p>\r
-\r
-<p class="whs1">f_ind_1 = geompy.GetSubShapeID(prism, \r
- prism_faces[0])</p>\r
-\r
-<p class="whs1">f_ind_2 = geompy.GetSubShapeID(prism, \r
- prism_faces[1])</p>\r
-\r
-<p class="whs1">IDlist_f = [f_ind_1, \r
- f_ind_2]</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># perform a chamfer on the edges common to the specified faces</p>\r
-\r
-<p class="whs1">chamfer_e = geompy.MakeChamferEdge(prism, \r
- d1, d2, f_ind_1, f_ind_2)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># perform a chamfer on all edges of the specified faces</p>\r
-\r
-<p class="whs1">chamfer_f = geompy.MakeChamferFaces(prism, \r
- d1, d2, IDlist_f)</p>\r
-\r
-<p class="whs1">chamfer_f1 = geompy.MakeChamfer(prism, \r
- d1, d2, ShapeTypeFace, IDlist_f)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># perform a symmetric chamfer on all edges of the given shape</p>\r
-\r
-<p class="whs1">chamfer_all = geompy.MakeChamferAll(prism, \r
- d1)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># add objects in the study</p>\r
-\r
-<p class="whs1">id_prism = geompy.addToStudy(prism,&quot;Prism&quot;)</p>\r
-\r
-<p class="whs1">id_chamfer_e = geompy.addToStudy(chamfer_e,&quot;Chamfer \r
- edge&quot;)</p>\r
-\r
-<p class="whs1">id_chamfer_f = geompy.addToStudy(chamfer_f,&quot;Chamfer \r
- faces&quot;)</p>\r
-\r
-<p class="whs1">id_chamfer_f1 = geompy.addToStudy(chamfer_f1,&quot;Chamfer \r
- faces 1&quot;)</p>\r
-\r
-<p class="whs1">id_chamfer_all = geompy.addToStudy(chamfer_all,&quot;Chamfer \r
- all&quot;)</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p># display the prism and the results of chamfer operation</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_prism)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_prism,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_chamfer_e)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_chamfer_e,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_chamfer_f)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_chamfer_f,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_chamfer_f1)</p>\r
-\r
-<p class="whs1">gg.setDisplayMode(id_chamfer_f1,1)</p>\r
-\r
-<p class="whs1">gg.createAndDisplayGO(id_chamfer_all)</p>\r
-\r
-<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_chamfer_all,1)</span> \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>&nbsp;</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
+<!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; }
+-->
+</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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, &nbsp;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>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_cylinder = geompy.addToStudy(cylinder, 
+ &quot;Cylinder&quot;)</p>
+
+<p class="whs1">id_translation1 = 
+ geompy.addToStudy(translation1, &quot;Translation1&quot;)</p>
+
+<p class="whs1">id_translation2 = 
+ geompy.addToStudy(translation2, &quot;Translation2&quot;)</p>
+
+<p class="whs1">id_translation3 = 
+ geompy.addToStudy(translation3, &quot;Translation3&quot;)</p>
+
+<p>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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, &nbsp;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>&nbsp;</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>&nbsp;</p>
+
+<p># rotate the given object around the given axis by the given angle</p>
+
+<p class="whs1">rotation = geompy.MakeRotation(cylinder, 
+ vr, math.pi)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_vr = geompy.addToStudy(vr, 
+ &quot;Rotation axis&quot;)</p>
+
+<p class="whs1">id_cylinder = geompy.addToStudy(cylinder, 
+ &quot;Cylinder&quot;)</p>
+
+<p class="whs1">id_rotation = geompy.addToStudy(rotation, 
+ &quot;Rotation&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># display the results</p>
+
+<p class="whs1">gg.createAndDisplayGO(id_vr)</p>
+
+<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>
+
+<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>
+
+<p class="whs1">gg.createAndDisplayGO(id_rotation)</p>
+
+<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_rotation,1)</span> 
+ </p>
+
+<p>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</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, &nbsp;0, 50)</p>
+
+<p class="whs1">v = geompy.MakeVector(p1, 
+ p2)</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># modify the location of the given object</p>
+
+<p class="whs1">position = geompy.MakePosition(cylinder, 
+ cs1, cs2)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_cs1 = geompy.addToStudy(cs1, 
+ &quot;Coordinate system 1&quot;)</p>
+
+<p class="whs1">id_cs2 = geompy.addToStudy(cs2, 
+ &quot;Coordinate system 2&quot;)</p>
+
+<p class="whs1">id_cylinder = geompy.addToStudy(cylinder, 
+ &quot;Cylinder&quot;)</p>
+
+<p class="whs1">id_position = geompy.addToStudy(position, 
+ &quot;Position&quot;)</p>
+
+<p class="whs1">&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create a box</p>
+
+<p class="whs1">box = geompy.MakeBoxDXDYDZ(200, 
+ 200, 200)</p>
+
+<p>&nbsp;</p>
+
+<p># create an object, symmetrical to the given one relatively the given 
+ plane</p>
+
+<p class="whs1">p1 = geompy.MakeVertex( 
+ 0, 25, &nbsp;0)</p>
+
+<p class="whs1">p2 = geompy.MakeVertex( 
+ 5, 25, &nbsp;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>&nbsp;</p>
+
+<p># create an object, symmetrical to the given one relatively 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>&nbsp;</p>
+
+<p># create an object, symmetrical to the given one relatively the given 
+ point</p>
+
+<p class="whs1">mirror3 = geompy.MakeMirrorByPoint(box, 
+ p4)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_box = geompy.addToStudy(box, 
+ &quot;Box&quot;)</p>
+
+<p class="whs1">id_plane = geompy.addToStudy(plane, 
+ &quot;Plane&quot;)</p>
+
+<p class="whs1">id_mirror1 = geompy.addToStudy(mirror1, 
+ &quot;Mirror plane&quot;)</p>
+
+<p class="whs1">id_axis = geompy.addToStudy(axis, 
+ &quot;Axis&quot;)</p>
+
+<p class="whs1">id_mirror2 = geompy.addToStudy(mirror2, 
+ &quot;Mirror axis&quot;)</p>
+
+<p class="whs1">id_p4 = geompy.addToStudy(p4, 
+ &quot;Point&quot;)</p>
+
+<p class="whs1">id_mirror3 = geompy.addToStudy(mirror3, 
+ &quot;Mirror point&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<h3><a name=bookmark6>Scale Transform </a></h3>
+
+<p class="whs1">import geompy</p>
+
+<p class="whs1">import salome</p>
+
+<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create a box and a sphere</p>
+
+<p class="whs1">box = geompy.MakeBoxDXDYDZ(200, 
+ 200, 200)</p>
+
+<p>&nbsp;</p>
+
+<p># 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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_box = geompy.addToStudy(box, 
+ &quot;Box&quot;)</p>
+
+<p class="whs1">id_scale = geompy.addToStudy(scale, 
+ &quot;Scale&quot;)</p>
+
+<p>&nbsp;</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_scale)</p>
+
+<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_scale,1)</span> 
+ </p>
+
+<p>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create a box and a sphere</p>
+
+<p class="whs1">box = geompy.MakeBox(20, 
+ 20, 20, 200, 200, 200)</p>
+
+<p>&nbsp;</p>
+
+<p># create a new object as offset of the given object</p>
+
+<p class="whs1">offset = geompy.MakeOffset(box, 
+ 70.)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_box = geompy.addToStudy(box, 
+ &quot;Box&quot;)</p>
+
+<p class="whs1">id_offset = geompy.addToStudy(offset, 
+ &quot;Offset&quot;)</p>
+
+<p class="whs1">&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices and vectors</p>
+
+<p class="whs1">p0 &nbsp;= 
+ geompy.MakeVertex( 0., &nbsp;0., 
+ &nbsp;0.)</p>
+
+<p class="whs1">px &nbsp;= 
+ geompy.MakeVertex(20., &nbsp;0., 
+ &nbsp;0.)</p>
+
+<p class="whs1">py &nbsp;= 
+ geompy.MakeVertex( 0., 20., &nbsp;0.)</p>
+
+<p class="whs1">pz &nbsp;= 
+ geompy.MakeVertex( 0., &nbsp;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 &nbsp;= 
+ 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>&nbsp;&nbsp;</p>
+
+<p># create an arc</p>
+
+<p class="whs1">arc = geompy.MakeArc(py, 
+ pz, px)</p>
+
+<p>&nbsp;</p>
+
+<p># create a wire</p>
+
+<p class="whs1">wire = geompy.MakeWire([vxy, 
+ arc])</p>
+
+<p>&nbsp;</p>
+
+<p># create a planar face</p>
+
+<p class="whs1">face = geompy.MakeFace(wire, 
+ 1)</p>
+
+<p>&nbsp;</p>
+
+<p># create a prism</p>
+
+<p class="whs1">prism = geompy.MakePrismVecH(face, 
+ vz, 20.0)</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_prism = geompy.addToStudy(prism,&quot;Prism&quot;)</p>
+
+<p class="whs1">id_tr1d = geompy.addToStudy(tr1d,&quot;Translation 
+ 1D&quot;)</p>
+
+<p class="whs1">id_tr2d = geompy.addToStudy(tr2d,&quot;Translation 
+ 2D&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices and vectors</p>
+
+<p class="whs1">p0 &nbsp;= 
+ geompy.MakeVertex( 0., &nbsp;0., 
+ &nbsp;0.)</p>
+
+<p class="whs1">px &nbsp;= 
+ geompy.MakeVertex(20., &nbsp;0., 
+ &nbsp;0.)</p>
+
+<p class="whs1">py &nbsp;= 
+ geompy.MakeVertex( 0., 20., &nbsp;0.)</p>
+
+<p class="whs1">pz &nbsp;= 
+ geompy.MakeVertex( 0., &nbsp;0., 
+ 20.)</p>
+
+<p class="whs1">pxyz = geompy.MakeVertex( 
+ 50., 50., 10.)</p>
+
+<p class="whs1">vz &nbsp;= 
+ geompy.MakeVector(p0, pz)</p>
+
+<p class="whs1">vxy = geompy.MakeVector(px, 
+ py)</p>
+
+<p class="whs1">vrot1d = geompy.MakeVector(p0, 
+ pxyz)</p>
+
+<p>&nbsp;&nbsp;</p>
+
+<p># create an arc</p>
+
+<p class="whs1">arc = geompy.MakeArc(py, 
+ pz, px)</p>
+
+<p>&nbsp;</p>
+
+<p># create a wire</p>
+
+<p class="whs1">wire = geompy.MakeWire([vxy, 
+ arc])</p>
+
+<p>&nbsp;</p>
+
+<p># create a planar face</p>
+
+<p class="whs1">face = geompy.MakeFace(wire, 
+ 1)</p>
+
+<p>&nbsp;</p>
+
+<p># create a prism</p>
+
+<p class="whs1">prism = geompy.MakePrismVecH(face, 
+ vz, 20.0)</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_prism = geompy.addToStudy(prism,&quot;Prism&quot;)</p>
+
+<p class="whs1">id_rot1d = geompy.addToStudy(rot1d,&quot;Rotation 
+ 1D&quot;)</p>
+
+<p class="whs1">id_rot2d = geompy.addToStudy(rot2d,&quot;Rotation 
+ 2D&quot;)</p>
+
+<p>&nbsp;</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">&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p class="whs1">radius &nbsp;= 
+ 10.</p>
+
+<p class="whs1">ShapeTypeEdge = geompy.ShapeType[&quot;EDGE&quot;]</p>
+
+<p class="whs1">&nbsp;</p>
+
+<p># create vertices and vectors</p>
+
+<p class="whs1">p0 &nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">px &nbsp;= 
+ geompy.MakeVertex(100., &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">py &nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ 100., &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">pz &nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ &nbsp;&nbsp;0., 
+ 100.)</p>
+
+<p class="whs1">vz &nbsp;= 
+ geompy.MakeVector(p0, pz)</p>
+
+<p class="whs1">vxy = geompy.MakeVector(px, 
+ py)</p>
+
+<p>&nbsp;&nbsp;</p>
+
+<p># create an arc</p>
+
+<p class="whs1">arc = geompy.MakeArc(py, 
+ pz, px)</p>
+
+<p>&nbsp;</p>
+
+<p># create a wire</p>
+
+<p class="whs1">wire = geompy.MakeWire([vxy, 
+ arc])</p>
+
+<p>&nbsp;</p>
+
+<p># create a planar face</p>
+
+<p class="whs1">face = geompy.MakeFace(wire, 
+ 1)</p>
+
+<p>&nbsp;</p>
+
+<p># create a prism</p>
+
+<p class="whs1">prism = geompy.MakePrismVecH(face, 
+ vz, 100.0)</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># make a fillet on all edges of the given shape</p>
+
+<p class="whs1">filletall = geompy.MakeFilletAll(prism, 
+ radius)</p>
+
+<p>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_prism = geompy.addToStudy(prism,&quot;Prism&quot;)</p>
+
+<p class="whs1">id_fillet = geompy.addToStudy(fillet,&quot;Fillet&quot;)</p>
+
+<p class="whs1">id_filletall = geompy.addToStudy(filletall,&quot;Fillet 
+ all&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</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(&quot;GEOM&quot;)</p>
+
+<p class="whs1">d1 = 10.</p>
+
+<p class="whs1">d2 = 10.</p>
+
+<p class="whs1">ShapeTypeFace = geompy.ShapeType[&quot;FACE&quot;]</p>
+
+<p>&nbsp;</p>
+
+<p># create vertices and vectors</p>
+
+<p class="whs1">p0 &nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">px &nbsp;= 
+ geompy.MakeVertex(100., &nbsp;&nbsp;0., 
+ &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">py &nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ 100., &nbsp;&nbsp;0.)</p>
+
+<p class="whs1">pz &nbsp;= 
+ geompy.MakeVertex( &nbsp;0., 
+ &nbsp;&nbsp;0., 
+ 100.)</p>
+
+<p class="whs1">vz &nbsp;= 
+ geompy.MakeVector(p0, pz)</p>
+
+<p class="whs1">vxy = geompy.MakeVector(px, 
+ py)</p>
+
+<p>&nbsp;&nbsp;</p>
+
+<p># create an arc</p>
+
+<p class="whs1">arc = geompy.MakeArc(py, 
+ pz, px)</p>
+
+<p>&nbsp;</p>
+
+<p># create a wire</p>
+
+<p class="whs1">wire = geompy.MakeWire([vxy, 
+ arc])</p>
+
+<p>&nbsp;</p>
+
+<p># create a planar face</p>
+
+<p class="whs1">face = geompy.MakeFace(wire, 
+ 1)</p>
+
+<p>&nbsp;</p>
+
+<p># create a prism</p>
+
+<p class="whs1">prism = geompy.MakePrismVecH(face, 
+ vz, 100.0)</p>
+
+<p>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</p>
+
+<p># add objects in the study</p>
+
+<p class="whs1">id_prism = geompy.addToStudy(prism,&quot;Prism&quot;)</p>
+
+<p class="whs1">id_chamfer_e = geompy.addToStudy(chamfer_e,&quot;Chamfer 
+ edge&quot;)</p>
+
+<p class="whs1">id_chamfer_f = geompy.addToStudy(chamfer_f,&quot;Chamfer 
+ faces&quot;)</p>
+
+<p class="whs1">id_chamfer_f1 = geompy.addToStudy(chamfer_f1,&quot;Chamfer 
+ faces 1&quot;)</p>
+
+<p class="whs1">id_chamfer_all = geompy.addToStudy(chamfer_all,&quot;Chamfer 
+ all&quot;)</p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 83cc3bfff9df8d8504796cf9d4beee542311a84f..8ab26d96a2b74ac4afd2463f55ad656cda98d080 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Translation</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-weight:bold; }\r
-img_whs4 { border:none; width:312px; height:393px; float:none; border-style:none; }\r
-img_whs5 { border:none; width:312px; height:385px; float:none; border-style:none; }\r
-p.whs6 { font-size:12pt; margin-left:40px; }\r
-p.whs7 { margin-left:40px; }\r
-img_whs8 { border:none; width:331px; height:334px; float:none; border-style:none; }\r
-img_whs9 { border:none; width:320px; height:333px; float:none; border-style:none; }\r
-p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nTranslation");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
- a <span style="font-weight: bold;"><B>Translation</B></span> in the Main Menu \r
- select <span style="font-weight: bold;"><B>Operations - &gt; Transformation \r
- - &gt; Translation</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">This Operation makes a translation of an <span \r
- style="font-weight: bold;"><B>Object</B></span>. To translate a shape you need \r
- to define the base shape and the coordinates of the vector of translation. \r
- <span style="font-weight: bold;"><B>Create a copy </B></span>checkbox allows \r
- to keep the initial object, otherwise it will be removed.</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of all operations will be any</span></b> \r
- GEOM_Object.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Firstly you can define an <span style="font-weight: bold;"><B>Object</B></span> \r
- and the vector coordinates along the axes. </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeTranslation(Shape, DX, \r
- DY, DZ)</I></span>, where Shape is a shape to be translated, DX, DY, DZ are \r
- components of translation vector.</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments:</b> \r
- <b><span style="font-weight: normal;">Name + </b>1 shape + 3 values (coordinates).</span></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/transformation1.png" x-maintain-ratio="TRUE" width="312px" height="393px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Secondly you can define an <span style="font-weight: bold;"><B>Object</B></span> \r
- and the start and the end points of the vector &nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command: \r
- </b><span style="font-style: italic;"><I>geompy.MakeTranslationTwoPoints(Object, \r
- Point1, Point2)</I></span> </p>\r
-\r
-<p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments</font></span>: \r
- <span style="font-weight: normal;">Name + </span></b>1 shape + 2 vertices</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/transformation2.png" x-maintain-ratio="TRUE" width="312px" height="393px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><span><font size=3 style="font-size:12pt;">Finally you can define an Object and \r
- the vector &nbsp;</font></span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command: \r
- </b>geompy.MakeTranslationVector(Object, Vector)</p>\r
-\r
-<p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments</font></span>: \r
- <span style="font-weight: normal;">Name + </span></b>1 shape + 1 vector.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/transformation3.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs6">&nbsp;&nbsp;&nbsp;&nbsp;</p>\r
-\r
-<p class="whs6">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs7"><img src="pics/translationsn1.png" x-maintain-ratio="TRUE" width="331px" height="334px" border="0" class="img_whs8"> &nbsp;<img src="pics/translationsn2.png" x-maintain-ratio="TRUE" width="320px" height="333px" border="0" class="img_whs9"></p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs10">&nbsp;&nbsp;<span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
- style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
- provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark">Transformation \r
- Operations</a>. </font></span></p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Transformation 
+ - &gt; Translation</B></span></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</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 &nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><span><font size=3 style="font-size:12pt;">Finally you can define an Object and 
+ the vector &nbsp;</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">&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;</p>
+
+<p class="whs4">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs7"><img src="pics/translationsn1.png" x-maintain-ratio="TRUE" width="331px" height="334px" border="0" class="img_whs8"> &nbsp;<img src="pics/translationsn2.png" x-maintain-ratio="TRUE" width="320px" height="333px" border="0" class="img_whs9"></p>
+
+<p class="whs7">&nbsp;</p>
+
+<p class="whs10">&nbsp;&nbsp;<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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index d4db4339d2186bbc027f20358ff68671e0a1aa80..9c9c05cabbea85e7cb72ad4897d9b9e78e3e7df6 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Transparency</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
-p.whs1 { font-size:12pt; font-weight:normal; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:354px; height:177px; float:none; border-style:none; }\r
-p.whs4 { font-size:12pt; font-style:italic; font-weight:normal; }\r
-img_whs5 { border:none; float:none; height:430px; width:400px; border-style:none; }\r
-img_whs6 { border:none; height:430px; float:none; width:400px; border-style:none; }\r
-p.whs7 { margin-left:40px; font-size:12pt; }\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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nManaging geometrical objects\nChanging Display Parameters\nTransparency");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Transparency</h1>\r
-\r
-<p class="whs1">You can change the transparency \r
- of a shape in the range between 0 (absolutely opaque) and 1 (absolutely \r
- transparent and thus invisible) in the following dialog box.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/neo-transparency.png" x-maintain-ratio="TRUE" width="354px" height="177px" border="0" class="img_whs3"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">or \r
- using a</span> TUI Command:</b><i> gg.setTransparency(ID, Double)</i></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs4">Opaque &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;50% \r
- Transparent</p>\r
-\r
-<p class="whs2"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" height="430px" width="400px" border="0" class="img_whs5"> &nbsp;<img src="pics/transparencysn.png" x-maintain-ratio="TRUE" height="430px" width="400px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs7">&nbsp;&nbsp;</p>\r
-\r
-<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our TUI Scripts \r
- provide you with useful examples of <a href="changing_display_parameters.htm#bookmark2">Changing \r
- Display Parameters</a>. </font></span></p>\r
-\r
-<p>&nbsp;</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
+<!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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs5">Opaque &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;50% 
+ Transparent</p>
+
+<p class="whs3"><img src="pics/colorsn.png" x-maintain-ratio="TRUE" height="430px" width="400px" border="0" class="img_whs6"> &nbsp;<img src="pics/transparencysn.png" x-maintain-ratio="TRUE" height="430px" width="400px" border="0" class="img_whs7"></p>
+
+<p class="whs8">&nbsp;&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index b40aa5cc5ddcdf25ad72d37837ce71f9f24529ce..62b81e72dd3d555284a6dc60102fcaf9a0726909 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Turus</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-weight:bold; }\r
-img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }\r
-p.whs5 { margin-left:40px; }\r
-img_whs6 { border:none; width:272px; height:275px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nTorus");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Torus</h1>\r
-\r
-<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Torus</B></span> \r
- in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
- style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Torus</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Torus</B></span>. \r
- </p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of each operation will be a</span></b> \r
- GEOM_Object (SOLID).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Firstly, you can define a <span style="font-weight: bold;"><B>Torus</B></span> \r
- by the given <span style="font-weight: bold;"><B>Base Point</B></span>, the normal \r
- <span style="font-weight: bold;"><B>Vector</B></span> and the Major and Minor \r
- <span style="font-weight: bold;"><B>Radiuses</B></span>. </p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeTorus(Point, \r
- Vector, RadiusMajor, RadiusMinor) </I></span>, </p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Arguments: \r
- </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 1 vertex \r
- + 1 vector (for direction) + 2 values (1 &amp; 2 Radius).</font></span></p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;"><img src="pics/torus1.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>Secondly, you can define a Torus with the center at the origin of coordinates \r
- by its Major and Minor <span style="font-weight: bold;"><B>Radiuses</B></span>. \r
- </p>\r
-\r
-<p><b style="font-weight: bold;">TUI Command:</b> g<span style="font-style: italic;"><I>eompy.MakeTorusRR(RadiusMajor, \r
- RadiusMinor)</I></span> </p>\r
-\r
-<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments: \r
- </b>Name + </font></span>2 values (1 &amp; 2 Radius from the origin).</p>\r
-\r
-<p><img src="pics/torus2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs5"><img src="pics/toruses.png" x-maintain-ratio="TRUE" width="272px" height="275px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="primitives.htm#bookmark3">Primitives</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 - &gt; Primitives - &gt; Torus</B></span></p>
+
+<p>&nbsp;</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>&nbsp;</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 &amp; 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>&nbsp;</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 &amp; 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>&nbsp;</p>
+
+<p><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs6">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2">Our TUI Scripts provide you with useful examples 
+ of creation of <a href="primitives.htm#bookmark3">Primitives</a>. </p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 54eebb5f963e6d5b3145dbecc0d187a0d48d7e2d..e6ab395077eebf1bb1007c8d984b4d045b45b05f 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Vector</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-style:italic; }\r
-p.whs4 { font-size:12pt; font-weight:bold; }\r
-img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
-img_whs6 { border:none; width:312px; height:358px; float:none; border-style:none; }\r
-img_whs7 { border:none; width:298px; height:302px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nVector");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: normal;">T</b></font></span>o \r
- create a <span style="font-weight: bold;"><B>Vector</B></span> in the <span style="font-weight: bold;"><B>Main \r
- Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt; \r
- Basic - &gt; Vector</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">There \r
- are 2 algorithms to create a</span> Vector <span style="font-weight: normal;">in \r
- the 3D space.</span> </b></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of each operation will be a</span></b> \r
- GEOM_Object (edge).</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly, \r
- you can define a</span> Vector <span style="font-weight: normal;">by its</span> \r
- Start <span style="font-weight: normal;">and</span> End Points</b></p>\r
-\r
-<p class="whs3"><b style="font-style: normal;"><span \r
- style="font-weight: bold;"><B>TUI Command:</b><b> &nbsp;</B></span><span \r
- style="font-weight: normal;">g</b>eompy.MakeVector(Point1, \r
- Point2)</span></p>\r
-\r
-<p class="whs4"><b style="font-weight: bold;">Arguments \r
- : </b><span style="font-weight: normal;">Name + 2 vertices.</span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/vector1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Secondly, you can define a <span style="font-weight: bold;"><B>Vector</B></span> \r
- starting in the <span style="font-weight: bold;"><B>Origin of coordinates</B></span> \r
- by its <span style="font-weight: bold;"><B>End Point.</B></span> </p>\r
-\r
-<p class="whs2"><b><span style="font-weight: bold;"><B>TUI Command:</b><b> \r
- </B></span><span style="font-weight: bold; font-style: italic;"><I><B>&nbsp;</B></I></span></b><span \r
- style="font-style: italic;"><I>geompy.MakeVectorDXDYDZ(DX, \r
- DY, DZ)</I></span> </p>\r
-\r
-<p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments \r
- : </b></font></span>Name + 3 values </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/vector2.png" x-maintain-ratio="TRUE" width="312px" height="358px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><img src="pics/vectors.png" x-maintain-ratio="TRUE" width="298px" height="302px" border="0" class="img_whs7"></b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="basic_geometrical_objects.htm#bookmark5">Basic \r
- Geometric Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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; }
+img_whs8 { border:none; width:298px; height:302px; 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\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 - &gt; 
+ Basic - &gt; Vector</B></span></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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> &nbsp;</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">&nbsp;</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">&nbsp;</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>&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs5"><b style="font-weight: bold;"><img src="pics/vectors.png" x-maintain-ratio="TRUE" width="298px" height="302px" border="0" class="img_whs8"></b></p>
+
+<p class="whs2">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index b3f734767a7600f9cc5a4268ec6b61711cdb9d7f..48d640c531e3e4481fc924c4ba47699e061fc9e3 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Viewing Geometrical Objects</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:340px; height:308px; border-style:none; }\r
-ul.whs2 { list-style:disc; }\r
-p.whs3 { font-weight:bold; }\r
-img_whs4 { border:none; width:26px; height:26px; border-style:none; }\r
-img_whs5 { border:none; width:23px; height:24px; border-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\nViewing geometrical objects\nViewing Geometrical Objects");\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>Viewing Geometrical Objects</h1>\r
-\r
-<p>Newly created geometrical objects are automatically displayed in the \r
- <span style="font-weight: bold;"><B><a href="occ_viewer.htm">OCC 3D Viewer</a></B></span>. \r
- </p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>After the object has appeared in the Viewer, you can select it with \r
- left mouse click to change its presentation parameters and access to other \r
- useful options by right-clicking on the selected object<span style="font-weight: bold;"><B>.</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p><img src="image1.jpg" width="340px" height="308px" border="0" class="img_whs1"></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p><span style="font-weight: bold;"><B>Rename - </B></span>allows \r
- to change the name of the geometric object.<span style="font-weight: bold;"> \r
- <B></B></span></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><a href="wireframe_and_shading.htm">Display \r
- Mode</a> - <span style="font-weight: normal;">allows to select between \r
- Wireframe and Shading presentation.</span></p></li>\r
-       \r
-       <li class=kadov-p><p><span style="font-weight: bold;"><B><a href="color.htm">Color</a> \r
- - </B></span>allows to change the filling color in the standard<span style="font-weight: bold;"><B> \r
- Select Color</B></span> menu.<span style="font-weight: bold;"> <B></B></span></p></li>\r
-       \r
-       <li class=kadov-p><p><span style="font-weight: bold;"><B><a href="transparency.htm">T</B></span><span \r
- style="font-weight: bold;"><B>ransparency</B></span></a> - allows to change the \r
- transparency of mesh elements.</p></li>\r
-       \r
-       <li class=kadov-p><p><span style="font-weight: bold;"><B><a href="isos.htm">Isos</a></B></span> \r
- - allows to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">change the number of isolines \r
- displayed within a shape.</font></span></p></li>\r
-       \r
-       <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 \r
- viewer. <b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">TUI Command</font></span><span \r
- style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> :</b><i> sg.EraseOnly(ID)</i></font></span></p></li>\r
-       \r
-       <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> &nbsp;- \r
- allows to hide all objects from the viewer. <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b \r
- style="font-weight: normal;">TUI Command:</b><i> sg.EraseAll()</i></font></span></p></li>\r
-       \r
-       <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 \r
- mesh, hiding all other from the viewer. <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b \r
- style="font-weight: normal;">TUI Command:</b><i> sg.DisplayOnly(ID)</i></font></span></p></li>\r
-       \r
-       <li class=kadov-p><p><span style="font-weight: bold;"><B>Update</B></span> \r
- - refreshes the presentation of your mesh in the Object Browser, applying \r
- all recent changes.</p></li>\r
-       \r
-       <li class=kadov-p><p><span style="font-weight: bold;"><B>Dump view</B></span> \r
- - exports an object from the viewer in bmp, png, jpg or jpeg image format. \r
- </p></li>\r
-       \r
-       <li class=kadov-p><p><span style="font-weight: bold;"><B>Change background</B></span> \r
- - allows to redefine the background color. By default it is black. &nbsp;</p></li>\r
-</ul>\r
-\r
-<p>&nbsp;</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
+<!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; }
+-->
+</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><a href="occ_viewer.htm">OCC 3D Viewer</a></B></span>. 
+ </p>
+
+<p>&nbsp;</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>&nbsp;</p>
+
+<p><img src="image1.jpg" width="340px" height="308px" border="0" class="img_whs1"></p>
+
+<p>&nbsp;</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> &nbsp;- 
+ 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. &nbsp;</p></li>
+</ul>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 92ccd93b223f4d095e096625362cf9fcec543109..ad8f8d4c02390617c920bfae6dadddd64339d984 100755 (executable)
-<html>\r
-<script language="javascript1.2" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-if(gbIE4||gbNav61)\r
-{\r
-       document.write("<body></body>");\r
-}\r
-else\r
-{\r
-       document.write("<frameset rows=\"100%,*\"><frame name=\"data_frm\" src=\"about:blank\"><frame name=\"dumb_frm\" src=\"about:blank\"></frameset>");\r
-}\r
-var gCSHFileName="whcshdata.htm";\r
-\r
-var gHomePage="geom.htm";\r
-var gaProj=new Array();\r
-gaProj[0]=new Object();\r
-gaProj[0].sProjPath=_replaceSlash(_getPath(document.location.href));\r
-gaProj[0].nLoadState=0;\r
-var gCurrent=0;\r
-\r
-var gsTopicURL="";\r
-var gnCurProj=0;\r
-var gnCommand=-1;\r
-var CMD_SHOWTOC=1;\r
-var CMD_SHOWINDEX=2;\r
-var CMD_SHOWSEARCH=3;\r
-var CMD_SHOWGLOSSARY=4;\r
-var CMD_SHOWNONE=0;\r
-\r
-var RHWO_LOCATION=0x01;                /*need location bar?*/\r
-var RHWO_MENUBAR=0x02;         /*need menubar?*/               \r
-var RHWO_RESIZABLE=0x04;       /*resizable window?*/\r
-var RHWO_TOOLBAR=0x08;         /*need toolbar?*/\r
-var RHWO_STATUS=0x10;          /*need statusbar?*/\r
-var RHWO_SCROLLBARS=0x20;      /*need scrollbars?*/\r
-\r
-var gsStr="";\r
-var gnId=-1;\r
-var gsWindow="";\r
-var gsJava="false";\r
-var gbUseStr=false;\r
-var gbURLReady=false;\r
-var goWnd=new Object();\r
-goWnd.sName="whCshDefault";\r
-goWnd.nBOptions=RHWO_RESIZABLE|RHWO_SCROLLBARS;\r
-goWnd.sBLeft="49%";\r
-goWnd.sBTop="0";\r
-goWnd.sBWidth="49%";\r
-goWnd.sBHeight="49%";\r
-goWnd.nPanes=1;\r
-var goFullWnd=new Object();\r
-goFullWnd.sName="whDefault";\r
-goFullWnd.nBOptions=RHWO_RESIZABLE|RHWO_SCROLLBARS;\r
-goFullWnd.sBLeft="20%";\r
-goFullWnd.sBTop="0";\r
-goFullWnd.sBWidth="79%";\r
-goFullWnd.sBHeight="79%";\r
-goFullWnd.nPanes=2;\r
-\r
-var goNewWnd=null;\r
-var gbLoadWnd=false;\r
-var gsURL="";\r
-\r
-function showCSH(sParam)\r
-{\r
-       //id=\r
-       //str=\r
-       //url=\r
-       //cmd=\r
-       //with the format #<a=xxx>>b=xxx>>c=xxx...\r
-       parseParam(sParam);\r
-       SwitchURL();\r
-}\r
-\r
-function IsWndReady()\r
-{\r
-       if(gaProj[0].nLoadState==0)\r
-       {\r
-               var sCshFile=_getFullPath(gaProj[0].sProjPath,gCSHFileName);\r
-               gaProj[0].nLoadState=1;\r
-               setTimeout("loadFail("+0+");",3000);\r
-               loadDataCsh(sCshFile);\r
-               gbLoadWnd=true;\r
-               return false;\r
-       }\r
-       else\r
-               return true;\r
-}\r
-\r
-function SwitchURL()\r
-{\r
-       if(gbURLReady)\r
-       {\r
-               var sURL="";\r
-               var oWnd=null;\r
-               if(gsTopicURL)\r
-               {\r
-                       sURL=_getPath(document.location.href)+gHomePage+"#"+gsTopicURL;\r
-                       oWnd=goWnd;\r
-               }\r
-               else\r
-               {\r
-                       if(gnCommand!=-1)\r
-                               sURL=_getPath(document.location.href)+gHomePage+"#>>cmd="+gnCommand;\r
-                       else\r
-                               sURL=_getPath(document.location.href)+gHomePage;\r
-                       oWnd=goFullWnd;\r
-               }\r
-               if(gsWindow)\r
-               {\r
-                       if(!IsWndReady())\r
-                               return false;\r
-                       if(gaProj[gnCurProj].aWnd)\r
-                       {\r
-                               var aWnd=gaProj[gnCurProj].aWnd;\r
-                               var bFound=false;\r
-                               for(var i=0;i<aWnd.length;i++)\r
-                               {\r
-                                       if(aWnd[i].sName.toLowerCase()==gsWindow.toLowerCase())\r
-                                       {\r
-                                               oWnd=aWnd[i];\r
-                                               bFound=true;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                               if(!bFound&&gnCurProj!=0)\r
-                               {\r
-                                       var aWnd=gaProj[0].aWnd;\r
-                                       for(var j=0;j<aWnd.length;j++)\r
-                                       {\r
-                                               if(aWnd[j].sName.toLowerCase()==gsWindow.toLowerCase())\r
-                                               {\r
-                                                       oWnd=aWnd[j];\r
-                                                       break;\r
-                                               }\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-\r
-               if(sURL&&oWnd)\r
-               {\r
-                       strURLOpt="";\r
-                       if(oWnd.sCaption)\r
-                               strURLOpt+=">>cap="+oWnd.sCaption;\r
-                       if(oWnd.nPanes==1)\r
-                               strURLOpt+=">>pan="+oWnd.nPanes;\r
-                       else if(oWnd.nPanes==2)\r
-                       {\r
-                               strURLOpt+=">>pan="+oWnd.nPanes;\r
-                               if(oWnd.nPOptions)\r
-                                       strURLOpt+=">>pot="+oWnd.nPOptions;\r
-                               if(oWnd.sPButtons)\r
-                                       strURLOpt+=">>pbs="+oWnd.sPButtons;\r
-                               if(oWnd.sPDefBtn)\r
-                                       strURLOpt+=">>pdb="+oWnd.sPDefBtn;\r
-                       }\r
-                       if(strURLOpt)\r
-                       {\r
-                               if(sURL.indexOf("#")==-1)\r
-                                       sURL+="#";\r
-                               sURL+=strURLOpt;\r
-                       }\r
-                       if(gsJava=="false")\r
-                       {\r
-                               var strOpt=getBrowserOptionString(oWnd);\r
-                               var sNewName=convertWindowName(oWnd.sName);\r
-                               if(gbNav4)\r
-                               {\r
-                                       if (gbNav6)\r
-                                       {\r
-                                               gsURL = sURL;\r
-                                               goNewWnd=window.open("about:blank",sNewName,strOpt);\r
-                                               setTimeout("postWindowNSOpen();",100);\r
-                                       }\r
-                                       else\r
-                                       {\r
-                                               window.open("about:blank",sNewName,strOpt);\r
-                                               var oNewWnd=window.open(sURL,sNewName);\r
-                                               window.close();\r
-                                               oNewWnd.focus();\r
-                                       }\r
-                               }\r
-                               else\r
-                               {\r
-                                       if(gbIE5)\r
-                                       {\r
-                                               window.open("about:blank",sNewName,strOpt);\r
-                                               goNewWnd=window.open(sURL,sNewName);\r
-                                       }\r
-                                       else\r
-                                       {\r
-                                               gsURL = sURL; // IE4 had hard time to handle bookmark.\r
-                                               goNewWnd=window.open("about:blank",sNewName,strOpt);\r
-                                       }\r
-                                       setTimeout("postWindowOpen();",100);\r
-                               }\r
-                       }\r
-                       else\r
-                               document.location=sURL;\r
-               }\r
-       }\r
-}\r
-\r
-function convertWindowName(strName)\r
-{\r
-       var strNewName = strName;\r
-       var strResultName = "";\r
-       var re=new RegExp("_","g");\r
-       strNewName = strName.replace(re,"__");\r
-       for (var i=0;i<strNewName.length;i++)\r
-               if (!(strNewName[i] == '_' ||\r
-                       (strNewName[i] <= '9' && strNewName[i] >= '0') ||\r
-                       (strNewName[i] <= 'z' && strNewName[i] >= 'a') ||\r
-                       (strNewName[i] <= 'Z' && strNewName[i] >= 'A')))\r
-               {\r
-                       strResultName += "_" + strNewName.charCodeAt(i);\r
-               }\r
-               else\r
-                       strResultName += strNewName[i];\r
-       return strResultName;\r
-}\r
-\r
-function postWindowNSOpen()\r
-{\r
-       if(goNewWnd)\r
-       {\r
-               if (gsURL)\r
-                       goNewWnd.document.location.href=gsURL;\r
-               window.close();\r
-               goNewWnd.focus();\r
-       }\r
-}\r
-\r
-function postWindowOpen()\r
-{\r
-       if(goNewWnd)\r
-       {\r
-               if (gsURL&&!gbIE5&&gbIE4)\r
-                       goNewWnd.document.location.href=gsURL;\r
-               goNewWnd.focus();\r
-       }\r
-}\r
-\r
-function parseParam(sParam)\r
-{\r
-       if(sParam)\r
-       {\r
-               var nBPos=0;\r
-               do\r
-               {\r
-                       var nPos=sParam.indexOf(">>",nBPos);\r
-                       if(nPos!=-1)\r
-                       {\r
-                               if(nPos>0)\r
-                               {\r
-                                       var sPart=sParam.substring(nBPos,nPos);\r
-                                       parsePart(sPart);\r
-                               }\r
-                               nBPos=nPos+2;\r
-                       }\r
-                       else\r
-                       {\r
-                               var sPart=sParam.substring(nBPos);\r
-                               parsePart(sPart);\r
-                               break;\r
-                       }\r
-               }while(nBPos<sParam.length);\r
-       }\r
-}\r
-\r
-function parsePart(sPart)\r
-{\r
-       if(sPart.toLowerCase().indexOf("id=")==0)\r
-       {\r
-               fetchURLById(sPart.substring(3));\r
-               gbURLReady=false;\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("str=")==0)\r
-       {\r
-               fetchURLByStr(sPart.substring(4));\r
-               gbURLReady=false;\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("url=")==0)\r
-       {\r
-               gsTopicURL=sPart.substring(4);\r
-               gbURLReady=true;\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("cmd=")==0)\r
-       {\r
-               var sCmd=sPart.substring(4);\r
-               if(sCmd.toLowerCase()=="toc")\r
-               {\r
-                       gnCommand=CMD_SHOWTOC;\r
-               }\r
-               else if(sCmd.toLowerCase()=="idx")\r
-               {\r
-                       gnCommand=CMD_SHOWINDEX;\r
-               }\r
-               else if(sCmd.toLowerCase()=="fts")\r
-               {\r
-                       gnCommand=CMD_SHOWSEARCH;\r
-               }\r
-               else if(sCmd.toLowerCase()=="glo")\r
-               {\r
-                       gnCommand=CMD_SHOWGLOSSARY;\r
-               }\r
-               else if(sCmd.toLowerCase()=="none")\r
-               {\r
-                       gnCommand=CMD_SHOWNONE;\r
-               }\r
-               gbURLReady=true;\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("wnd=")==0)\r
-       {\r
-               gsWindow=_browserStringToText(sPart.substring(4));\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("java=")==0)\r
-       {\r
-               gsJava=sPart.substring(5);\r
-       }\r
-}\r
-\r
-function fetchURLById(sId)\r
-{\r
-       var nId=parseInt(sId);\r
-       gsTopicURL="";\r
-       fetchURL("",nId,false);\r
-}\r
-\r
-function fetchURLByStr(sStr)\r
-{\r
-       gsTopicURL="";\r
-       fetchURL(sStr,0,true);\r
-}\r
-\r
-function fetchURL(sStr,nId,bUseStr)\r
-{\r
-       var bNeedLoad=false;\r
-       var bFound=false;\r
-       for(var i=0;i<gaProj.length;i++)\r
-       {\r
-               if(gaProj[i].nLoadState==3)\r
-               {\r
-                       if(gaProj[i].aCsh)\r
-                       {\r
-                               for(var j=0;j<gaProj[i].aCsh.length;j++)\r
-                               {\r
-                                       var sTopicURL="";\r
-                                       if(bUseStr)\r
-                                       {\r
-                                               if(gaProj[i].aCsh[j].strAliasId.toLowerCase()==sStr.toLowerCase())\r
-                                                       sTopicURL=gaProj[i].aCsh[j].strUrl;\r
-                                       }\r
-                                       else\r
-                                       {\r
-                                               if(gaProj[i].aCsh[j].nTopicNum==nId)\r
-                                                       sTopicURL=gaProj[i].aCsh[j].strUrl;\r
-                                       }\r
-                                       if(sTopicURL)\r
-                                       {\r
-                                               if(i!=0)\r
-                                               {\r
-                                                       gnCurProj=i;\r
-                                                       if(gaProj[i].sProjPath.indexOf(gaProj[0].sProjPath)==0)\r
-                                                       {\r
-                                                               var sRelPath=gaProj[i].sProjPath.substring(gaProj[0].sProjPath.length);\r
-                                                               gsTopicURL=sRelPath+sTopicURL;\r
-                                                       }\r
-                                                       else\r
-                                                               gsTopicURL=gaProj[i].sProjPath+sTopicURL;\r
-                                               }\r
-                                               else\r
-                                                       gsTopicURL=sTopicURL;\r
-                                               bFound=true;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                       }\r
-                       \r
-               }\r
-               else if(gaProj[i].nLoadState==0)\r
-               {\r
-                       gsStr=sStr;\r
-                       gnId=nId;\r
-                       gbUseStr=bUseStr;\r
-                       var sCshFile=_getFullPath(gaProj[i].sProjPath,gCSHFileName);\r
-                       gaProj[i].nLoadState=1;\r
-                       setTimeout("loadFail("+i+");",3000);\r
-                       loadDataCsh(sCshFile);\r
-                       bNeedLoad=true;\r
-               }\r
-               if(bFound||bNeedLoad)\r
-                       break;\r
-       }\r
-       if(!bNeedLoad)\r
-       {\r
-               gbURLReady=true;\r
-               SwitchURL();\r
-       }\r
-}\r
-\r
-function loadDataCsh(sFile)\r
-{\r
-       if(gbIE4||gbNav61)\r
-               loadData(sFile);\r
-       else\r
-       {\r
-               window.frames[0].location=sFile;\r
-       }\r
-}\r
-\r
-function loadFail(nProj)\r
-{\r
-       if(gaProj[nProj].nLoadState==1)\r
-       {\r
-               gaProj[nProj].nLoadState=2;\r
-               if(!gbLoadWnd)\r
-                       fetchURL(gsStr,gnId,gbUseStr);\r
-               else\r
-                       SwitchURL();\r
-       }\r
-}\r
-\r
-function putCshData(strProj,aCsh,aWnd,aRmtProj)\r
-{\r
-       if(strProj)\r
-       {\r
-               strProj=_replaceSlash(strProj);\r
-               if(strProj.lastIndexOf("/")!=strProj.length-1)\r
-                       strProj+="/";\r
-               for(var i=0;i<gaProj.length;i++)\r
-               {\r
-                       if(gaProj[i].sProjPath)\r
-                       {\r
-                               if(isSamePath(gaProj[i].sProjPath,strProj))\r
-                               {\r
-                                       gaProj[i].nLoadState=3;\r
-                                       gaProj[i].aCsh=aCsh;\r
-                                       gaProj[i].aWnd=aWnd;\r
-                                       break;\r
-                               }\r
-                       }\r
-               }\r
-               if(aRmtProj&&aRmtProj.length)\r
-               {\r
-                       for(var j=0;j<aRmtProj.length;j++)\r
-                       {\r
-                               var strRPath=_getFullPath(strProj,aRmtProj[j]);\r
-                               var bFound=false;\r
-                               for (var k=0;k<gaProj.length;k++)\r
-                               {\r
-                                       if(gaProj[k].sProjPath)\r
-                                       {\r
-                                               if(isSamePath(gaProj[k].sProjPath,strRPath))\r
-                                               {\r
-                                                       bFound=true;\r
-                                                       break;\r
-                                               }\r
-                                       }\r
-                               }\r
-                               if(!bFound)\r
-                               {\r
-                                       var len=gaProj.length;\r
-                                       gaProj[len]=new Object();\r
-                                       gaProj[len].sProjPath=strRPath;\r
-                                       gaProj[len].nLoadState=0;\r
-                               }\r
-                       }\r
-               }\r
-               if(!gbLoadWnd)\r
-                       fetchURL(gsStr,gnId,gbUseStr);\r
-               else\r
-                       SwitchURL();\r
-                       \r
-       }\r
-}\r
-\r
-function isSamePath(strPath1,strPath2)\r
-{\r
-       return strPath1.toLowerCase()==strPath2.toLowerCase();\r
-}\r
-\r
-function getRelHomePage(strLocation)\r
-{\r
-       var strCurPPath=_getPath(strLocation);\r
-       var strOriPPath=_getPath(getHomePage());\r
-       var strRelPath=_getRelativeFileName(strOriPPath,strCurPPath);\r
-       var strURL=getHomePage()+"#"+strRelPath;\r
-       return strURL;\r
-}\r
-\r
-function getHomePage()\r
-{\r
-       var strHomePage;\r
-       var strTmp=location.toString();\r
-       var nPos=strTmp.indexOf("#");\r
-       if(nPos!=-1)\r
-       {\r
-               strHomePage=strTmp.substring(0,nPos);\r
-       }\r
-       else\r
-       {\r
-               strHomePage=strTmp;\r
-       }\r
-       return strHomePage;\r
-}\r
-\r
-function getBrowserOptionString(oWnd)\r
-{\r
-       var strOpts="";\r
-       if(oWnd.bUseDefault)\r
-               return strOpts;\r
-       if(oWnd.nBOptions&RHWO_LOCATION)\r
-               strOpts+="location=yes";\r
-       else\r
-               strOpts+="location=no";\r
-       if(oWnd.nBOptions&RHWO_TOOLBAR)\r
-               strOpts+=",toolbar=yes";                \r
-       else\r
-               strOpts+=",toolbar=no";         \r
-       if(oWnd.nBOptions&RHWO_MENUBAR)\r
-               strOpts+=",menubar=yes";                \r
-       else\r
-               strOpts+=",menubar=no";\r
-       if(oWnd.nBOptions&RHWO_STATUS)\r
-               strOpts+=",status=yes";         \r
-       else\r
-               strOpts+=",status=no";          \r
-       if(oWnd.nBOptions&RHWO_SCROLLBARS)\r
-               strOpts+=",scrollbars=yes";\r
-       else\r
-               strOpts+=",scrollbars=no";      \r
-       if(oWnd.nBOptions&RHWO_RESIZABLE)\r
-               strOpts+=",resizable=yes";\r
-       else\r
-               strOpts+=",resizable=no";\r
-       if(oWnd.sBTop)\r
-       {\r
-               var nTop=getSValue(oWnd.sBTop,screen.height);\r
-               strOpts+=",top="+nTop;\r
-               strOpts+=",screenY="+nTop;\r
-       }\r
-       if(oWnd.sBLeft)\r
-       {\r
-               var nLeft=getSValue(oWnd.sBLeft,screen.width);\r
-               strOpts+=",left="+nLeft;\r
-               strOpts+=",screenX="+nLeft;\r
-       }\r
-       if(oWnd.sBWidth)\r
-       {\r
-               var nWidth=getSValue(oWnd.sBWidth,screen.width);\r
-               strOpts+=",width="+nWidth;\r
-               strOpts+=",outerWidth="+nWidth;\r
-       }\r
-       if(oWnd.sBHeight)\r
-       {\r
-               var nHeight=getSValue(oWnd.sBHeight,screen.height);\r
-               strOpts+=",height="+nHeight;\r
-               strOpts+=",outerHeight="+nHeight;\r
-       }\r
-       return strOpts;\r
-}\r
-\r
-function getSValue(sValue,nLength)\r
-{\r
-       var nValue=0;\r
-       var nPos=sValue.indexOf("%");\r
-       if(nPos!=-1)\r
-       {\r
-               if(nPos>0)\r
-               {\r
-                       var nPart=parseInt(sValue.substring(0,nPos));\r
-                       nValue=nLength*nPart/100;\r
-               }\r
-       }\r
-       else\r
-               nValue=parseInt(sValue);\r
-       return nValue;\r
-}\r
-\r
-\r
-window.onload=window_OnLoad;\r
-\r
-function window_OnLoad()\r
-{\r
-       if(document.location.hash.length>0)\r
-       {\r
-               showCSH(document.location.hash.substring(1));\r
-       }\r
-\r
-       if(gsJava=="false")\r
-               window.moveTo(screen.width,screen.height);\r
-}\r
-//-->\r
-</script>\r
+<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>
\ No newline at end of file
index 9576ec08b5d1701d8865cfcf3fb113c7ebfb47eb..2f9ae70a0a16cbb8391e17782132763e837756ac 100755 (executable)
@@ -1,87 +1,87 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-<script language="javascript1.2" src="whver.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="JavaScript">\r
-<!--\r
-var gaCsh=new Array();\r
-\r
-var gaWindow=new Array();\r
-\r
-var gaRmtProj=new Array();\r
-\r
-var gsProjPath=_getPath(document.location.href);\r
-\r
-function CshEntityItem(strAliasId,nTopicNum,strUrl)\r
-{\r
-       this.strAliasId=strAliasId;\r
-       this.nTopicNum=nTopicNum;\r
-       this.strUrl=strUrl;\r
-}\r
-\r
-function CshWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn)\r
-{\r
-       this.sName=sWName;\r
-       this.bUseDefault=bBUseDefault;\r
-       if(!this.bUseDefault)\r
-       {\r
-               this.nBOptions=nWBOptions;\r
-               this.sBLeft=sWBLeft;\r
-               this.sBTop=sWBTop;\r
-               this.sBWidth=sWBWidth;\r
-               this.sBHeight=sWBHeight;\r
-       }\r
-       this.sCaption=sWCaption;\r
-       this.nPanes=nWPanes;\r
-       if(this.nPanes==2)\r
-       {\r
-               this.nPOptions=nWPOptions;\r
-               this.sPButtons=sWPButtons;\r
-               this.sPDefBtn=sWPDefBtn;\r
-       }\r
-}\r
-\r
-function addRemoteProject(sPath)\r
-{\r
-       if(sPath.length!=0)\r
-       {\r
-               if(sPath.lastIndexOf("/")!=sPath.length-1)\r
-                       sPath+="/";\r
-               gaRmtProj[gaRmtProj.length]=sPath;      \r
-       }\r
-}\r
-\r
-//Set Context-sensitive help entity...\r
-function SetCsh(n,strAliasId,nTopicNum,strUrl)\r
-{\r
-       gaCsh[n]=new CshEntityItem(strAliasId,nTopicNum,strUrl);\r
-}\r
-\r
-function addWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn)\r
-{\r
-       gaWindow[gaWindow.length]=new CshWindow(sWName,bBUseDefault,nWBOptions,sWBLeft,sWBTop,sWBWidth,sWBHeight,sWCaption,nWPanes,nWPOptions,sWPButtons,sWPDefBtn);\r
-}\r
-\r
-\r
-\r
-\r
-\r
-window.onload=window_OnLoad;\r
-\r
-function window_OnLoad()\r
-{\r
-       if(parent&&parent!=this&&parent.putCshData)\r
-       {\r
-               parent.putCshData(gsProjPath,gaCsh,gaWindow,gaRmtProj);\r
-       }\r
-}\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
+<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>
index 1bca23603e8bb45f725f9126337d185dcf6ec10f..3983ccbdd0d39556d4cee966f73cc1a7cd8502b8 100755 (executable)
@@ -1,43 +1,43 @@
-<html>\r
-<head>\r
-<title>Navigator Pane</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body border=0 topmargin=0 bottommargin=0 rightmargin=0 leftmargin=0 scroll=no>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whphost.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gsNavReDirect="whgdata/whnvp30.htm";\r
-var gbReDirectThis=false;\r
-  var bPreferXML             = false;\r
-  var strProjectFileXML =  "whproj.xml";\r
-  var strProjectFileHTM =  "whproj.htm";       \r
-if(window.gbWhPHost)\r
-{\r
-         addProject(bPreferXML, strProjectFileXML, strProjectFileHTM);\r
-         addPane("toc","whtdhtml.htm");\r
-  addPane("fts","whfdhtml.htm");\r
-  addPane("glo","whgdhtml.htm");\r
-  setShowPane("toc");\r
-\r
-}\r
-else\r
-       document.location.reload();\r
-\r
-if (window.gbNav6)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-//-->\r
-</script>\r
-</body>\r
+<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
index a57fe1e490457bdbc9302baae604ab38bf135133..05b5f908c41504ce854f515542cfe9d085c2ea6e 100755 (executable)
@@ -1,15 +1,15 @@
-<html>\r
-<head>\r
-<title>Navigation Pane</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-</head>\r
-<frameset rows="30, *" border="0" frameborder="0">\r
-       <frame name="navtabs" title="tab selection frame" src="whd_tabs.htm" noresize frameborder="no" scrolling="no" border="0" marginheight="0" marginwidth="0" ></frame>\r
-       <frame name="navpane" title="navigation frame" src="whd_dpns.htm" ></frame>\r
-</frameset>\r
-</html>\r
+<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>
index c5754bc41e7b4e3908283ef3bf13c215ccc00147..23c23dc4fc553ef5753f6723aae08a4ce080652b 100755 (executable)
-<html>\r
-<head>\r
-<title>navigation pane</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gsInitPane="toc";\r
-var gsCurrentPane="";\r
-var gbLoading = "unknown";\r
-var gbTryTime = 0;\r
-var gbMaxTryTime = 6;\r
-var gbPassPhase0 = 0;\r
-var gbretried = 0;\r
-var gbmaxretry = 3;\r
-var gbretrytime = new Array();\r
-\r
-var origWidth = 0;\r
-var origHeight = 0;\r
-\r
-gbretrytime[0]= 5000;\r
-gbretrytime[1]= 30000;\r
-gbretrytime[2]= 60000;\r
-\r
-function addPane(sName, sFile)\r
-{\r
-}\r
-\r
-function setShowPane(sName)\r
-{\r
-       gsInitPane=sName;\r
-}\r
-\r
-  addPane("toc","whtdhtml.htm");\r
-  addPane("fts","whfdhtml.htm");\r
-  addPane("glo","whgdhtml.htm");\r
-  setShowPane("toc");\r
-\r
-\r
-function window_unload()\r
-{\r
-       UnRegisterListener2(this, WH_MSG_SHOWTOC);\r
-       UnRegisterListener2(this, WH_MSG_SHOWIDX);\r
-       UnRegisterListener2(this, WH_MSG_SHOWFTS);\r
-       UnRegisterListener2(this, WH_MSG_SHOWGLO);\r
-       UnRegisterListener2(this, WH_MSG_SYNCTOC);\r
-       UnRegisterListener2(this, WH_MSG_SEARCHTHIS);\r
-       UnRegisterListener2(this, WH_MSG_GETPANEINFO);\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       var bHidePane=false;\r
-       var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);\r
-       if (SendMessage(oMsg))\r
-       {\r
-               if(oMsg.oParam>0)\r
-               {\r
-                       if(oMsg.oParam==1)\r
-                               gsInitPane="toc";\r
-                       else if(oMsg.oParam==2)\r
-                               gsInitPane="idx";\r
-                       else if(oMsg.oParam==3)\r
-                               gsInitPane="fts";\r
-                       else if(oMsg.oParam==4)\r
-                               gsInitPane="glo";\r
-               }\r
-               else if(oMsg.oParam==0)\r
-               {\r
-                       bHidePane=true;\r
-               }\r
-       }\r
-       if (bHidePane)\r
-       {\r
-               oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null)\r
-               SendMessage(oMsg);\r
-       }\r
-       else if (gsInitPane == "toc")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-       else if (gsInitPane=="idx")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWIDX,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-       else if (gsInitPane=="fts")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-       else if (gsInitPane=="glo")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWGLO,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-}\r
-\r
-function CheckLoadingPhase0()\r
-{\r
-       if (!gbPassPhase0) {\r
-               setTimeout("CheckLoadingPhase0()", 1000);\r
-               document.applets[0];\r
-               gbPassPhase0 = 1;\r
-       }\r
-       else {\r
-               CheckLoadingPhase1();\r
-       }\r
-}\r
-\r
-function CheckLoadingPhase1()\r
-{\r
-       if (gbNav4) {\r
-               if ("unknown" == gbLoading && document.readystate < 4) {\r
-                       setTimeout("CheckLoadingPhase1()", 1000);\r
-               }\r
-               else if ("unknown" == gbLoading) {\r
-                       CheckLoadingPhase2();\r
-               }\r
-       }\r
-}\r
-\r
-function CheckLoadingPhase2()\r
-{\r
-       if (gbNav4) {\r
-               gbTryTime ++;\r
-               if ("unknown" == gbLoading) {\r
-                       if (gbTryTime <= gbMaxTryTime )\r
-                               setTimeout("CheckLoadingPhase2()", 1000);\r
-                       else {\r
-                               if (gnVerMinor != 4.60) {\r
-                                       alert("Unable to load applet. If you are using an old version of Netscape, the prefs.js file needs to be edited.");\r
-                               }\r
-                       }       \r
-               }\r
-       }\r
-}\r
-\r
-function CheckAppletLoaded()\r
-{\r
-       if (typeof(document.webhelp) == "undefined")\r
-       {\r
-               document.location.reload();\r
-               if (gbretried < gbmaxretry)\r
-               {\r
-                       gbretried ++;\r
-                       setTimeout("CheckAppletLoaded();", gbretrytime[gbretried]);\r
-               }\r
-       }\r
-}\r
-\r
-function reDo() \r
-{\r
-       if (innerWidth != origWidth || innerHeight != origHeight)  \r
-       {\r
-               //reloaded applet if nessary\r
-               gbretried = 0;\r
-\r
-               if (gnVerMinor == 4.60) \r
-               {\r
-                       //reload the applet again.\r
-                       document.location.reload();\r
-                       gbretried ++;\r
-               }\r
-               setTimeout("CheckAppletLoaded();", gbretrytime[gbretried]);\r
-       }\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if (oMsg)\r
-       {       \r
-               var nMsgId = oMsg.nMessageId;\r
-               var WebHelpApplet = null;\r
-               if (gbNav4)\r
-               {\r
-                       WebHelpApplet = document.applets["WebHelp"];\r
-                       if (!WebHelpApplet.Command)\r
-                               document.location="whgdata/whnvp30.htm";\r
-               }\r
-               else\r
-                       WebHelpApplet = WebHelp;\r
-\r
-               if(nMsgId==WH_MSG_GETPANEINFO)\r
-               {\r
-                       oMsg.oParam=gsCurrentPane;\r
-                       return false;\r
-               }\r
-               else if (gbLoading!="unknown"||gbNav6)\r
-               {\r
-                       if (nMsgId == WH_MSG_SHOWTOC)\r
-                       {\r
-                               gsCurrentPane="toc";\r
-                               WebHelpApplet .Command("Contents", null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "toc");\r
-                               SendMessage(onMsg);\r
-                               onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if (nMsgId == WH_MSG_SHOWIDX)\r
-                       {\r
-                               gsCurrentPane="idx";\r
-                               WebHelpApplet .Command("Index", null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "idx");\r
-                               SendMessage(onMsg);\r
-                               onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if (nMsgId == WH_MSG_SHOWFTS)\r
-                       {\r
-                               gsCurrentPane="fts";\r
-                               WebHelpApplet .Command("Search", null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "fts");\r
-                               SendMessage(onMsg);\r
-                               onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if (nMsgId == WH_MSG_SHOWGLO)\r
-                       {\r
-                               gsCurrentPane="glo";\r
-                               WebHelpApplet .Command("Glossary", null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "glo");\r
-                               SendMessage(onMsg);\r
-                               onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if (nMsgId == WH_MSG_SYNCTOC)\r
-                       {\r
-                               gsCurrentPane="toc";\r
-                               var oTopicParam = oMsg.oParam;\r
-                               if (oTopicParam && oTopicParam.aPaths && oTopicParam.aPaths.length > 0 && oTopicParam.sPPath)\r
-                               {\r
-                                       var sPPath = _browserStringToText(oTopicParam.sPPath);\r
-                                       var sParam = "";\r
-                                       for (var i = 0; i < oTopicParam.aPaths.length; i ++)\r
-                                       {\r
-                                               sParam += oTopicParam.aPaths[i] + "\r\r";\r
-                                       }\r
-                                       WebHelpApplet.Command("SyncToc", sPPath,  sParam);\r
-                               }\r
-                       }\r
-                       else if(nMsgId==WH_MSG_SEARCHTHIS)\r
-                       {\r
-                               gsCurrentPane="fts";\r
-                               WebHelpApplet .Command("Search", oMsg.oParam);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "fts");\r
-                               SendMessage(onMsg);\r
-                               onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function getInitTocInfo()\r
-{\r
-       // send message ask for the first time sync toc info.\r
-       var oParam = new Object();\r
-       oParam.oTocInfo = null;\r
-       var oMsg = new whMessage(WH_MSG_GETTOCPATHS, this, 1, oParam);\r
-       if (SendMessage(oMsg ))\r
-       {\r
-               var oTopicParam = oMsg.oParam.oTocInfo;\r
-               if (oTopicParam && oTopicParam.aPaths && oTopicParam.aPaths.length > 0 && oTopicParam.sPPath)\r
-               {\r
-                       var sPPath = _browserStringToText(oTopicParam.sPPath);\r
-                       var sParam = "";\r
-                       for (var i = 0; i < oTopicParam.aPaths.length; i ++)\r
-                       {\r
-                               sParam += oTopicParam.aPaths[i] + "\r\r";\r
-                       }\r
-                       var WebHelpApplet;\r
-                       if (gbNav4)\r
-                               WebHelpApplet = document.applets["WebHelp"];\r
-                       else\r
-                               WebHelpApplet = WebHelp;\r
-                       WebHelpApplet.Command("SyncToc", sPPath,  sParam);\r
-               }\r
-       }\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       RegisterListener2(this, WH_MSG_SHOWTOC);\r
-       RegisterListener2(this, WH_MSG_SHOWIDX);\r
-       RegisterListener2(this, WH_MSG_SHOWFTS);\r
-       RegisterListener2(this, WH_MSG_SHOWGLO);\r
-       RegisterListener2(this, WH_MSG_SYNCTOC);\r
-       RegisterListener2(this, WH_MSG_SEARCHTHIS);\r
-       RegisterListener2(this, WH_MSG_GETPANEINFO);\r
-\r
-       window.onunload = window_unload;\r
-       window.onload=window_OnLoad;\r
-       window.onerror = null;\r
-       var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));\r
-\r
-       if (gbNav4 && !gbNav6 && gbWindows) {\r
-               setTimeout("CheckLoadingPhase0()", 1000);\r
-       }\r
-\r
-       if (gbNav4) \r
-       {\r
-               origWidth = innerWidth;\r
-               origHeight = innerHeight;\r
-               onresize = reDo;\r
-       }\r
-}\r
-else\r
-       document.location.reload();\r
-\r
-if (window.gbNav6)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-//-->\r
-</script>\r
-</head>\r
-<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor="c0c0c0">\r
-<applet code=WebHelp.class name=WebHelp  archive=webhelp.jar width=100% height=100% MAYSCRIPT hspace=0 vspace=0>\r
-<PARAM name=ProjectFile value=whproj.xml><PARAM name=ResourceFile value=whres.xml>\r
-<PARAM name=Frame value=bsscright>\r
-<PARAM name=cabbase value=webhelp.cab>\r
-</applet>\r
-</body>\r
-</html>\r
+<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>
index 1568f573ded24cf0708033cdbc36d069bea12727..e8c498c887f93ebf75aad6426b146b41ee40364e 100755 (executable)
-<HTML>\r
-<HEAD>\r
-<TITLE>WebHelp Tabs Frame in Navigation Pane</TITLE>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<!-- WebHelp version 5.10 -->\r
-</HEAD>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gsBgColor="#c0c0c0"\r
-var gsBgImage="";\r
-var gnCurPane=0;\r
-var gsFirstPane="";\r
-var goTocFont=null;\r
-var goIdxFont=null;\r
-var goFtsFont=null;\r
-var goGloFont=null;\r
-var gPane=new Array();\r
-var gShowFirst=0;\r
-var gnTabType=0;\r
-\r
-function window_unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_SHOWTOC);\r
-       UnRegisterListener2(this,WH_MSG_SHOWIDX);\r
-       UnRegisterListener2(this,WH_MSG_SHOWFTS);\r
-       UnRegisterListener2(this,WH_MSG_SHOWGLO);\r
-}\r
-\r
-\r
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if(sType=="Toc") goTocFont=vFont;\r
-       else if(sType=="Idx") goIdxFont=vFont;\r
-       else if(sType=="Fts") goFtsFont=vFont;\r
-       else if(sType=="Glo") goGloFont=vFont;\r
-}\r
-\r
-function TocWriteClassStyle()\r
-{\r
-       var sStyle="<STYLE TYPE='text/css'>";\r
-       sStyle+=".TextTabToc {"+getFontStyle(goTocFont)+"}";\r
-       sStyle+=".TextTabIdx {"+getFontStyle(goIdxFont)+"}";\r
-       sStyle+=".TextTabFts {"+getFontStyle(goFtsFont)+"}";\r
-       sStyle+=".TextTabGlo {"+getFontStyle(goGloFont)+"}";\r
-       sStyle+="A:hover {text-decoration:underline;}";\r
-       sStyle+="</STYLE>";\r
-       document.write(sStyle);\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       if(sBgColor!=null&&sBgColor.length>0)\r
-               gsBgColor=sBgColor;\r
-}\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       if(sBgImage!=null&&sBgImage.length>0)\r
-               gsBgImage=sBgImage;\r
-}\r
-\r
-function selectToc()\r
-{\r
-       var oMessage=new whMessage(WH_MSG_SHOWTOC,this,1,null);\r
-       SendMessage(oMessage);\r
-}\r
-\r
-function selectIdx()\r
-{\r
-       var oMessage=new whMessage(WH_MSG_SHOWIDX,this,1,null);\r
-       SendMessage(oMessage);\r
-}\r
-function selectFts()\r
-{\r
-       var oMessage=new whMessage(WH_MSG_SHOWFTS,this,1,null);\r
-       SendMessage(oMessage);\r
-}\r
-\r
-function selectGlo()\r
-{\r
-       var oMessage=new whMessage(WH_MSG_SHOWGLO,this,1,null);\r
-       SendMessage(oMessage);\r
-}\r
-\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if(oMsg)\r
-       {\r
-               var nMsgId=oMsg.nMessageId;\r
-               if(nMsgId==WH_MSG_SHOWTOC)\r
-               {\r
-                       setTimeout("showTabByName(\"toc\");",1);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWIDX)\r
-               {\r
-                       setTimeout("showTabByName(\"idx\");",1);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWFTS)\r
-               {\r
-                       setTimeout("showTabByName(\"fts\");",1);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWGLO)\r
-               {\r
-                       setTimeout("showTabByName(\"glo\");",1);\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function showTabByName(sTabName)\r
-{\r
-       for(var i=0;i<gPane.length;i++)\r
-       {\r
-               if(gPane[i]==sTabName)\r
-               {\r
-                       showTab(i);\r
-                       break;\r
-               }\r
-       }\r
-}\r
-\r
-function showTab(n)\r
-{\r
-       gnCurPane=n;\r
-       if(gnTabType==0)\r
-       {\r
-               if(n<gPane.length)\r
-               {\r
-                       if(document.images["TocTab"]&&document.images["TocTab"]!=null){\r
-                               if(gPane[n]=="toc")\r
-                                       document.images["TocTab"].src=getBtnImage("toc",1);\r
-                               else\r
-                                       document.images["TocTab"].src=getBtnImage("toc",0);\r
-                       }\r
-                       if(document.images["IndexTab"]&&document.images["IndexTab"]!=null){\r
-                               if(gPane[n]=="idx")\r
-                                       document.images["IndexTab"].src=getBtnImage("idx",1);\r
-                               else\r
-                                       document.images["IndexTab"].src=getBtnImage("idx",0);\r
-                       }\r
-                       if(document.images["FtsTab"]&&document.images["FtsTab"]!=null){\r
-                               if(gPane[n]=="fts")\r
-                                       document.images["FtsTab"].src=getBtnImage("fts",1);\r
-                               else\r
-                                       document.images["FtsTab"].src=getBtnImage("fts",0);\r
-                       }\r
-                       if(document.images["GloTab"]&&document.images["GloTab"]!=null){\r
-                               if(gPane[n]=="glo")\r
-                                       document.images["GloTab"].src=getBtnImage("glo",1);\r
-                               else\r
-                                       document.images["GloTab"].src=getBtnImage("glo",0);\r
-                       }\r
-               }\r
-       }\r
-       else if(gnTabType==1)\r
-       {\r
-       }\r
-       else if(gnTabType==2)\r
-       {\r
-               if(n<gPane.length)\r
-               {\r
-                       if(document.images["tabSelection"]!=null)\r
-                               document.images["tabSelection"].src=getMapImage(gPane[n]);\r
-               }\r
-       }\r
-}\r
-\r
-function addPane(sName)\r
-{\r
-       gPane[gPane.length]=sName;\r
-}\r
-\r
-function setShowPane(sName)\r
-{\r
-       if(gsFirstPane!="")\r
-               sName=gsFirstPane;\r
-       for(var i=0;i<gPane.length;i++)\r
-       {\r
-               if(gPane[i]==sName)\r
-                       gShowFirst=i;\r
-       }\r
-}\r
-\r
-function selectDefaultTab()\r
-{\r
-       showTab(gShowFirst);\r
-       if(document.body)\r
-       {\r
-               if(gsBgImage&&gsBgImage.length>0)\r
-               {\r
-                       document.body.background=gsBgImage;\r
-               }\r
-               if(gsBgColor&&gsBgColor.length>0)\r
-               {\r
-                       document.body.bgColor=gsBgColor;\r
-               }\r
-       }\r
-}\r
-\r
-function getTabsHTML()\r
-{\r
-       var sHTML="";\r
-       for(var i=0;i<gPane.length;i++)\r
-       {\r
-               if(gnTabType==0)\r
-                       sHTML+=getTabHTML(gPane[i]);\r
-               else if(gnTabType==1)\r
-               {\r
-                       if(sHTML.length>0)\r
-                       {\r
-                               sHTML+=getSeparator();\r
-                       }\r
-                       sHTML+=getTabHTMLText(gPane[i]);\r
-               }\r
-\r
-       }\r
-       return sHTML;\r
-}\r
-\r
-function getSeparator()\r
-{\r
-       var sSep="";\r
-       \r
-       return sSep;\r
-}\r
-\r
-function getTabHTML(sTabName)\r
-{\r
-       if (sTabName == "toc")\r
-               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>";\r
-       else if (sTabName =="idx")\r
-               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>";\r
-       else if (sTabName == "fts")\r
-               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>";\r
-       else if (sTabName == "glo")\r
-               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>";\r
-       return "";\r
-}\r
-\r
-function mouseOverToc()\r
-{\r
-       var sImg = "";\r
-       if (gPane[gnCurPane] == "toc")\r
-       {\r
-               sImg = getBtnImage("toc", 3);\r
-       }\r
-       else\r
-       {\r
-               sImg = getBtnImage("toc", 2);\r
-       }\r
-       if (sImg.length > 0)\r
-               document.images["TocTab"].src = sImg;\r
-}\r
-\r
-function mouseOverIdx()\r
-{\r
-       var sImg = "";\r
-       if (gPane[gnCurPane] == "idx")\r
-       {\r
-               sImg = getBtnImage("idx", 3);\r
-       }\r
-       else\r
-       {\r
-               sImg = getBtnImage("idx", 2);\r
-       }\r
-       if (sImg.length > 0)\r
-               document.images["IndexTab"].src = sImg;\r
-}\r
-\r
-function mouseOverFts()\r
-{\r
-       var sImg = "";\r
-       if (gPane[gnCurPane] == "fts")\r
-       {\r
-               sImg = getBtnImage("fts", 3);\r
-       }\r
-       else\r
-       {\r
-               sImg = getBtnImage("fts", 2);\r
-       }\r
-       if (sImg.length > 0)\r
-               document.images["FtsTab"].src = sImg;\r
-}\r
-\r
-function mouseOverGlo()\r
-{\r
-       var sImg = "";\r
-       if (gPane[gnCurPane] == "glo")\r
-       {\r
-               sImg = getBtnImage("glo", 3);\r
-       }\r
-       else\r
-       {\r
-               sImg = getBtnImage("glo", 2);\r
-       }\r
-       if (sImg.length > 0)\r
-               document.images["GloTab"].src = sImg;\r
-}\r
-\r
-function mouseOutToc()\r
-{\r
-       var sImg = "";\r
-       if (gPane[gnCurPane] == "toc")\r
-       {\r
-               sImg = getBtnImage("toc", 1);\r
-       }\r
-       else\r
-       {\r
-               sImg = getBtnImage("toc", 0);\r
-       }\r
-       if (sImg.length > 0)\r
-               document.images["TocTab"].src = sImg;\r
-}\r
-\r
-function mouseOutIdx()\r
-{\r
-       var sImg = "";\r
-       if (gPane[gnCurPane] == "idx")\r
-       {\r
-               sImg = getBtnImage("idx", 1);\r
-       }\r
-       else\r
-       {\r
-               sImg = getBtnImage("idx", 0);\r
-       }\r
-       if (sImg.length > 0)\r
-               document.images["IndexTab"].src = sImg;\r
-}\r
-\r
-function mouseOutFts()\r
-{\r
-       var sImg = "";\r
-       if (gPane[gnCurPane] == "fts")\r
-       {\r
-               sImg = getBtnImage("fts", 1);\r
-       }\r
-       else\r
-       {\r
-               sImg = getBtnImage("fts", 0);\r
-       }\r
-       if (sImg.length > 0)\r
-               document.images["FtsTab"].src = sImg;\r
-}\r
-\r
-function mouseOutGlo()\r
-{\r
-       var sImg = "";\r
-       if (gPane[gnCurPane] == "glo")\r
-       {\r
-               sImg = getBtnImage("glo", 1);\r
-       }\r
-       else\r
-       {\r
-               sImg = getBtnImage("glo", 0);\r
-       }\r
-       if (sImg.length > 0)\r
-               document.images["GloTab"].src = sImg;\r
-}\r
-\r
-function getTabHTMLText(sTabName)\r
-{\r
-       if (sTabName == "toc")\r
-               return "<a class=\"TextTabToc\" href=\"javascript:void(0);\" onclick=\"selectToc();return false;\">Contents</a>&nbsp;";\r
-       else if (sTabName =="idx")\r
-               return "<a class=\"TextTabIdx\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\">Index</a>&nbsp;";\r
-       else if (sTabName == "fts")\r
-               return "<a class=\"TextTabFts\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\">Search</a>&nbsp;";\r
-       else if (sTabName == "glo")\r
-               return "<a class=\"TextTabGlo\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\">Glossary</a>&nbsp;";\r
-       return "";\r
-}\r
-\r
-function getImageMap()\r
-{\r
-       var sHTML = "<map name=\"tabSelectionMap\">";\r
-       for (var i = 0; i < gPane.length; i ++)\r
-       {\r
-               sHTML += getMapArea(gPane[i]);\r
-       }\r
-       sHTML += "</map>";\r
-       return sHTML;\r
-}\r
-\r
-function getMapArea(sTabName)\r
-{\r
-       if (sTabName == "toc")\r
-               return "<area title=\"Contents\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectToc();return false;\">";\r
-       else if (sTabName =="idx")\r
-               return "<area title=\"Index\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\">";\r
-       else if (sTabName == "fts")\r
-               return "<area title=\"Search\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\">";\r
-       else if (sTabName == "glo")\r
-               return "<area title=\"Glossary\" shape=\"\" coords=\"\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\">";\r
-       return "";\r
-}\r
-\r
-function getBtnImage(sTabName, nStatus)\r
-{\r
-       if (sTabName == "toc")\r
-       {\r
-               if (nStatus == 0)\r
-                       return "whd_tab2.gif";\r
-               else if (nStatus == 1)\r
-                       return "whd_tab1.gif";\r
-               else if (nStatus == 2)\r
-                       return "";\r
-               else if (nStatus == 3)\r
-                       return "";\r
-       }\r
-       else if (sTabName =="idx")\r
-       {\r
-               if (nStatus == 0)\r
-                       return "whd_tab4.gif";\r
-               else if (nStatus == 1)\r
-                       return "whd_tab3.gif";\r
-               else if (nStatus == 2)\r
-                       return "";\r
-               else if (nStatus == 3)\r
-                       return "";\r
-       }\r
-       else if (sTabName == "fts")\r
-       {\r
-               if (nStatus == 0)\r
-                       return "whd_tab6.gif";\r
-               else if (nStatus == 1)\r
-                       return "whd_tab5.gif";\r
-               else if (nStatus == 2)\r
-                       return "";\r
-               else if (nStatus == 3)\r
-                       return "";\r
-       }\r
-       else if (sTabName == "glo")\r
-       {\r
-               if (nStatus == 0)\r
-                       return "whd_tab8.gif";\r
-               else if (nStatus == 1)\r
-                       return "whd_tab7.gif";\r
-               else if (nStatus == 2)\r
-                       return "";\r
-               else if (nStatus == 3)\r
-                       return "";\r
-       }\r
-       return "";\r
-}\r
-\r
-function getMapImage(sTabName)\r
-{\r
-       if (sTabName == "toc")\r
-               return "";\r
-       else if (sTabName =="idx")\r
-               return "";\r
-       else if (sTabName == "fts")\r
-               return "";\r
-       else if (sTabName == "glo")\r
-               return "";\r
-       return "";\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       window.onload = selectDefaultTab;\r
-       RegisterListener2(this, WH_MSG_SHOWTOC);\r
-       RegisterListener2(this, WH_MSG_SHOWIDX);\r
-       RegisterListener2(this, WH_MSG_SHOWFTS);\r
-       RegisterListener2(this, WH_MSG_SHOWGLO);\r
-       window.onunload = window_unload;\r
-       goTocFont=new whFont("Arial","9pt","#000000","normal","normal","none");\r
-       goIdxFont=new whFont("Arial","9pt","#000000","normal","normal","none");\r
-       goFtsFont=new whFont("Arial","9pt","#000000","normal","normal","none");\r
-       goGloFont=new whFont("Arial","9pt","#000000","normal","normal","none");\r
-\r
-       if (navigator.currentNavPen)\r
-               gsFirstPane = navigator.currentNavPen;\r
-\r
-       setBackgroundcolor("");\r
-       setBackground("whd_tab0.gif");\r
-       \r
-       \r
-       \r
-       \r
-         addPane("toc","whtdhtml.htm");\r
-  addPane("fts","whfdhtml.htm");\r
-  addPane("glo","whgdhtml.htm");\r
-  setShowPane("toc");\r
-\r
-\r
-       gnTabType = 0; // 0 button. // 1 text. // 2 image mapping.\r
-       TocWriteClassStyle();\r
-       var sHTML = "<body scroll=\"no\" bgcolor=\"#c0c0c0\"    background=\"whd_tab0.gif\" style=\"margin-top:0;margin-bottom:0;margin-left:0;margin-right:0\">";\r
-       if (gPane.length > 0)\r
-       {\r
-               if (gnTabType == 0 || gnTabType == 1)\r
-               {\r
-                       sHTML += "<table width=\"100%\">";\r
-                       sHTML += "<tr>";\r
-                       sHTML += "<td>";\r
-                       sHTML += "<nobr>";\r
-                       sHTML += getTabsHTML();\r
-                       sHTML += "</nobr></td></tr>";\r
-                       sHTML += " <tr><td height=\"2\"></td></tr>";\r
-                       sHTML += "</table>";\r
-               }\r
-               else if (gnTabType == 2)\r
-               {\r
-                       sHTML += getImageMap();\r
-                       sHTML +="<img name=\"tabSelection\" src=\"" + getMapImage(gPane[0]) + "\" x-maintain-ratio=\"true\" usemap=\"#tabSelectionMap\"";\r
-                       if (gbIE)\r
-                               sHTML +=" style=\"border: none; width:px; height:px; float: none;\"";\r
-                       sHTML +=" width=\"\" height=\"\" border=\"0\">";\r
-               }\r
-       }\r
-       sHTML += "</body>";\r
-       document.write(sHTML);\r
-}\r
-else\r
-       document.location.reload();\r
-\r
-if (window.gbNav6)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);\r
-       SendMessage(oMsg);\r
-}\r
-//-->\r
-</script>\r
+<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>&nbsp;";
+       else if (sTabName =="idx")
+               return "<a class=\"TextTabIdx\" href=\"javascript:void(0);\" onclick=\"selectIdx();return false;\">Index</a>&nbsp;";
+       else if (sTabName == "fts")
+               return "<a class=\"TextTabFts\" href=\"javascript:void(0);\" onclick=\"selectFts();return false;\">Search</a>&nbsp;";
+       else if (sTabName == "glo")
+               return "<a class=\"TextTabGlo\" href=\"javascript:void(0);\" onclick=\"selectGlo();return false;\">Glossary</a>&nbsp;";
+       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
index 3f9a036867847517b1eab4503a4bd378178c0bd5..354aa6ece3d858dddee0810e042bebb83e857b0a 100755 (executable)
Binary files a/doc/salome/gui/GEOM/whd_toc4.gif and b/doc/salome/gui/GEOM/whd_toc4.gif differ
index a1b0320fbc70b4a97c46741a29fd7720fec70f53..b1946d7571f42c588c6682d636c7538369ff9532 100755 (executable)
@@ -1,85 +1,85 @@
-<?xml version='1.0' encoding='ISO-8859-1' ?>\r
-<topictemplate>\r
- <topic type="normal">\r
-  <add tag="head" pos="endbefore" >\r
-   <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_MESSAGE_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript\" src=\"";SF_VERSION_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_PROXY_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_UTILS_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_TOPIC_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.setRelStartPage)\r
-       {\r
-       ";\r
-         OutputInTopicNavBarDataToc("addTocInfo(\"%s\");\r\n");\r
-         OutputInTopicNavBarDataBrowse("addAvenueInfo(\"%s\",\"%s\",\"%s\");\r\n");\r
-         OutputInTopicNavBarDataButtons("addButton(\"%s\",%s, \"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",\"%s\",%d,%d);\r\n");\r
-       "\r
-       }\r
-\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       ";\r
-         OutputInTopicNavBarDataHomePage("setRelStartPage(\"%s\");\r\n");\r
-         OutputInTopicNavBarDataWebSearch.href("addSearchFormHref(\"%s\");\r\n");\r
-       "\r
-               autoSync(";WH_USER_OPTIONS.autosync_toc;");\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-"]]>\r
-  </add>\r
-  <add tag="body" pos="beginafter">\r
-    <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(";WH_WEBSKIN.topic.bar.top.pos;");\r
-//-->\r
-</script>"]]>  \r
-  </add>\r
-  <add tag="body" pos="endbefore">\r
-   <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(";WH_WEBSKIN.topic.bar.bottom.pos;");\r
-//-->\r
-</script>";\r
-OutputInTopicNavBarDataWebSearch.form();]]>    \r
-  </add>\r
- </topic>\r
- <topic type="frameset">\r
-  <add tag="head" pos="endbefore" >\r
-   <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_MESSAGE_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript\" src=\"";SF_VERSION_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_UTILS_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_FRAMESET_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_TOPIC_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\">\r
-<!--\r
-if (window.setRelStartPage)\r
-{\r
-";\r
-  OutputInTopicNavBarDataHomePage("setRelStartPage(\"%s\");\r\n");\r
-  OutputInTopicNavBarDataToc("addTocInfo(\"%s\");\r\n");\r
-  OutputInTopicNavBarDataBrowse("addAvenueInfo(\"%s\",\"%s\",\"%s\");\r\n");\r
-"\r
-if (window.autoSync)\r
-       autoSync(1);\r
-}\r
-//-->\r
-</script>\r
-"]]>\r
-  </add>\r
- </topic>\r
-</topictemplate>\r
+<?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>
diff --git a/doc/salome/gui/GEOM/whestart.ico b/doc/salome/gui/GEOM/whestart.ico
deleted file mode 100755 (executable)
index 110f183..0000000
Binary files a/doc/salome/gui/GEOM/whestart.ico and /dev/null differ
index 86d8e63dbafe7e5d038dc7b66ab0930a12c8706f..ea648e4b375454493febe9b00b94b1ef2a6da129 100755 (executable)
@@ -1,37 +1,37 @@
-<html>\r
-<head>\r
-<title>Search Result</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whlang.js"></script>\r
-<script language="javascript1.2" src="whfhost.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-if(window.gbWhFHost)\r
-{\r
-       setBackgroundcolor("White"); \r
-       \r
-       setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Error", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Hover", "Tahoma","8pt","Navy","Normal","Normal","underline");\r
-       setActiveBgColor("Silver");\r
-       \r
-       \r
-       FtsWriteClassStyle();\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</head>\r
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" scroll="auto" bgcolor="white">\r
-</body>\r
-</html>\r
-\r
+<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>
+
index 236beec73745da25df5bf9aa542ef7f3eb13f00f..c2e65bea10d2bcce6dcd3de7ff3b11ca070214ee 100755 (executable)
@@ -1,30 +1,30 @@
-<html>\r
-<head>\r
-<title>Search Frame</TITLE>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script LANGUAGE="javascript1.2">\r
-<!--\r
-var gbIndexLayerInit = false;\r
-var strWrite="";\r
-if (window.gbWhVer&&window.gbWhProxy&&window.gbWhMsg)\r
-{\r
-       if (gbMac)\r
-               strWrite="<FRAMESET ROWS='45,100%' framespacing=0  frameborder=0>";\r
-       else\r
-               strWrite="<FRAMESET ROWS='60,100%' framespacing=0  frameborder=0>";\r
-       strWrite +="<FRAME SRC='whfform.htm' title='search form frame' name='ftsform' noresize='yes' scrolling='no'>";\r
-       strWrite +="<FRAME SRC='whfbody.htm' title='search result frame' name='ftsbody' scrolling='yes'>";\r
-       strWrite +="</FRAMESET>";\r
-       document.write(strWrite);\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</html>\r
+<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>
index f592a738df1874adf8ea78fbe08266987935ea4d..e01bedde668f4d56f0d4f66ee82cba60a2f1aa27 100755 (executable)
-<html>\r
-<head>\r
-<title>Search Form</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<style>\r
-<!--\r
-body {margin:0;}\r
--->\r
-</style>\r
-<body bgcolor="#c0c0c0">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whform.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gstrInput = "";\r
-function ftsLookup(bCR)\r
-{\r
-       if (bCR)\r
-       {\r
-               var strInput = document.FtsInputForm.keywordField.value.toUpperCase();\r
-               if (strInput != "") {\r
-                       var oMsg = new whMessage(WH_MSG_SEARCHFTSKEY, this, 1, strInput);\r
-                       if (!SendMessage(oMsg))\r
-                       {\r
-                               gstrInput = strInput;\r
-                       }\r
-                       else\r
-                               gstrInput = "";\r
-               }\r
-\r
-               if (gbMac) {\r
-                       document.FtsInputForm.keywordField.focus();\r
-               }\r
-       }\r
-       return;\r
-}\r
-\r
-function beforeInit()\r
-{\r
-       var oParam = new Object();\r
-       oParam.sValue = "";\r
-       var oMsg = new whMessage(WH_MSG_GETSEARCHS, this, 1, oParam);\r
-       if (SendMessage(oMsg))\r
-       {\r
-               if (oParam.sValue != "" && oParam.sValue != "- Search -")\r
-               {\r
-                       document.FtsInputForm.keywordField.value = oParam.sValue;\r
-                       gfunLookUp(true);\r
-               }\r
-       }\r
-       init(); \r
-}\r
-\r
-function window_unload()\r
-{\r
-       UnRegisterListener2(this, WH_MSG_SHOWTOC);\r
-       UnRegisterListener2(this, WH_MSG_SHOWIDX);\r
-       UnRegisterListener2(this, WH_MSG_SHOWFTS);\r
-       UnRegisterListener2(this, WH_MSG_SHOWGLO);\r
-       UnRegisterListener2(this, WH_MSG_SEARCHTHIS);\r
-       UnRegisterListener2(this, WH_MSG_BACKUPSEARCH);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if (oMsg.nMessageId == WH_MSG_SHOWFTS)\r
-       {\r
-               document.FtsInputForm.keywordField.focus();\r
-       }\r
-       else if (oMsg.nMessageId == WH_MSG_SHOWIDX ||\r
-               oMsg.nMessageId == WH_MSG_SHOWTOC || \r
-               oMsg.nMessageId == WH_MSG_SHOWGLO)\r
-       {\r
-               document.FtsInputForm.keywordField.blur();\r
-       }\r
-       else if (oMsg.nMessageId == WH_MSG_SEARCHTHIS)\r
-       {\r
-               if (oMsg.oParam != "- Search -")\r
-               {\r
-                       document.FtsInputForm.keywordField.value = oMsg.oParam;\r
-                       gfunLookUp(true);\r
-               }\r
-       }\r
-       else if (oMsg.nMessageId == WH_MSG_BACKUPSEARCH)\r
-       {\r
-               if (gstrInput)\r
-               {\r
-                       oMsg.oParam = gstrInput;\r
-                       gstrInput = "";\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-if (window.gbWhForm)\r
-{\r
-       RegisterListener2(this, WH_MSG_SHOWTOC);\r
-       RegisterListener2(this, WH_MSG_SHOWIDX);\r
-       RegisterListener2(this, WH_MSG_SHOWFTS);\r
-       RegisterListener2(this, WH_MSG_SHOWGLO);\r
-       RegisterListener2(this, WH_MSG_SEARCHTHIS);\r
-       RegisterListener2(this, WH_MSG_BACKUPSEARCH);\r
-       gfunLookUp = ftsLookup;\r
-       gfunInit = null;\r
-       gstrFormName = "FtsInputForm"\r
-       gsTitle = "Type in the word(s) to search for:";\r
-       gsTitle = "Type in the word(s) to search for:";\r
-       setGoImage1("wht_go.gif");\r
-       setBackgroundcolor("White");\r
-       \r
-       setBtnType("image");\r
-       \r
-       \r
-       \r
-       setGoText("Go");\r
-       setFont("Title", "Tahoma","8pt","Navy","Normal","Normal","none");\r
-       \r
-       \r
-       document.write(getFormHTML());\r
-       writeFormStyle();\r
-       window.onload = beforeInit;\r
-       window.onunload=window_unload;\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</body>\r
+<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>
\ No newline at end of file
index 167acc45915b05c012cd31f07c821f7b6471945f..c3c7144fa7c88c2735b433abc615760fb8a314c4 100755 (executable)
-//     WebHelp 5.10.003\r
-var gsSK2=null;\r
-var gsSK=null;\r
-var gsFtsBreakChars="\t\r\n\"\\ .,!@#$%^&*()~'`:;<>?/{}[]|+-=\x85\x92\x93\x94\x95\x96\x97\x99\xA9\xAE\xB7";\r
-var gnCLF=0;\r
-var gsHelpCannotSearch="Cannot search for that phrase.";\r
-var gsNoTopics="No Topics Found.";\r
-var gsLoadingDivID="LoadingDiv";\r
-var gsLoadingMsg="Loading data, please wait...";\r
-var gsSearchMsg="Searching...";\r
-var gsResultDivID="ResultDiv";\r
-var gaaFCD=new Array();\r
-var gaaFTCD=new Array();\r
-var goCF=null;\r
-var goCTF=null;\r
-var gaTI=null;\r
-var gnCurrentOp=0;\r
-var gbNot=false;\r
-var gbReady=false;\r
-var gnLoadFts=1;\r
-var gnCacheLimits=5;\r
-var gaCCD=new Array();\r
-var gbXML=false;\r
-var gaData=new Array();\r
-var gsBgColor="#ffffff";\r
-var gsBgImage="";\r
-var gsMargin="0pt";\r
-var gsIndent="0pt";\r
-var gsCheckKey=null;\r
-var gnIndexNum=0;\r
-var gaFtsContentsCon=null;\r
-var gaTopicCheckInfo=null;\r
-var gnTopicCheck=0;\r
-var goFont=null;\r
-var goErrFont=null;\r
-var goHoverFont=null;\r
-var gsABgColor="#cccccc";\r
-var gbWhFHost=false;\r
-var gbFirst=false;\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if(sType=="Normal")\r
-               goFont=vFont;\r
-       else if(sType=="Error")\r
-               goErrFont=vFont;\r
-       else if(sType=="Hover")\r
-               goHoverFont=vFont;\r
-}\r
-\r
-function setActiveBgColor(sBgColor)\r
-{\r
-       gsABgColor=sBgColor;\r
-}\r
-\r
-function setMargin(sMargin)\r
-{\r
-       gsMargin=sMargin;\r
-}\r
-\r
-function setIndent(sIndent)\r
-{\r
-       gsIndent=sIndent;\r
-}\r
-\r
-function updateCache(oCF)\r
-{\r
-       var len=gaCCD.length;\r
-       if(len<gnCacheLimits*gnCLF)\r
-               gaCCD[len]=oCF;\r
-       else{\r
-               gaCCD[0].aTopics=null;\r
-               gaCCD[0].aFtsKeys=null;\r
-               removeItemFromArray(gaCCD,0);\r
-               gaCCD[len-1]=oCF;\r
-       }\r
-}\r
-\r
-function addFtsInfo(sPPath,sDPath,sFtsFile)\r
-{\r
-       gaData[gaData.length]=new ftsInfo(sPPath,sDPath,sFtsFile);\r
-}\r
-\r
-function onLoadXMLError()\r
-{\r
-       if(gnLoadFts==1)\r
-       {\r
-               var aFCD=new Array();\r
-               var aFTCD=new Array();\r
-               ftsReady(aFCD,aFTCD);\r
-       }\r
-       else if(gnLoadFts==3)\r
-       {\r
-               var aTopics=new Array();\r
-               putFtsTData(aTopics);\r
-       }\r
-       else if(gnLoadFts==2)\r
-       {\r
-               putFtsWData(aFtsContents);\r
-               var aFtsContents=new Array();\r
-       }\r
-}\r
-\r
-function putDataXML(xmlDoc,sDocPath)\r
-{\r
-       if(gnLoadFts==1)\r
-       {\r
-               var node=xmlDoc.lastChild;\r
-               if(node)\r
-               {\r
-                       var oChild=node.firstChild;\r
-                       var aFCD=new Array();\r
-                       var aFTCD=new Array();\r
-                       while(oChild)\r
-                       {\r
-                               if(oChild.nodeName=="chunkinfo")\r
-                               {\r
-                                       var sURL=oChild.getAttribute("url");\r
-                                       var sFirst=oChild.getAttribute("first");\r
-                                       var sLast=oChild.getAttribute("last");\r
-                                       if(sURL&&sFirst&&sLast)\r
-                                       {\r
-                                               item=new Object();\r
-                                               item.sStartKey=sFirst;\r
-                                               item.sEndKey=sLast;\r
-                                               item.sFileName=sURL;\r
-                                               aFCD[aFCD.length]=item;\r
-                                       }\r
-                               }\r
-                               else if(oChild.nodeName=="tchunkinfo")\r
-                               {\r
-                                       var sURL=oChild.getAttribute("url");\r
-                                       var nB=parseInt(oChild.getAttribute("first"));\r
-                                       var nE=parseInt(oChild.getAttribute("last"));\r
-                                       if(sURL&&sFirst&&sLast)\r
-                                       {\r
-                                               item=new Object();\r
-                                               item.nBegin=nB;\r
-                                               item.nEnd=nE;\r
-                                               item.sFileName=sURL;\r
-                                               aFTCD[aFTCD.length]=item;\r
-                                       }\r
-\r
-                               }\r
-                               oChild=oChild.nextSibling;\r
-                       }\r
-                       ftsReady(aFCD,aFTCD);\r
-               }\r
-       }\r
-       else if(gnLoadFts==3)\r
-       {\r
-               var node=xmlDoc.lastChild;\r
-               if(node)\r
-               {\r
-                       var oChild=node.firstChild;\r
-                       var aTopics=new Array();\r
-                       while(oChild)\r
-                       {\r
-                               if(oChild.nodeName=="topic")\r
-                               {\r
-                                       var name=oChild.getAttribute("name");\r
-                                       var sURL=oChild.getAttribute("url");\r
-                                       if(name&&name.length>0&&sURL)\r
-                                       {\r
-                                               var topic=new Object();\r
-                                               topic.sTopicTitle=name;\r
-                                               topic.sTopicURL=sURL;\r
-                                               aTopics[aTopics.length]=topic;\r
-                                       }\r
-                               }\r
-                               oChild=oChild.nextSibling;\r
-                       }\r
-                       putFtsTData(aTopics);\r
-               }\r
-       }\r
-       else if(gnLoadFts==2)\r
-       {\r
-               var node=xmlDoc.lastChild;\r
-               if(node)\r
-               {\r
-                       var oChild=node.firstChild;\r
-                       var aFtsContents=new Array();\r
-                       while(oChild)\r
-                       {\r
-                               if(oChild.nodeName=="key")\r
-                               {\r
-                                       var name=oChild.getAttribute("name");\r
-                                       if(name&&name.length>0)\r
-                                       {\r
-                                               var item=new Object();\r
-                                               item.sItemName=name;\r
-                                               aFtsContents[aFtsContents.length]=item;\r
-                                               var oChildChild=oChild.firstChild;\r
-                                               while(oChildChild)\r
-                                               {\r
-                                                       if(oChildChild.nodeName=="#text")\r
-                                                       {\r
-                                                               var sIDs=oChildChild.nodeValue;\r
-                                                               if(sIDs)\r
-                                                               {\r
-                                                                       var nBPos=0;\r
-                                                                       do\r
-                                                                       {\r
-                                                                               var nPos=sIDs.indexOf(",",nBPos);\r
-                                                                               var sID=null;\r
-                                                                               if(nPos!=-1)\r
-                                                                                       sID=sIDs.substring(nBPos,nPos);\r
-                                                                               else\r
-                                                                                       sID=sIDs.substring(nBPos);\r
-\r
-                                                                               if(sID)\r
-                                                                               {\r
-                                                                                       var id=parseInt(sID);\r
-                                                                                       if(!isNaN(id))\r
-                                                                                       {\r
-                                                                                               if(!item.aTopics)\r
-                                                                                                       item.aTopics=new Array();\r
-                                                                                               item.aTopics[item.aTopics.length]=id;\r
-                                                                                       }\r
-                                                                               }\r
-                                                                               nBPos=nPos+1;\r
-                                                                       }while(nBPos!=0&&nBPos<sIDs.length);\r
-                                                               }\r
-                                                       }\r
-                                                       oChildChild=oChildChild.nextSibling;\r
-                                               }\r
-                                       }\r
-                               }\r
-                               oChild=oChild.nextSibling;\r
-                       }\r
-                       putFtsWData(aFtsContents);\r
-               }\r
-       }\r
-}\r
-\r
-function ftsInfo(sPPath,sDPath,sFtsFile)\r
-{\r
-       this.sPPath=sPPath;\r
-       this.sDPath=sDPath;\r
-       this.sFtsFile=sFtsFile;\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-       {\r
-               document.body.background=gsBgImage;\r
-       }\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-       {\r
-               document.body.bgColor=gsBgColor;\r
-       }\r
-       writeResultDiv();\r
-       loadFts();\r
-       var oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function writeResultDiv()\r
-{\r
-       var sHTML="<div id=\""+gsResultDivID+"\" style=\"POSITION:absolute;\"></div>";\r
-       document.body.insertAdjacentHTML("beforeEnd",sHTML);\r
-}\r
-\r
-function loadFts()\r
-{\r
-       if(!gbReady)\r
-       {\r
-               var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);\r
-               if(SendMessage(oResMsg)&&oResMsg.oParam)\r
-               {\r
-                       gbReady=true;\r
-                       var oProj=oResMsg.oParam;\r
-                       var aProj=oProj.aProj;\r
-                       gbXML=oProj.bXML;\r
-                       if(aProj.length>0)\r
-                       {\r
-                               var sLangId=aProj[0].sLangId;\r
-                               for(var i=0;i<aProj.length;i++)\r
-                               {\r
-                                       if(aProj[i].sFts&&aProj[i].sLangId==sLangId)\r
-                                       {\r
-                                               addFtsInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sFts);\r
-                                       }\r
-                               }\r
-                       }\r
-                       loadFD();\r
-\r
-               }                               \r
-       }\r
-}\r
-\r
-function loadFD()\r
-{\r
-       if(gnCLF<gaData.length)\r
-       {\r
-               gnLoadFts=1;\r
-               loadData2(gaData[gnCLF].sPPath+gaData[gnCLF].sDPath+gaData[gnCLF].sFtsFile);\r
-       }\r
-       else \r
-       {\r
-               var oMsg = new whMessage(WH_MSG_BACKUPSEARCH, this, 1, null);\r
-               if (SendMessage(oMsg))\r
-               {\r
-                       if (oMsg.oParam)\r
-                       {\r
-                               gsSK=oMsg.oParam.toLowerCase();\r
-                               findFTSKey();\r
-                       }\r
-               }\r
-               RegisterListener2(this, WH_MSG_SEARCHFTSKEY);\r
-       }\r
-}\r
-\r
-function loadData2(sFile)\r
-{\r
-       if(gbXML)\r
-               loadDataXML(sFile);\r
-       else\r
-               loadData(sFile);\r
-}\r
-\r
-function findFTSKey()\r
-{\r
-       gaTI=new Array();\r
-       gnCurrentOp=1;\r
-       gbNot=false;\r
-       displayMsg(gsSearchMsg);\r
-       if(gsSK!="")\r
-       {\r
-               gbFirst=true;\r
-               findOneKey();\r
-       }\r
-}\r
-\r
-function findOneKey()\r
-{\r
-       if(gsSK && gsSK!="")\r
-       {\r
-               var sInput=gsSK;\r
-               var sCW="";\r
-               var nS=-1;\r
-               var nSep=-1;\r
-               for(var nChar=0;nChar<gsFtsBreakChars.length;nChar++){\r
-                       var nFound=sInput.indexOf(gsFtsBreakChars.charAt(nChar));\r
-                       if((nFound!=-1)&&((nS==-1)||(nFound<nS))){\r
-                               nS=nFound;\r
-                               nSep=nChar;\r
-                       }\r
-               }\r
-               if(nS==-1){\r
-                       sCW=sInput;\r
-                       sInput="";\r
-               }else{\r
-                       sCW=sInput.substring(0,nS);\r
-                       sInput=sInput.substring(nS+1);\r
-               }\r
-\r
-               gsSK=sInput;\r
-               \r
-               if((sCW=="or")||((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="|"))){\r
-                       gnCurrentOp=0;\r
-                       gbNot=false;\r
-               }else if((sCW=="and")||((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="&"))){\r
-                       gnCurrentOp=1;\r
-                       gbNot=false;\r
-               }else if((sCW=="not")||\r
-                       ((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="~"))){\r
-                       gbNot=!gbNot;\r
-               }else if(sCW!=""&&!IsStopWord(sCW,gaFtsStop)){\r
-                       var sCurrentStem=GetStem(sCW);\r
-                       gsCW=sCurrentStem;\r
-                       ftsFindKeyword();\r
-                       return;\r
-               }\r
-               findOneKey();\r
-       }\r
-       else{\r
-               displayTopics();\r
-               checkAgain();\r
-       }\r
-}\r
-\r
-function checkAgain()\r
-{\r
-       gsCheckKey = "";\r
-       gnIndexNum = 0;\r
-       gsSK=gsSK2;\r
-       gsSK2=null;\r
-       if(gsSK!=null)\r
-               setTimeout("findFTSKey();",1);\r
-}\r
-\r
-function displayTopics()\r
-{\r
-       var sHTML="";\r
-       var sLine="";\r
-       for(var i=0;i<gaTI.length;i++){\r
-               sLine+="<dt><nobr><a href='"+gaTI[i].sTopicURL+"'>"+_textToHtml(gaTI[i].sTopicTitle)+"</a></nobr></dt>";\r
-               if(i>>4<<4==i)\r
-               {\r
-                       sHTML+=sLine;\r
-                       sLine="";\r
-               }\r
-       }\r
-       if(sLine.length>0)\r
-               sHTML+=sLine;\r
-\r
-       if(sHTML.length==0)\r
-               sHTML="<P>"+gsNoTopics+"</P>"\r
-       else\r
-               sHTML="<dl>"+sHTML+"</dl>";\r
-\r
-       var resultDiv=getElement(gsResultDivID);\r
-       if(resultDiv)\r
-               resultDiv.innerHTML=sHTML;\r
-}\r
-\r
-function displayMsg(sErrorMsg)\r
-{\r
-       var sHTML="<P>"+sErrorMsg+"</P>";\r
-\r
-       var resultDiv=getElement(gsResultDivID);\r
-       if(resultDiv)\r
-               resultDiv.innerHTML=sHTML;\r
-}\r
-\r
-function ftsFindKeyword()\r
-{\r
-       var sKey=gsCW;\r
-       var bNeedLoad=false;\r
-       var aFtsContentsCon=null;\r
-       var s=0;\r
-       if(sKey==null) return;\r
-       if(!gsCheckKey||sKey!=gsCheckKey||gnIndexNum==0)\r
-       {\r
-               aFtsContentsCon=new Array();\r
-               gnCheck=0;\r
-               gsCheckKey=sKey;\r
-               gnTopicCheck=0;\r
-               gaTopicCheckInfo=null;\r
-       }\r
-       else{\r
-               s=gnIndexNum;\r
-               aFtsContentsCon=gaFtsContentsCon;\r
-       }\r
-       for(var i=gnCheck;i<gaaFCD.length;i++)\r
-       {\r
-               var oCF=getChunkedFts(i,sKey);\r
-               if(oCF)\r
-               {\r
-                       if(!oCF.aFtsKeys&&oCF.sFileName!=null)\r
-                       {\r
-                               bNeedLoad=true;\r
-                               oCF.nProjId=i;\r
-                               goCF=oCF;\r
-                               gnIndexNum=s;\r
-                               gnCheck=i;\r
-                               gaFtsContentsCon=aFtsContentsCon;\r
-                               gnLoadFts=2;\r
-                               beginLoading();\r
-                               loadData2(gaData[i].sPPath+gaData[i].sDPath+oCF.sFileName);\r
-                               break;\r
-                       }\r
-                       else{\r
-                               aFtsContentsCon[s++]=oCF;\r
-                       }\r
-               }\r
-       }\r
-       if(!bNeedLoad)\r
-       {\r
-               var aTI=gaTopicCheckInfo;\r
-               for(var m=gnTopicCheck;m<aFtsContentsCon.length;m++)\r
-               {\r
-                       var aTIPart=getTopics(aFtsContentsCon[m],sKey);\r
-                       if(aTIPart==null)\r
-                       {\r
-                               gnCheck=gaaFCD.length;\r
-                               gnTopicCheck=m;\r
-                               gaTopicCheckInfo=aTI;\r
-                               gaFtsContentsCon=aFtsContentsCon;\r
-                               return;\r
-                       }\r
-                       if(m==0)\r
-                               aTI=aTIPart;\r
-                       else\r
-                               aTI=mergeTopics(aTI,aTIPart);\r
-               }\r
-               if(mergewithPreviousResult(aTI))\r
-               {\r
-                       gbFirst=false;\r
-                       findOneKey();\r
-               }\r
-               else\r
-                       checkAgain();\r
-       }\r
-}\r
-\r
-function mergewithPreviousResult(aTI)\r
-{\r
-       if(aTI!=null&&aTI.length!=0)\r
-       {\r
-               var nNumTopics=aTI.length;\r
-               if(gnCurrentOp==0||gbFirst){\r
-                       if(gbNot){\r
-                               displayMsg(gsHelpCannotSearch);\r
-                               return false;\r
-                       }else{\r
-                               var aLS,aSS;\r
-                               if(gaTI.length>=aTI.length)\r
-                               {\r
-                                       aLS=gaTI;\r
-                                       aSS=aTI;\r
-                               }\r
-                               else\r
-                               {\r
-                                       aLS=aTI;\r
-                                       aSS=gaTI;\r
-                               }\r
-                               var s=0;\r
-                               for(var i=0;i<aSS.length;i++)\r
-                               {\r
-                                       var bAlreadyThere=false;\r
-                                       for(var j=s;j<aLS.length;j++)\r
-                                       {\r
-                                               if(aSS[i].equalTo(aLS[j]))\r
-                                               {\r
-                                                       bAlreadyThere=true;\r
-                                                       s=j;\r
-                                                       break;\r
-                                               }\r
-                                       }\r
-                                       if(!bAlreadyThere)\r
-                                       {\r
-                                               insertTopic(aLS,aSS[i]);\r
-                                       }\r
-                               }\r
-                               gaTI=aLS;\r
-                       }\r
-               }else if(gnCurrentOp==1){\r
-                       if(gbNot){\r
-                               var s=0;\r
-                               for(var i=0;i<aTI.length;i++)\r
-                               {\r
-                                       for(var j=s;j<gaTI.length;j++)\r
-                                       {\r
-                                               if(aTI[i].equalTo(gaTI[j]))\r
-                                               {\r
-                                                       removeItemFromArray(gaTI,j);\r
-                                                       s=j;\r
-                                                       break;\r
-                                               }\r
-                                       }\r
-                               }\r
-                       }else{\r
-                               var s=0;\r
-                               for(var i=0;i<gaTI.length;i++)\r
-                               {\r
-                                       var bFound=false;\r
-                                       for(var j=s;j<aTI.length;j++)\r
-                                       {\r
-                                               if(gaTI[i].equalTo(aTI[j]))\r
-                                               {\r
-                                                       bFound=true;\r
-                                                       s=j;\r
-                                               }\r
-                                       }\r
-                                       if(!bFound)\r
-                                       {\r
-                                               removeItemFromArray(gaTI,i);\r
-                                               i--;\r
-                                       }\r
-                               }                               \r
-                       }\r
-               }\r
-       }else{\r
-               if((gnCurrentOp==1)&&(!gbNot)){\r
-                       gaTI.length=0;\r
-               }else if((gnCurrentOp==0)&&(gbNot)){\r
-                       displayMsg(gsHelpCannotSearch);\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function insertTopic(aTI,oTI)\r
-{\r
-       var nB=0;\r
-       var nE=aTI.length-1;\r
-       if(nE>=0)\r
-       {\r
-               var nM;\r
-               var bFound=false;\r
-               do{\r
-                       nM=(nB+nE)>>1;\r
-                       if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)>0)\r
-                               nE=nM-1;\r
-                       else if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0)\r
-                               nB=nM+1;\r
-                       else\r
-                       {\r
-                               bFound=true;\r
-                               break;\r
-                       }\r
-               }while(nB<=nE);\r
-               if(bFound)\r
-                       insertItemIntoArray(aTI,nM,oTI);\r
-               else\r
-               {\r
-                       if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0)\r
-                               insertItemIntoArray(aTI,nM+1,oTI);\r
-                       else\r
-                               insertItemIntoArray(aTI,nM,oTI);\r
-               }\r
-       }\r
-       else\r
-               aTI[0]=oTI;\r
-}\r
-\r
-function mergeTopics(aTI1,aTI2)\r
-{\r
-       var i1=0;\r
-       var i2=0;\r
-       var len1=aTI1.length;\r
-       var len2=aTI2.length;\r
-       var aTopicNew=new Array();\r
-       var i=0;\r
-       while(i1<len1||i2<len2)\r
-       {\r
-               if(i1<len1&&i2<len2)\r
-               {\r
-                       if(compare(aTI1[i1].sTopicTitle,aTI2[i2].sTopicTitle)<0)\r
-                               aTopicNew[i++]=aTI1[i1++];\r
-                       else\r
-                               aTopicNew[i++]=aTI2[i2++];\r
-               }\r
-               else if(i1<len1)\r
-                       aTopicNew[i++]=aTI1[i1++];\r
-               else if(i2<len2)\r
-                       aTopicNew[i++]=aTI2[i2++];\r
-       }\r
-       return aTopicNew;\r
-}\r
-\r
-function getTopics(oCF,sKey)\r
-{\r
-       var aTIPart=new Array();\r
-       if(oCF&&oCF.aFtsKeys)\r
-       {\r
-               var keys=oCF.aFtsKeys;\r
-               var nB=0;\r
-               var nE=keys.length-1;\r
-               var nM=-1;\r
-               var bFound=false;\r
-               do{\r
-                       nM=(nB+nE)>>1;\r
-                       if(compare(keys[nM].sItemName,sKey)>0)\r
-                               nE=nM-1;\r
-                       else if(compare(keys[nM].sItemName,sKey)<0)\r
-                               nB=nM+1;\r
-                       else{\r
-                               bFound=true;\r
-                               break;\r
-                       }\r
-               }while(nB<=nE);\r
-               if(bFound)\r
-               {\r
-                       if(keys[nM].aTopics)\r
-                       {\r
-                               for(var i=0;i<keys[nM].aTopics.length;i++)\r
-                               {\r
-                                       var oTC=getTopicChunk(gaaFTCD[oCF.nProjId],keys[nM].aTopics[i]);\r
-                                       if(oTC.aTopics)\r
-                                       {\r
-                                               aTIPart[aTIPart.length]=\r
-                                                       new topicInfo(oTC.aTopics[keys[nM].aTopics[i]-oTC.nBegin].sTopicTitle,\r
-                                                               gaData[oCF.nProjId].sPPath+oTC.aTopics[keys[nM].aTopics[i]-oTC.nBegin].sTopicURL);\r
-                                       }\r
-                                       else{\r
-                                               goCTF=oTC;\r
-                                               gnLoadFts=3;\r
-                                               beginLoading();\r
-                                               loadData2(gaData[oCF.nProjId].sPPath+gaData[oCF.nProjId].sDPath+oTC.sFileName);\r
-                                               return null;\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-       return aTIPart;\r
-}\r
-\r
-function getTopicChunk(aFTCD,nTopicId)\r
-{\r
-       if(aFTCD&&aFTCD.length)\r
-       {\r
-               var nB=0;\r
-               var nE=aFTCD.length-1;\r
-               var nM=-1;\r
-               var bFound=false;\r
-               do{\r
-                       nM=(nB+nE)>>1;\r
-                       if(aFTCD[nM].nBegin>nTopicId)\r
-                               nE=nM-1;\r
-                       else if(aFTCD[nM].nEnd<nTopicId)\r
-                               nB=nM+1;\r
-                       else{\r
-                               bFound=true;\r
-                               break;\r
-                       }\r
-               }while(nB<=nE);\r
-               if(bFound)\r
-                       return aFTCD[nM];\r
-       }\r
-       return null;\r
-}\r
-\r
-function endLoading()\r
-{\r
-       var oDiv=getElement(gsLoadingDivID);\r
-       if(oDiv)\r
-               oDiv.style.visibility="hidden";\r
-}\r
-\r
-function beginLoading()\r
-{\r
-       var oDiv=getElement(gsLoadingDivID);\r
-       if(!oDiv)\r
-       {\r
-               document.body.insertAdjacentHTML("afterBegin",writeLoadingDiv());\r
-               oDiv=getElement(gsLoadingDivID);\r
-       }\r
-       \r
-       if(oDiv)\r
-       {\r
-               oDiv.style.top=document.body.scrollTop;\r
-               oDiv.style.visibility="visible";\r
-       }\r
-}\r
-\r
-function writeLoadingDiv(nIIdx)\r
-{\r
-       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>";\r
-}\r
-\r
-function topicInfo(sTopicTitle,sTopicURL)\r
-{\r
-       this.sTopicTitle=sTopicTitle;\r
-       this.sTopicURL=sTopicURL;\r
-       this.equalTo=function(oTI)\r
-       {\r
-               return ((this.sTopicTitle==oTI.sTopicTitle)&&\r
-                       (this.sTopicURL==oTI.sTopicURL));\r
-       }\r
-}\r
-\r
-function getChunkedFts(nIndex,sKey)\r
-{\r
-       var oCF=null;\r
-       if(nIndex<gaaFCD.length)\r
-       {\r
-               var len=gaaFCD[nIndex].length;\r
-               if(len>0)\r
-               {\r
-                       var nB=0;\r
-                       var nE=len-1;\r
-                       var bFound=false;\r
-                       do{\r
-                               var nM=(nB+nE)>>1;\r
-                               if(compare(sKey,gaaFCD[nIndex][nM].sEndKey)>0)\r
-                               {\r
-                                       nB=nM+1;\r
-                               }\r
-                               else if(compare(sKey,gaaFCD[nIndex][nM].sStartKey)<0)\r
-                               {\r
-                                       nE=nM-1;\r
-                               }\r
-                               else{\r
-                                       bFound=true;\r
-                                       break;\r
-                               }\r
-                       }while(nE>=nB);\r
-                       if(bFound)\r
-                               oCF=gaaFCD[nIndex][nM];\r
-               }\r
-       }\r
-       return oCF;\r
-}\r
-\r
-function ftsReady(aFCD,aFTCD)\r
-{\r
-       endLoading();\r
-       gaaFTCD[gnCLF]=aFTCD;\r
-       gaaFCD[gnCLF++]=aFCD;\r
-       setTimeout("loadFD();",1);\r
-}\r
-\r
-function putFtsTData(aTopics)\r
-{\r
-       endLoading();\r
-       var oCTF=goCTF;\r
-       if(oCTF)\r
-       {\r
-               oCTF.aTopics=aTopics;\r
-               setTimeout("ftsFindKeyword();",1);\r
-       }\r
-}\r
-\r
-function putFtsWData(aFtsContents)\r
-{\r
-       endLoading();\r
-       var oCF=goCF;\r
-       if(oCF)\r
-       {\r
-               updateCache(oCF);\r
-               oCF.aFtsKeys=aFtsContents;\r
-               setTimeout("ftsFindKeyword();",1);\r
-       }\r
-}\r
-\r
-function IsStopWord(sCW,aFtsStopArray)\r
-{\r
-       var nStopArrayLen=aFtsStopArray.length;\r
-       var nB=0;\r
-       var nE=nStopArrayLen-1;\r
-       var nM=0;\r
-       var bFound=false;\r
-       var sStopWord="";\r
-       while(nB<=nE){\r
-               nM=(nB+nE);\r
-               nM>>=1;\r
-               sStopWord=aFtsStopArray[nM];\r
-               if(compare(sCW,sStopWord)>0){\r
-                       nB=(nB==nM)?nM+1:nM;\r
-               }else{\r
-                       if(compare(sCW,sStopWord)<0){\r
-                               nE=(nE==nM)?nM-1:nM;\r
-                       }else{\r
-                               bFound=true;\r
-                               break;\r
-                       }\r
-               }\r
-       }\r
-       return bFound;\r
-}\r
-\r
-function GetStem(szWord)\r
-{\r
-       if(gaFtsStem==null||gaFtsStem.length==0)return szWord;\r
-       var aStems=gaFtsStem;\r
-\r
-       var nStemPos=0;\r
-       var csStem="";\r
-       for(var iStem=0;iStem<aStems.length;iStem++){\r
-\r
-               if(aStems[iStem].length>=szWord.length-1)       continue;\r
-               nStemPos=szWord.lastIndexOf(aStems[iStem]);\r
-               if(nStemPos>0){\r
-                       var cssub=szWord.substring(nStemPos);\r
-                       if(cssub==aStems[iStem]){\r
-                               csStem=szWord;\r
-                               if(szWord.charAt(nStemPos-2)==szWord.charAt(nStemPos-1)){\r
-                                       csStem=csStem.substring(0,nStemPos-1);\r
-                               }else{\r
-                                       csStem=csStem.substring(0,nStemPos);\r
-                               }\r
-                               return csStem;\r
-                       }\r
-               }\r
-       }\r
-       return szWord;\r
-}\r
-\r
-function FtsWriteClassStyle()\r
-{\r
-       var sStyle="<STYLE TYPE='text/css'>\n";\r
-       if (gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       sStyle+="P {"+getFontStyle(goErrFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";\r
-       sStyle+="dl {"+getFontStyle(goFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";\r
-       sStyle+="A:link {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:active {background-color:"+gsABgColor+";}\n";\r
-       sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";\r
-       sStyle+="</STYLE>";\r
-       document.write(sStyle);\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       UnRegisterListener2(this, WH_MSG_SEARCHFTSKEY);\r
-}\r
-\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       var nMsgId=oMsg.nMessageId;\r
-       if(nMsgId==WH_MSG_SEARCHFTSKEY)\r
-       {\r
-               if(oMsg.oParam)\r
-               {\r
-                       if(gsSK==null||gsSK=="")\r
-                       {\r
-                               gsSK=oMsg.oParam.toLowerCase();\r
-                               findFTSKey();\r
-                       }\r
-                       else\r
-                               gsSK2=oMsg.oParam.toLowerCase();\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_PROJECTREADY)\r
-       {\r
-               loadFts();\r
-       }\r
-       return true;\r
-}\r
-\r
-if (window.gbWhUtil&&window.gbWhLang&&window.gbWhProxy&&window.gbWhVer&&window.gbWhMsg)\r
-{\r
-       goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-       goErrFont=new whFont("Verdana","8pt","#000000","normal","bold","none");\r
-       goHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");\r
-       window.onload=window_OnLoad;\r
-       window.onbeforeunload=window_BUnload;\r
-       window.onunload=window_Unload;\r
-       RegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       gbWhFHost=true;\r
-}\r
-else\r
+//     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
index 323fe8e91bf33c105ab281fe476935f42e0b1a85..bc4ebfd4a5f5c00ec054c1e625b1ac144bd5342e 100755 (executable)
-//     WebHelp 5.10.001\r
-var gfunLookUp;\r
-var gbInputEnable;\r
-var gfunInit;\r
-var gstrFormName= "";\r
-var gbWithButton = false;\r
-var gsTitle="";\r
-var gsOverImage = "";\r
-var gsOutImage = "";\r
-var gsClickImage = "";\r
-var gsText = "";\r
-var gsBgColor = "#c0c0c0";\r
-var gsBgImage = "";\r
-var gbInImage = 0;\r
-var gbInputEnable = 0;\r
-\r
-var goTitleFont=null;\r
-var goInputFont=null;\r
-var goNormalFont=null;\r
-var goHoverFont=null;\r
-var gnType=-1;\r
-var gbWhForm=false;\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       if (sBgImage != null && sBgImage.length > 0)\r
-               gsBgImage = sBgImage;\r
-\r
-       if  (gsBgImage  && gsBgImage .length > 0)\r
-       {\r
-               document.body.background = gsBgImage ;\r
-       }\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       if (sBgColor != null && sBgColor.length > 0)\r
-               gsBgColor = sBgColor;\r
-\r
-       if (gsBgColor&& gsBgColor.length > 0)\r
-       {\r
-               document.body.bgColor = gsBgColor;\r
-       }\r
-}\r
-\r
-function setBtnType(sType)\r
-{\r
-       if (sType == "image")\r
-       {\r
-               gnType = 0;\r
-       }\r
-       else if (sType == "text")\r
-       {\r
-               gnType = 1;\r
-       }\r
-}\r
-\r
-function setGoImage1(sImage1)\r
-{\r
-       gsOutImage = sImage1;\r
-       if (gsOutImage && gsOutImage.length > 0)\r
-               gbWithButton = true;\r
-}\r
-\r
-function setGoImage2(sImage2)\r
-{\r
-       gsOverImage = sImage2;\r
-       if (gsOverImage && gsOverImage.length > 0)\r
-               gbWithButton = true;\r
-}\r
-\r
-function setGoImage3(sImage3)\r
-{\r
-       gsClickImage = sImage3;\r
-       if (gsClickImage && gsClickImage.length > 0)\r
-               gbWithButton = true;\r
-}\r
-\r
-function setGoText(sText)\r
-{\r
-       gsText = sText;\r
-       if (gsText.length > 0)\r
-               gbWithButton = true;\r
-}\r
-\r
-function setFont(sType, sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration)\r
-{\r
-       var vFont = new whFont(sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration);\r
-       if (sType == "Title")\r
-       {\r
-               goTitleFont = vFont;\r
-               var vFont1 = new whFont(sFontName, sFontSize, "black", sFontStyle, sFontWeight, sFontDecoration);\r
-               goInputFont=vFont1;             \r
-       }\r
-       else if (sType == "Normal")\r
-               goNormalFont = vFont;\r
-       else if (sType == "Hover")\r
-               goHoverFont = vFont;\r
-}\r
-\r
-function writeFormStyle()\r
-{\r
-       var sStyle = "<style type='text/css'>";\r
-       sStyle += "p.title {" + getFontStyle(goTitleFont) + "margin-top:0;margin-bottom:0}\n";\r
-       sStyle += ".inputfield {" + getFontStyle(goInputFont) +"width:100%; }\n";\r
-       sStyle+="A:link {"+getFontStyle(goNormalFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goNormalFont)+"}\n";\r
-       sStyle +="A:hover {"+getFontStyle(goHoverFont)+"}\n";\r
-       sStyle+=".clsFormBackground{\n";\r
-       if (gsBgImage)\r
-               sStyle+="border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="border-top:black 1px solid;}\n";\r
-\r
-       sStyle += "</style>";\r
-       document.write(sStyle);\r
-}\r
-\r
-function lookupKeyDown()\r
-{\r
-       if (gbInputEnable)\r
-       {\r
-               if (gbIE4)\r
-               {\r
-                       if (event.keyCode == 13)        //Enter key\r
-                               gfunLookUp(true);\r
-                       else\r
-                               gfunLookUp(false);\r
-               }                       \r
-               else\r
-                       gfunLookUp(false);\r
-       }\r
-}\r
-\r
-function init()\r
-{\r
-       if (gfunInit)\r
-               gfunInit();\r
-       if (!window.Array)  return;\r
-               document.onkeyup = lookupKeyDown;\r
-}\r
-\r
-function inputSubmit()\r
-{\r
-       if ((gbInputEnable && !gbIE4)|| gbInImage)\r
-               gfunLookUp(true);\r
-}\r
-\r
-function inputEnable(bEnable)\r
-{\r
-       gbInputEnable = bEnable;\r
-}\r
-\r
-function inImage(bImage)\r
-{\r
-       gbInImage = bImage;\r
-}\r
-\r
-function getFormHTML()\r
-{\r
-       var sForm = "";\r
-       sForm += "<table class=\"clsFormBackground\" width=\"100%\" cellspacing=\"0\" cellpadding=\"5\" border=\"0\">";\r
-       sForm += "<form name=\"" + gstrFormName + "\" method=\"POST\" action=\"javascript:inputSubmit()\" style=\"width:100%\">";\r
-       sForm += "<tr>";\r
-       sForm += "<td>";\r
-       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>";\r
-       if (gbWithButton && gnType >= 0)\r
-       {\r
-               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();\">"\r
-               if (gnType == 0)\r
-               {\r
-                       if (!gsText)\r
-                               gsText="Go";\r
-                       sForm += "<img alt=\""+gsText+"\" id=\"go\" border=\"0\" src=\"" + gsOutImage + "\">";\r
-               }\r
-               else\r
-                       sForm += gsText ;\r
-               sForm += "</a></td>";\r
-       }\r
-       sForm += "</tr></table></p></td></tr></form></table>";\r
-       return sForm;\r
-}\r
-\r
-function onMouseOver()\r
-{\r
-       if (getElement("go") && gsOverImage)\r
-               getElement("go").src = gsOverImage;\r
-}\r
-\r
-function onMouseDown()\r
-{\r
-       if (getElement("go") && gsClickImage)\r
-               getElement("go").src = gsClickImage;\r
-}\r
-\r
-function onMouseUp()\r
-{\r
-       if (getElement("go") && gsOutImage)\r
-               getElement("go").src = gsOutImage;\r
-}\r
-\r
-function onMouseOut()\r
-{\r
-       if (getElement("go") && gsOutImage)\r
-               getElement("go").src = gsOutImage;\r
-}\r
-\r
-if (window.gbWhUtil&&window.gbWhVer&&window.gbWhProxy&&window.gbWhMsg)\r
-{\r
-       goTitleFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "none");\r
-       goNormalFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "none");\r
-       goHoverFont=new whFont("Arial", "9pt", "#000000", "normal", "normal", "underline");\r
-       gbWhForm=true;\r
-}\r
-else\r
+//     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
index 2040f336f4858d299ffced5d6c649c59c8f80320..121011e2dd1073306a58bd775a87a70904e009ee 100755 (executable)
@@ -1,79 +1,79 @@
-//     WebHelp 5.10.001\r
-// this value should be identical to the value used in whproxy.js\r
-window.whname = "wh_stub";\r
-\r
-// this file will be used by Topic and NavBar and NavPane and other components\r
-// and this file is used in child frame html.\r
-// and the whstub.js will be used in the start page.\r
-// see reference in whstub.js.\r
-// Internal Area\r
-var gbInited = false;\r
-var gWndStubPage = null;\r
-function getStubPage()\r
-{\r
-       if (!gbInited)\r
-       {\r
-               gWndStubPage = getStubPage_inter(window);\r
-               gbInited = true;\r
-       }\r
-       return gWndStubPage;\r
-}\r
-\r
-function getStubPage_inter(wCurrent) {\r
-       if (null == wCurrent.parent || wCurrent.parent == wCurrent)\r
-               return null;\r
-\r
-       if (wCurrent.parent.whname && "wh_stub" == wCurrent.parent.whname) \r
-               return wCurrent.parent;\r
-       else\r
-               if (wCurrent.parent.frames.length != 0 && wCurrent.parent != wCurrent)\r
-                       return getStubPage_inter(wCurrent.parent);\r
-               else \r
-                       return null;\r
-}\r
-\r
-// Public interface begin here................\r
-function RegisterListener(framename, nMessageId)\r
-{\r
-       var wStartPage = getStubPage();\r
-       if (wStartPage && wStartPage != this) {\r
-               return wStartPage.RegisterListener(framename, nMessageId);\r
-       }\r
-       else \r
-               return false;\r
-}\r
-\r
-function RegisterListener2(oframe, nMessageId)\r
-{\r
-       var wStartPage = getStubPage();\r
-       if (wStartPage && wStartPage != this) {\r
-               return wStartPage.RegisterListener2(oframe, nMessageId);\r
-       }\r
-       else \r
-               return false;\r
-}\r
-\r
-function UnRegisterListener2(oframe, nMessageId)\r
-{\r
-       var wStartPage = getStubPage();\r
-       if (wStartPage && wStartPage != this && wStartPage.UnRegisterListener2) {\r
-               return wStartPage.UnRegisterListener2(oframe, nMessageId);\r
-       }\r
-       else \r
-               return false;\r
-}\r
-\r
-function SendMessage(oMessage)\r
-{\r
-       var nMsgId = oMessage.nMessageId;\r
-       if (nMsgId == WH_MSG_ISINFRAMESET && oMessage.wSender != this)\r
-               return true;\r
-       var wStartPage = getStubPage();\r
-       if (wStartPage && wStartPage != this && wStartPage.SendMessage) \r
-       {\r
-               return wStartPage.SendMessage(oMessage);\r
-       }\r
-       else \r
-               return false;\r
-}\r
+//     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
index 476ec2d66c9b55b8d99db7a9a3aeb08ee0351b91..34d782d2d89ae39394b4a07916911d357dc613df 100755 (executable)
@@ -1,35 +1,35 @@
-<html>\r
-<head>\r
-<title>Glossary Term</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whlang.js"></script>\r
-<script language="javascript1.2" src="whhost.js"></script>\r
-<script language="javascript1.2" src="whghost.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-if(window.gbWhGHost)\r
-{\r
-       setBackgroundcolor("White"); \r
-       \r
-       setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Hover", "Tahoma","8pt","Navy","Normal","Normal","underline");\r
-       setActiveBgColor("Silver");\r
-       \r
-       \r
-       GloWriteClassStyle();\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</head>\r
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" bgcolor="white">\r
-</body>\r
-</html>\r
+<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>
index ae435749c2b2a7646f0d644214e9b791fb623cd3..5ff0f6781d9f474c0727119ab2e3e75c5ae85549 100755 (executable)
@@ -1,98 +1,98 @@
-<html>\r
-<head>\r
-<title>Glossary Definition</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gsBgColor="#ffffff";\r
-var gsBgImage="";\r
-var goGloFont=null;\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this, WH_MSG_SHOWGLODEF);\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-               document.body.background=gsBgImage;\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-               document.body.bgColor=gsBgColor;\r
-}\r
-\r
-function setFont(sType, sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration)\r
-{\r
-       var vFont = new whFont(sFontName, sFontSize, sFontColor, sFontStyle, sFontWeight, sFontDecoration);\r
-       if (sType == "Normal")\r
-               goGloFont = vFont;\r
-}\r
-\r
-function textToHtml_nbsp_specialcare(sText)\r
-{\r
-       if (sText == null) return null;\r
-       var sHTML= sText;\r
-       var re = new RegExp("  ","g");\r
-       sHTML=  sHTML.replace(re, "&nbsp; ");\r
-       return  sHTML;\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       var nMsgId = oMsg.nMessageId;\r
-       if (nMsgId == WH_MSG_SHOWGLODEF)\r
-       {\r
-               document.body.innerHTML = sDefHead + textToHtml_nbsp_specialcare(oMsg.oParam.sDef) + sDefTail;\r
-               return true;\r
-       }\r
-}\r
-\r
-function GDefWriteClassStyle()\r
-{\r
-       var sStyle="<STYLE TYPE='text/css'>\n";\r
-       if (gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       sStyle+=".definition {"+getFontStyle(goGloFont)+"margin:2;}\n";\r
-       sStyle+="</STYLE>";\r
-       document.write(sStyle);\r
-}\r
-\r
-if (window.gbWhMsg&&window.gbWhUtil&&window.gbWhProxy&&window.gbWhVer)\r
-{\r
-       window.onload=window_OnLoad;\r
-       window.onunload = window_Unload;\r
-       goGloFont=new whFont("Verdana", "8pt", "#000000", "normal", "normal", "none");\r
-       setBackgroundcolor("White"); \r
-       \r
-       setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       GDefWriteClassStyle();\r
-       RegisterListener2(this, WH_MSG_SHOWGLODEF);\r
-       var sDefHead = "<p class=\"definition\">";\r
-       var sDefTail = "</p>";\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</head>\r
-<body bgproperties="fixed" bgcolor="white">\r
-</body>\r
-</html>\r
+<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, "&nbsp; ");
+       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>
index 6ffb2947a30f9e4b6907ca0dd6153f66b963a502..d02a99feb2f10a057b0ce89e110d96400fb296f6 100755 (executable)
-<html>\r
-<head>\r
-<title>Glossary</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body bgcolor=#c0c0c0 scroll=no RIGHTMARGIN=0 BOTTOMMARGIN=0 TOPMARGIN=0 LEFTMARGIN=0>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gsBgImage="";\r
-var    gsBgColor="";\r
-var goTitleFont=null;\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setFont(sType, sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if(sType=="Title")\r
-               goTitleFont=vFont;\r
-}\r
-\r
-function getTermText()\r
-{\r
-       var strString="Term:";\r
-strString = "Term:";\r
-       return strString;\r
-}\r
-\r
-function getDefinitionText()\r
-{\r
-       var strString="Definition for:";\r
-strString = "Definition:";\r
-       return strString;\r
-}\r
-\r
-function getHTML()\r
-{\r
-       var sHTML="";\r
-       sHTML+="<P class=title><nobr>&nbsp;" + getTermText() + "</nobr></p>";\r
-       sHTML+="<iframe id=glossaryIFrame title=\"glossary term\" src=\"whgbody.htm\" width=100% height=200 MARGINHEIGHT=0 MARGINWIDTH=0></iframe>";\r
-       sHTML+="<P class=title><nobr>&nbsp;" + getDefinitionText() + "&nbsp;<b id=Name></b></nobr></p>";\r
-       sHTML+="<iframe id=defIFrame title=\"glossary definition\" src=\"whgdef.htm\" width=100% height=100% MARGINHEIGHT=0 MARGINWIDTH=0></iframe>";\r
-       return sHTML;\r
-}\r
-\r
-function writeStyle()\r
-{\r
-       var sStyle="<style type='text/css'>";\r
-       sStyle+="p.title {" + getFontStyle(goTitleFont) + "margin-top:4;margin-bottom:4}\n";\r
-       if (gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       sStyle+="</style>";\r
-       document.write(sStyle);\r
-}\r
-\r
-\r
-function window_OnResize()\r
-{\r
-       setIFrameHeight();\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-               document.body.background=gsBgImage;\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-               document.body.bgColor=gsBgColor;\r
-       setIFrameHeight();\r
-}\r
-\r
-function setIFrameHeight()\r
-{\r
-       var tH=0;\r
-       if(gbNav6)\r
-       {\r
-               tH=parseInt(window.innerHeight)-30;\r
-       }\r
-       else\r
-       {\r
-               tH=parseInt(document.body.clientHeight)-4;\r
-       }\r
-               \r
-       var oEle=getElement("glossaryIFrame");\r
-       if(oEle)\r
-       {\r
-               tH=tH-2*parseInt(oEle.offsetTop);\r
-               if(tH>0)\r
-               {\r
-                       oEle.style.height=Math.floor(tH*.6);\r
-                       var oEleDef=getElement("defIFrame");\r
-                       if(oEleDef)\r
-                       {\r
-                               oEleDef.style.height=tH-parseInt(oEle.style.height);\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_SHOWGLODEF);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       var nMsgId=oMsg.nMessageId;\r
-       if(nMsgId==WH_MSG_SHOWGLODEF)\r
-       {\r
-               if(getElement("Name"))\r
-                       getElement("Name").innerHTML=oMsg.oParam.sName;\r
-               return true;\r
-       }\r
-}\r
-\r
-if(window.gbWhVer&&window.gbWhMsg&&window.gbWhUtil&&window.gbWhProxy)\r
-{\r
-       goTitleFont=new whFont("Arial","9pt","#000000","normal","normal","none");\r
-       setFont("Title", "Tahoma","8pt","Navy","Normal","Normal","none");\r
-       \r
-       setBackgroundcolor("White");\r
-       window.onresize=window_OnResize;\r
-       window.onload=window_OnLoad;\r
-       window.onunload=window_Unload;\r
-       RegisterListener2(this,WH_MSG_SHOWGLODEF);\r
-       writeStyle();\r
-       document.write(getHTML());\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
+<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>&nbsp;" + 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>&nbsp;" + getDefinitionText() + "&nbsp;<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>
index 56e1d5659d8dd675977ab9353d0dfaec0d76add6..9ebcf24dd030e2432ca894878bec967584e84155 100755 (executable)
-//     WebHelp 5.10.004\r
-var gbXML=false;\r
-var gaDef=new Array();\r
-var gsBgColor="#ffffff";\r
-var gsBgImage="";\r
-var goFont=null;\r
-var goHoverFont=null;\r
-var gsMargin="2pt";\r
-var gsIndent="2pt";\r
-var gsActiveBgColor="#cccccc";\r
-var gbWhGHost=false;\r
-var gbShowDef=true;\r
-var gsGloId="Glo_"\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if(sType=="Normal")\r
-               goFont=vFont;\r
-       else if(sType=="Hover")\r
-               goHoverFont=vFont;\r
-}\r
-\r
-function setActiveBgColor(sBgColor)\r
-{\r
-       gsActiveBgColor=sBgColor;\r
-}\r
-\r
-function setMargin(sMargin)\r
-{\r
-       gsMargin=sMargin;\r
-}\r
-\r
-function setIndent(sIndent)\r
-{\r
-       gsIndent=sIndent;\r
-}\r
-\r
-function insertDef(sKName,sDef)\r
-{\r
-       var nLength=gaDef.length\r
-       var oGlo=new nameDefPair(sKName,sDef);\r
-       gaDef[nLength]=oGlo;\r
-       return nLength;\r
-}\r
-\r
-function showDef(nDef)\r
-{\r
-       if(nDef<gaDef.length)\r
-       {       \r
-               HighLight(nDef);\r
-               var oParam=gaDef[nDef];\r
-               var oMsg=new whMessage(WH_MSG_SHOWGLODEF,this,1,oParam);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function nameDefPair(sName,sDef)\r
-{\r
-       this.sName=sName;\r
-       this.sDef=sDef;\r
-}\r
-\r
-function mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)\r
-{\r
-       var sHTML="";\r
-       var nIdxSet=aCurIdxSet[0];\r
-       var nIIdx=aPos[nIdxSet];\r
-       var sRawKName = getItemName(aDataCon,nIdxSet,nIIdx);\r
-       var sKName=_textToHtml(sRawKName);\r
-       var sDText=_textToHtml_nonbsp(getDef(aDataCon,nIdxSet,nIIdx));\r
-       var sDef=sDText;\r
-       for(var i=1;i<nLength;i++)\r
-       {\r
-               var nIdxSeti=aCurIdxSet[i];\r
-               var nIIdxi=aPos[nIdxSeti];\r
-               var sRawKNamei = getItemName(aDataCon,nIdxSeti,nIIdxi);\r
-               var sKNamei=_textToHtml(sRawKNamei);\r
-               var sDTexti=_textToHtml_nonbsp(getDef(aDataCon,nIdxSeti,nIIdxi));\r
-               if (compare(sKNamei,sKName)==0)\r
-               {\r
-                       if (sDText!=sDTexti)\r
-                               sDef+="<br>"+sDTexti;\r
-               }\r
-       }\r
-       var nIndex=insertDef(sKName,sDef);\r
-       if(nLevel==1)\r
-       {\r
-               sHTML+="<p><nobr id=\""+getGloId(nIndex)+"\">";\r
-               sHTML+="<a alt=\""+sKName+"\" href=\"javascript:void(0);\" onfocus=\"HighLight("+nIndex+");\" onclick=\"showDef("+nIndex+");return false;\">"+sKName+"</a></nobr></p>";\r
-               oHTML.addHTML(sHTML,nLength,bDown,true,sRawKName);\r
-               if(gbShowDef)\r
-               {\r
-                       setTimeout("showDef(0);",100);\r
-                       gbShowDef = false;\r
-               }\r
-       }\r
-}\r
-\r
-function HighLight(nIndex)\r
-{\r
-       var oObj=getElement(getGloId(nIndex));\r
-       if(oObj)\r
-               HighLightElement(oObj,gsActiveBgColor,"transparent");\r
-}\r
-\r
-function getGloId(nIndex)\r
-{\r
-       return gsGloId+nIndex;\r
-}\r
-\r
-function adjustPosition(bDown,aDataCon,aCurIdxSet,nLength,aPos)\r
-{\r
-       if(bDown)\r
-       {\r
-               for(var i=0;i<nLength;i++)\r
-                       aPos[aCurIdxSet[i]]++;\r
-       }\r
-       else{\r
-               for(var i=0;i<nLength;i++)\r
-                       aPos[aCurIdxSet[i]]--;\r
-       }\r
-}\r
-\r
-function getDef(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].sDef;\r
-       else\r
-               return null;\r
-}\r
-\r
-function getItemName(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].sName;\r
-       else\r
-               return null;\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-               document.body.background=gsBgImage;\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-               document.body.bgColor=gsBgColor;\r
-       document.body.insertAdjacentHTML("beforeEnd",writeLoadingDiv());\r
-       loadGlo();\r
-       var oMsg=new whMessage(WH_MSG_SHOWGLO,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function loadGlo()\r
-{\r
-       if(!gbReady)\r
-       {\r
-               var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);\r
-               if(SendMessage(oResMsg)&&oResMsg.oParam)\r
-               {\r
-                       gbReady=true;\r
-                       var oProj=oResMsg.oParam;\r
-                       var aProj=oProj.aProj;\r
-                       gbXML=oProj.bXML;\r
-                       if(aProj.length>0)\r
-                       {\r
-                               var sLangId=aProj[0].sLangId;\r
-                               for(var i=0;i<aProj.length;i++)\r
-                               {\r
-                                       if(aProj[i].sGlo&&aProj[i].sLangId==sLangId)\r
-                                               addProjInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sGlo);\r
-                               }\r
-                       }\r
-                       writeDataIFrame();\r
-                       enEvt();\r
-               }               \r
-       }\r
-}\r
-\r
-function findCKInDom()\r
-{\r
-       return true;\r
-}\r
-\r
-function GloWriteClassStyle()\r
-{\r
-       var sStyle="<STYLE TYPE='text/css'>\n";\r
-       if (gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       sStyle+="P {"+getFontStyle(goFont)+"margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";margin-left:"+gsIndent+";}\n";\r
-       sStyle+="A:link {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:active {background-color:"+gsActiveBgColor+";}\n";\r
-       sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";\r
-       sStyle+="</STYLE>";     \r
-       document.write(sStyle);\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       UnRegisterListener2(this,WH_MSG_SHOWGLO);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if(oMsg)\r
-       {\r
-               var nMsgId=oMsg.nMessageId;\r
-               if(nMsgId==WH_MSG_SHOWGLO)\r
-               {\r
-                       if(!gbNav6)\r
-                               document.body.focus();\r
-               }\r
-               else if(nMsgId==WH_MSG_PROJECTREADY)\r
-               {\r
-                       loadGlo();\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-if (window.gbWhUtil&&window.gbWhProxy&&window.gbWhVer&&window.gbWhLang&&window.gbWhMsg&&window.gbWhHost)\r
-{\r
-       RegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       RegisterListener2(this,WH_MSG_SHOWGLO);\r
-       goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-       goHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");\r
-       window.onload=window_OnLoad;\r
-       window.onbeforeunload=window_BUnload;\r
-       window.onunload=window_Unload;\r
-       gbWhGHost=true;\r
-}\r
-else\r
-       document.location.reload();\r
-\r
+//     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();
+
index 5a02374adbb8824deb56dc11d9cd8163f09fda19..a32225a1aa1a19ed5df04b58ceddb9108c2792c8 100755 (executable)
-//     WebHelp 5.10.002\r
-var gaChunks=new Array();\r
-var gaFakes=new Array();\r
-var gaDataCon=null;\r
-var gaData=new Array();\r
-\r
-var gbFindCK=false;;\r
-var gbNeedCalc=false;\r
-var gbScrl=false;\r
-var gbProcess=false;\r
-var gbReady=false;\r
-\r
-var gnCheck=0;\r
-var gnNum=0;\r
-var gnIns=-1;\r
-var gnLoad=0;\r
-var gnRef=-1;\r
-var gnMaxItems=0;\r
-var gnMaxMargin=32000;\r
-var gnNeeded=0;\r
-var gnNKI=-1;\r
-var gnRE=0;\r
-var gnScrlMgn=30;\r
-var gnSE=0;\r
-var gnVisible=0;\r
-var gnItems=0;\r
-var gnUHeight=1;\r
-\r
-var gsBCK=null;\r
-var gsChK=null;\r
-var gsCK=null;\r
-var gsLoadingDivID="LoadingDiv";\r
-var gsLoadingMsg="Loading data, please wait...";\r
-var gsSKA=null;\r
-var gsSKB=null;\r
-\r
-var gbLoadInfo=false;\r
-\r
-function onLoadXMLError()\r
-{\r
-       if(gbLoadInfo)\r
-       {\r
-               var aChunk=new Array();\r
-               projReady(aChunk);\r
-       }\r
-       else\r
-       {\r
-               var aData=new Array();\r
-               putData(aData);\r
-       }\r
-}\r
-\r
-function putDataXML(xmlDoc,sDocPath)\r
-{\r
-       if(gbLoadInfo)\r
-       {\r
-               var node=xmlDoc.lastChild;\r
-               if(node)\r
-               {\r
-                       var nTotal=0\r
-                       var aChunk=new Array();\r
-                       var oC=node.firstChild;\r
-                       while(oC)\r
-                       {\r
-                               if(oC.nodeName=="chunkinfo")\r
-                               {\r
-                                       var item=new Object();\r
-                                       item.sBK=oC.getAttribute("first");\r
-                                       item.sEK=oC.getAttribute("last");\r
-                                       item.sFileName=oC.getAttribute("url");\r
-                                       item.nNum=parseInt(oC.getAttribute("num"));\r
-                                       nTotal+=item.nNum;\r
-                                       item.nTotal=nTotal;\r
-                                       aChunk[aChunk.length]=item;\r
-                               }\r
-                               oC=oC.nextSibling;\r
-                       }\r
-                       projReady(aChunk);\r
-               }\r
-       }\r
-       else\r
-       {\r
-               var node=xmlDoc.lastChild;\r
-               if(node)\r
-               {\r
-                       var aData=new Array();\r
-                       var nPrev=0;\r
-                       var nNext=0;\r
-                       var oC=node.firstChild;\r
-                       while(oC)\r
-                       {\r
-                               nPrev=nNext;\r
-                               if(oC.nodeName=="key")\r
-                               {\r
-                                       var sName=oC.getAttribute("name");\r
-                                       if(sName&&sName.length>0)\r
-                                       {\r
-                                               var sTarget=oC.getAttribute("target");\r
-                                               var item=new Object();\r
-                                               item.nType=2;\r
-                                               item.sName=sName;\r
-                                               if(sTarget)\r
-                                                       item.sTarget=sTarget;\r
-                                               item.nPKOff=nPrev;\r
-                                               aData[aData.length]=item;\r
-                                               var nCurIndex=aData.length;\r
-                                               processKey(oC,aData,item);\r
-                                               nNext=aData.length-nCurIndex;\r
-                                               item.nNKOff=nNext;\r
-                                       }\r
-                               }\r
-                               else if(oC.nodeName=="letter")\r
-                               {\r
-                                       var name=oC.getAttribute("name");\r
-                                       if(name&&name.length>0)\r
-                                       {\r
-                                               var item=new Object();\r
-                                               item.nType=1;\r
-                                               item.sName=name;\r
-                                               item.nPKOff=nPrev;\r
-                                               nNext=0;\r
-                                               item.nNKOff=nNext;\r
-                                               aData[aData.length]=item;\r
-                                       }\r
-                               }\r
-                               else if(oC.nodeName=="entry")\r
-                               {\r
-                                       var name=oC.getAttribute("name");\r
-                                       var def=oC.getAttribute("value");\r
-                                       if(name&&name.length>0)\r
-                                       {\r
-                                               var item=new Object();\r
-                                               item.sName=name;\r
-                                               item.sDef=def;\r
-                                               item.nPKOff=nPrev;\r
-                                               nNext=0;\r
-                                               item.nNKOff=nNext;\r
-                                               aData[aData.length]=item;\r
-                                       }\r
-                               }\r
-                               oC=oC.nextSibling;\r
-                       }\r
-                       putData(aData);\r
-               }\r
-       }\r
-}\r
-\r
-function processKey(element,aData,item)\r
-{\r
-       var i=0;\r
-       var nPrev=0;\r
-       var nNext=0;\r
-       var oC=element.firstChild;\r
-       while(oC)\r
-       {\r
-               if(oC.nodeName=="topic")\r
-               {\r
-                       var name=oC.getAttribute("name");\r
-                       var url=oC.getAttribute("url");\r
-                       if(url&&url.length!=0)\r
-                       {\r
-                               if(!name||name.length==0)\r
-                                       name=url;\r
-                               var topic=new Object();\r
-                               topic.sName=name;\r
-                               topic.sURL=url;\r
-                               if(!item.aTopics)\r
-                                       item.aTopics=new Array();\r
-                               item.aTopics[item.aTopics.length]=topic;\r
-                       }\r
-               }\r
-               else if(oC.nodeName=="key")\r
-               {\r
-                       nPrev=nNext;\r
-                       var name=oC.getAttribute("name");\r
-                       if(name&&name.length!=0)\r
-                       {\r
-                               var subItem=new Object();\r
-                               subItem.sName=name;\r
-                               subItem.nType=3;\r
-                               subItem.nPKOff=nPrev;\r
-                               aData[aData.length]=subItem;\r
-                               var nCurIndex=aData.length;\r
-                               processKey(oC,aData,subItem);\r
-                               nNext=aData.length-nCurIndex;\r
-                               subItem.nNKOff=nNext;\r
-                       }\r
-               }\r
-               oC=oC.nextSibling;\r
-       }\r
-}\r
-\r
-function putData(aData)\r
-{\r
-       endLoading();\r
-       var oCData=goCData;\r
-       if(oCData)\r
-       {\r
-               oCData.aKs=aData;\r
-               if(gnNKI==-1)\r
-                       setTimeout("checkReady();",1);\r
-               else\r
-               {\r
-                       gsSKA=getKByIdx(oCData,gnNKI);\r
-                       gbNeedCalc=true;\r
-                       gbScrl=true;\r
-                       gnNKI=-1;\r
-                       if(gsSKA)\r
-                               setTimeout("checkReady();",1);\r
-                       else\r
-                       {\r
-                               markEnd();\r
-                               setTimeout("checkAgain();",50);\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function markEnd()\r
-{\r
-       if(gbProcess)\r
-               gbProcess=false;\r
-}\r
-\r
-function endLoading()\r
-{\r
-       var oDiv=getElement(gsLoadingDivID);\r
-       if(oDiv)\r
-               oDiv.style.visibility="hidden";\r
-}\r
-\r
-function markBegin()\r
-{\r
-       gbProcess=true;\r
-}\r
-\r
-function beginLoading()\r
-{\r
-       var oDiv=getElement(gsLoadingDivID);\r
-       if(oDiv)\r
-       {\r
-               oDiv.style.top=document.body.scrollTop;\r
-               oDiv.style.visibility="visible";\r
-       }\r
-}\r
-\r
-function indexHTMLPart()\r
-{\r
-       this.sHTML="";\r
-       this.nNeeded=0;\r
-       this.nCurrent=0;\r
-       this.nConsumed=0;\r
-       this.sFK=null;\r
-       this.sLK=null;\r
-       this.addHTML=function(sHTML,nConsumed,bDown,bK,sK){\r
-               if(bDown)\r
-                       this.sHTML+=sHTML;\r
-               else\r
-                       this.sHTML=sHTML+this.sHTML;\r
-               this.nCurrent++;                        \r
-               this.nConsumed+=nConsumed;\r
-               if(bK)\r
-               {\r
-                       if(!this.sFK)\r
-                               this.sFK=sK;\r
-                       if(!this.sLK)\r
-                               this.sLK=sK;\r
-                       if(bDown)\r
-                               this.sLK=sK;\r
-                       else\r
-                               this.sFK=sK;\r
-               }\r
-       }\r
-       this.appendHTML=function(oHTML,bDown){\r
-               this.addSubHTML(oHTML,bDown);\r
-               if(!this.sFK)\r
-                       this.sFK=oHTML.sFK;\r
-               if(!this.sLK)\r
-                       this.sLK=oHTML.sLK;\r
-               if(bDown)\r
-                       this.sLK=oHTML.sLK;\r
-               else\r
-                       this.sFK=oHTML.sFK;\r
-       }       \r
-       \r
-       this.addSubHTML=function(oHTML,bDown){\r
-               if(bDown)\r
-                       this.sHTML+=oHTML.sHTML;\r
-               else\r
-                       this.sHTML=oHTML.sHTML+this.sHTML;\r
-               this.nCurrent+=oHTML.nCurrent;\r
-               this.nConsumed+=oHTML.nConsumed;                        \r
-       }\r
-}\r
-\r
-function getMaxUnits()\r
-{\r
-       return Math.floor(gnMaxMargin/gnUHeight)+1;\r
-}\r
-\r
-function getFakeItemsHTMLbyCount(nB,nCount)\r
-{\r
-       var nMU=getMaxUnits();\r
-       var nNum=Math.floor(nCount/nMU);\r
-       var sHTML="";\r
-       for(var i=0;i<nNum;i++)\r
-               sHTML+=getFakeItemHTML(nB,nMU-1);\r
-               \r
-       var nRest=nCount%nMU;\r
-       sHTML+=getFakeItemHTML(nB,nRest-1);\r
-       return sHTML;\r
-}\r
-\r
-function getFakeItemHTML(nB,nNum)\r
-{\r
-       return "<h6 name=fk"+nB+" id=fk"+nB+" style=\"margin-top:"+gnUHeight*nNum+";margin-bottom:0\">&nbsp;</h6>";\r
-}\r
-\r
-function fakeItemsArea(nB,n,sKA,sKB,obj)\r
-{\r
-       this.nB=nB;\r
-       this.nNum=n;\r
-       this.sKA=sKA;\r
-       this.sKB=sKB;\r
-       this.obj=obj;\r
-       this.nMargin=(n-1)*gnUHeight;\r
-\r
-       this.setNum=function(n)\r
-       {\r
-               var nLastobj=-1;\r
-               var nDelta=this.nMargin;\r
-               this.nMargin=(n-1)*gnUHeight;\r
-               nDelta=nDelta-this.nMargin;\r
-               if(n>0)\r
-               {\r
-                       this.nNum=n;\r
-                       var nMU=getMaxUnits();\r
-                       nLastobj=Math.floor((n-1)/nMU);\r
-                       if(this.obj.length)\r
-                               this.obj[nLastobj].style.marginTop=((n-1)%nMU)*gnUHeight;\r
-                       else\r
-                               this.obj.style.marginTop=((n-1)%nMU)*gnUHeight;\r
-               }\r
-               if(this.obj.length)\r
-               {\r
-                       for(var i=this.obj.length-1;i>nLastobj;i--)\r
-                               removeThis(this.obj[i]);\r
-               }\r
-               else\r
-               {\r
-                       if(nLastobj==-1)\r
-                               removeThis(this.obj);\r
-               }\r
-               return nDelta;\r
-       }\r
-       this.insertAdjacentHTML=function(sWhere,sHTML)\r
-       {\r
-               if(sWhere=="beforeBegin")\r
-               {\r
-                       if(this.obj.length)\r
-                               this.obj[0].insertAdjacentHTML(sWhere,sHTML);\r
-                       else\r
-                               this.obj.insertAdjacentHTML(sWhere,sHTML);\r
-               }\r
-               else if(sWhere=="afterEnd")\r
-               {\r
-                       if(this.obj.length)\r
-                       {\r
-                               if(gbMac&&gbIE5&&this.obj[this.obj.length-1].nextSibling)\r
-                                       this.obj[this.obj.length-1].nextSibling.insertAdjacentHTML("beforeBegin",sHTML);\r
-                               else\r
-                                       this.obj[this.obj.length-1].insertAdjacentHTML(sWhere,sHTML);\r
-                       }\r
-                       else\r
-                       {\r
-                               if(gbMac&&gbIE5&&this.obj.nextSibling)\r
-                                       this.obj.nextSibling.insertAdjacentHTML("beforeBegin",sHTML);\r
-                               else\r
-                                       this.obj.insertAdjacentHTML(sWhere,sHTML);\r
-                       }\r
-               }\r
-       }\r
-       this.getBtm=function()\r
-       {\r
-               if(this.obj.length)\r
-                       return this.obj[this.obj.length-1].offsetTop;\r
-               else\r
-                       return this.obj.offsetTop;\r
-       }\r
-       this.getTop=function()\r
-       {\r
-               return this.getBtm()-this.nMargin;\r
-       }\r
-}\r
-\r
-function usedItems(nB,nE)\r
-{\r
-       this.nB=nB;\r
-       this.nE=nE;\r
-       this.oN=null;\r
-}\r
-\r
-function checkReady()\r
-{\r
-       var len=gaChunks.length;\r
-       var bNeedLoad=false;\r
-       var aDataCon;\r
-       var s=0;\r
-       var bDown=(gsSKB==null);\r
-       var sK=bDown?gsSKA:gsSKB;\r
-       if(sK==null)\r
-       {\r
-               markEnd();\r
-               setTimeout("checkAgain();",50);\r
-               return;\r
-       }\r
-       if(!gsChK||sK!=gsChK||gnNum==0)\r
-       {\r
-               gnCheck=0;\r
-               gsChK=sK;\r
-               aDataCon=new Array();\r
-       }\r
-       else{\r
-               s=gnNum;\r
-               aDataCon=gaDataCon;\r
-       }\r
-       for(var i=gnCheck;i<len;i++)\r
-       {\r
-               var oCData=getChunkedData(i,bDown,sK);\r
-               if(oCData)\r
-               {\r
-                       if(!oCData.aKs&&oCData.sFileName!=null)\r
-                       {\r
-                               bNeedLoad=true;\r
-                               goCData=oCData;\r
-                               gnNum=s;\r
-                               gnCheck=i;\r
-                               gaDataCon=aDataCon;\r
-                               oCData.nProjId=i;\r
-                               gbLoadInfo=false;\r
-                               beginLoading();\r
-                               loadData2(gaData[i].sPPath+gaData[i].sDPath+oCData.sFileName);\r
-                               return;\r
-                       }\r
-                       else{\r
-                               aDataCon[s++]=oCData;\r
-                       }\r
-               }\r
-       }\r
-       if(!bNeedLoad)\r
-       {\r
-               gnNum=0;\r
-               gsSKA=gsSKB=gsShowK=null;\r
-               \r
-               var oHTML=new indexHTMLPart();\r
-               var aPos=new Array();\r
-               var aOriPos=new Array();\r
-               var aMaxPos=new Array();\r
-               var aMinPos=new Array();\r
-               \r
-               if(gbNeedCalc||gbFindCK) gnIns=0;\r
-               for(i=0;i<aDataCon.length;i++)\r
-               {\r
-                       aPos[i]=getIdxPos(aDataCon[i],bDown,sK);\r
-                       if(gbNeedCalc||gbFindCK)\r
-                       {\r
-                               gnIns+=aPos[i]+aDataCon[i].nTotal-aDataCon[i].nNum;\r
-                               if(!bDown)\r
-                               {\r
-                                       if(aPos[i]!=-1)\r
-                                       {\r
-                                               if(aDataCon[i].aKs)\r
-                                                       gnIns+=aDataCon[i].aKs[aPos[i]].nNKOff;\r
-                                               else\r
-                                               {\r
-                                                       var n=aPos[i]+1;\r
-                                                       while(n<aDataCon[i].aKsOnly.length&&!aDataCon[i].aKsOnly[n])\r
-                                                               n++;\r
-                                                       n=n-aPos[i]-1;\r
-                                                       gnIns+=n;\r
-                                               }\r
-                                       }\r
-                               }\r
-                       }\r
-                       aOriPos[i]=aPos[i];\r
-                       getLimit(aDataCon,aPos,aMaxPos,aMinPos,i);\r
-               }\r
-               if((gbNeedCalc||gbFindCK)&&!bDown&&gnIns!=-1)\r
-               {\r
-                       gnIns+=(aDataCon.length-1)\r
-               }\r
-               if(gnIns!=-1||gbFindCK)\r
-               {\r
-                       oHTML.nNeeded=gnNeeded;\r
-                       var bDone=writeItems(oHTML,aDataCon,aPos,aMinPos,aMaxPos,bDown,1);\r
-                       if(oHTML.nConsumed!=0)\r
-                       {\r
-                               var nB;\r
-                               if(!bDown)\r
-                                       nB=gnIns-oHTML.nConsumed+1;\r
-                               else\r
-                                       nB=gnIns;\r
-                                       \r
-                               var oldScrollPos=document.body.scrollTop;\r
-                               if(insertIdxKs(nB,oHTML,gbScrl))\r
-                               {\r
-                                       updateUsedK(aDataCon,aOriPos,aPos,bDown);\r
-                                       if(!gbScrl&&gbMac)\r
-                                       {\r
-                                               while(document.body.scrollTop!=oldScrollPos)\r
-                                                       document.body.scrollTop=oldScrollPos;\r
-                                       }\r
-                                       gbScrl=false;\r
-                               }\r
-                               if(gbFindCK)\r
-                               {\r
-                                       gbFindCK=false;\r
-                                       gbNeedCalc=true;\r
-                                       gsSKB=oHTML.sFK;\r
-                                       gnIns=-1;\r
-                                       setTimeout("checkReady();",50);\r
-                                       return;\r
-                               }\r
-                       }\r
-                       else if(gbFindCK)\r
-                       {\r
-                               gbFindCK=false;\r
-                               gbNeedCalc=true;\r
-                               gsSKB=getFirstKeyFromPos(aDataCon,aPos);\r
-                               gnIns=-1;\r
-                               setTimeout("checkReady();",50);\r
-                               return;\r
-                       }\r
-                       if(!findCKInDom()) return;\r
-\r
-                       gnNeeded=gnNeeded-oHTML.nCurrent;\r
-                       gnIns=-1;\r
-                       markEnd();\r
-                       setTimeout("checkAgain();",50);\r
-                       gbNeedCalc=false;\r
-               }\r
-               else\r
-               {\r
-                       if(!findCKInDom()) return;\r
-                       markEnd();\r
-                       setTimeout("checkAgain();",50);\r
-               }\r
-       }\r
-}\r
-\r
-function getFirstKeyFromPos(aDataCon,aPos)\r
-{\r
-       var sCurrentK=getBiggestChar();\r
-       for(var i=0;i<aPos.length;i++)\r
-       {\r
-               if(aDataCon[i].aKs&&aDataCon[i].aKs.length>0&&aPos[i]>=0&&aPos[i]<aDataCon[i].aKs.length)\r
-               {\r
-                       if(sCurrentK==""||\r
-                               compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)>0)\r
-                       {\r
-                               sCurrentK=aDataCon[i].aKs[aPos[i]].sName;\r
-                       }\r
-               }\r
-       }\r
-       return sCurrentK;\r
-}\r
-\r
-function checkAgain()\r
-{\r
-       if(!gbProcess)\r
-       {\r
-               if(gsBCK!=null)\r
-               {\r
-                       gsCK=gsBCK;\r
-                       gsBCK=null;\r
-                       findCK();\r
-               }\r
-               else\r
-               {\r
-                       markBegin();\r
-                       getUnitIdx(document.body.scrollTop,document.body.clientHeight);\r
-               }\r
-       }\r
-       else\r
-               setTimeout("checkAgain()",50);\r
-}\r
-\r
-function getLimit(aDataCon,aPos,aMaxPos,aMinPos,i)\r
-{\r
-       aMaxPos[i]=aDataCon[i].nNum;\r
-       aMinPos[i]=-1;\r
-       var oPNode=null;\r
-       if(aDataCon[i].oUsedItems)\r
-       {\r
-               var oUsedItems=aDataCon[i].oUsedItems;\r
-               do{\r
-                       if(oUsedItems.nB>aPos[i])\r
-                       {\r
-                               aMaxPos[i]=oUsedItems.nB;\r
-                               break;\r
-                       }\r
-                       oPNode=oUsedItems;\r
-                       oUsedItems=oUsedItems.oN;\r
-               }while(oUsedItems!=null);\r
-               if(oPNode)\r
-                       aMinPos[i]=oPNode.nE;\r
-       }\r
-       else if(aDataCon[i].aKs==null)\r
-       {\r
-               aMaxPos[i]=aMinPos[i]=aPos[i];\r
-       }\r
-       if(aMinPos[i]>=aPos[i]||aMaxPos[i]<=aPos[i])\r
-       {\r
-               aMaxPos[i]=aMinPos[i]=aPos[i];\r
-       }\r
-}\r
-\r
-function getIdxPos(oIdx,bDown,sK)\r
-{\r
-       var aKs=oIdx.aKs;\r
-       var nIdx;\r
-       if(bDown)\r
-               nIdx=oIdx.nNum;\r
-       else\r
-               nIdx=-1;\r
-       if(aKs!=null)\r
-       {\r
-               for(var i=0;i<aKs.length;i++)\r
-               {       \r
-                       if(bDown)\r
-                       {\r
-                               if(compare(aKs[i].sName,sK)>0)\r
-                               {\r
-                                       nIdx=i;\r
-                                       break;\r
-                               }\r
-                       }\r
-                       else\r
-                       {\r
-                               if(compare(aKs[i].sName,sK)<0)\r
-                                       nIdx=i;\r
-                               else\r
-                                       break;\r
-                       }\r
-                       i+=aKs[i].nNKOff;\r
-               }\r
-       }\r
-       else if(oIdx.aKsOnly)\r
-       {\r
-               var aKsOnly=oIdx.aKsOnly;\r
-               for(var i=0;i<aKsOnly.length;i++)\r
-               {       \r
-                       if(aKsOnly[i])\r
-                       {\r
-                               if(bDown)\r
-                               {\r
-                                       if(compare(aKsOnly[i],sK)>0)\r
-                                       {\r
-                                               nIdx=i;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                               else\r
-                               {\r
-                                       if(compare(aKsOnly[i],sK)<0)\r
-                                               nIdx=i;\r
-                                       else\r
-                                               break;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-       return nIdx;\r
-}\r
-\r
-function writeItems(oHTML,aDataCon,aPos,aMinPos,aMaxPos,bDown,nLevel)\r
-{\r
-       var aOldPos=new Array();\r
-       for(var i=0;i<aPos.length;i++)\r
-       {\r
-               aOldPos[i]=aPos[i];\r
-       }\r
-       var p;\r
-       do{\r
-               var sCurrentK="";\r
-               var aCurIdxSet=new Array();\r
-               p=0;\r
-               for(i=0;i<aDataCon.length;i++)\r
-               {\r
-                       if(aDataCon[i].aKs&&aDataCon[i].aKs.length&&aPos[i]!=-1&&\r
-                               (bDown&&aPos[i]<aMaxPos[i])||(!bDown&&aPos[i]>aMinPos[i]))\r
-                       {\r
-                               if(sCurrentK==""||\r
-                                       (bDown&&compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)>0)||\r
-                                       (!bDown&&compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)<0))\r
-                               {\r
-                                       sCurrentK=aDataCon[i].aKs[aPos[i]].sName;\r
-                                       p=0;\r
-                                       aCurIdxSet[p++]=i;\r
-                               }\r
-                               else if(compare(sCurrentK,aDataCon[i].aKs[aPos[i]].sName)==0){\r
-                                       aCurIdxSet[p++]=i;\r
-                               }\r
-                       }\r
-                       else if(nLevel==1&&aMaxPos[i]!=aMinPos[i]){\r
-                               if(bDown&&aPos[i]==aMaxPos[i])\r
-                               {\r
-                                       if(aDataCon[i].aKs)\r
-                                       {\r
-                                               gsSKA=aDataCon[i].aKs[aOldPos[i]].sName;\r
-                                               return false;\r
-                                       }\r
-                               }\r
-                               else if(!bDown&&aPos[i]==aMinPos[i])\r
-                               {\r
-                                       if(aDataCon[i].aKs)\r
-                                       {\r
-                                               gsSKB=aDataCon[i].aKs[aOldPos[i]].sName;\r
-                                               return false;\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-               if(p>=1){\r
-                       for(var s=0;s<p;s++)\r
-                       {\r
-                               aOldPos[aCurIdxSet[s]]=aPos[aCurIdxSet[s]];\r
-                       }\r
-                       mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,p,aPos,nLevel);\r
-                       adjustPosition(bDown,aDataCon,aCurIdxSet,p,aPos);\r
-                       \r
-                       if(nLevel==1&&oHTML.nNeeded<=oHTML.nCurrent){\r
-                               return true;\r
-                       }\r
-               }\r
-       }while(p>0);\r
-       return true;\r
-}\r
-\r
-function updateUsedK(aDataCon,aOriPos,aOldPos,bDown)\r
-{\r
-       for(var i=0;i<aDataCon.length;i++)\r
-       {\r
-               if (aOldPos[i]!=aOriPos[i])\r
-               {\r
-                       var nBP=0;\r
-                       var nEP=0;\r
-                       if(bDown)\r
-                       {\r
-                               nBP=aOriPos[i];\r
-                               nEP=aOldPos[i]-1;\r
-                       }\r
-                       else\r
-                       {\r
-                               if (aOldPos[i]!=-1)\r
-                                       nBP=aOldPos[i]+aDataCon[i].aKs[aOldPos[i]].nNKOff+1;\r
-                               else\r
-                                       nBP=0;\r
-                               nEP=aOriPos[i]+aDataCon[i].aKs[aOriPos[i]].nNKOff;\r
-                       }\r
-                       if(nBP<=nEP)\r
-                       {\r
-                               setContentsUsed(aDataCon[i],nBP,nEP);\r
-                               \r
-                               var oFirstPair=aDataCon[i].oUsedItems;\r
-                               if(oFirstPair.oN==null&&oFirstPair.nB==0&&oFirstPair.nE==aDataCon[i].nNum-1)\r
-                               {\r
-                                       storeKeysOnly(aDataCon[i]);\r
-                                       aDataCon[i].oUsedItems=aDataCon[i].aKs=aDataCon[i].sFileName=null;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function storeKeysOnly(oCData)\r
-{\r
-       oCData.aKsOnly=new Array();\r
-       for(var i=0;i<oCData.aKs.length;i++)\r
-       {\r
-               oCData.aKsOnly[i]=oCData.aKs[i].sName;\r
-               i+=oCData.aKs[i].nNKOff;\r
-       }\r
-}\r
-\r
-function setContentsUsed(oIdx,nB,nE)\r
-{\r
-       if(!oIdx.oUsedItems)\r
-               oIdx.oUsedItems=new usedItems(nB,nE);\r
-       else\r
-       {\r
-               var oUsedItems=oIdx.oUsedItems;\r
-               var oPNode=null;\r
-               do{\r
-                       if(oUsedItems.nB>nB)\r
-                       {\r
-                               if(oUsedItems.nB==nE+1)\r
-                               {\r
-                                       oUsedItems.nB=nB;\r
-                               }\r
-                               else{\r
-                                       var oNewNode=new usedItems(oUsedItems.nB,oUsedItems.nE);\r
-                                       oNewNode.oN=oUsedItems.oN;\r
-                                       oUsedItems.nB=nB;\r
-                                       oUsedItems.nE=nE;\r
-                                       oUsedItems.oN=oNewNode;\r
-                               }\r
-                               break;\r
-                       }\r
-                       oPNode=oUsedItems;\r
-                       oUsedItems=oUsedItems.oN;\r
-               }while(oUsedItems);\r
-               if(!oUsedItems)\r
-               {\r
-                       if(oPNode!=null)\r
-                               oPNode.oN=new usedItems(nB,nE);\r
-               }\r
-               if(oPNode!=null){\r
-                       if(oPNode.nE==oPNode.oN.nB-1)\r
-                       {\r
-                               oPNode.nE=oPNode.oN.nE;\r
-                               oPNode.oN=oPNode.oN.oN;\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function projInfo(sPPath,sDPath,sFile)\r
-{\r
-       this.sPPath=sPPath;\r
-       this.sDPath=sDPath;\r
-       this.sFile=sFile;\r
-}\r
-\r
-function addProjInfo(sPPath,sDPath,sFile)\r
-{\r
-       var oIdxInfo=new projInfo(sPPath,sDPath,sFile);\r
-       gaData[gaData.length]=oIdxInfo;\r
-       return oIdxInfo;\r
-}\r
-\r
-function writeDataIFrame()\r
-{\r
-       if(gnLoad<gaData.length)\r
-       {\r
-               gbLoadInfo=true;\r
-               loadData2(gaData[gnLoad].sPPath+gaData[gnLoad].sDPath+gaData[gnLoad].sFile);\r
-       }\r
-       else{\r
-               if(gnItems!=0)\r
-               {\r
-                       markBegin();\r
-                       writeFakeItems();\r
-                       gsSKA="";\r
-                       gnNeeded=gnVisible;\r
-                       gnIns=0;\r
-                       checkReady();\r
-               }\r
-       }\r
-}\r
-\r
-function getH6ById(nPos)\r
-{\r
-       if(document.all)\r
-               return document.all("fk"+nPos);\r
-       else if(document.getElementsByName)\r
-               return document.getElementsByName("fk"+nPos);\r
-       return null;            \r
-}\r
-\r
-function showItemsInEvaluation(nBP)\r
-{\r
-       var bRtn=true;\r
-       var fPer=nBP/gnItems;\r
-       var nB=Math.floor(fPer*gnMaxItems);\r
-       var oCData=getChunkByIdx(gnRef,nB);\r
-       if(oCData)\r
-       {\r
-               if(!oCData.aKs&&oCData.sFileName!=null)\r
-               {\r
-                       gnNKI=nB;\r
-                       goCData=oCData;\r
-                       oCData.nProjId=gnRef;\r
-                       gbLoadInfo=false;\r
-                       beginLoading();\r
-                       loadData2(gaData[gnRef].sPPath+gaData[gnRef].sDPath+oCData.sFileName);\r
-               }\r
-               else{\r
-                       gsSKA=getKByIdx(oCData,nB);\r
-                       if(gsSKA)\r
-                       {\r
-                               gsSKB=null;\r
-                               gbNeedCalc=true;\r
-                               gbScrl=true;\r
-                               checkReady()\r
-                       }\r
-                       else\r
-                       {\r
-                               markEnd();\r
-                               bRtn=false;\r
-                       }\r
-               }\r
-       }\r
-       else\r
-       {\r
-               markEnd();\r
-               bRtn=false;\r
-       }\r
-       return bRtn;\r
-}\r
-\r
-function isUsed(oCData,nPos)\r
-{\r
-       var oUsed=oCData.oUsedItems;\r
-       while(oUsed&&oUsed.nB<=nPos)\r
-       {\r
-               if(oUsed.nE>=nPos) return true;\r
-               oUsed=oUsed.oN;\r
-       }\r
-       return false;\r
-}\r
-\r
-function getKByIdx(oCData,nB)\r
-{\r
-       var nRelPos=nB-(oCData.nTotal-oCData.nNum);\r
-       var aIKs=oCData.aKs;\r
-       if(nRelPos>=0&&aIKs&&nRelPos<aIKs.length)\r
-       {\r
-               var oK=null;\r
-               do{\r
-                       oK=aIKs[nRelPos++];\r
-               }       \r
-               while((oK.nType==3||isUsed(oCData,nRelPos-1))&&nRelPos<aIKs.length);\r
-               if(oK.nType!=3)\r
-               {\r
-                       return oK.sName;\r
-               }\r
-               else{\r
-                       nRelPos=nB-(oCData.nTotal-oCData.nNum)-1;\r
-                       if(nRelPos>=0)\r
-                       {\r
-                               do{\r
-                                       oK=aIKs[nRelPos--];\r
-                               }\r
-                               while((oK.nType==3||isUsed(oCData,nRelPos+1))&&nRelPos>=0);\r
-                       }\r
-                       if(oK.nType!=3)\r
-                       {\r
-                               return oK.sName;\r
-                       }\r
-               }\r
-       }\r
-       return null;\r
-}\r
-\r
-function loadData2(sFileName)\r
-{\r
-       disEvt();\r
-       if(gbXML)\r
-               loadDataXML(sFileName);\r
-       else\r
-               loadData(sFileName);\r
-       enEvt();\r
-}\r
-\r
-function projReady(aChunk)\r
-{\r
-       gaChunks[gnLoad++]=aChunk;\r
-       var len=aChunk.length;\r
-       var nTotal=0;\r
-       if(len>0)\r
-               nTotal=aChunk[len-1].nTotal;\r
-       gnItems+=nTotal;\r
-       if(nTotal>gnMaxItems)\r
-       {\r
-               gnMaxItems=nTotal;\r
-               gnRef=gnLoad-1;\r
-       }\r
-       setTimeout("writeDataIFrame();",1);\r
-}\r
-\r
-function writeFakeItems()\r
-{\r
-       disEvt();\r
-       gnUHeight=15;\r
-       var sHTML=getFakeItemsHTMLbyCount(0,gnItems);\r
-       document.body.insertAdjacentHTML("beforeEnd",sHTML);\r
-       var obj=getH6ById(0);\r
-       if (document.body != null)\r
-       {\r
-               gnVisible=Math.ceil(document.body.clientHeight/gnUHeight);\r
-       }\r
-       gaFakes[0]=new fakeItemsArea(0,gnItems,"",getEndString(),obj);\r
-       enEvt();\r
-}\r
-\r
-function getEndString()\r
-{\r
-       var sBC=getBiggestChar();\r
-       return sBC+sBC+sBC+sBC+sBC+sBC+sBC+sBC;\r
-}\r
-\r
-function getUnitIdx(nScrl,nHeight)\r
-{\r
-       if(gaFakes.length==0)\r
-       {\r
-               markEnd();\r
-               return;\r
-       }\r
-       var nB=0;\r
-       var nE=gaFakes.length-1;\r
-       var nM=-1;\r
-       var nTop=0;\r
-       var nBtm=0;\r
-       var bF=false;\r
-       do{\r
-               nM=(nB+nE)>>1;\r
-               nBtm=gaFakes[nM].getBtm();\r
-               nTop=gaFakes[nM].getTop();\r
-                       \r
-               if(nTop>=nScrl+nHeight)\r
-                       nE=nM-1;\r
-               else if(nBtm<nScrl)\r
-                       nB=nM+1;\r
-               else{\r
-                       bF=true;\r
-                       break;\r
-               }\r
-       }while(nE>=nB);\r
-       if(bF)\r
-       {\r
-               if(nTop>=nScrl){\r
-                       gsSKA=gaFakes[nM].sKA;\r
-                       gsSKB=null;\r
-                       gnNeeded=Math.ceil((nHeight-nTop+nScrl)/gnUHeight);\r
-                       gnIns=gaFakes[nM].nB;\r
-                       checkReady();\r
-               }\r
-               else if(nBtm<=nScrl+nHeight){\r
-                       gsSKB=gaFakes[nM].sKB;\r
-                       gsSKA=null;\r
-                       gnNeeded=Math.ceil((nBtm-nScrl+gnScrlMgn)/gnUHeight);\r
-                       gbNeedCalc=true;\r
-                       checkReady();\r
-               }\r
-               else{\r
-                       gnNeeded=gnVisible;\r
-                       var nUnitIdx=gaFakes[nM].nB+Math.floor((nScrl-nTop)/gnUHeight);\r
-                       if (!showItemsInEvaluation(nUnitIdx))\r
-                       {\r
-                               gsSKA=gaFakes[nM].sKA;\r
-                               gsSKB=null;\r
-                               gnNeeded=Math.ceil(nHeight/gnUHeight);\r
-                               gnIns=gaFakes[nM].nB;\r
-                               checkReady();\r
-                       }\r
-               }\r
-       }\r
-       else\r
-               markEnd();\r
-}\r
-\r
-function disEvt()\r
-{\r
-       window.onscroll=null;\r
-       window.onresize=null;\r
-}\r
-\r
-function enEvt()\r
-{\r
-       window.onscroll=window_OnScroll;\r
-       window.onresize=window_OnResize;\r
-}\r
-\r
-function insertIdxKs(nIns,oHTML,bScrl)\r
-{\r
-       var bRtn=true;\r
-       disEvt();\r
-       var nCount=oHTML.nConsumed;\r
-       var nB=0;\r
-       var nE=gaFakes.length-1;\r
-       var nM=-1;\r
-       var bF=false;\r
-       do{\r
-               nM=(nB+nE)>>1;\r
-               if(gaFakes[nM].nB>nIns)\r
-                       nE=nM-1;\r
-               else if(gaFakes[nM].nB+gaFakes[nM].nNum<=nIns)\r
-                       nB=nM+1;\r
-               else{\r
-                       bF=true;\r
-                       break;\r
-               }\r
-       }while(nE>=nB);\r
-       if(bF)\r
-       {\r
-               var oFIA=gaFakes[nM];\r
-               var nOffsetTop=oFIA.getTop();\r
-               var nOffsetBottom=oFIA.getBtm();\r
-               var nDelta=0;\r
-               var nHDiff=nIns-oFIA.nB;\r
-               var nTDiff=oFIA.nNum+oFIA.nB-(nIns+nCount);\r
-               if(nHDiff>0)\r
-               {\r
-                       nDelta=oFIA.setNum(nHDiff);\r
-                       var sOldKBefore=oFIA.sKB;\r
-                       oFIA.sKB=oHTML.sFK;\r
-                       if(nTDiff>0)\r
-                       {\r
-                               var sHTML=getFakeItemsHTMLbyCount(nIns,nTDiff);\r
-                               oFIA.insertAdjacentHTML("afterEnd",sHTML);\r
-                               var obj=getH6ById(nIns);\r
-                               insertItemIntoArray(gaFakes,nM+1,new fakeItemsArea(nIns+nCount,nTDiff,oHTML.sLK,sOldKBefore,obj));\r
-                       }\r
-                       oFIA.insertAdjacentHTML("afterEnd",oHTML.sHTML);        \r
-                       if(bScrl)\r
-                       {\r
-                               if(gbMac&&gbIE4)\r
-                               {\r
-                                       var nScrollPos=nOffsetBottom-nDelta;\r
-                                       while(document.body.scrollTop!=nScrollPos)\r
-                                               document.body.scrollTop=nScrollPos;\r
-                               }\r
-                               else\r
-                                       window.scrollTo(0,nOffsetBottom-nDelta);\r
-                       }\r
-               }\r
-               else{\r
-                       oFIA.insertAdjacentHTML("beforeBegin",oHTML.sHTML);\r
-                       if(bScrl){\r
-                               if(gbMac&&gbIE4)\r
-                               {\r
-                                       var nScrollPos=nOffsetTop;\r
-                                       while(document.body.scrollTop!=nScrollPos)\r
-                                               document.body.scrollTop=nScrollPos;\r
-                               }\r
-                               else\r
-                                       window.scrollTo(0,nOffsetTop);\r
-                       }\r
-                                       \r
-                       if(nTDiff>0)\r
-                       {\r
-                               oFIA.nB=nIns+nCount;\r
-                               nDelta=oFIA.setNum(nTDiff);\r
-                               oFIA.sKA=oHTML.sLK;\r
-                       }       \r
-                       else{\r
-                               gaFakes[nM].setNum(0);\r
-                               removeItemFromArray(gaFakes,nM);\r
-                       }\r
-               }\r
-       }\r
-       else\r
-               bRtn=false;\r
-       enEvt();\r
-       return bRtn;\r
-}\r
-\r
-function window_OnScroll()\r
-{\r
-       gnSE++;\r
-       setTimeout("procScroll();",50); \r
-}\r
-\r
-function procScroll()\r
-{\r
-       if(gnSE==1&&!gbProcess)\r
-       {\r
-               markBegin();\r
-               getUnitIdx(document.body.scrollTop,document.body.clientHeight);\r
-       }\r
-       gnSE--;\r
-}\r
-\r
-function window_OnResize()\r
-{\r
-       gnRE++;\r
-       setTimeout("procResize();",50);\r
-}\r
-\r
-function procResize()\r
-{\r
-       if(gnRE==1&&!gbProcess)\r
-       {\r
-               markBegin();\r
-               gnVisible=Math.ceil(document.body.clientHeight/gnUHeight);\r
-               if(gnIns==-1)\r
-                       getUnitIdx(document.body.scrollTop,document.body.clientHeight);\r
-       }\r
-       gnRE--;\r
-}\r
-\r
-function getChunkByIdx(nIdx,nPosition)\r
-{\r
-       var oCData=null;\r
-       if(nIdx<gaChunks.length)\r
-       {\r
-               var len=gaChunks[nIdx].length;\r
-               if(len>0)\r
-               {\r
-                       var nB=0;\r
-                       var nE=len-1;\r
-                       var bF=false;\r
-                       do{\r
-                               var nM=(nB+nE)>>1;\r
-                               if(nPosition<gaChunks[nIdx][nM].nTotal)\r
-                               {\r
-                                       bF=true;\r
-                                       nE=nM;\r
-                               }\r
-                               else\r
-                                       nB=nM+1;\r
-                       }while(nE>nB);\r
-                       if(bF)\r
-                               oCData=gaChunks[nIdx][nE];\r
-                       else if(nPosition<gaChunks[nIdx][nB].nTotal)\r
-                               oCData=gaChunks[nIdx][nB];\r
-               }\r
-       }\r
-       return oCData;\r
-}\r
-\r
-function getChunkedData(nIdx,bDown,sK)\r
-{\r
-       var oCData=null;\r
-       var nCandId=-1;\r
-       if(nIdx<gaChunks.length)\r
-       {\r
-               var len=gaChunks[nIdx].length;\r
-               if(len>0)\r
-               {\r
-                       var nB=0;\r
-                       var nE=len-1;\r
-                       var bF=false;\r
-                       do{\r
-                               var nM=(nB+nE+(bDown?0:1))>>1;\r
-                               if(bDown)\r
-                               {\r
-                                       if(compare(sK,gaChunks[nIdx][nM].sEK)<0)\r
-                                       {\r
-                                               bF=true;\r
-                                               nE=nM;\r
-                                       }\r
-                                       else\r
-                                               nB=nM+1;\r
-                               }\r
-                               else\r
-                               {\r
-                                       if(compare(sK,gaChunks[nIdx][nM].sBK)>0)\r
-                                       {\r
-                                               bF=true;\r
-                                               nB=nM;\r
-                                       }\r
-                                       else\r
-                                               nE=nM-1;\r
-                               }\r
-                       }while(nE>nB);\r
-                       if(bF)\r
-                       {\r
-                               if(bDown)\r
-                                       nCandId=nE;\r
-                               else\r
-                                       nCandId=nB;\r
-                       }\r
-                       else\r
-                       {\r
-                               if(bDown)\r
-                               {\r
-                                       if(gaChunks[nIdx].length>nB&&compare(sK,gaChunks[nIdx][nB].sEK)<0)\r
-                                               nCandId=nB;\r
-                                       else\r
-                                               nCandId=gaChunks[nIdx].length-1;\r
-                               }\r
-                               else\r
-                               {\r
-                                       if(0<=nE&&compare(sK,gaChunks[nIdx][nE].sBK)>0)\r
-                                               nCandId=nE;\r
-                                       else\r
-                                               nCandId=0;\r
-                               }\r
-                       }\r
-                       return gaChunks[nIdx][nCandId];\r
-               }\r
-       }\r
-       return null;\r
-}\r
-\r
-function findCK()\r
-{\r
-       if(gsCK!=null)\r
-       {\r
-               gsSKA=gsCK;\r
-               gbFindCK=true;\r
-               gnNeeded=1;\r
-               markBegin();\r
-               checkReady();\r
-       }\r
-}\r
-\r
-function writeLoadingDiv(nIIdx)\r
-{\r
-       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>";\r
-}\r
-\r
+//     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\">&nbsp;</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
index a279fa88835a79199e37fa2cabb66d3a31a163d1..46aeaa20c56faa0ea8e4776491e42ba94500c742 100755 (executable)
-<html>\r
-<head>\r
-<title>Index content</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whlang.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whhost.js"></script>\r
-<script language="javascript1.2" src="whihost.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var goPopup = null;\r
-var gbPopupMenuTimeoutExpired=false;\r
-var gBsClientWidth=640;\r
-var gBsClientHeight=480;\r
-var g_bIsPopupMenuInit=false;\r
-\r
-function WritePopupMenuLayer()\r
-{\r
-       if (!g_bIsPopupMenuInit)\r
-       {\r
-               document.write("<DIV ID='PopupMenu' STYLE='position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;'></DIV>");\r
-               document.write("<STYLE TYPE='text/css'>");\r
-               if (gbMac && gbIE4) {\r
-                       document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:10pt; text-decoration:none;}");\r
-                       document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:10pt; text-decoration:none;}");\r
-               } else {\r
-                       document.write(".PopupOver {font-family:'Arial'; color:white; background:navy; font-size:8pt; text-decoration:none;}");\r
-                       document.write(".PopupNotOver {font-family:'Arial'; color:black; background:#c0c0c0; font-size:8pt; text-decoration:none;}");\r
-               }\r
-               document.write("</STYLE>");\r
-       }\r
-       g_bIsPopupMenuInit = true;\r
-}\r
-\r
-function PopupMenu_Invoke()\r
-{\r
-       if (gbNav6)\r
-               resetHighLight();\r
-       \r
-       if (!gbNav6  && document.readyState != "complete")\r
-               return false;\r
-       var fn_arguments = PopupMenu_Invoke.arguments; \r
-       // Make sure we have reasonable arguments\r
-       var argLen = fn_arguments.length;\r
-       if (argLen < 3) {\r
-               return false;\r
-       }\r
-\r
-       // Check to see if we only have one target\r
-       var strTarget = "";\r
-       \r
-       strTarget = "TARGET='" + fn_arguments[1] + "'";\r
-       \r
-       if (argLen < 5) {\r
-               // Get the place that we will be putting the topic into\r
-               var strURL = fn_arguments[3];\r
-\r
-               if (fn_arguments[1] != null && typeof(fn_arguments[1]) != "undefined")\r
-                       window.open(strURL, fn_arguments[1]);\r
-               else\r
-                       window.open(strURL);\r
-                       \r
-               return false;\r
-       }\r
-       \r
-       var strMenu = '<TABLE STYLE="border:2px outset white;" CELLSPACING=0';\r
-       if (gbMac && gbIE4) {\r
-               strMenu += ' CELLPADDING=4';\r
-       } else {\r
-               strMenu += ' CELLPADDING=2';\r
-       }       \r
-       strMenu += ' BGCOLOR=#c0c0c0>';\r
-\r
-       // Add each of the items\r
-       if (gbIE55)\r
-       {\r
-               var i = 2;\r
-               while (i <= argLen - 1) {\r
-                       strMenu += '<TR><TD><NOBR>'\r
-                       strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A ';\r
-                       strMenu += ' onclick="parent.PopupMenu_2HandleClick(\'' + excapeSingleQuotandSlash(fn_arguments[i + 1]) + '\', \'' + fn_arguments[1] + '\');"';\r
-                       strMenu += ' onmouseover="parent.PopupMenu_Over(event);"';\r
-                       strMenu += ' onmouseout="parent.PopupMenu_Out(event);"';\r
-                       strMenu += '>';\r
-                       strMenu += '<SPAN CLASS="PopupNotOver">' + fn_arguments[i] + '</SPAN>';\r
-                       strMenu += '</A></DIV></NOBR></TD></TR>';\r
-                       i += 2;\r
-               }\r
-       }\r
-       else\r
-       {\r
-               var i = 2;\r
-               while (i <= argLen - 1) {\r
-                       strMenu += '<TR><TD><NOBR>'\r
-                       strMenu += '<DIV STYLE="padding-left:3pt; padding-right:3pt;"><A HREF="' + fn_arguments[i + 1] + '" ' + strTarget;\r
-                       strMenu += ' onclick="PopupMenu_HandleClick(event);"';\r
-                       strMenu += ' onmouseover="PopupMenu_Over(event);"';\r
-                       strMenu += ' onmouseout="PopupMenu_Out(event);"';\r
-                       strMenu += '>';\r
-                       strMenu += '<SPAN CLASS="PopupNotOver">' + excapeSingleQuotandSlash(fn_arguments[i]) + '</SPAN>';\r
-                       strMenu += '</A></DIV></NOBR></TD></TR>';\r
-                       i += 2;\r
-               }\r
-       }\r
-       strMenu += "</TABLE>";\r
-\r
-       if (gbMac && gbIE4) {\r
-       // ie5 in mac need something. </TABLE> is one of them.\r
-               strMenu +="<TABLE></TABLE>";\r
-       }\r
-\r
-       var layerPopup = null;\r
-       var stylePopup = null;\r
-       var nEventX = 0;\r
-       var nEventY = 0;\r
-       var nWindowWidth = 0;\r
-       if (gbIE4||gbOpera7)\r
-       {\r
-               layerPopup = document.all["PopupMenu"];\r
-               layerPopup.innerHTML = strMenu;\r
-               stylePopup = layerPopup.style;\r
-\r
-               _BSPSGetClientSize();\r
-\r
-               // Get the position of the item causing the event (relative to its parent)\r
-               nEventX = window.event.clientX;\r
-               nEventY = window.event.clientY;\r
-               \r
-               if (nEventY + layerPopup.scrollHeight + 10 < gBsClientHeight) {\r
-                       nEventY += document.body.scrollTop + 10;\r
-               } else {\r
-                       nEventY = (document.body.scrollTop + gBsClientHeight) - layerPopup.scrollHeight - 20;\r
-               }\r
-               stylePopup.top = nEventY;\r
-\r
-               if (nEventX + layerPopup.scrollWidth + 20 > gBsClientWidth) {\r
-                       if (gBsClientWidth - layerPopup.scrollWidth < 5) {\r
-                               stylePopup.left = 5;\r
-                       } else {\r
-                               stylePopup.left = gBsClientWidth - layerPopup.scrollWidth - 5;\r
-                       }\r
-               } else {\r
-                       stylePopup.left = nEventX + document.body.scrollLeft + 20;\r
-               }\r
-\r
-               if (gbIE55) {\r
-                       var nPosX = window.event.clientX;\r
-                       var nPosY = window.event.clientY;\r
-                       if (window.event.srcElement)\r
-                       {\r
-                               nPosX = window.event.srcElement.offsetLeft + window.event.srcElement.offsetWidth - document.body.scrollLeft;\r
-                               nPosY = window.event.srcElement.offsetTop + window.event.srcElement.offsetHeight - document.body.scrollTop;\r
-                       }\r
-                       goPopup = window.createPopup();\r
-                       var oPopupBody = goPopup.document.body;\r
-                       goPopup.document.createStyleSheet();\r
-                       goPopup.document.styleSheets[0].addRule(".PopupOver", "{font-family:\"Arial\"; cursor: hand;color:white; background:navy; font-size:8pt; text-decoration:none;}");\r
-                       goPopup.document.styleSheets[0].addRule(".PopupNotOver", "{font-family:\"Arial\"; color:black; background:#c0c0c0; font-size:8pt; text-decoration:none;}");\r
-                       oPopupBody.insertAdjacentHTML("afterBegin", strMenu);\r
-                       goPopup.show(nPosX, nPosY, layerPopup.scrollWidth, layerPopup.scrollHeight, document.body);\r
-               }\r
-               else \r
-               {\r
-                       stylePopup.visibility = "visible";\r
-                       document.onclick = PopupMenu_HandleClick;\r
-               }\r
-       } else if (gbNav6) {\r
-               layerPopup = document.getElementById("PopupMenu");\r
-               layerPopup.style.visibility = "hidden";\r
-       \r
-               var e = fn_arguments[0];\r
-               nEventX = e.pageX;\r
-               nEventY = e.pageY;\r
-               _BSPSGetClientSize();\r
-               layerPopup.innerHTML = strMenu;\r
-\r
-               if (nEventY + layerPopup.offsetHeight + 20  <  window.pageYOffset + gBsClientHeight) {\r
-                       nEventY += 20;\r
-               } else {\r
-                       nEventY = gBsClientHeight + window.pageYOffset - layerPopup.offsetHeight - 20;\r
-               }\r
-\r
-               if (nEventX + layerPopup.offsetWidth + 20 > gBsClientWidth + window.pageXOffset) {\r
-                       if (gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth < 20) {\r
-                               nEventX = 5;\r
-                       } else {\r
-                               nEventX = gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth - 20;\r
-                       }\r
-               } else {\r
-                       nEventX += 20;\r
-               }\r
-               layerPopup.style.top = nEventY;\r
-               layerPopup.style.left = nEventX;\r
-\r
-               // set again to avoid the frash in netscape 6.\r
-               layerPopup.innerHTML = strMenu;\r
-               layerPopup.style.visibility = "visible";\r
-               window.onclick = PopupMenu_HandleClick;\r
-       } \r
-\r
-       window.gbPopupMenuTimeoutExpired = false;\r
-       setTimeout("PopupMenu_Timeout();", 100);\r
-       return false;\r
-}\r
-\r
-function PopupMenu_Timeout()\r
-{\r
-       window.gbPopupMenuTimeoutExpired = true;\r
-}\r
-\r
-function PopupMenu_Over(e)\r
-{\r
-       if (gbIE4||gbOpera7)\r
-               e.srcElement.className = "PopupOver";\r
-       else if (gbNav6)\r
-               e.target.parentNode.className = "PopupOver";\r
-}\r
-\r
-function PopupMenu_Out(e)\r
-{\r
-       if (gbIE4||gbOpera7)\r
-               e.srcElement.className = "PopupNotOver";\r
-       else if (gbNav6)\r
-               e.target.parentNode.className = "PopupNotOver";\r
-}\r
-\r
-function PopupMenu_2HandleClick(surl, starget)\r
-{\r
-       window.open(surl, starget);\r
-       goPopup.hide();\r
-}\r
-\r
-function PopupMenu_HandleClick(e)\r
-{\r
-       if (!window.gbPopupMenuTimeoutExpired) {\r
-               return;\r
-       }\r
-\r
-       var layerPopup = getElement("PopupMenu");\r
-       layerPopup.style.visibility = "hidden";\r
-\r
-       return;\r
-}\r
-\r
-//Get client size info\r
-function _BSPSGetClientSize()\r
-{\r
-       gBsClientWidth  = document.body.clientWidth;\r
-       gBsClientHeight = document.body.clientHeight;\r
-}\r
-\r
-if (window.gbWhIHost)\r
-{\r
-       setBackgroundcolor("White");\r
-       \r
-       setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Empty", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Hover", "Tahoma","8pt","Navy","Normal","Normal","underline");\r
-       setActiveBgColor("Silver");\r
-       \r
-       \r
-       IndexWriteClassStyle();\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</head>\r
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" scroll="auto" bgcolor="white">\r
-<script languageE="JavaScript">\r
-<!--\r
-WritePopupMenuLayer();\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
-\r
+<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>
+
index 945fdc8f00900237175dfa0d4574e1cfbdf1ae25..feb7b2b218053cae4fe30fb2ff0c84fdf1af55d4 100755 (executable)
@@ -1,30 +1,30 @@
-<html>\r
-<head>\r
-<title>Index</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gbIndexLayerInit = false;\r
-if (window.gbWhProxy&&window.gbWhMsg&&window.gbWhVer)\r
-{\r
-       var strWrite;\r
-       if (gbMac)\r
-               strWrite="<FRAMESET ROWS='45,100%' framespacing=0  frameborder=0>";\r
-       else\r
-               strWrite="<FRAMESET ROWS='60,100%' framespacing=0  frameborder=0>";\r
-       strWrite +="<FRAME SRC='whiform.htm' title='index form frame' name='idxform' noresize='yes' scrolling='no'>";\r
-       strWrite +="<FRAME SRC='whibody.htm' title='index content frame' name='idxbody' scrolling='yes'>";\r
-       strWrite +="</FRAMESET>";\r
-       document.write(strWrite);\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</html>\r
+<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>
index 76674d78dcf73bdabddd977e5f2dca0fab9eddae..ad8862182ecdbbc4fb8da13bd70e5546ad612c65 100755 (executable)
@@ -1,91 +1,91 @@
-<html>\r
-<head>\r
-<title>Index form</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<style>\r
-<!--\r
-body {margin:0;}\r
--->\r
-</style>\r
-<body bgcolor="#c0c0c0">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whform.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-function indexLookup(bCR)\r
-{\r
-       var strInput = document.IndexInputForm.keywordField.value.toUpperCase();\r
-       if (strInput != "") {\r
-               var oParam = new Object();\r
-               oParam.sInput = strInput;\r
-               oParam.bCR = bCR;\r
-               var oMessage = new whMessage(WH_MSG_SEARCHINDEXKEY, this, 1, oParam);\r
-               SendMessage(oMessage);\r
-       }\r
-       if (gbMac) {\r
-               document.IndexInputForm.keywordField.focus();\r
-       }\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this, WH_MSG_SHOWTOC);\r
-       UnRegisterListener2(this, WH_MSG_SHOWIDX);\r
-       UnRegisterListener2(this, WH_MSG_SHOWFTS);\r
-       UnRegisterListener2(this, WH_MSG_SHOWGLO);\r
-}\r
-\r
-function onSendMessage(oMessage)\r
-{\r
-       if (oMessage.nMessageId == WH_MSG_SHOWIDX)\r
-       {\r
-               document.IndexInputForm.keywordField.focus();\r
-       }\r
-       else if (oMessage.nMessageId == WH_MSG_SHOWFTS ||\r
-               oMessage.nMessageId == WH_MSG_SHOWTOC || \r
-               oMessage.nMessageId == WH_MSG_SHOWGLO)\r
-       {\r
-               document.IndexInputForm.keywordField.blur();\r
-       }\r
-       return true;\r
-}\r
-\r
-if (window.gbWhForm)\r
-{\r
-       RegisterListener2(this, WH_MSG_SHOWTOC);\r
-       RegisterListener2(this, WH_MSG_SHOWIDX);\r
-       RegisterListener2(this, WH_MSG_SHOWFTS);\r
-       RegisterListener2(this, WH_MSG_SHOWGLO);\r
-       window.onunload=window_Unload;\r
-       window.onload = init;\r
-       gfunLookUp = indexLookup;\r
-       gfunInit = null;\r
-       gstrFormName = "IndexInputForm"\r
-       gsTitle = "Type in the keyword to find:";\r
-       gsTitle = "Type in the keyword to find:";\r
-\r
-       setBackgroundcolor("White");\r
-       \r
-       setBtnType("none");\r
-       \r
-       \r
-       \r
-       setGoText("Go");\r
-       setFont("Title", "Tahoma","8pt","Navy","Normal","Normal","none");\r
-       \r
-       \r
-       document.write(getFormHTML());\r
-       writeFormStyle();\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</body>\r
+<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>
\ No newline at end of file
index 9aaf13a6a58483b1e15effca8b7f79775caccbba..d48c493ee68f60b4c5a8da21c1ddf39ab51874ce 100755 (executable)
-//     WebHelp 5.10.002\r
-var gsDefaultTarget="bsscright";\r
-var gsBgColor="#ffffff";\r
-var gsBgImage="";\r
-var goIdxFont=null;\r
-var goIdxEmptyFont=null;\r
-var goIdxHoverFont=null;\r
-var gsIdxMargin="0pt";\r
-var gsIdxIndent="8pt";\r
-var gsIdxActiveBgColor="#cccccc";\r
-var gsCK = null;\r
-var gsBCK = null;\r
-var gbCR = false;\r
-var gbBCR = false;\r
-var gbWhIHost=true;\r
-\r
-function myEvent()\r
-{\r
-       this.pageX = 0;\r
-       this.pageY = 0;\r
-}\r
-var _event=new myEvent();\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if(sType=="Normal")\r
-               goIdxFont=vFont;\r
-       else if(sType=="Empty")\r
-               goIdxEmptyFont=vFont;\r
-       else if(sType=="Hover")\r
-               goIdxHoverFont=vFont;\r
-}\r
-\r
-function setActiveBgColor(sBgColor)\r
-{\r
-       gsIdxActiveBgColor=sBgColor;\r
-}\r
-\r
-function setMargin(sMargin)\r
-{\r
-       gsIdxMargin=sMargin;\r
-}\r
-\r
-function setIndent(sIndent)\r
-{\r
-       gsIdxIndent=sIndent;\r
-}\r
-\r
-function writeOneItem(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)\r
-{\r
-       var sHTML="";\r
-       var nIdxSet=aCurIdxSet[0];\r
-       var nIIdx=aPos[nIdxSet];\r
-       var sKOriName=getItemName(aDataCon,nIdxSet,nIIdx);\r
-       var sKName=_textToHtml(sKOriName);\r
-\r
-       var nIdxIndent=parseInt(gsIdxIndent);\r
-       var sTopics="";\r
-       if(nLevel==1){\r
-               if(getItemType(aDataCon,nIdxSet,nIIdx)==1)\r
-               {\r
-                       sHTML+="<H6><nobr>";\r
-                       sHTML+="<b>"+sKName+"</b></nobr></H6>";\r
-               }\r
-               else{\r
-                       for(var i=0;i<nLength;i++)\r
-                               sTopics+=getIdxTopics(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);\r
-                       sHTML+="<p style=\"margin-left:"+gsIdxIndent+"\"><nobr>";\r
-                       sHTML+="<a alt=\"" + sKName + "\" href=\"javascript:void(0);\" onfocus=\"clearHighLight();\" onclick=\"PopupMenu_Invoke(event,'"+excapeSingleQuotandSlash(getTargetName(aDataCon,nIdxSet,nIIdx))+"'";\r
-                       if(sTopics.length>0)\r
-                               sHTML+=sTopics+");return false;\">"+sKName+"</a></nobr></p>";\r
-                       else\r
-                               sHTML+=");return false;\" style=\""+getFontStyle(goIdxEmptyFont)+"\">"+sKName+"</a></nobr></p>";\r
-               }\r
-       }\r
-       else if(nLevel>=2){\r
-               var nIndent=nIdxIndent*nLevel;\r
-               for(var i=0;i<nLength;i++)\r
-                       sTopics+=getIdxTopics(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);\r
-               if (nLevel==2)\r
-                       sHTML+="<h6 class=\"firstsub\" style=\"margin-left:"+nIndent+"pt\"><nobr>";\r
-               else\r
-                       sHTML+="<h6 style=\"margin-left:"+nIndent+"pt\"><nobr>";\r
-               sHTML+="<a alt=\"" + sKName + "\" href=\"javascript:void(0);\" onfocus=\"clearHighLight();\" onclick=\"PopupMenu_Invoke(event,'"+excapeSingleQuotandSlash(getTargetName(aDataCon,nIdxSet,nIIdx))+"'";\r
-               if(sTopics.length>0)\r
-                       sHTML+=sTopics+");return false;\">"+sKName+"</a></nobr></h6>";\r
-               else\r
-                       sHTML+=");return false;\" style=\""+getFontStyle(goIdxEmptyFont)+"\">"+sKName+"</a></nobr></h6>";\r
-       }\r
-       oHTML.addHTML(sHTML,nLength,bDown,(nLevel==1),sKOriName);\r
-}\r
-\r
-function getTargetName(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               if(aDataCon[nIdxSet].aKs[nIIdx].sTarget)\r
-                       return aDataCon[nIdxSet].aKs[nIIdx].sTarget;\r
-       return gsDefaultTarget;\r
-}\r
-\r
-function mergeItems(oHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel)\r
-{\r
-       var oLocalHTML=new indexHTMLPart();\r
-       writeOneItem(oLocalHTML,bDown,aDataCon,aCurIdxSet,nLength,aPos,nLevel);\r
-       \r
-       var aLocalPos=new Array();\r
-       var aMaxPos=new Array();\r
-       for(var i=0;i<aPos.length;i++)\r
-       {\r
-               aLocalPos[i]=aPos[i];\r
-               aMaxPos[i]=-1;\r
-       }\r
-       \r
-       for(i=0;i<nLength;i++)\r
-       {\r
-               var nNKOff=getNKOff(aDataCon,aCurIdxSet[i],aLocalPos[aCurIdxSet[i]]);\r
-               aLocalPos[aCurIdxSet[i]]++;\r
-               if(nNKOff>0)\r
-                       aMaxPos[aCurIdxSet[i]]=aLocalPos[aCurIdxSet[i]]+nNKOff;\r
-       }\r
-       var oSubHTML=new indexHTMLPart();\r
-       writeItems(oSubHTML,aDataCon,aLocalPos,null,aMaxPos,true,nLevel+1);\r
-       oLocalHTML.addSubHTML(oSubHTML,true);\r
-       oHTML.appendHTML(oLocalHTML,bDown);\r
-}\r
-\r
-function adjustPosition(bDown,aDataCon,aCurIdxSet,nLength,aPos)\r
-{\r
-       if(bDown)\r
-       {\r
-               for(var i=0;i<nLength;i++)\r
-               {\r
-                       var nNKOff=getNKOff(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);\r
-                       aPos[aCurIdxSet[i]]+=(1+nNKOff);\r
-               }\r
-       }\r
-       else{\r
-               for(var i=0;i<nLength;i++)\r
-               {\r
-                       var nPKOff=getPKOff(aDataCon,aCurIdxSet[i],aPos[aCurIdxSet[i]]);\r
-                       aPos[aCurIdxSet[i]]-=(1+nPKOff);\r
-               }\r
-       }\r
-}\r
-\r
-function getItemName(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].sName;\r
-       else\r
-               return null;\r
-}\r
-\r
-function getItemType(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].nType;\r
-       else\r
-               return 0;\r
-}\r
-\r
-function getNKOff(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].nNKOff;\r
-       else\r
-               return null;\r
-}\r
-\r
-function getPKOff(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-               return aDataCon[nIdxSet].aKs[nIIdx].nPKOff;\r
-       else\r
-               return null;\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-       {\r
-               document.body.background=gsBgImage;\r
-       }\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-       {\r
-               document.body.bgColor=gsBgColor;\r
-       }\r
-       document.body.insertAdjacentHTML("beforeEnd",writeLoadingDiv());\r
-       loadIdx();\r
-       var oMsg=new whMessage(WH_MSG_SHOWIDX,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function loadIdx()\r
-{\r
-       if(!gbReady)\r
-       {\r
-               var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);\r
-               if(SendMessage(oResMsg)&&oResMsg.oParam)\r
-               {\r
-                       gbReady=true;\r
-                       var oProj=oResMsg.oParam;\r
-                       var aProj=oProj.aProj;\r
-                       gbXML=oProj.bXML;\r
-                       if(aProj.length>0)\r
-                       {\r
-                               var sLangId=aProj[0].sLangId;\r
-                               for(var i=0;i<aProj.length;i++)\r
-                               {\r
-                                       if(aProj[i].sIdx&&aProj[i].sLangId==sLangId)\r
-                                       {\r
-                                               addProjInfo(aProj[i].sPPath,aProj[i].sDPath,aProj[i].sIdx);\r
-                                       }\r
-                               }\r
-                       }\r
-                       writeDataIFrame();\r
-                       enEvt();\r
-               }               \r
-       }\r
-}\r
-\r
-function getIdxTopics(aDataCon,nIdxSet,nIIdx)\r
-{\r
-       var sTopics="";\r
-       if(nIdxSet<aDataCon.length&&aDataCon[nIdxSet].aKs.length>nIIdx)\r
-       {\r
-               if(aDataCon[nIdxSet].aKs[nIIdx].aTopics)\r
-               {\r
-                       var nLen=aDataCon[nIdxSet].aKs[nIIdx].aTopics.length;\r
-                       var nProj=aDataCon[nIdxSet].nProjId;\r
-                       var sPath=gaData[nProj].sPPath;\r
-                       for(var i=0;i<nLen;i++)\r
-                       {\r
-                               var sURL=aDataCon[nIdxSet].aKs[nIIdx].aTopics[i].sURL;\r
-                               var sFullPath=_getFullPath(sPath,sURL);\r
-                               sTopics+=",'"+excapeSingleQuotandSlash(_textToHtml(aDataCon[nIdxSet].aKs[nIIdx].aTopics[i].sName))+"','"+excapeSingleQuotandSlash(_textToHtml_nonbsp(sFullPath))+"'";\r
-                       }\r
-               }\r
-       }\r
-       return sTopics;         \r
-}\r
-\r
-function findCKInDom()\r
-{\r
-       if(gsCK!=null)\r
-       {\r
-               var sK=gsCK;\r
-               var oP=getElementsByTag(document,"P");\r
-               if(!oP) return false;\r
-               var len=oP.length;\r
-               var nB=0;\r
-               var nE=len-1;\r
-               var nM=0;\r
-               var sItem="";\r
-               var bF=false;\r
-               while(nB<nE){\r
-                       nM=(nB+nE+1)>>1;\r
-                       sItem=getInnerText(oP[nM]);\r
-                       \r
-                       if(compare(sItem,sK)==0)\r
-                       {\r
-                               bF=true;\r
-                               break;\r
-                       }\r
-                       else if(compare(sItem,sK)>0)\r
-                               nE=nM-1;\r
-                       else if(compare(sItem,sK)<0)\r
-                               nB=nM;\r
-               }\r
-               if(!bF)\r
-               {\r
-                       if(nB==nE) nM=nB;\r
-               \r
-                       if(nM+1<len)\r
-                       {\r
-                               sItem=getInnerText(oP[nM+1]);\r
-                               if(compare(sItem,sK)<=0) nM++;\r
-                       }                       \r
-                       if(nM+1<len)\r
-                       {\r
-                               sItem=getInnerText(oP[nM+1]);\r
-                               if(compare(sItem.substring(0,sK.length),sK)==0) nM++;\r
-                       }                       \r
-               }\r
-       \r
-               var oMatch=oP[nM];\r
-               if(oMatch)\r
-               {\r
-                       window.scrollTo(0,oMatch.offsetTop);\r
-                       var tempColl=getElementsByTag(oMatch,"A");\r
-                       if(tempColl&&tempColl.length>0){\r
-                               var nbTag=getElementsByTag(oMatch,"NOBR");\r
-                               if(nbTag&&nbTag.length>0)\r
-                                       HighLightElement(nbTag[0], gsIdxActiveBgColor, "transparent");\r
-                               if (gbCR)\r
-                               {\r
-                                       if (gbIE4)\r
-                                               tempColl(0).click();\r
-                                       else\r
-                                       {\r
-                                               var strCommand = tempColl[0].getAttribute("onClick");\r
-                                               var nstrCommand = strCommand.indexOf(";");\r
-                                               strCommand = strCommand.substring(0, nstrCommand);\r
-                                               strCommand = strCommand.replace("event", "_event");\r
-                                               window._event.pageX = oMatch.offsetLeft ;\r
-                                               window._event.pageY = oMatch.offsetTop + 20;\r
-                                               window.setTimeout(strCommand, 100);\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-               gsCK=gsBCK;\r
-               gbCR=gbBCR;\r
-               if(gsBCK!=null)\r
-               {\r
-                       gsBCK=null;\r
-                       gbBCR=false;\r
-                       findCK();\r
-                       return false;\r
-               }\r
-               \r
-       }\r
-       return true;\r
-}\r
-\r
-function clearHighLight()\r
-{\r
-       resetHighLight(gsBgColor);\r
-}\r
-\r
-function IndexWriteClassStyle()\r
-{\r
-       var sStyle="";\r
-       sStyle+="<STYLE TYPE='text/css'>";\r
-       if (gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       if(gbIE4&&gbMac&&!gbIE5)\r
-       {\r
-               var nMargin=parseInt(gsIdxMargin);\r
-               nMargin-=10;\r
-               sStyle+="P {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";\r
-               sStyle+="H6 {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";\r
-               sStyle+="H6.firstsub {"+getFontStyle(goIdxFont)+"margin-top:"+nMargin+"pt;margin-bottom:"+gsIdxMargin+";}\n";\r
-       }\r
-       else\r
-       {\r
-               sStyle+="P {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";\r
-               sStyle+="H6 {"+getFontStyle(goIdxFont)+"margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";\r
-       }\r
-       sStyle+="DIV {margin-top:"+gsIdxMargin+";margin-bottom:"+gsIdxMargin+";}\n";\r
-       sStyle+="A:link {"+getFontStyle(goIdxFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goIdxFont)+"}\n";\r
-       sStyle+="A:active {background-color:"+gsIdxActiveBgColor+";}\n";\r
-       sStyle+="A:hover {"+getFontStyle(goIdxHoverFont)+"}\n";\r
-       sStyle+="</STYLE>";     \r
-       document.write(sStyle);\r
-       return;\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       UnRegisterListener2(this,WH_MSG_SEARCHINDEXKEY);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if(oMsg)\r
-       {\r
-               var nMsgId=oMsg.nMessageId;\r
-               if(nMsgId==WH_MSG_SEARCHINDEXKEY)\r
-               {\r
-                       if(oMsg.oParam && oMsg.oParam.sInput)\r
-                       {\r
-                               if(gsCK==null)\r
-                               {\r
-                                       gsCK=oMsg.oParam.sInput;\r
-                                       gbCR = oMsg.oParam.bCR;\r
-                                       findCK();\r
-                               }\r
-                               else\r
-                               {\r
-                                       gsBCK=oMsg.oParam.sInput;\r
-                                       gbBCR = oMsg.oParam.bCR;\r
-                               }\r
-                       }\r
-               }\r
-               else if(nMsgId==WH_MSG_PROJECTREADY)\r
-               {\r
-                       loadIdx();\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-if(window.gbWhVer&&window.gbWhLang&&window.gbWhMsg&&window.gbWhUtil&&window.gbWhHost&&window.gbWhProxy)\r
-{\r
-       RegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       RegisterListener2(this,WH_MSG_SEARCHINDEXKEY);\r
-       goIdxFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-       goIdxEmptyFont=new whFont("Verdana","8pt","#666666","normal","normal","none");\r
-       goIdxHoverFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");\r
-\r
-       window.onload=window_OnLoad;\r
-       window.onbeforeunload=window_BUnload;\r
-       window.onunload=window_Unload;\r
-       gbWhIHost=true;\r
-}\r
-else\r
-       document.location.reload();\r
-\r
+//     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();
+
index 870be0e1797d103cd99157099909f76c3e6ce6ef..fb848c513274e8a876c506cb98aca023a8b9cd27 100755 (executable)
-//     WebHelp 5.10.001\r
-var garrSortChar=new Array();\r
-var gaFtsStop=new Array();\r
-var gaFtsStem=new Array();\r
-var gbWhLang=false;\r
-\r
-garrSortChar[0] = 0;\r
-garrSortChar[1] = 1;\r
-garrSortChar[2] = 2;\r
-garrSortChar[3] = 3;\r
-garrSortChar[4] = 4;\r
-garrSortChar[5] = 5;\r
-garrSortChar[6] = 6;\r
-garrSortChar[7] = 7;\r
-garrSortChar[8] = 8;\r
-garrSortChar[9] = 40;\r
-garrSortChar[10] = 41;\r
-garrSortChar[11] = 42;\r
-garrSortChar[12] = 43;\r
-garrSortChar[13] = 44;\r
-garrSortChar[14] = 9;\r
-garrSortChar[15] = 10;\r
-garrSortChar[16] = 11;\r
-garrSortChar[17] = 12;\r
-garrSortChar[18] = 13;\r
-garrSortChar[19] = 14;\r
-garrSortChar[20] = 15;\r
-garrSortChar[21] = 16;\r
-garrSortChar[22] = 17;\r
-garrSortChar[23] = 18;\r
-garrSortChar[24] = 19;\r
-garrSortChar[25] = 20;\r
-garrSortChar[26] = 21;\r
-garrSortChar[27] = 22;\r
-garrSortChar[28] = 23;\r
-garrSortChar[29] = 24;\r
-garrSortChar[30] = 25;\r
-garrSortChar[31] = 26;\r
-garrSortChar[32] = 38;\r
-garrSortChar[33] = 45;\r
-garrSortChar[34] = 46;\r
-garrSortChar[35] = 47;\r
-garrSortChar[36] = 48;\r
-garrSortChar[37] = 49;\r
-garrSortChar[38] = 50;\r
-garrSortChar[39] = 33;\r
-garrSortChar[40] = 51;\r
-garrSortChar[41] = 52;\r
-garrSortChar[42] = 53;\r
-garrSortChar[43] = 88;\r
-garrSortChar[44] = 54;\r
-garrSortChar[45] = 34;\r
-garrSortChar[46] = 55;\r
-garrSortChar[47] = 56;\r
-garrSortChar[48] = 115;\r
-garrSortChar[49] = 119;\r
-garrSortChar[50] = 121;\r
-garrSortChar[51] = 123;\r
-garrSortChar[52] = 125;\r
-garrSortChar[53] = 126;\r
-garrSortChar[54] = 127;\r
-garrSortChar[55] = 128;\r
-garrSortChar[56] = 129;\r
-garrSortChar[57] = 130;\r
-garrSortChar[58] = 57;\r
-garrSortChar[59] = 58;\r
-garrSortChar[60] = 89;\r
-garrSortChar[61] = 90;\r
-garrSortChar[62] = 91;\r
-garrSortChar[63] = 59;\r
-garrSortChar[64] = 60;\r
-garrSortChar[65] = 131;\r
-garrSortChar[66] = 148;\r
-garrSortChar[67] = 150;\r
-garrSortChar[68] = 154;\r
-garrSortChar[69] = 158;\r
-garrSortChar[70] = 168;\r
-garrSortChar[71] = 171;\r
-garrSortChar[72] = 173;\r
-garrSortChar[73] = 175;\r
-garrSortChar[74] = 185;\r
-garrSortChar[75] = 187;\r
-garrSortChar[76] = 189;\r
-garrSortChar[77] = 191;\r
-garrSortChar[78] = 193;\r
-garrSortChar[79] = 197;\r
-garrSortChar[80] = 214;\r
-garrSortChar[81] = 216;\r
-garrSortChar[82] = 218;\r
-garrSortChar[83] = 220;\r
-garrSortChar[84] = 225;\r
-garrSortChar[85] = 230;\r
-garrSortChar[86] = 240;\r
-garrSortChar[87] = 242;\r
-garrSortChar[88] = 244;\r
-garrSortChar[89] = 246;\r
-garrSortChar[90] = 252;\r
-garrSortChar[91] = 61;\r
-garrSortChar[92] = 62;\r
-garrSortChar[93] = 63;\r
-garrSortChar[94] = 64;\r
-garrSortChar[95] = 66;\r
-garrSortChar[96] = 67;\r
-garrSortChar[97] = 131;\r
-garrSortChar[98] = 148;\r
-garrSortChar[99] = 150;\r
-garrSortChar[100] = 154;\r
-garrSortChar[101] = 158;\r
-garrSortChar[102] = 168;\r
-garrSortChar[103] = 171;\r
-garrSortChar[104] = 173;\r
-garrSortChar[105] = 175;\r
-garrSortChar[106] = 185;\r
-garrSortChar[107] = 187;\r
-garrSortChar[108] = 189;\r
-garrSortChar[109] = 191;\r
-garrSortChar[110] = 193;\r
-garrSortChar[111] = 197;\r
-garrSortChar[112] = 214;\r
-garrSortChar[113] = 216;\r
-garrSortChar[114] = 218;\r
-garrSortChar[115] = 220;\r
-garrSortChar[116] = 225;\r
-garrSortChar[117] = 230;\r
-garrSortChar[118] = 240;\r
-garrSortChar[119] = 242;\r
-garrSortChar[120] = 244;\r
-garrSortChar[121] = 246;\r
-garrSortChar[122] = 252;\r
-garrSortChar[123] = 68;\r
-garrSortChar[124] = 69;\r
-garrSortChar[125] = 70;\r
-garrSortChar[126] = 71;\r
-garrSortChar[127] = 27;\r
-garrSortChar[128] = 114;\r
-garrSortChar[129] = 28;\r
-garrSortChar[130] = 82;\r
-garrSortChar[131] = 170;\r
-garrSortChar[132] = 85;\r
-garrSortChar[133] = 112;\r
-garrSortChar[134] = 109;\r
-garrSortChar[135] = 110;\r
-garrSortChar[136] = 65;\r
-garrSortChar[137] = 113;\r
-garrSortChar[138] = 223;\r
-garrSortChar[139] = 86;\r
-garrSortChar[140] = 213;\r
-garrSortChar[141] = 29;\r
-garrSortChar[142] = 255;\r
-garrSortChar[143] = 30;\r
-garrSortChar[144] = 31;\r
-garrSortChar[145] = 80;\r
-garrSortChar[146] = 81;\r
-garrSortChar[147] = 83;\r
-garrSortChar[148] = 84;\r
-garrSortChar[149] = 111;\r
-garrSortChar[150] = 36;\r
-garrSortChar[151] = 37;\r
-garrSortChar[152] = 79;\r
-garrSortChar[153] = 229;\r
-garrSortChar[154] = 222;\r
-garrSortChar[155] = 87;\r
-garrSortChar[156] = 212;\r
-garrSortChar[157] = 32;\r
-garrSortChar[158] = 254;\r
-garrSortChar[159] = 251;\r
-garrSortChar[160] = 39;\r
-garrSortChar[161] = 72;\r
-garrSortChar[162] = 97;\r
-garrSortChar[163] = 98;\r
-garrSortChar[164] = 99;\r
-garrSortChar[165] = 100;\r
-garrSortChar[166] = 73;\r
-garrSortChar[167] = 101;\r
-garrSortChar[168] = 74;\r
-garrSortChar[169] = 102;\r
-garrSortChar[170] = 133;\r
-garrSortChar[171] = 93;\r
-garrSortChar[172] = 103;\r
-garrSortChar[173] = 35;\r
-garrSortChar[174] = 104;\r
-garrSortChar[175] = 75;\r
-garrSortChar[176] = 105;\r
-garrSortChar[177] = 92;\r
-garrSortChar[178] = 122;\r
-garrSortChar[179] = 124;\r
-garrSortChar[180] = 76;\r
-garrSortChar[181] = 106;\r
-garrSortChar[182] = 107;\r
-garrSortChar[183] = 108;\r
-garrSortChar[184] = 77;\r
-garrSortChar[185] = 120;\r
-garrSortChar[186] = 199;\r
-garrSortChar[187] = 94;\r
-garrSortChar[188] = 116;\r
-garrSortChar[189] = 117;\r
-garrSortChar[190] = 118;\r
-garrSortChar[191] = 78;\r
-garrSortChar[192] = 131;\r
-garrSortChar[193] = 131;\r
-garrSortChar[194] = 131;\r
-garrSortChar[195] = 131;\r
-garrSortChar[196] = 131;\r
-garrSortChar[197] = 131;\r
-garrSortChar[198] = 131;\r
-garrSortChar[199] = 150;\r
-garrSortChar[200] = 158;\r
-garrSortChar[201] = 158;\r
-garrSortChar[202] = 158;\r
-garrSortChar[203] = 158;\r
-garrSortChar[204] = 175;\r
-garrSortChar[205] = 175;\r
-garrSortChar[206] = 175;\r
-garrSortChar[207] = 175;\r
-garrSortChar[208] = 154;\r
-garrSortChar[209] = 193;\r
-garrSortChar[210] = 197;\r
-garrSortChar[211] = 197;\r
-garrSortChar[212] = 197;\r
-garrSortChar[213] = 197;\r
-garrSortChar[214] = 197;\r
-garrSortChar[215] = 95;\r
-garrSortChar[216] = 197;\r
-garrSortChar[217] = 230;\r
-garrSortChar[218] = 230;\r
-garrSortChar[219] = 230;\r
-garrSortChar[220] = 230;\r
-garrSortChar[221] = 246;\r
-garrSortChar[222] = 227;\r
-garrSortChar[223] = 224;\r
-garrSortChar[224] = 131;\r
-garrSortChar[225] = 131;\r
-garrSortChar[226] = 131;\r
-garrSortChar[227] = 131;\r
-garrSortChar[228] = 131;\r
-garrSortChar[229] = 131;\r
-garrSortChar[230] = 131;\r
-garrSortChar[231] = 150;\r
-garrSortChar[232] = 158;\r
-garrSortChar[233] = 158;\r
-garrSortChar[234] = 158;\r
-garrSortChar[235] = 158;\r
-garrSortChar[236] = 175;\r
-garrSortChar[237] = 175;\r
-garrSortChar[238] = 175;\r
-garrSortChar[239] = 175;\r
-garrSortChar[240] = 154;\r
-garrSortChar[241] = 193;\r
-garrSortChar[242] = 197;\r
-garrSortChar[243] = 197;\r
-garrSortChar[244] = 197;\r
-garrSortChar[245] = 197;\r
-garrSortChar[246] = 197;\r
-garrSortChar[247] = 96;\r
-garrSortChar[248] = 197;\r
-garrSortChar[249] = 230;\r
-garrSortChar[250] = 230;\r
-garrSortChar[251] = 230;\r
-garrSortChar[252] = 230;\r
-garrSortChar[253] = 246;\r
-garrSortChar[254] = 227;\r
-garrSortChar[255] = 250;\r
-\r
-gaFtsStop[0] = "a";\r
-gaFtsStop[1] = "about";\r
-gaFtsStop[2] = "after";\r
-gaFtsStop[3] = "against";\r
-gaFtsStop[4] = "all";\r
-gaFtsStop[5] = "also";\r
-gaFtsStop[6] = "among";\r
-gaFtsStop[7] = "an";\r
-gaFtsStop[8] = "and";\r
-gaFtsStop[9] = "are";\r
-gaFtsStop[10] = "as";\r
-gaFtsStop[11] = "at";\r
-gaFtsStop[12] = "be";\r
-gaFtsStop[13] = "became";\r
-gaFtsStop[14] = "because";\r
-gaFtsStop[15] = "been";\r
-gaFtsStop[16] = "between";\r
-gaFtsStop[17] = "but";\r
-gaFtsStop[18] = "by";\r
-gaFtsStop[19] = "can";\r
-gaFtsStop[20] = "come";\r
-gaFtsStop[21] = "do";\r
-gaFtsStop[22] = "during";\r
-gaFtsStop[23] = "each";\r
-gaFtsStop[24] = "early";\r
-gaFtsStop[25] = "for";\r
-gaFtsStop[26] = "form";\r
-gaFtsStop[27] = "found";\r
-gaFtsStop[28] = "from";\r
-gaFtsStop[29] = "had";\r
-gaFtsStop[30] = "has";\r
-gaFtsStop[31] = "have";\r
-gaFtsStop[32] = "he";\r
-gaFtsStop[33] = "her";\r
-gaFtsStop[34] = "his";\r
-gaFtsStop[35] = "however";\r
-gaFtsStop[36] = "in";\r
-gaFtsStop[37] = "include";\r
-gaFtsStop[38] = "into";\r
-gaFtsStop[39] = "is";\r
-gaFtsStop[40] = "it";\r
-gaFtsStop[41] = "its";\r
-gaFtsStop[42] = "late";\r
-gaFtsStop[43] = "later";\r
-gaFtsStop[44] = "made";\r
-gaFtsStop[45] = "many";\r
-gaFtsStop[46] = "may";\r
-gaFtsStop[47] = "me";\r
-gaFtsStop[48] = "med";\r
-gaFtsStop[49] = "more";\r
-gaFtsStop[50] = "most";\r
-gaFtsStop[51] = "near";\r
-gaFtsStop[52] = "no";\r
-gaFtsStop[53] = "non";\r
-gaFtsStop[54] = "not";\r
-gaFtsStop[55] = "of";\r
-gaFtsStop[56] = "on";\r
-gaFtsStop[57] = "only";\r
-gaFtsStop[58] = "or";\r
-gaFtsStop[59] = "other";\r
-gaFtsStop[60] = "over";\r
-gaFtsStop[61] = "several";\r
-gaFtsStop[62] = "she";\r
-gaFtsStop[63] = "some";\r
-gaFtsStop[64] = "such";\r
-gaFtsStop[65] = "than";\r
-gaFtsStop[66] = "that";\r
-gaFtsStop[67] = "the";\r
-gaFtsStop[68] = "their";\r
-gaFtsStop[69] = "then";\r
-gaFtsStop[70] = "there";\r
-gaFtsStop[71] = "these";\r
-gaFtsStop[72] = "they";\r
-gaFtsStop[73] = "this";\r
-gaFtsStop[74] = "through";\r
-gaFtsStop[75] = "to";\r
-gaFtsStop[76] = "under";\r
-gaFtsStop[77] = "until";\r
-gaFtsStop[78] = "use";\r
-gaFtsStop[79] = "was";\r
-gaFtsStop[80] = "we";\r
-gaFtsStop[81] = "were";\r
-gaFtsStop[82] = "when";\r
-gaFtsStop[83] = "where";\r
-gaFtsStop[84] = "which";\r
-gaFtsStop[85] = "who";\r
-gaFtsStop[86] = "with";\r
-gaFtsStop[87] = "you";\r
-\r
-gaFtsStem[0] = "ed";\r
-gaFtsStem[1] = "es";\r
-gaFtsStem[2] = "er";\r
-gaFtsStem[3] = "e";\r
-gaFtsStem[4] = "s";\r
-gaFtsStem[5] = "ingly";\r
-gaFtsStem[6] = "ing";\r
-gaFtsStem[7] = "ly";\r
-\r
-\r
-// as javascript 1.3 support unicode instead of ISO-Latin-1\r
-// need to transfer come code back to ISO-Latin-1 for compare purpose\r
-// Note: Different Language(Code page) maybe need different array:\r
-var gaUToC=new Array();\r
-gaUToC[8364]=128;\r
-gaUToC[8218]=130;\r
-gaUToC[402]=131;\r
-gaUToC[8222]=132;\r
-gaUToC[8230]=133;\r
-gaUToC[8224]=134;\r
-gaUToC[8225]=135;\r
-gaUToC[710]=136;\r
-gaUToC[8240]=137;\r
-gaUToC[352]=138;\r
-gaUToC[8249]=139;\r
-gaUToC[338]=140;\r
-gaUToC[381]=142;\r
-gaUToC[8216]=145;\r
-gaUToC[8217]=146;\r
-gaUToC[8220]=147;\r
-gaUToC[8221]=148;\r
-gaUToC[8226]=149;\r
-gaUToC[8211]=150;\r
-gaUToC[8212]=151;\r
-gaUToC[732]=152;\r
-gaUToC[8482]=153;\r
-gaUToC[353]=154;\r
-gaUToC[8250]=155;\r
-gaUToC[339]=156;\r
-gaUToC[382]=158;\r
-gaUToC[376]=159;\r
-\r
-var gsBiggestChar="";\r
-function getBiggestChar()\r
-{\r
-       if(gsBiggestChar.length==0)\r
-       {\r
-               if(garrSortChar.length<256)\r
-                       gsBiggestChar=String.fromCharCode(255);\r
-               else\r
-               {\r
-                       var nBiggest=0;\r
-                       var nBigChar=0;\r
-                       for(var i=0;i<=255;i++)\r
-                       {\r
-                               if(garrSortChar[i]>nBiggest)\r
-                               {\r
-                                       nBiggest=garrSortChar[i];\r
-                                       nBigChar=i;\r
-                               }\r
-                       }\r
-                       gsBiggestChar=String.fromCharCode(nBigChar);\r
-               }\r
-\r
-       }       \r
-       return gsBiggestChar;\r
-}\r
-\r
-function getCharCode(str,i)\r
-{\r
-       var code=str.charCodeAt(i)\r
-       if(code>256)\r
-       {\r
-               code=gaUToC[code];\r
-       }\r
-       return code;\r
-}\r
-\r
-function compare(strText1,strText2)\r
-{\r
-       if(garrSortChar.length<256)\r
-       {\r
-               var strt1=strText1.toLowerCase();\r
-               var strt2=strText2.toLowerCase();\r
-               if(strt1<strt2) return -1;\r
-               if(strt1>strt2) return 1;\r
-               return 0;\r
-       }\r
-       else\r
-       {\r
-               for(var i=0;i<strText1.length&&i<strText2.length;i++)\r
-               {\r
-                       if(garrSortChar[getCharCode(strText1,i)]<garrSortChar[getCharCode(strText2,i)]) return -1;\r
-                       if(garrSortChar[getCharCode(strText1,i)]>garrSortChar[getCharCode(strText2,i)]) return 1;\r
-               }\r
-               if(strText1.length<strText2.length) return -1;\r
-               if(strText1.length>strText2.length) return 1;\r
-               return 0;\r
-       }\r
-}\r
+//     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
index 84c6de1ed099d2dd70ad4d305042e2d12071cf96..8fd89b275adc5dea855441dd2f34ccfcf5dd798e 100755 (executable)
@@ -1,67 +1,67 @@
-//     WebHelp 5.10.002\r
-if (! window.gbIE4 && window.gbNav6 && !document.childNodes[0].insertAdjacentHTML){\r
-\r
-HTMLElement.prototype.insertAdjacentElement = function(where,parsedNode)\r
-{\r
-       switch (where){\r
-       case 'beforeBegin':\r
-               this.parentNode.insertBefore(parsedNode,this);\r
-               break;\r
-       case 'afterBegin':\r
-               this.insertBefore(parsedNode,this.firstChild);\r
-               break;\r
-       case 'beforeEnd':\r
-               this.appendChild(parsedNode);\r
-               break;\r
-       case 'afterEnd':\r
-               if (this.nextSibling){\r
-               this.parentNode.insertBefore(parsedNode,this.nextSibling);\r
-               } else {\r
-               this.parentNode.appendChild(parsedNode);\r
-               }\r
-               break;\r
-       }\r
-}\r
-\r
-HTMLElement.prototype.insertAdjacentHTML = function(where,htmlStr){\r
-\r
-       var r = this.ownerDocument.createRange();\r
-       r.setStartBefore(this);\r
-       var parsedHTML = r.createContextualFragment(htmlStr);\r
-       this.insertAdjacentElement(where,parsedHTML);\r
-}\r
-\r
-\r
-HTMLElement.prototype.insertAdjacentText = function(where,txtStr){\r
-\r
-       var parsedText = document.createTextNode(txtStr);\r
-       this.insertAdjacentElement(where,parsedText);\r
-}\r
-}\r
-\r
-function testScroll() {\r
-       // Initialize scrollbar cache if necessary\r
-       if (window._pageXOffset==null) {\r
-               window._pageXOffset = window.pageXOffset;\r
-               window._pageYOffset = window.pageYOffset;\r
-       }\r
-       // Expose Internet Explorer compatible object model\r
-       document.scrollTop = window.pageYOffset;\r
-       document.scrollLeft = window.pageXOffset;\r
-       window.document.scrollHeight = document.height;\r
-       window.document.scrollWidth = document.width;\r
-       window.document.clientWidth = window.innerWidth;\r
-       window.document.clientHeight = window.innerHeight;\r
-\r
-       // If cache!=current values, call the onscroll event\r
-       if (((window.pageXOffset!=window._pageXOffset) || (window.pageYOffset!=window._pageYOffset)) && (window.onscroll)) \r
-               window.onscroll();\r
-       // Cache new values\r
-       window._pageXOffset = window.pageXOffset;\r
-       window._pageYOffset = window.pageYOffset;\r
-       }\r
-\r
-// Create compatibility layer for Netscape\r
-if (window.gbNav6 && !window.gbNav7) {\r
-       setInterval("testScroll()",50)\r
+//     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
index 52ffcd2434bf2df36d626d1ff365e71655d0a330..492114be77ad30b6523a70d327da0c6cee1eb403 100755 (executable)
@@ -1,69 +1,69 @@
-//     WebHelp 5.10.002\r
-var WH_MSG_RESIZEPANE          =0x0100;\r
-var WH_MSG_SHOWPANE                    =0x0101;\r
-var WH_MSG_HIDEPANE                    =0x0102;\r
-var WH_MSG_SYNCTOC                     =0x0103;\r
-var WH_MSG_NEXT                                =0x0104;\r
-var WH_MSG_PREV                                =0x0105;\r
-var WH_MSG_NOSEARCHINPUT       =0x0106;\r
-var WH_MSG_NOSYNC                      =0x0107;\r
-var WH_MSG_ENABLEWEBSEARCH     =0x0108;\r
-\r
-var WH_MSG_ISPANEVISIBLE       =0x0109;\r
-var WH_MSG_PANESTATUE          =0x010a;\r
-\r
-var    WH_MSG_SYNCINFO                 =0x010b;\r
-var WH_MSG_PANEINFO                    =0x010c;\r
-var WH_MSG_WEBSEARCH           =0x010d;\r
-\r
-var WH_MSG_SEARCHINDEXKEY      =0x0201;\r
-\r
-var WH_MSG_SEARCHFTSKEY        =0x020a;\r
-\r
-var WH_MSG_PROJECTREADY                =0x0301;\r
-var WH_MSG_GETPROJINFO                 =0x0302;\r
-\r
-var WH_MSG_SHOWTOC                     =0x0401;\r
-var WH_MSG_SHOWIDX                     =0x0402;\r
-var WH_MSG_SHOWFTS                     =0x0403;\r
-var WH_MSG_SHOWGLO                     =0x0404;\r
-\r
-var WH_MSG_SHOWGLODEF          =0x0500;\r
-\r
-var WH_MSG_GETTOCPATHS                 =0x0600;\r
-var WH_MSG_GETAVIAVENUES       =0x0601;\r
-var WH_MSG_GETCURRENTAVENUE =0x0602;\r
-var WH_MSG_GETPANEINFO         =0x0603;\r
-var WH_MSG_AVENUEINFO          =0x0604;\r
-\r
-var WH_MSG_GETSTARTFRAME       =0x0701;\r
-var WH_MSG_GETDEFAULTTOPIC     =0x0702;\r
-\r
-var WH_MSG_SEARCHTHIS          =0x0801;\r
-var WH_MSG_GETSEARCHS          =0x0802;\r
-\r
-var WH_MSG_ISINFRAMESET                =0x0900;\r
-\r
-var WH_MSG_TOOLBARORDER                =0x0a00;\r
-var WH_MSG_MINIBARORDER                =0x0a01;\r
-var WH_MSG_ISSYNCSSUPPORT      =0x0a02;\r
-var WH_MSG_ISSEARCHSUPPORT     =0x0a03;\r
-var WH_MSG_GETPANETYPE         =0x0a04;\r
-var WH_MSG_BACKUPSEARCH                =0x0a05;\r
-var WH_MSG_GETPANES                    =0x0a06;\r
-var WH_MSG_INITSEARCHSTRING =0x0a07;\r
-var WH_MSG_RELOADNS6           =0x0a08;\r
-var WH_MSG_ISAVENUESUPPORT     =0x0a09;\r
-\r
-var WH_MSG_GETCMD                      =0x0b00;\r
-var    WH_MSG_GETPANE                  =0x0b01;\r
-var WH_MSG_GETDEFPANE          =0x0b02;\r
-\r
-function whMessage(nMessageId,wSender,nVersion,oParam)\r
-{\r
-       this.nMessageId=nMessageId;\r
-       this.wSender=wSender;\r
-       this.nVersion=nVersion;\r
-       this.oParam=oParam;\r
-}\r
+//     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
index 2be1f1ee149c320df700af8d29a68ef11e1c7d65..59a0a4b0980dfa9122cfc840f9a2e223ceb298d7 100755 (executable)
@@ -1,25 +1,25 @@
-<html>\r
-<head>\r
-<title>GEOM reference manual</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whstub.js"></script>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whstart.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-function window_Onload()\r
-{\r
-       if (window.gsTopic)\r
-               frames["bsscright"].document.location = window.gsTopic;\r
-}\r
-window.onload=window_Onload;\r
-//-->\r
-</script>\r
-</head>\r
-\r
-<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="files/introduction_to_geom.htm" title="topic pane" name="bsscright" scrolling="yes"></frameset>\r
+<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>
\ No newline at end of file
index 9c91b49c89d9256b8a7f9800e800f12ebf0435df..b8f74f46fa24c370ec4e5ace7645f692c3313a2a 100755 (executable)
-//     WebHelp 5.10.005\r
-var gaProj=new Array();\r
-var gnChecked=0;\r
-var gsProjName="";\r
-var gbReady=false;\r
-var goMan=null;\r
-var gbXML=false;\r
-var gsFirstPane="";\r
-var gServerEnabled=false;\r
-var gsPath="";\r
-var gbWhPHost=false;\r
-var goDiv = null;\r
-var gsHTML = "";\r
-\r
-if (navigator.currentNavPen)\r
-       gsFirstPane = navigator.currentNavPen;\r
-\r
-\r
-function delayLoad()\r
-{\r
-       if (goDiv&&gsHTML)\r
-       {\r
-               goDiv.innerHTML=gsHTML;\r
-               goDiv=null;\r
-               gsHTML="";\r
-       }\r
-}\r
-\r
-function whCom(sName,sComFile)\r
-{\r
-       this.msName=sName;\r
-       this.msDivId=sName+"Div";\r
-       this.msIFrameId=sName+"IFrame";\r
-       this.msComFile=sComFile;\r
-       this.mbloaded=false;\r
-       this.mbShow=false;\r
-       this.show=function(bShow)\r
-       {\r
-               if(this.mbShow!=bShow)\r
-               {\r
-                       if(bShow&&!this.mbloaded)\r
-                       {\r
-                               this.load();\r
-                       }\r
-\r
-                       var oDiv=getElement(this.msDivId);\r
-                       if(oDiv)\r
-                       {\r
-                               if(gbIE55||(gbIE5&&gbMac))\r
-                               {\r
-                                       var oIframe=getElement(this.msIFrameId);\r
-                                       if(oIframe)\r
-                                       {\r
-                                               if(bShow)\r
-                                               {\r
-                                                       oDiv.style.zIndex=3;\r
-                                                       if(oIframe!=null)\r
-                                                       {\r
-                                                               oIframe.style.zIndex=3;\r
-                                                               if (!gbIE55)\r
-                                                                       oIframe.style.visibility="visible";\r
-                                                       }\r
-                                               }\r
-                                               else\r
-                                               {\r
-                                                       oDiv.style.zIndex=2;\r
-                                                       if(oIframe!=null)\r
-                                                       {\r
-                                                               oIframe.style.zIndex=2;\r
-                                                               if (!gbIE55)\r
-                                                                       oIframe.style.visibility="hidden";\r
-                                                       }\r
-                                               }\r
-                                       }\r
-                               }\r
-                               if (!gbIE55)\r
-                                       oDiv.style.visibility=(bShow==true)?'visible':'hidden';\r
-                               this.mbShow=bShow;\r
-                       }\r
-\r
-               }\r
-       }\r
-       this.load=function()\r
-       {\r
-               if(!this.mbloaded)\r
-               {\r
-                       if(this.msComFile.length>0){\r
-                               var strFile= _getFullPath(getPath(), this.msComFile);\r
-                               var oDiv=getElement(this.msDivId);\r
-                               if(oDiv){\r
-                                       if(gbIE4||gbOpera7){\r
-                                               var nIFrameHeight=oDiv.style.pixelHeight;\r
-                                               var nIFrameWidth=oDiv.style.pixelWidth;\r
-                                               var sHTML="<IFRAME ID="+this.msIFrameId+" title=\"" + this.msName + "\" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:";\r
-                                               if(gbMac){\r
-                                                       sHTML+=nIFrameWidth+"px;height:"+nIFrameHeight+"px;\"></IFRAME>";\r
-                                               }else{\r
-                                                       sHTML+="100%; height:100%;\"></IFRAME>";\r
-                                               }\r
-                                               oDiv.innerHTML=sHTML;\r
-                                       }else if(gbNav6){\r
-                                               gsHTML="<IFRAME ID="+this.msIFrameId+" title=\"" + this.msName + "\" SRC=\""+strFile+"\" BORDER=0 FRAMEBORDER=no STYLE=\"width:100%;border:0;height:100%;\"></IFRAME>";\r
-                                               goDiv = oDiv;\r
-                                               setTimeout("delayLoad()", 100);\r
-                                       }\r
-                                       this.mbloaded=true;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-       this.unload=function()\r
-       {\r
-               var oDiv=getElement(this.msDivId);\r
-               if(oDiv)\r
-                       oDiv.innerHTML="";\r
-       }\r
-       this.getDivHTML=function()\r
-       {\r
-               var sHTML="";\r
-               if(gbMac&&gbIE4)\r
-                       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;\">";\r
-               else if(gbIE5)\r
-                       sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;\">";\r
-               else if(gbIE4||gbWindows)\r
-                       sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;visibility:hidden\">";\r
-               else\r
-                       sHTML+="<DIV ID="+this.msDivId+" ALIGN=left STYLE=\"position:absolute;z-index:1;left:0;top:0;width:100%;height:"+parent.height+";visibility:hidden\">";\r
-               sHTML+="</DIV>";\r
-               return sHTML;\r
-       }\r
-}  \r
-\r
-function whComMan()\r
-{\r
-       this.sName="";\r
-       this.maCom=new Array();\r
-       this.addCom=function(sName,sComFile)\r
-       {\r
-               var owhCom=new whCom(sName,sComFile);\r
-               this.maCom[this.maCom.length]=owhCom;\r
-       }\r
-       this.init=function()\r
-       {\r
-               var sHTML="";\r
-               for(var i=0;i<this.maCom.length;i++)\r
-               {\r
-                       sHTML+=this.maCom[i].getDivHTML();\r
-               }\r
-               document.body.insertAdjacentHTML("beforeEnd",sHTML);\r
-\r
-       }\r
-       this.showById=function(nId)\r
-       {\r
-               for(var s=0;s<this.maCom.length;s++)\r
-               {\r
-                       if(s!==nId)\r
-                               this.maCom[s].show(false);\r
-               }\r
-               this.maCom[nId].show(true);\r
-       }\r
-       this.show=function(sName)\r
-       {\r
-               navigator.currentNavPen = sName;\r
-               var bFound=false;\r
-               for(var i=0;i<this.maCom.length;i++)\r
-               {\r
-                       if(sName==this.maCom[i].msName)\r
-                       {\r
-                               bFound=true;\r
-                               break;\r
-                       }\r
-               }\r
-               if(bFound)\r
-               {\r
-                       this.showById(i);\r
-                       this.sName=sName;\r
-               }\r
-       }\r
-       this.unload=function()\r
-       {\r
-               for(var i=0;i<this.maCom.length;i++)\r
-               {\r
-                       this.maCom[i].unload();\r
-               }               \r
-       }\r
-       this.getCurrent=function()\r
-       {\r
-               return this.sName;\r
-       }\r
-}\r
-\r
-function getPath()\r
-{\r
-       if(gsPath=="")\r
-       {\r
-               gsPath=location.href;\r
-               gsPath=_replaceSlash(gsPath);\r
-               var nPosFile=gsPath.lastIndexOf("/");\r
-               gsPath=gsPath.substring(0,nPosFile+1);\r
-       }\r
-       return gsPath;\r
-}\r
-\r
-goMan=new whComMan();\r
-function addPane(sName,sFileName)\r
-{\r
-       var oParam=new Object();\r
-       oParam.sName=sName;\r
-       var oMsg=new whMessage(WH_MSG_GETPANE, this, 1, oParam);\r
-       if (SendMessage(oMsg))\r
-       {\r
-               if (oMsg.oParam.bEnable)\r
-                       goMan.addCom(sName,sFileName);\r
-       }\r
-       else\r
-               goMan.addCom(sName,sFileName);  \r
-}\r
-\r
-function setShowPane(sName, bForce)\r
-{\r
-       if ((gsFirstPane == "") || bForce)\r
-       {\r
-               var oMsg=new whMessage(WH_MSG_GETDEFPANE, this, 1, null);\r
-               if (SendMessage(oMsg))\r
-               {\r
-                       if (oMsg.oParam)\r
-                               gsFirstPane = oMsg.oParam;\r
-                       else\r
-                               gsFirstPane=sName;\r
-               }\r
-               else\r
-                       gsFirstPane=sName;\r
-       }\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);\r
-       var bHidePane=false;\r
-       if (SendMessage(oMsg))\r
-       {\r
-               if(oMsg.oParam>0)\r
-               {\r
-                       if(oMsg.oParam==1)\r
-                               gsFirstPane="toc";\r
-                       else if(oMsg.oParam==2)\r
-                               gsFirstPane="idx";\r
-                       else if(oMsg.oParam==3)\r
-                               gsFirstPane="fts";\r
-                       else if(oMsg.oParam==4)\r
-                               gsFirstPane="glo";\r
-               }\r
-               else if(oMsg.oParam==0)\r
-               {\r
-                       bHidePane=true;\r
-               }\r
-       }\r
-       goMan.init();\r
-       if(gsProjName!="")                      \r
-               loadData2(gsProjName);  \r
-       if (bHidePane)\r
-       {\r
-               gsFirstPane="";\r
-               var oMsg1=new whMessage(WH_MSG_HIDEPANE, this, 1, null)\r
-               SendMessage(oMsg1);\r
-       }\r
-       else\r
-       {\r
-               if(gsFirstPane!="")\r
-                       goMan.show(gsFirstPane);\r
-               else\r
-                       goMan.showById(0);\r
-       }\r
-}\r
-\r
-function setServerEnabled()\r
-{\r
-       gServerEnabled = true;\r
-}\r
-\r
-function loadData2(strFile)\r
-{\r
-       if(gbXML)\r
-               loadDataXML(strFile);\r
-       else\r
-               loadData(strFile);\r
-}\r
-\r
-function addProject(bPreferXML,sXMLName,sHTMLName)\r
-{\r
-       var bLoadXML=bPreferXML;\r
-       if(!gbIE4&&!gbNav6&&!gbOpera7)\r
-               return;\r
-       if(gbIE4&&!gbIE5)\r
-               bLoadXML=false;\r
-       if (gbIE5&&!gbMac)\r
-               bLoadXML=true;\r
-       if(gbIE55||gbNav6)\r
-               bLoadXML=true;\r
-       if(gbOpera7)\r
-               bLoadXML=false;         \r
-       if(bLoadXML)\r
-               addProjectXML(sXMLName);\r
-       else\r
-               addProjectHTML(sHTMLName);\r
-}\r
-\r
-function addProjectHTML(sName)\r
-{\r
-       gbXML=false;\r
-       gsProjName=sName;\r
-}\r
-\r
-function addProjectXML(sName)\r
-{\r
-       gbXML=true;\r
-       gsProjName=sName;\r
-}\r
-\r
-function window_MyBunload()\r
-{\r
-       goMan.unload();\r
-       window_BUnload();\r
-}\r
-\r
-function putDataXML(xmlDoc,sdocPath)\r
-{\r
-       if(xmlDoc!=null)\r
-       {\r
-               var projectNode=xmlDoc.getElementsByTagName("project")[0];\r
-               if(projectNode)\r
-               {\r
-                       var aRProj=new Array();\r
-                       aRProj[0]=new Object();\r
-                       aRProj[0].sPPath=_getPath(sdocPath);\r
-                       var sLangId=projectNode.getAttribute("langid");\r
-                       if(sLangId)\r
-                       {\r
-                               aRProj[0].sLangId=sLangId;\r
-                       }\r
-                       var sDPath=projectNode.getAttribute("datapath");\r
-                       if(sDPath)\r
-                       {\r
-                               if(sDPath.lastIndexOf("/")!=sDPath.length-1)\r
-                                       sDPath+="/";\r
-                               aRProj[0].sDPath=sDPath;\r
-                       }\r
-                       else\r
-                               aRProj[0].sDPath="";\r
-                       aRProj[0].sToc=projectNode.getAttribute("toc");\r
-                       aRProj[0].sIdx=projectNode.getAttribute("index");\r
-                       aRProj[0].sFts=projectNode.getAttribute("fts");\r
-                       aRProj[0].sGlo=projectNode.getAttribute("glossary");\r
-                       var RmtProject=projectNode.getElementsByTagName("remote");\r
-                       var nCount=1;\r
-                       for (var i=0;i<RmtProject.length;i++)\r
-                       {\r
-                               var sURL=RmtProject[i].getAttribute("url");\r
-                               if(sURL)\r
-                               {\r
-                                       if(sURL.lastIndexOf("/")!=sURL.length-1)\r
-                                               sURL+="/";\r
-                                       aRProj[nCount]=new Object();\r
-                                       aRProj[nCount++].sPPath=_getFullPath(aRProj[0].sPPath,sURL);\r
-                               }\r
-                       }\r
-                       putProjectInfo(aRProj);\r
-               }\r
-               else\r
-               {\r
-                       // on Netscape 6.0 under some situation the xml file cannot be loaded.\r
-                       // so we use pure html instead.\r
-                       if (gnChecked == 0)\r
-                               setTimeout("redirectToList();",100);\r
-                       else\r
-                       {\r
-                               gnChecked++;\r
-                               setTimeout("checkRemoteProject();", 1);\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function onLoadXMLError()\r
-{\r
-       gnChecked++;\r
-       setTimeout("checkRemoteProject();", 1);\r
-}\r
-\r
-function redirectToList()\r
-{\r
-       if(gbReDirectThis)\r
-               document.location=gsNavReDirect;\r
-       else\r
-               parent.document.location=gsNavReDirect;\r
-}\r
-\r
-function putProjectInfo(aRProj)\r
-{\r
-       if(gnChecked==0||isSamePath(gaProj[gnChecked].sPPath,aRProj[0].sPPath))\r
-       {\r
-               if(gnChecked!=0)\r
-               {\r
-                       if(aRProj[0].sLangId!=gaProj[0].sLangId)\r
-                               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.");\r
-               }\r
-               gaProj[gnChecked]=aRProj[0];\r
-               for(var i=1;i<aRProj.length;i++)\r
-               {\r
-                       var bFound=false;\r
-                       for(var j=0;j<gaProj.length;j++)\r
-                       {\r
-                               if(isSamePath(gaProj[j].sPPath,aRProj[i].sPPath))\r
-                               {\r
-                                       bFound=true;\r
-                                       break;\r
-                               }\r
-                       }\r
-                       if(!bFound)\r
-                       {\r
-                               gaProj[gaProj.length]=aRProj[i];\r
-                       }\r
-               }\r
-               gnChecked++;\r
-               setTimeout("checkRemoteProject();", 1);\r
-       }\r
-       else\r
-               alert("Could not load correctly, please click Refresh.");\r
-}\r
-\r
-function isSamePath(sPath1,sPath2)\r
-{\r
-       return (sPath1.toLowerCase()==sPath2.toLowerCase());\r
-}\r
-\r
-function checkRemoteProject()\r
-{\r
-       if(gaProj.length!=gnChecked)\r
-       {\r
-               setTimeout("cancelProj("+gnChecked+");",10000);\r
-               loadData2(gaProj[gnChecked].sPPath+gsProjName);\r
-       }\r
-       else{\r
-               var oMsg=new whMessage(WH_MSG_PROJECTREADY,this,1,null);\r
-               gbReady=true;\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function cancelProj(i)\r
-{\r
-       if(i==gnChecked)\r
-       {\r
-               gnChecked++;\r
-               setTimeout("checkRemoteProject();", 1);\r
-       }       \r
-}\r
-\r
-function window_resize()\r
-{\r
-       for(var i=0;i<goMan.maCom.length;i++)\r
-       {\r
-               var oFrame=getElement(goMan.maCom[i].msIFrameId);\r
-               if(oFrame)\r
-               {\r
-                       oFrame.style.height=document.body.clientHeight;\r
-                       oFrame.style.width=document.body.clientWidth;\r
-               }\r
-       }\r
-       window_resize2();\r
-}\r
-\r
-function window_resize2()\r
-{\r
-       if(document.body)\r
-       {\r
-               if(document.body.clientWidth > 1 && document.body.clientHeight>1)\r
-               {\r
-                       var oMsg = new whMessage(WH_MSG_RESIZEPANE, this, 1, null);\r
-                       SendMessage(oMsg);\r
-               }\r
-       }\r
-}\r
-\r
-function window_unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_GETPROJINFO);\r
-       UnRegisterListener2(this,WH_MSG_SHOWTOC);\r
-       UnRegisterListener2(this,WH_MSG_SHOWIDX);\r
-       UnRegisterListener2(this,WH_MSG_SHOWFTS);\r
-       UnRegisterListener2(this,WH_MSG_SHOWGLO);\r
-       UnRegisterListener2(this,WH_MSG_GETPANEINFO);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if(oMsg)\r
-       {\r
-               var nMsgId=oMsg.nMessageId;\r
-               if(nMsgId==WH_MSG_GETPROJINFO)\r
-               {\r
-                       if(gbReady)\r
-                       {\r
-                               var oProj=new Object();\r
-                               oProj.aProj=gaProj;\r
-                               oProj.bXML=gbXML;\r
-                               oMsg.oParam=oProj;\r
-                       }\r
-                       else\r
-                               return false;\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWTOC)\r
-               {\r
-                       if(goMan)\r
-                               goMan.show("toc");\r
-                       var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "toc");\r
-                       SendMessage(onMsg);\r
-                       onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWIDX)\r
-               {\r
-                       if(goMan)\r
-                               goMan.show("idx");\r
-                       var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "idx");\r
-                       SendMessage(onMsg);\r
-                       onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWFTS)\r
-               {\r
-                       if(goMan)\r
-                               goMan.show("fts");\r
-                       var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "fts");\r
-                       SendMessage(onMsg);\r
-                       onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWGLO)\r
-               {\r
-                       if(goMan)\r
-                               goMan.show("glo");\r
-                       var onMsg=new whMessage(WH_MSG_PANEINFO, this, 1, "glo");\r
-                       SendMessage(onMsg);\r
-                       onMsg = new whMessage(WH_MSG_SHOWPANE, this, 1, null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_GETPANEINFO)\r
-               {\r
-                       oMsg.oParam=goMan.getCurrent();\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       RegisterListener2(this,WH_MSG_GETPROJINFO);\r
-       RegisterListener2(this,WH_MSG_SHOWTOC);\r
-       RegisterListener2(this,WH_MSG_SHOWIDX);\r
-       RegisterListener2(this,WH_MSG_SHOWFTS);\r
-       RegisterListener2(this,WH_MSG_SHOWGLO);\r
-       RegisterListener2(this,WH_MSG_GETPANEINFO);\r
-\r
-       if((gbMac&&gbIE4)||(gbSunOS&&gbIE5)||gbOpera7)\r
-       {\r
-               window.onresize=window_resize;\r
-       }\r
-       else if(gbIE4)\r
-       {\r
-               window.onresize=window_resize2;\r
-       }\r
-       window.onload=window_OnLoad;\r
-       window.onbeforeunload=window_MyBunload;\r
-       window.onunload=window_unload;\r
-       gbWhPHost=true;\r
-}\r
-else\r
-       document.location.reload();\r
-\r
+//     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();
+
index ae38fa9947f526527404eab3f5c59744078dfd13..7f607a4462766e5fc676c9dc40e138abd59105ac 100755 (executable)
@@ -1,85 +1,85 @@
-//     WebHelp 5.10.001\r
-var gaProj=new Array();\r
-\r
-gaProj[0]=new project("");\r
-\r
-function setLangId(sLangId)\r
-{\r
-       gaProj[0].sLangId=sLangId;\r
-}\r
-\r
-function setDataPath(sPath)\r
-{\r
-       if(sPath.length!=0)\r
-       {\r
-               if(sPath.lastIndexOf("/")!=sPath.length-1)\r
-                       sPath+="/";\r
-               gaProj[0].sDPath=sPath; \r
-       }\r
-       else\r
-               gaProj[0].sDPath="";\r
-}\r
-\r
-function addToc(sFile)\r
-{\r
-       gaProj[0].sToc=sFile;\r
-}\r
-\r
-function addIdx(sFile)\r
-{\r
-       gaProj[0].sIdx=sFile;\r
-}\r
-\r
-function addFts(sFile)\r
-{\r
-       gaProj[0].sFts=sFile;\r
-}\r
-\r
-function addGlo(sFile)\r
-{\r
-       gaProj[0].sGlo=sFile;\r
-}\r
-\r
-function addRemoteProject(sProjRelPath)\r
-{\r
-       if(sProjRelPath.lastIndexOf("/")!=sProjRelPath.length-1)\r
-               sProjRelPath+="/";\r
-       gaProj[gaProj.length]=new project(sProjRelPath);\r
-}\r
-\r
-function project(sPPath)\r
-{\r
-       this.sPPath=sPPath;\r
-       this.sLangId="";\r
-       this.sDPath="";\r
-       this.sToc="";\r
-       this.sIdx="";\r
-       this.sFts="";\r
-       this.sGlo="";\r
-}\r
-\r
-window.onload=window_OnLoad;\r
-\r
-function window_OnLoad()\r
-{\r
-       gsName=document.location.href;\r
-       gsName=_replaceSlash(gsName);\r
-       var nPos=gsName.lastIndexOf("/");\r
-       if(nPos!=-1)\r
-               gaProj[0].sPPath=gsName.substring(0,nPos+1);\r
-       else\r
-               alert("Error in Loading navigation component. Please regenerate WebHelp.");\r
-       patchPath(gaProj);\r
-       if(parent&&parent!=this&& typeof(parent.putProjectInfo)=="function")\r
-       {\r
-               parent.putProjectInfo(gaProj);\r
-       }\r
-}\r
-\r
-function patchPath(aProj)\r
-{\r
-       for(var i=1;i<aProj.length;i++)\r
-       {\r
-               aProj[i].sPPath=_getFullPath(gaProj[0].sPPath,aProj[i].sPPath);\r
-       }\r
+//     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
index d0ee29813dc5e31f7f977f7ac1e69f025cde9657..8ea8b6819abd1177fd89bb3264bb8bc4f501222c 100755 (executable)
@@ -1,74 +1,74 @@
-//     WebHelp 5.10.001\r
-var gbInited=false;\r
-var gWndStubPage=null;\r
-function getStubPage()\r
-{\r
-       if(!gbInited)\r
-       {\r
-               gWndStubPage=getStubPage_inter(window);\r
-               gbInited=true;\r
-       }\r
-       return gWndStubPage;\r
-}\r
-\r
-function getStubPage_inter(wCurrent)\r
-{\r
-       if(null==wCurrent.parent||wCurrent.parent==wCurrent)\r
-               return null;\r
-\r
-       if(typeof(wCurrent.parent.whname)=="string"&&"wh_stub"==wCurrent.parent.whname)\r
-               return wCurrent.parent;\r
-       else\r
-               if(wCurrent.parent.frames.length!=0&&wCurrent.parent!=wCurrent)\r
-                       return getStubPage_inter(wCurrent.parent);\r
-               else\r
-                       return null;\r
-}\r
-\r
-function RegisterListener(framename,nMessageId)\r
-{\r
-       var wSP=getStubPage();\r
-       if(wSP&&wSP!=this)\r
-               return wSP.RegisterListener(framename,nMessageId);\r
-       else\r
-               return false;\r
-}\r
-\r
-function RegisterListener2(oframe,nMessageId)\r
-{\r
-       var wSP=getStubPage();\r
-       if(wSP&&wSP!=this)\r
-               return wSP.RegisterListener2(oframe,nMessageId);\r
-       else\r
-               return false;\r
-}\r
-\r
-function UnRegisterListener2(oframe,nMessageId)\r
-{\r
-       var wSP=getStubPage();\r
-       if(wSP&&wSP!=this&&wSP.UnRegisterListener2)\r
-               return wSP.UnRegisterListener2(oframe,nMessageId);\r
-       else\r
-               return false;\r
-}\r
-\r
-function SendMessage(oMessage)\r
-{\r
-       var wSP=getStubPage();\r
-       if(wSP&&wSP!=this&&wSP.SendMessage)\r
-               return wSP.SendMessage(oMessage);\r
-       else\r
-               return false;\r
-}\r
-\r
-var gbWhProxy=true;\r
-\r
-var gbPreview=false;\r
-gbPreview=false; \r
-if (gbPreview)\r
-       document.oncontextmenu=contextMenu;\r
-\r
-function contextMenu()\r
-{\r
-       return false;\r
-}\r
+//     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;
+}
index f3f010a3f6c823d1a7403791d26e248df4d8043d..b79fae0147f3f4568eb85b357d585dc79a3bebfb 100755 (executable)
-<?xml version='1.0' encoding='windows-1252' ?>\r
-<resource>\r
-<item name="Prev" value="&lt;&lt;" />\r
-<item name="Hide" value="Hide" />\r
-<item name="SyncTocTooltip" value="Sync TOC" />\r
-<item name="InTopicSearchBtnText" value="Go" />\r
-<item name="FtsInputPrompt" value="Type in the word(s) to search for:" />\r
-<item name="Done" value="Done" />\r
-<item name="Logo/Author" value="Powered By" />\r
-<item name="MergeError1" value="The merged Help system" />\r
-<item name="JS_alert_cantLoadProject" value="Can't load project:" />\r
-<item name="Next" value="&gt;&gt;" />\r
-<item name="SyncToc" value="SyncToc" />\r
-<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." />\r
-<item name="nls_body_instruction" value="Enter your question in the text box above, then click GO." />\r
-<item name="ToolBarSearchBtnText" value="Go" />\r
-<item name="SuggestViewNoFrameMessage" value="To view the Help system without frames click on this" />\r
-<item name="Hide_Navigation_Component" value="Hide Navigation Component" />\r
-<item name="FtsBtnText" value="Go" />\r
-<item name="TopicsFound" value="Topics Found" />\r
-<item name="LoadingContentsData" value="Loading, click here to cancel..." />\r
-<item name="Definition" value="Definition:" />\r
-<item name="CompletingContents" value="Completing Contents..." />\r
-<item name="Seperate" value="|" />\r
-<item name="GeneratedBy" value="Generated by" />\r
-<item name="PoweredBy" value="Powered by" />\r
-<item name="IndexAlphabetBookmarks" value="ABCDEFGHIJKLMNOPQRSTUVWXYZ" />\r
-<item name="Contents" value="Contents" />\r
-<item name="IndexSelectTopicLabel" value="Select a topic, then click Display" />\r
-<item name="Disabled Prev" value="&lt;&lt;" />\r
-<item name="Glossary" value="Glossary" />\r
-<item name="Search" value="Search" />\r
-<item name="CantSearch" value="Cannot search for that phrase." />\r
-<item name="LoadingIndex" value="Loading Index..." />\r
-<item name="LoadingData" value="Loading data, please wait..." />\r
-<item name="Show_Navigation_Component" value="Show Navigation Component" />\r
-<item name="Book" value="Book" />\r
-<item name="Disabled Next" value="&gt;&gt;" />\r
-<item name="nls_body_empty" value="Sorry, we were unable to find a good answer for your question." />\r
-<item name="nls_button_go_hint" value="Go Search" />\r
-<item name="Find" value="Find" />\r
-<item name="CantOpenURLorFile" value="Can't open URL or file" />\r
-<item name="Print" value="Print" />\r
-<item name="About" value="About" />\r
-<item name="Author" value="Author" />\r
-<item name="IndexSelectTopicTitle" value="Select a Topic" />\r
-<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." />\r
-<item name="BrowserLimitedMessage" value="Your browser does not support frames. We recommend that you update your browser to a version that supports frames." />\r
-<item name="LoadingTOCItem" value="Loading Table of Contents:" />\r
-<item name="Display" value="Display" />\r
-<item name="Cancel" value="Cancel" />\r
-<item name="IndexSelectTopicError" value="Please select a topic." />\r
-<item name="nls_edit_label" value="Type in your question:" />\r
-<item name="SearchLabel" value="Search" />\r
-<item name="RelateTopicListPrompt" value="Click a topic, then click Display." />\r
-<item name="NextTooltip" value="Next Topic" />\r
-<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." />\r
-<item name="TopicsNotFound" value="No Topics Found." />\r
-<item name="Show" value="Show" />\r
-<item name="PreTooltip" value="Previous Topic" />\r
-<item name="SearchPrompt" value="- Search -" />\r
-<item name="IndexBtnText" value="Go" />\r
-<item name="JS_alert_ProjectLoadingFail" value="Could not load correctly, please click Refresh." />\r
-<item name="LoadingContents" value="Loading contents, please wait..." />\r
-<item name="Term" value="Term:" />\r
-<item name="WebSearchButton" value="WebSearch" />\r
-<item name="Remote_Page" value="Remote Page" />\r
-<item name="WebSearch" value="WebSearch" />\r
-<item name="LoadingFTS" value="Reading Search Data..." />\r
-<item name="Index" value="Index" />\r
-<item name="JS_alert_ErrorInLoading" value="Error in Loading navigation component. Please regenerate WebHelp." />\r
-<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." />\r
-<item name="IndexInputPrompt" value="Type in the keyword to find:" />\r
-<item name="Page" value="Page" />\r
-<item name="SuggestViewNoFrameMsg2" value="hyperlink." />\r
-<item name="nls_button_go_text" value="Go" />\r
-<item name="Searching" value="Searching..." />\r
-\r
-  <item name="English"   value="" />\r
-  <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," />\r
-\r
-  <panes show="0">\r
-    <toc />\r
-    <fts />\r
-    <glossary />\r
-  </panes>\r
-\r
-  <stopwords>\r
-    <word name="a" />\r
-    <word name="about" />\r
-    <word name="after" />\r
-    <word name="against" />\r
-    <word name="all" />\r
-    <word name="also" />\r
-    <word name="among" />\r
-    <word name="an" />\r
-    <word name="and" />\r
-    <word name="are" />\r
-    <word name="as" />\r
-    <word name="at" />\r
-    <word name="be" />\r
-    <word name="became" />\r
-    <word name="because" />\r
-    <word name="been" />\r
-    <word name="between" />\r
-    <word name="but" />\r
-    <word name="by" />\r
-    <word name="can" />\r
-    <word name="come" />\r
-    <word name="do" />\r
-    <word name="during" />\r
-    <word name="each" />\r
-    <word name="early" />\r
-    <word name="for" />\r
-    <word name="form" />\r
-    <word name="found" />\r
-    <word name="from" />\r
-    <word name="had" />\r
-    <word name="has" />\r
-    <word name="have" />\r
-    <word name="he" />\r
-    <word name="her" />\r
-    <word name="his" />\r
-    <word name="however" />\r
-    <word name="in" />\r
-    <word name="include" />\r
-    <word name="into" />\r
-    <word name="is" />\r
-    <word name="it" />\r
-    <word name="its" />\r
-    <word name="late" />\r
-    <word name="later" />\r
-    <word name="made" />\r
-    <word name="many" />\r
-    <word name="may" />\r
-    <word name="me" />\r
-    <word name="med" />\r
-    <word name="more" />\r
-    <word name="most" />\r
-    <word name="near" />\r
-    <word name="no" />\r
-    <word name="non" />\r
-    <word name="not" />\r
-    <word name="of" />\r
-    <word name="on" />\r
-    <word name="only" />\r
-    <word name="or" />\r
-    <word name="other" />\r
-    <word name="over" />\r
-    <word name="several" />\r
-    <word name="she" />\r
-    <word name="some" />\r
-    <word name="such" />\r
-    <word name="than" />\r
-    <word name="that" />\r
-    <word name="the" />\r
-    <word name="their" />\r
-    <word name="then" />\r
-    <word name="there" />\r
-    <word name="these" />\r
-    <word name="they" />\r
-    <word name="this" />\r
-    <word name="through" />\r
-    <word name="to" />\r
-    <word name="under" />\r
-    <word name="until" />\r
-    <word name="use" />\r
-    <word name="was" />\r
-    <word name="we" />\r
-    <word name="were" />\r
-    <word name="when" />\r
-    <word name="where" />\r
-    <word name="which" />\r
-    <word name="who" />\r
-    <word name="with" />\r
-    <word name="you" />\r
-  </stopwords>\r
-\r
-  <stems>\r
-    <stem name="ed" />\r
-    <stem name="es" />\r
-    <stem name="er" />\r
-    <stem name="e" />\r
-    <stem name="s" />\r
-    <stem name="ingly" />\r
-    <stem name="ing" />\r
-    <stem name="ly" />\r
-  </stems>\r
-\r
-       <paneskin>\r
-               <background color="#ffffff" img="" />\r
-               <font name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="none" />\r
-               <toc>\r
-                       <background color="#ffffff" img="" />\r
-                       <icons>\r
-                               <book open="wht_toc2.gif" close="wht_toc1.gif" />\r
-                               <item  local="wht_toc3.gif" remote="wht_toc4.gif" />\r
-                               <newbook open="" close="" />\r
-                               <newitem  local="" remote="" />\r
-                       </icons>\r
-                       <fonts>\r
-                               <normal name="Tahoma" size="8pt" color="#000000" style="Normal" weight="Normal" decoration="none" />\r
-                               <hover name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="underline" />\r
-                       </fonts>\r
-                       <activebackgroundcolor attr="#c0c0c0" />\r
-                       <margin attr="" />\r
-                       <indent attr="" />\r
-               </toc>\r
-               <index>\r
-                       <form>\r
-                               <fonts>\r
-                                       <title name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="none" />\r
-                               </fonts>\r
-                               <button normal="" hover="" />\r
-                               <editwith value="20" />\r
-                       </form>\r
-                       <background color="#ffffff" img="" />\r
-                       <fonts>\r
-                               <normal name="Tahoma" size="8pt" color="#000000" style="Normal" weight="Normal" decoration="none" />\r
-                               <hover name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="underline" />\r
-                               <empty name="" size="8pt" color="" style="" weight="" decoration="" />\r
-                       </fonts>\r
-                       <activebackgroundcolor attr="#c0c0c0" />\r
-                       <margin attr="" />\r
-                       <indent attr="" />\r
-               </index>\r
-               <fts>\r
-                       <form>\r
-                               <fonts>\r
-                                       <title name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="none" />\r
-                               </fonts>\r
-                               <button normal="" hover="" />\r
-                               <editwith value="20" />\r
-                       </form>\r
-                       <background color="#ffffff" img="" />\r
-                       <fonts>\r
-                               <normal name="Tahoma" size="8pt" color="#000000" style="Normal" weight="Normal" decoration="none" />\r
-                               <hover name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="underline" />\r
-                               <error name="Tahoma" size="8pt" color="#000000" style="Normal" weight="Normal" decoration="none" />\r
-                       </fonts>\r
-                       <activebackgroundcolor attr="#c0c0c0" />\r
-                       <margin attr="" />\r
-                       <indent attr="" />\r
-               </fts>\r
-               <glossary>\r
-                       <background color="#ffffff" img="" />\r
-                       <fonts>\r
-                               <normal name="Tahoma" size="8pt" color="#000000" style="Normal" weight="Normal" decoration="none" />\r
-                               <hover name="Tahoma" size="8pt" color="#000080" style="Normal" weight="Normal" decoration="underline" />\r
-                       </fonts>\r
-                       <activebackgroundcolor attr="#c0c0c0" />\r
-                       <margin attr="" />\r
-                       <indent attr="" />\r
-               </glossary>\r
-       </paneskin>\r
+<?xml version='1.0' encoding='windows-1252' ?>
+<resource>
+<item name="Prev" value="&lt;&lt;" />
+<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="&gt;&gt;" />
+<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="&lt;&lt;" />
+<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="&gt;&gt;" />
+<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>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whrstart.ico b/doc/salome/gui/GEOM/whrstart.ico
deleted file mode 100755 (executable)
index bffcd6e..0000000
Binary files a/doc/salome/gui/GEOM/whrstart.ico and /dev/null differ
diff --git a/doc/salome/gui/GEOM/whskin_banner.htm b/doc/salome/gui/GEOM/whskin_banner.htm
deleted file mode 100755 (executable)
index 39ed797..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<html>\r
-<head>\r
-<title>About WebHelp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<style type="text/css">\r
-<!--\r
-P {margin-left:5pt;margin-top:2pt;margin-bottom:2pt;font-size:8pt;font-family:Verdana,sans-serif;}\r
-P.disp {margin-left:5pt; margin-top:0pt;margin-bottom:10pt;font-size:7pt;font-family:Verdana,sans-serif;}\r
-//-->\r
-</style>\r
-<script>\r
-<!--\r
-// this block fix: HTML Dialog Ignores Size Parameters Without SCRIPT Block\r
-//-->\r
-</script> \r
-<body bgcolor="white" scroll=no RIGHTMARGIN=0 BOTTOMMARGIN=0 TOPMARGIN=0 LEFTMARGIN=0>\r
-<table border="0" cellpadding="0" cellspacing="0" width="350">\r
-  <tr>\r
-   <td><img src="wht_spac.gif" width="99" height="1" border="0"></td>\r
-   <td><img src="wht_spac.gif" width="251" height="1" border="0"></td>\r
-   <td><img src="wht_spac.gif" width="1" height="1" border="0"></td>\r
-  </tr>\r
-  <tr>\r
-   <td width="99" height="190" rowspan="3" valign="top"><img src="wht_abgw.jpg" border="0"></td>\r
-   <td width="211" height="60" valign="top"><img src="wht_abtw.jpg" border="0"></td>\r
-   <td><img src="wht_spac.gif" width="1" height="65" border="0"></td>\r
-  </tr>\r
-  <tr>\r
-   <td valign="top">\r
-               <p><a href="http://www.ehelp.com" target="_blank">Macromedia</a></p>\r
-               <p><nobr>Copyright © 1992 - 2004, eHelp Corporation</nobr></p>\r
-               <p>Author:&nbsp;eHelp Corporation</p>\r
-   </td>\r
-   <td><img src="wht_spac.gif" width="1" height="50" border="0"></td>\r
-  </tr>\r
-  <tr>\r
-   <td valign="top">\r
-               <p>Powered by:&nbsp;WebHelp 5.50\r
-               <br>Generated by:&nbsp;RoboHelp X5\r
-               <br><a class="tail" href="http://www.ehelp.com/webhelp1" target="_blank">www.ehelp.com</a></p>\r
-   </td>\r
-   <td><img src="wht_spac.gif" width="1" height="50" border="0"></td>\r
-  </tr>\r
-</table>\r
-</body>\r
-</html>
\ No newline at end of file
index 43439a8c7ffd2fea7964a4a6d475dd92d67e2d5f..a61ddecbea46a28dfdc92fafb26aa3d113f3618c 100755 (executable)
@@ -1,10 +1,10 @@
-<html>\r
-<head>\r
-<title>Blank Page</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body>\r
-</body>\r
-</html>\r
+<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>
diff --git a/doc/salome/gui/GEOM/whskin_frmset01.htm b/doc/salome/gui/GEOM/whskin_frmset01.htm
deleted file mode 100755 (executable)
index 3b8d56a..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-\r
-<html>\r
-<head>\r
-</head>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" >\r
-<!--\r
-if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (!window.gbWhProxy)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-\r
-<script language="javascript">\r
-<!--\r
-var gsPane="";\r
-var gnType=3;\r
-\r
-var oMsgPane = new whMessage(WH_MSG_GETPANETYPE, this, 1, null);\r
-if (SendMessage(oMsgPane))\r
-{\r
-       gsPane = oMsgPane.oParam.sPaneURL;\r
-       gnType = oMsgPane.oParam.nType;\r
-}\r
-\r
-       var strDefaultTopic = "about:blank";\r
-       var oParam = new Object();\r
-       oParam.sTopic = "";\r
-       var oMsg = new whMessage(WH_MSG_GETDEFAULTTOPIC, this, 1, oParam);\r
-       if (SendMessage(oMsg) && oParam.sTopic != "")\r
-               strDefaultTopic =  oParam.sTopic;\r
-var strHTML = "";\r
-if (gnType == 4)\r
-{\r
-       //no navipane at all\r
-       strHTML += "<frameset border=\"0\" cols=\"100%,*\">";\r
-       strHTML += "<frame src=\"" + strDefaultTopic + "\" name=\"bsscright\" framespacing=\"0\" frameborder=\"0\" border=\"0\" scrolling=\"auto\">";\r
-       strHTML += "<frame src=\"whskin_blank.htm\" noresize>";\r
-       strHTML += "</frameset>";\r
-}\r
-else\r
-       strHTML += "<frameset cols=\"220,*\" hostof=\"parent:minibar_navpane|topic!startpage:no\" frameborder=\"1\" id=\"whPfset\"><frame src=\"whskin_frmset010.htm\" id=\"minibar_navpane\" frameborder=\"0\" border=\"0\" scrolling=\"auto\" marginheight=\"0\" marginwidth=\"0\"></frame><frame src=\""+strDefaultTopic+"\" id=\"topic\" frameborder=\"1\" border=\"1\" scrolling=\"auto\" title=\"Topic\" name=\"bsscright\"></frame></frameset>";\r
-document.write(strHTML);\r
-// handle show pane, hide pane and query pane status message.\r
-RegisterListener2(this, WH_MSG_RESIZEPANE);\r
-RegisterListener2(this, WH_MSG_SHOWPANE);\r
-RegisterListener2(this, WH_MSG_HIDEPANE);\r
-RegisterListener2(this, WH_MSG_ISPANEVISIBLE);\r
-\r
-function window_unload()\r
-{\r
-       UnRegisterListener2(this, WH_MSG_RESIZEPANE);\r
-       UnRegisterListener2(this, WH_MSG_SHOWPANE);\r
-       UnRegisterListener2(this, WH_MSG_HIDEPANE);\r
-       UnRegisterListener2(this, WH_MSG_ISPANEVISIBLE);\r
-}\r
-\r
-window.onunload=window_unload;\r
-\r
-var gbShow=false;\r
-var gstrFrameLastSetting="";\r
-function onSendMessage(oMsg)\r
-{\r
-       var oMsgout = null;\r
-       var nMsgId = oMsg.nMessageId;\r
-       var oFrameset = null;\r
-       if (nMsgId == WH_MSG_SHOWPANE)\r
-       {\r
-               if (!gbShow)\r
-               {\r
-                       oFrameset = getElement("whPfset");\r
-                       if (oFrameset)\r
-                       {\r
-                               if (gstrFrameLastSetting)\r
-                                       oFrameset.cols= gstrFrameLastSetting;\r
-                               else\r
-                                       oFrameset.cols= "220,*";\r
-                       }\r
-                       gbShow=true;\r
-                       oMsgout = new whMessage(WH_MSG_PANESTATUE, this, 1, "visible");\r
-                       SendMessage(oMsgout);\r
-               }\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_HIDEPANE)\r
-       {\r
-               oFrameset = getElement("whPfset");\r
-               if (oFrameset)\r
-               {\r
-                       gstrFrameLastSetting=oFrameset.cols; \r
-                       var oWnd=frames[0];\r
-                       if (oWnd && oWnd.document && oWnd.document.body)\r
-                       {\r
-                               var nPos=0;\r
-                               if ("cols"=="cols")\r
-                                       nPos=oWnd.document.body.offsetWidth;\r
-                               else\r
-                                       nPos=oWnd.document.body.offsetHeight;\r
-                               if(0==0)\r
-                                       gstrFrameLastSetting=nPos+",*";\r
-                               else\r
-                                       gstrFrameLastSetting="*,"+nPos;\r
-                       }\r
-                       oFrameset.cols = "0,*";\r
-               }\r
-               gbShow=false;\r
-               oMsgout = new whMessage(WH_MSG_PANESTATUE, this, 1, "invisible");\r
-               SendMessage(oMsgout);\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_RESIZEPANE)\r
-       {\r
-               if (!gbShow)\r
-               {\r
-                       gbShow=true;\r
-                       oMsgout = new whMessage(WH_MSG_PANESTATUE, this, 1, "visible");\r
-                       SendMessage(oMsgout);\r
-               }\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_ISPANEVISIBLE)\r
-       {\r
-               oMsg.oParam.bVisible = isNavPaneVisible();\r
-               return false;\r
-       }\r
-       return true;\r
-}\r
-\r
-function isNavPaneVisible()\r
-{\r
-       var bVisible = false;\r
-       var sSplit = getElement("whPfset").cols;\r
-       var nSplit = sSplit.indexOf(",");\r
-       if (nSplit != -1)\r
-       {\r
-               var sPart1 = sSplit.substring(0, nSplit);\r
-               var sPart2 = sSplit.substring(nSplit + 1);\r
-               if ("minibar_navpane" == "navpane")\r
-               {\r
-                       var sTemp = sPart1;\r
-                       sPart1 = sPart2;\r
-                       sPart2 = sTemp;\r
-               }\r
-\r
-               if (sPart2 != "*")\r
-               {\r
-                       var n = parseInt(sPart2);\r
-                       if (n>0)\r
-                               bVisible = true;\r
-               }\r
-               else\r
-               {\r
-                       if (sPart1 != "100%")\r
-                               bVisible = true;\r
-               }\r
-       }\r
-       return bVisible;\r
-}\r
-//-->\r
-</script>\r
-\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_frmset010.htm b/doc/salome/gui/GEOM/whskin_frmset010.htm
deleted file mode 100755 (executable)
index 8a02235..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-\r
-<html>\r
-<head>\r
-</head>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" >\r
-<!--\r
-if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (!window.gbWhProxy)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-\r
-<script language="javascript">\r
-<!--\r
-var gsPane="";\r
-var gnType=3;\r
-\r
-var oMsgPane = new whMessage(WH_MSG_GETPANETYPE, this, 1, null);\r
-if (SendMessage(oMsgPane))\r
-{\r
-       gsPane = oMsgPane.oParam.sPaneURL;\r
-       gnType = oMsgPane.oParam.nType;\r
-}\r
-var strHTML = "";\r
-if (gnType == 4)\r
-{\r
-       //no navipane at all\r
-       strHTML += "<frameset border=\"0\" cols=\"100%,*\">";\r
-       strHTML += "<frame src='whskin_mbars.htm' id='minibar' frameborder='0' border='0' scrolling='no' marginheight='0' title='Mini Toolbar'></frame>";\r
-       strHTML += "<frame src=\"whskin_blank.htm\" noresize>";\r
-       strHTML += "</frameset>";\r
-}\r
-else\r
-       strHTML += "<frameset rows=\"24,*\" hostof=\"parent:minibar|navpane!startpage:no\" frameborder=\"0\" border=\"0\"><frame src=\"whskin_mbars.htm\" id=\"minibar\" frameborder=\"0\" border=\"0\" scrolling=\"no\" marginheight=\"0\" title=\"Mini Toolbar\"></frame><frame src=\""+gsPane+"\" id=\"navpane\" frameborder=\"0\" border=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" title=\"Navigator Pane\"></frame></frameset>";\r
-\r
-document.write(strHTML);\r
-//-->\r
-</script>\r
-</html>
\ No newline at end of file
index 46797c73d86f8f83909102ec80afcd8b4568b24d..54c41df02a6a5bad86f5123a126f94faf308a3ac 100755 (executable)
-\r
-<html>\r
-<head><script language="javascript">\r
-<!--\r
-var sIcon="whstart.ico";\r
-var sPath=document.location.href;\r
-if (sPath.indexOf("http")!= -1)\r
-       document.write("<link REL=\"SHORTCUT ICON\" href=\""+ sIcon +"\">");\r
-//-->\r
-</script>\r
- <title>GEOM reference manual</title>\r
- <meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
- <meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" >\r
-<!--\r
-if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript" src="whstub.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var nWebhelpNavPaneMode = 1;                   //1: DHTML 2:Applet 3:PureHTML 4:NoframeAt all\r
-var strPaneDHTML  = "whskin_pdhtml.htm";               //whd_nvp10.htm  if tab enabled, whnframe.htm if tab disabled.\r
-var strPaneApplet = "whskin_papplet.htm";\r
-var strPaneList   = "whskin_plist.htm";\r
-var bNoApplet  = false;\r
-\r
-var strPane = "";\r
-\r
-var nViewFrameType = -1;\r
-\r
-if (!window.gAgent)\r
-{\r
-       // low end browser, we don't even try to determine it.\r
-       document.location = "whnjs.htm";\r
-}\r
-else\r
-{\r
-       if (!gbNav4&&!gbIE4&&!gbOpera7&&!gbSafari)                              \r
-               document.location = "whnjs.htm";\r
-       else if (gbNav4 && !gbNav6 && ((gnVerMinor <= 4.06)))\r
-               document.location = "whnjs.htm";\r
-       else if (gbMac && gbIE4 && !gbIE5)              \r
-               document.location = "whnjs.htm";\r
-       //figure out which mode is the best\r
-       else\r
-       {\r
-               nViewFrameType=nWebhelpNavPaneMode;\r
-               if (nWebhelpNavPaneMode==1||nWebhelpNavPaneMode == 2)\r
-               {\r
-                       var gbDHTML=(nWebhelpNavPaneMode==1);\r
-                       if (gbNav4)                                                                             nViewFrameType = 2;\r
-                       if (gbNav4&&(gnVerMinor < 4.1))                                         nViewFrameType = 3;\r
-                       if (gbNav4&&(gnVerMinor == 4.6))                                        nViewFrameType = 3;\r
-                       if (gbIE4&&gbDHTML)                                                                     nViewFrameType = 1;\r
-                       if (gbIE4&&gbSunOS&&nWebhelpNavPaneMode==2)                     nViewFrameType = 3;\r
-                       if (gbNav4&&gbSunOS&&nViewFrameType==2)                 nViewFrameType = 3;\r
-                       if (gbNav6&&gbDHTML)                                                            nViewFrameType = 1;\r
-                       if (gbNav6&&!gbNav61&&nWebhelpNavPaneMode == 2)         nViewFrameType = 3;\r
-                       if (gbMac)                                                                                      nViewFrameType = 3;\r
-                       if (gbOpera7&&nViewFrameType == 2)                                      nViewFrameType = 3;\r
-                       if ((bNoApplet)&&(nViewFrameType == 2))                         nViewFrameType = 3;\r
-               }\r
-       }\r
-}\r
-\r
-if (nViewFrameType!=-1)\r
-{\r
-       var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));\r
-       //The colordepth of the 16 color on Windows is 1. \r
-       if ((gbWindows) && (gbNav4) && (window.screen) && (window.screen.colorDepth <= 4))\r
-       {\r
-          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.");\r
-          nViewFrameType = 3;\r
-       }\r
-\r
-       //figure out which one is navpane\r
-       // ReplaceMark:nViewFrameType = 1\r
-       if (nViewFrameType == 1)\r
-       {\r
-               if (gbNav4 && !gbNav6)\r
-                       strPane = strPaneList;\r
-               else\r
-                       strPane = strPaneDHTML;\r
-       }\r
-       else if (nViewFrameType == 2)\r
-               strPane = strPaneApplet;\r
-       else\r
-               strPane = strPaneList;\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="javascript" src="whstart.js"></script>\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (!gbIE4&&!gbNav4&&!gbOpera7&&!gbSafari)\r
-       document.location = "whnjs.htm";\r
-\r
-function CMRAgent( strID, strURL, strLabel, strFrameAttr )\r
-{\r
-  this.m_strID = strID;\r
-  this.m_strURL = strURL;\r
-  this.m_strLabel = strLabel;\r
-  this.m_strFrameAttr = strFrameAttr;\r
-}\r
-\r
-function CMRServer()\r
-{\r
-  this.m_cAgents = new Array;\r
-}\r
-var cMRServer = new CMRServer;\r
-// GetServerInfo\r
-// Registry the agent array handled by webhelp\r
-// ReplaceMark:MRServer.strServerData\r
-//-->\r
-</script>\r
-\r
-<script type="text/javascript" language="javascript">\r
-<!--\r
-if (nViewFrameType!=-1)\r
-{\r
-       var strHTML = "<frameset rows=\"32,*\" hostof=\"parent:toolbar!startpage:yes\" frameborder=\"0\" border=\"0\"><frame src=\"whskin_tbars.htm\" id=\"toolbar\" frameborder=\"0\" border=\"0\" scrolling=\"no\" noresize marginheight=\"0\" marginwidth=\"0\" title=\"Toolbar\"></frame><frame src=\"whskin_frmset01.htm\"  frameborder=\"1\" border=\"1\" scrolling=\"auto\" marginheight=\"0\" marginwidth=\"0\"></frame></frameset>";\r
-       document.write(strHTML);\r
-}\r
-//-->\r
-</script>\r
-\r
-<frameset cols="100%,*" frameborder=no border=0>\r
-  <frame src="whnjs.htm">\r
-  <frame src="whskin_blank.htm" noresize>\r
-</frameset>\r
-\r
-</html>
\ No newline at end of file
+<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>
index 701c66e27e24248a422a4184685169c0de2e4731..66213ff184593c8f884a40ab8b39dacb1930fe3a 100755 (executable)
@@ -1,20 +1,20 @@
-<html>\r
-<head>\r
-<title>WebHelp 5.50 </title>\r
-<meta name="description" content="output from robohelp">\r
-<meta name="keywords" content="robohelp,webhelp,webhelp enterprise,roboinfo">\r
-</head>\r
-<body>\r
-<h1> WebHelp 5.50 System  Info </h1>\r
-<table>\r
-<tr><td> Start Page </td><td>geom.htm</td></tr>\r
-<tr><td> Skin Name </td><td>Default</td></tr>\r
-<tr><td> Generating Time </td><td>17:29 01/30/2006</td></tr>\r
-<tr><td> Language ID </td><td>1033</td></tr>\r
-<tr><td> Compile Script </td><td>webhelp5_compile_script.xml</td></tr>\r
-<tr><td> Compile Build Version </td><td>13.10.606</td></tr>\r
-<tr><td> Product Name </td><td>WebHelp 5.50</td></tr>\r
-<tr><td> Authoring Tool Name </td><td>RoboHelp X5</td></tr>\r
-<table>\r
-</body>\r
+<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>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_mbars.htm b/doc/salome/gui/GEOM/whskin_mbars.htm
deleted file mode 100755 (executable)
index c4fa48a..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<html>\r
-<head>\r
-<title> WebHelp Navigation Mini-bar </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<style>\r
-<!--\r
-body {margin:0;}\r
--->\r
-</style>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whtbar.js"></script>\r
-<body marginheight="0"  marginwidth="0"  bgcolor="#99ccff"     scroll="no">\r
-<script language="javascript1.2">\r
-<!--\r
-if (window.gbWhTBar)\r
-{\r
-       setButtonFont("avprev","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("avnext","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("synctoc","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("hide2","Tahoma","8pt","Black","Normal","Normal","none");\r
-\r
-       gsIPrev = "wht_prev.gif";\r
-       gsIPrevD = "wht_prev_g.gif";\r
-       gsINext = "wht_next.gif";\r
-       gsINextD = "wht_next_g.gif";\r
-       gsISync = "wht_sync.gif";\r
-       gsIHide = "wht_hide.gif";\r
-       setBackgroundcolor("#99ccff");\r
-       \r
-       \r
-       addButton("avprev",BTN_TEXT|BTN_IMG,"","","","","",0,0,"","","","","","");\r
-addButton("avnext",BTN_TEXT|BTN_IMG,"","","","","",0,0,"","","","","","");\r
-addButton("synctoc",BTN_TEXT|BTN_IMG,"","","","","",0,0,"","","","","","");\r
-addButton("hide2",BTN_TEXT|BTN_IMG,"","","","","",0,0,"","","","","","");\r
-\r
-       addButton("blankblock");\r
-       writeStyle(true);\r
-       ReSortMinibarButtons();\r
-       writeToolBar();\r
-}\r
-else\r
-       document.location.reload();\r
-\r
-if (window.gbNav6)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);\r
-       SendMessage(oMsg);\r
-}\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_papplet.htm b/doc/salome/gui/GEOM/whskin_papplet.htm
deleted file mode 100755 (executable)
index 5f8296a..0000000
+++ /dev/null
@@ -1,360 +0,0 @@
-<html>\r
-<head>\r
-<title>Navigation Pane</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gsInitPane="toc";\r
-var gsCurrentPane="";\r
-var gbLoading = "unknown";\r
-var gbTryTime = 0;\r
-var gbMaxTryTime = 6;\r
-var gbPassPhase0 = 0;\r
-var gbretried = 0;\r
-var gbmaxretry = 3;\r
-var gbretrytime = new Array();\r
-\r
-var origWidth = 0;\r
-var origHeight = 0;\r
-\r
-gbretrytime[0]= 5000;\r
-gbretrytime[1]= 30000;\r
-gbretrytime[2]= 60000;\r
-\r
-function addPane(sName, sFile)\r
-{\r
-}\r
-\r
-function setShowPane(sName)\r
-{\r
-       gsInitPane=sName;\r
-}\r
-  addPane("toc","whtdhtml.htm");\r
-  addPane("fts","whfdhtml.htm");\r
-  addPane("glo","whgdhtml.htm");\r
-  setShowPane("toc");\r
-\r
-\r
-function window_unload()\r
-{\r
-       if (!gbNav4 || gbNav6) // resize will call unload, but the register code will never be called on Netscape 4.\r
-       {\r
-               UnRegisterListener2(this, WH_MSG_SHOWTOC);\r
-               UnRegisterListener2(this, WH_MSG_SHOWIDX);\r
-               UnRegisterListener2(this, WH_MSG_SHOWFTS);\r
-               UnRegisterListener2(this, WH_MSG_SHOWGLO);\r
-               UnRegisterListener2(this, WH_MSG_SYNCTOC);\r
-               UnRegisterListener2(this, WH_MSG_SEARCHTHIS);\r
-               UnRegisterListener2(this, WH_MSG_GETPANEINFO);\r
-       }\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       var bHidePane=false;\r
-       var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);\r
-       if (SendMessage(oMsg))\r
-       {\r
-               if(oMsg.oParam>0)\r
-               {\r
-                       if(oMsg.oParam==1)\r
-                               gsInitPane="toc";\r
-                       else if(oMsg.oParam==2)\r
-                               gsInitPane="idx";\r
-                       else if(oMsg.oParam==3)\r
-                               gsInitPane="fts";\r
-                       else if(oMsg.oParam==4)\r
-                               gsInitPane="glo";\r
-               }\r
-               else if(oMsg.oParam==0)\r
-               {\r
-                       bHidePane=true;\r
-               }\r
-       }\r
-       if (bHidePane)\r
-       {\r
-               oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null)\r
-               SendMessage(oMsg);\r
-       }\r
-       else if (gsInitPane == "toc")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-       else if (gsInitPane=="idx")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWIDX,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-       else if (gsInitPane=="fts")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-       else if (gsInitPane=="glo")\r
-       {\r
-               oMsg=new whMessage(WH_MSG_SHOWGLO,this,1,null)\r
-               SendMessage(oMsg);      \r
-       }\r
-       \r
-}\r
-\r
-function onResize()\r
-{\r
-       var oMsg=null;\r
-       if (gbIE4)\r
-       {\r
-               if(document.body)\r
-               {\r
-                       if(document.body.clientWidth > 1 && document.body.clientHeight>1)\r
-                       {\r
-                               oMsg = new whMessage(WH_MSG_RESIZEPANE,this,1,null);\r
-                               SendMessage(oMsg);\r
-                       }\r
-               }\r
-       }\r
-       else \r
-       {\r
-               if (window.innerWidth != 0 && window.innerHeight != 0)\r
-               {\r
-                       oMsg = new whMessage(WH_MSG_RESIZEPANE,this,1,null);\r
-                       SendMessage(oMsg);\r
-               }\r
-       }\r
-}\r
-\r
-function CheckLoadingPhase0()\r
-{\r
-       if (!gbPassPhase0) {\r
-               setTimeout("CheckLoadingPhase0()", 1000);\r
-               document.applets[0];\r
-               gbPassPhase0 = 1;\r
-       }\r
-       else {\r
-               CheckLoadingPhase1();\r
-       }\r
-}\r
-\r
-function CheckLoadingPhase1()\r
-{\r
-       if (gbNav4) {\r
-               if ("unknown" == gbLoading && document.readystate < 4) {\r
-                       setTimeout("CheckLoadingPhase1()", 1000);\r
-               }\r
-               else if ("unknown" == gbLoading) {\r
-                       CheckLoadingPhase2();\r
-               }\r
-       }\r
-}\r
-\r
-function CheckLoadingPhase2()\r
-{\r
-       if (gbNav4) {\r
-               gbTryTime ++;\r
-               if ("unknown" == gbLoading) {\r
-                       if (gbTryTime <= gbMaxTryTime )\r
-                               setTimeout("CheckLoadingPhase2()", 1000);\r
-                       else {\r
-                               if (gnVerMinor != 4.60) {\r
-                                       alert("Unable to load applet. If you are using an old version of Netscape, the prefs.js file needs to be edited.");\r
-                               }\r
-                       }       \r
-               }\r
-       }\r
-}\r
-\r
-function CheckAppletLoaded()\r
-{\r
-       if (typeof(document.WebHelp) == "undefined")\r
-       {\r
-               document.location.reload();\r
-               if (gbretried < gbmaxretry)\r
-               {\r
-                       gbretried ++;\r
-                       setTimeout("CheckAppletLoaded();", gbretrytime[gbretried]);\r
-               }\r
-       }\r
-}\r
-\r
-function reDo() \r
-{\r
-       if (innerWidth != origWidth || innerHeight != origHeight)  \r
-       {\r
-               //reloaded applet if nessary\r
-               gbretried = 0;\r
-\r
-               if (gnVerMinor == 4.60) \r
-               {\r
-                       //reload the applet again.\r
-                       document.location.reload();\r
-                       gbretried ++;\r
-               }\r
-               setTimeout("CheckAppletLoaded();", gbretrytime[gbretried]);\r
-       }\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if (oMsg)\r
-       {       \r
-               var nMsgId = oMsg.nMessageId;\r
-               var WebHelpApplet = null;\r
-               if (gbNav4)\r
-               {\r
-                       WebHelpApplet = document.applets["WebHelp"];\r
-                       if (!WebHelpApplet.Command)\r
-                               document.location="whskin_plist.htm";\r
-               }\r
-               else\r
-                       WebHelpApplet = window.WebHelp;\r
-\r
-               if(nMsgId==WH_MSG_GETPANEINFO)\r
-               {\r
-                       oMsg.oParam=gsCurrentPane;\r
-                       return false;\r
-               }\r
-               else if(gbLoading!="unknown" || gbNav6)\r
-               {\r
-                       if (nMsgId == WH_MSG_SHOWTOC)\r
-                       {\r
-                               gsCurrentPane="toc";\r
-                               WebHelpApplet.Command("Contents",null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"toc");\r
-                               SendMessage(onMsg);\r
-                               onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if(nMsgId==WH_MSG_SHOWIDX)\r
-                       {\r
-                               gsCurrentPane="idx";\r
-                               WebHelpApplet.Command("Index",null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"idx");\r
-                               SendMessage(onMsg);\r
-                               onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if(nMsgId==WH_MSG_SHOWFTS)\r
-                       {\r
-                               gsCurrentPane="fts";\r
-                               WebHelpApplet.Command("Search",null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"fts");\r
-                               SendMessage(onMsg);\r
-                               onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if(nMsgId==WH_MSG_SHOWGLO)\r
-                       {\r
-                               gsCurrentPane="glo";\r
-                               WebHelpApplet.Command("Glossary",null);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"glo");\r
-                               SendMessage(onMsg);\r
-                               onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-                       else if(nMsgId==WH_MSG_SYNCTOC)\r
-                       {\r
-                               gsCurrentPane="toc";\r
-                               var oTopicParam=oMsg.oParam;\r
-                               if(oTopicParam&&oTopicParam.aPaths&&oTopicParam.aPaths.length>0&&oTopicParam.sPPath)\r
-                               {\r
-                                       var sPPath=_browserStringToText(oTopicParam.sPPath);\r
-                                       var sParam="";\r
-                                       for(var i=0;i<oTopicParam.aPaths.length;i++)\r
-                                       {\r
-                                               sParam+=oTopicParam.aPaths[i]+"\r\r";\r
-                                       }\r
-                                       WebHelpApplet.Command("SyncToc",sPPath,sParam);\r
-                               }\r
-                       }\r
-                       else if(nMsgId==WH_MSG_SEARCHTHIS)\r
-                       {\r
-                               gsCurrentPane="fts";\r
-                               WebHelpApplet.Command("Search",oMsg.oParam);\r
-                               var onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"fts");\r
-                               SendMessage(onMsg);\r
-                               onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                               SendMessage(onMsg);\r
-                       }\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function getInitTocInfo()\r
-{\r
-       var oParam=new Object();\r
-       oParam.oTocInfo=null;\r
-       var oMsg=new whMessage(WH_MSG_GETTOCPATHS,this,1,oParam);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               var oTopicParam=oMsg.oParam.oTocInfo;\r
-               if(oTopicParam&&oTopicParam.aPaths&&oTopicParam.aPaths.length>0&&oTopicParam.sPPath)\r
-               {\r
-                       var sPPath=_browserStringToText(oTopicParam.sPPath);\r
-                       var sParam="";\r
-                       for(var i=0;i<oTopicParam.aPaths.length;i++)\r
-                       {\r
-                               sParam+=oTopicParam.aPaths[i]+"\r\r";\r
-                       }\r
-                       var WebHelpApplet;\r
-                       if(gbNav4)\r
-                               WebHelpApplet=document.applets["WebHelp"];\r
-                       else\r
-                               WebHelpApplet=WebHelp;\r
-                       WebHelpApplet.Command("SyncToc",sPPath,sParam);\r
-               }\r
-       }\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       RegisterListener2(this, WH_MSG_SHOWTOC);\r
-       RegisterListener2(this, WH_MSG_SHOWIDX);\r
-       RegisterListener2(this, WH_MSG_SHOWFTS);\r
-       RegisterListener2(this, WH_MSG_SHOWGLO);\r
-       RegisterListener2(this, WH_MSG_SYNCTOC);\r
-       RegisterListener2(this, WH_MSG_SEARCHTHIS);\r
-       RegisterListener2(this, WH_MSG_GETPANEINFO);\r
-\r
-       window.onresize=onResize;\r
-       window.onunload = window_unload;\r
-       window.onload=window_OnLoad;\r
-       window.onerror = null;\r
-       var gbWindows = ((gAgent.indexOf("win") != -1) || (gAgent.indexOf("16bit") != -1));\r
-\r
-       if (gbNav4 && !gbNav6 && gbWindows) {\r
-               setTimeout("CheckLoadingPhase0()", 1000);\r
-       }\r
-       if (gbNav4)\r
-       {\r
-               origWidth = innerWidth;\r
-               origHeight = innerHeight;\r
-               onresize = reDo;\r
-       }\r
-}\r
-else\r
-       document.location.reload();\r
-\r
-if (window.gbNav6)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);\r
-       SendMessage(oMsg);\r
-}\r
-//-->\r
-</script>\r
-</head>\r
-<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" bgcolor="c0c0c0">\r
-<applet code=WebHelp.class name=WebHelp  archive=webhelp.jar width=100% height=100% MAYSCRIPT hspace=0 vspace=0>\r
-<PARAM name=ProjectFile value=whproj.xml><PARAM name=ResourceFile value=whres.xml>\r
-<PARAM name=HideTabs value=true>\r
-<PARAM name=Frame value=bsscright>\r
-<PARAM name=cabbase value=webhelp.cab>\r
-</applet>\r
-</body>\r
-</html>\r
diff --git a/doc/salome/gui/GEOM/whskin_pdhtml.htm b/doc/salome/gui/GEOM/whskin_pdhtml.htm
deleted file mode 100755 (executable)
index 763aa14..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<html>\r
-<head>\r
-<title> Navigation Pane </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<body border=0 topmargin=0 bottommargin=0 rightmargin=0 leftmargin=0 scroll=no>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whphost.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-if (window.gbWhPHost)\r
-{\r
-       var gsNavReDirect="whskin_plist.htm";\r
-       var gbReDirectThis=true;\r
-       var oMsg = new whMessage(WH_MSG_GETPANES, this, 1, null);\r
-       if (SendMessage(oMsg))\r
-       {\r
-               if (oMsg.oParam)\r
-               {\r
-                       for (var i=0;i<oMsg.oParam.aPanes.length;i++)\r
-                       {\r
-                               addPane(oMsg.oParam.aPanes[i].sPaneName, oMsg.oParam.aPanes[i].sPaneURL);\r
-                       }\r
-                       setShowPane(oMsg.oParam.sDefault);\r
-                       setServerEnabled();\r
-               }\r
-               else\r
-                       writeWebHelpPane();\r
-       }\r
-       else\r
-               writeWebHelpPane();\r
-}\r
-else\r
-       document.location.reload();\r
-\r
-if (window.gbNav6)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_RELOADNS6,this, 1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-\r
-function writeWebHelpPane()\r
-{\r
-  var bPreferXML             = false;\r
-  var strProjectFileXML =  "whproj.xml";\r
-  var strProjectFileHTM =  "whproj.htm";       \r
-  addProject(bPreferXML, strProjectFileXML, strProjectFileHTM);\r
-  addPane("toc","whtdhtml.htm");\r
-  addPane("fts","whfdhtml.htm");\r
-  addPane("glo","whgdhtml.htm");\r
-  setShowPane("toc");\r
-\r
-}\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
index 1f1af7fc4d24cad78c14981e8971c2d87783f855..d06481fca10bc9c5e6b2fffee449a57d94225c4d 100755 (executable)
-<html>\r
-<head>\r
-<title>Select a Topic&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</title>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript">\r
-<!--\r
-var gsBgColor = "#c0c0c0";\r
-var gsBgImage = "";\r
-var gsListBgColor = "white";\r
-var gsListBgImage = "";\r
-var gsMargin="0pt";\r
-var gsIndent="0pt";\r
-var gSelectedItem = -1;\r
-\r
-\r
-var goFont=null;\r
-var goHoverFont=null;\r
-var goTableFont=null;\r
-var gsABgColor="#cccccc";\r
-\r
-function setListBackground(sBgImage)\r
-{\r
-       if (sBgImage != null && sBgImage.length > 0)\r
-               gsListBgImage = sBgImage;\r
-}\r
-\r
-function setListBackgroundcolor(sBgColor)\r
-{\r
-       if (sBgColor != null && sBgColor.length > 0)\r
-               gsListBgColor = sBgColor;\r
-}\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       if (sBgImage != null && sBgImage.length > 0)\r
-               gsBgImage = sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       if (sBgColor != null && sBgColor.length > 0)\r
-               gsBgColor = sBgColor;\r
-}\r
-\r
-function setActiveBgColor(sBgColor)\r
-{\r
-       gsABgColor=sBgColor;\r
-}\r
-\r
-function setFont(sType, sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if (sType == "Normal")\r
-               goFont=vFont;\r
-       if (sType == "Hover")\r
-               goHoverFont=vFont;\r
-       else if (sType == "Table")\r
-               goTableFont=vFont;\r
-}\r
-\r
-function fnOnload()\r
-{\r
-       if( window.dialogArguments != null )\r
-               fnLoadOptions( window.dialogArguments );\r
-       var items = getElementsByTag(document, "a");\r
-       if (items.length > 0)\r
-               items[0].focus();\r
-}\r
-\r
-var gaOpts = new Array();\r
-\r
-function selectOption(index)\r
-{\r
-       gSelectedItem = index;\r
-}\r
-\r
-function displayOption(index)\r
-{\r
-       if (index < gaOpts.length)\r
-       {\r
-               returnValue = new Object();\r
-               returnValue.m_url = gaOpts[index];\r
-       }\r
-       else\r
-               returnValue = null;\r
-\r
-       window.close();\r
-}\r
-\r
-function fnLoadOptions( cList )\r
-{\r
-       var sHTML = "<dl>";\r
-       for( var i=0;i <cList.length; i++)\r
-       {\r
-               sHTML += "<dt><nobr><a href=\"javascript:void(0);\" onclick=\"return false;\" onfocus=\"selectOption(";\r
-               sHTML += gaOpts.length + ");return false;\" ondblclick=\"displayOption(" + gaOpts.length;\r
-               sHTML += ");return false;\">"+ _textToHtml(cList[i].m_sName) + "</a></nobr></dt>";\r
-               gaOpts[gaOpts.length] = cList[i].m_sURL;\r
-       }\r
-       sHTML += "</dl>";\r
-       var oDivCon=getElement("divlist");\r
-       if(oDivCon)\r
-               oDivCon.innerHTML=sHTML;\r
-       return true;\r
-}\r
-\r
-function fnOK()\r
-{\r
-       displayOption(gSelectedItem);\r
-}\r
-\r
-function fnCancel()\r
-{\r
-       returnValue = null;             window.close();\r
-}\r
-\r
-function fnOnKeypress()\r
-{\r
-       switch( event.keyCode )\r
-       {\r
-       case 13:        // enter key\r
-               fnOK();\r
-               break;\r
-       case 27:        // escape key\r
-               fnCancel();\r
-               break;\r
-       }\r
-}\r
-\r
-function writeStyle(bMiniBar)\r
-{\r
-       var sStyle="";\r
-       sStyle+="<style type='text/css'>\n";\r
-       sStyle+="<!--\n";\r
-       sStyle+="body.clsbody\n";\r
-       sStyle+="{\n";\r
-       sStyle+="margin: 4px;\n";\r
-       sStyle+=getFontStyle(goTableFont);\r
-       sStyle+="background-attachment: fixed;\n";\r
-       sStyle+="};\n";\r
-       sStyle+="P.clsNDXTD\n";\r
-       sStyle+="{\n";\r
-       sStyle+="margin:0;\n";\r
-       sStyle+=getFontStyle(goTableFont);\r
-       sStyle+="};\n";\r
-       sStyle+="div.clslist\n";\r
-       sStyle+="{\n";\r
-       if (gsListBgImage)\r
-               sStyle+="background-image:url("+gsListBgImage+");\n";\r
-       else if (gsListBgColor)\r
-               sStyle+="background-color:"+gsListBgColor+";\n";\r
-       sStyle+=getFontStyle(goFont);\r
-       sStyle+="};\n";\r
-       sStyle+="BUTTON.clsNDXButton\n";\r
-       sStyle+="{\n";\r
-       sStyle+=getFontStyle(goTableFont);\r
-       sStyle+="background-color: transparent;\n";\r
-       sStyle+="};\n";\r
-       sStyle+="dl {"+getFontStyle(goFont)+"margin-left:"+gsIndent+";margin-top:"+gsMargin+";}\n";\r
-       sStyle+="A:link {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:active {background-color:"+gsABgColor+";}\n";\r
-       sStyle+="A:hover {"+getFontStyle(goHoverFont)+"}\n";\r
-       sStyle+="</style>\n";\r
-       document.write(sStyle);\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(document.body)\r
-       {\r
-               if(gsBgImage&&gsBgImage.length>0)\r
-               {\r
-                       document.body.background=gsBgImage;\r
-               }\r
-               if(gsBgColor&&gsBgColor.length>0)\r
-               {\r
-                       document.body.bgColor=gsBgColor;\r
-               }\r
-       }\r
-       fnOnload();\r
-       window_onResize();\r
-}\r
-\r
-function window_onResize()\r
-{\r
-       var oDiv = getElement("divlist");\r
-       var oTitle = getElement("p_title");\r
-       var oButton = getElement("tb_button");\r
-       if (oDiv && oTitle && oButton)\r
-       {\r
-               oDiv.style.height = document.body.offsetHeight - oTitle.offsetHeight - oButton.offsetHeight - 8;\r
-       }\r
-}\r
-goTableFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-goHoverFont=new whFont("Verdana","8pt","#666666","normal","normal","none");\r
-\r
-\r
-setBackgroundcolor("White");\r
-\r
-setFont("Table", "Tahoma","8pt","Navy","Normal","Normal","none");\r
-setListBackgroundcolor("White");\r
-\r
-setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-setFont("Hover", "Tahoma","8pt","Navy","Normal","Normal","underline");\r
-setActiveBgColor("Silver");\r
-\r
-window.onload=window_OnLoad;\r
-window.onresize = window_onResize;\r
-writeStyle();\r
-//-->\r
-</script>\r
-</head>\r
-\r
-<body class="clsbody" scroll="no" onkeypress="fnOnKeypress()">\r
-<p id="p_title" class="clsNDXTD"><nobr>Select a topic, then click Display</nobr></p>\r
-<div id="divlist" class="clslist" style="margin:2px;position: relative;overflow:auto;width:100%;border-style:inset;border-width:2">\r
-</div>\r
-<table id="tb_button" width="100%">\r
-  <tr>\r
-    <td width="100%" align="center"><button class="clsNDXButton" name="btnOK" onclick="fnOK()">Display</button>&#32;&#32;&#32;<button class="clsNDXButton" name="btnCancel" onclick="fnCancel()">Cancel</button></td>\r
-  </tr>\r
-</table>\r
-\r
-</body>\r
-\r
+<html>
+<head>
+<title>Select a Topic&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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>&#32;&#32;&#32;<button class="clsNDXButton" name="btnCancel" onclick="fnCancel()">Cancel</button></td>
+  </tr>
+</table>
+
+</body>
+
 </html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_plist.htm b/doc/salome/gui/GEOM/whskin_plist.htm
deleted file mode 100755 (executable)
index f7cf6d1..0000000
+++ /dev/null
@@ -1,238 +0,0 @@
-<html>\r
-<head>\r
-<title> Navigation Pane </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-</head>\r
-<script language="javascript">\r
-<!--\r
-var strFrmToc="";\r
-var strFrmNdx="";\r
-var strFrmFts="";\r
-var strFrmGls="";\r
-var strFrmDft="";\r
-var gstrName="";\r
-\r
-//set overwrite here\r
-function setListFrames(strToc,strNdx,strFts,strGls,strDefault)\r
-{\r
-       strFrmToc=strToc;\r
-       strFrmNdx=strNdx;\r
-       strFrmFts=strFts;\r
-       strFrmGls=strGls;\r
-       strFrmDft=strDefault;\r
-       if(strFrmDft==strFrmToc)\r
-               gstrName="toc";\r
-       else if(strFrmDft==strFrmNdx)\r
-               gstrName="idx";\r
-       else if(strFrmDft==strFrmFts)\r
-               gstrName="fts";\r
-       else if(strFrmDft==strFrmGls)\r
-               gstrName="glo";\r
-}\r
-\r
-function setWebHelpPane()\r
-{\r
-       setListFrames("whgdata/whnvf30.htm","whgdata/whnvf31.htm","whgdata/whnvf32.htm","whgdata/whnvf33.htm","whgdata/whnvf30.htm");\r
-}\r
-\r
-function window_unload()\r
-{\r
-       if(!gbNav4||gbNav6) // resize will call unload, but the register code will never be called on Netscape 4.\r
-       {\r
-               UnRegisterListener2(this,WH_MSG_SHOWTOC);\r
-               UnRegisterListener2(this,WH_MSG_SHOWIDX);\r
-               UnRegisterListener2(this,WH_MSG_SHOWFTS);\r
-               UnRegisterListener2(this,WH_MSG_SHOWGLO);\r
-               UnRegisterListener2(this,WH_MSG_GETPANEINFO);\r
-       }\r
-}\r
-\r
-function window_onload()\r
-{\r
-       var bHidePane=false;\r
-       var oMsg=new whMessage(WH_MSG_GETCMD,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               if(oMsg.oParam>0)\r
-               {\r
-                       if(oMsg.oParam==1)\r
-                               gstrName="toc";\r
-                       else if(oMsg.oParam==2)\r
-                               gstrName="idx";\r
-                       else if(oMsg.oParam==3)\r
-                               gstrName="fts";\r
-                       else if(oMsg.oParam==4)\r
-                               gstrName="glo";\r
-                       switchNvp(gstrName);\r
-               }\r
-               else if(oMsg.oParam==0)\r
-               {\r
-                       bHidePane=true;\r
-               }\r
-               else if(gstrName)\r
-                       switchNvp(gstrName);\r
-       }\r
-       if(bHidePane)\r
-       {\r
-               oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null)\r
-               SendMessage(oMsg);\r
-       }\r
-       else if(gstrName)\r
-       {\r
-               oMsg=new whMessage(WH_MSG_PANEINFO,this,1,gstrName);\r
-               SendMessage(oMsg);\r
-       }\r
-       oMsg=new whMessage(WH_MSG_NOSYNC,this,1,null);\r
-       SendMessage(oMsg);\r
-       oMsg=new whMessage(WH_MSG_NOSEARCHINPUT,this,1,null);\r
-       SendMessage(oMsg);\r
-\r
-}\r
-\r
-function switchNvp(strName)\r
-{\r
-       var strFile="";\r
-       if(strName=="toc")              strFile=strFrmToc;\r
-       else if(strName=="idx") strFile=strFrmNdx;\r
-       else if(strName=="fts") strFile=strFrmFts;\r
-       else if(strName=="glo") strFile=strFrmGls;\r
-\r
-       gstrName=strName;\r
-       frames[0].location=strFile;     \r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if(oMsg)\r
-       {\r
-               var onMsg=null;\r
-               var nMsgId=oMsg.nMessageId;\r
-               if(nMsgId==WH_MSG_SHOWTOC)\r
-               {\r
-                       switchNvp("toc");\r
-                       onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"toc");\r
-                       SendMessage(onMsg);\r
-                       onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWIDX)\r
-               {\r
-                       switchNvp("idx");\r
-                       onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"idx");\r
-                       SendMessage(onMsg);\r
-                       onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWFTS)\r
-               {\r
-                       switchNvp("fts");\r
-                       onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"fts");\r
-                       SendMessage(onMsg);\r
-                       onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWGLO)\r
-               {\r
-                       switchNvp("glo");\r
-                       onMsg=new whMessage(WH_MSG_PANEINFO,this,1,"glo");\r
-                       SendMessage(onMsg);\r
-                       onMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-                       SendMessage(onMsg);\r
-               }\r
-               else if(nMsgId==WH_MSG_GETPANEINFO)\r
-               {\r
-                       oMsg.oParam=gstrName;\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function onResize()\r
-{\r
-       var oMsg=null;\r
-       if(gbIE4)\r
-       {\r
-               if(document.body)\r
-               {\r
-                       if(document.body.clientWidth>1&&document.body.clientHeight>1)\r
-                       {\r
-                               oMsg=new whMessage(WH_MSG_RESIZEPANE,this,1,null);\r
-                               SendMessage(oMsg);\r
-                       }\r
-               }\r
-       }\r
-       else\r
-       {\r
-               if(window.innerWidth!=0&&window.innerHeight!=0)\r
-               {\r
-                       oMsg=new whMessage(WH_MSG_RESIZEPANE,this,1,null);\r
-                       SendMessage(oMsg);\r
-               }\r
-       }\r
-}\r
-\r
-if(window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_GETPANES,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               if(oMsg.oParam)\r
-               {\r
-                       for(var i=0;i<oMsg.oParam.aPanes.length;i++)\r
-                       {\r
-                               if(oMsg.oParam.aPanes[i].sPaneName=="toc")\r
-                                       strFrmToc=oMsg.oParam.aPanes[i].sPaneURL;\r
-                               else if(oMsg.oParam.aPanes[i].sPaneName=="idx")\r
-                                       strFrmNdx=oMsg.oParam.aPanes[i].sPaneURL;\r
-                               else if(oMsg.oParam.aPanes[i].sPaneName=="fts")\r
-                                       strFrmFts=oMsg.oParam.aPanes[i].sPaneURL;\r
-                               else if(oMsg.oParam.aPanes[i].sPaneName=="glo")\r
-                                       strFrmGls=oMsg.oParam.aPanes[i].sPaneURL;\r
-                               if(oMsg.oParam.sDefault==oMsg.oParam.aPanes[i].sPaneName)\r
-                               {\r
-                                       strFrmDft=oMsg.oParam.aPanes[i].sPaneURL;\r
-                               }\r
-                       }\r
-               }\r
-               else\r
-                       setWebHelpPane();\r
-       }\r
-       else\r
-               setWebHelpPane();\r
-\r
-       RegisterListener2(this,WH_MSG_SHOWTOC);\r
-       RegisterListener2(this,WH_MSG_SHOWIDX);\r
-       RegisterListener2(this,WH_MSG_SHOWFTS);\r
-       RegisterListener2(this,WH_MSG_SHOWGLO);\r
-       RegisterListener2(this,WH_MSG_GETPANEINFO);\r
-\r
-       if(gbIE55)\r
-               window.onresize=onResize;\r
-\r
-       window.onunload=window_unload;\r
-       window.onload=window_onload;\r
-\r
-       var strHtml="";\r
-       strHtml+="<frameset rows=\'100%,*\'>";\r
-       strHtml+="<frame name=\'nvplist\' title=\'navpane frame\' src=\'" + strFrmDft +"\'></frame>";\r
-       strHtml+="<frame src=\'whskin_blank.htm\' noresize></frame>";\r
-       strHtml+="</frameset>";\r
-       document.write(strHtml);\r
-}\r
-else\r
-       document.location.reload();\r
-\r
-if(window.gbNav6)\r
-{\r
-       var oMsg=new whMessage(WH_MSG_RELOADNS6,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-//-->\r
-</script>\r
-</html>
\ No newline at end of file
diff --git a/doc/salome/gui/GEOM/whskin_tbars.htm b/doc/salome/gui/GEOM/whskin_tbars.htm
deleted file mode 100755 (executable)
index 6cb4902..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-<html>\r
-<head>\r
-<title> WebHelp Navigation Toolbar </title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-</head>\r
-<style>\r
-<!--\r
-body {margin:0;}\r
--->\r
-</style>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whtbar.js"></script>\r
-\r
-\r
-<body marginheight="0"  marginwidth="0"  bgcolor="#99ccff"     scroll="no">\r
-<script language="javascript1.2">\r
-<!--\r
-if (window.gbWhTBar)\r
-{\r
-       setButtonFont("toc","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("toc","Tahoma","8pt","White","Normal","Normal","none", true);\r
-setButtonFont("idx","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("idx","Tahoma","8pt","White","Normal","Normal","none", true);\r
-setButtonFont("fts","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("fts","Tahoma","8pt","White","Normal","Normal","none", true);\r
-setButtonFont("glo","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("glo","Tahoma","8pt","White","Normal","Normal","none", true);\r
-setButtonFont("websearch","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("websearch","Tahoma","8pt","White","Normal","Normal","none", true);\r
-setButtonFont("searchform","Tahoma","8pt","Black","Normal","Normal","none");\r
-setButtonFont("searchform","","","","","","", true);\r
-setButtonFont("banner","","","","","","");\r
-setButtonFont("banner","","","","","","", true);\r
-\r
-       gsIToc = "wht_toc_n.gif";\r
-       gsITocS = "wht_toc_h.gif";\r
-       gsIIndex = "wht_idx_n.gif";\r
-       gsIIndexS = "wht_idx_h.gif";\r
-       gsISearch = "wht_fts_n.gif";\r
-       gsISearchS = "wht_fts_h.gif";\r
-       gsIGlossary = "wht_glo_n.gif";\r
-       gsIGlossaryS = "wht_glo_h.gif";\r
-       gsIWebSearch = "wht_ws.gif";\r
-       gsIWebSearchD = "wht_ws_g.gif";\r
-       gsIBanner = "wht_logo1.gif";\r
-       gsIGo = "wht_go.gif";\r
-       setBackgroundcolor("#99ccff");\r
-       \r
-       setAlignment("left");\r
-       \r
-       \r
-       if (!gsBgImage)\r
-       {\r
-       setButtonBgColor("toc", gsBgColor);\r
-       setButtonBgColor("idx", gsBgColor);\r
-       setButtonBgColor("fts", gsBgColor);\r
-       setButtonBgColor("glo", gsBgColor);\r
-       setButtonBgColor("toc", gsTBSelectedBgColor, true);\r
-       setButtonBgColor("idx", gsTBSelectedBgColor, true);\r
-       setButtonBgColor("fts", gsTBSelectedBgColor, true);\r
-       setButtonBgColor("glo", gsTBSelectedBgColor, true);\r
-       setButtonBgColor("toc","#99ccff");\r
-setButtonBgColor("idx","#99ccff");\r
-setButtonBgColor("fts","#99ccff");\r
-setButtonBgColor("glo","#99ccff");\r
-setButtonBgColor("websearch","#99ccff");\r
-setButtonBgColor("searchform","");\r
-setButtonBgColor("banner","");\r
-\r
-       }\r
-       setButtonBgColor("toc","#639ace", true);\r
-setButtonBgColor("idx","#639ace", true);\r
-setButtonBgColor("fts","#639ace", true);\r
-setButtonBgColor("glo","#639ace", true);\r
-setButtonBgColor("websearch","#639ace", true);\r
-setButtonBgColor("searchform","", true);\r
-setButtonBgColor("banner","", true);\r
-\r
-       addButton("toc",BTN_TEXT|BTN_IMG,"Contents","","","","",0,0,"","","","","","");\r
-addButton("fts",BTN_TEXT|BTN_IMG,"Search","","","","",0,0,"","","","","","");\r
-addButton("glo",BTN_TEXT|BTN_IMG,"Glossary","","","","",0,0,"","","","","","");\r
-addButton("searchform",BTN_TEXT,"","","","","",0,0,"","","","","","");\r
-addButton("banner",BTN_IMG,"","","","","",0,0,"","","","","","");\r
-\r
-       addButton("blankblock");\r
-       writeStyle(false);\r
-       ReSortToolbarButtons();\r
-       writeToolBar();\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-</body>\r
-</html>
\ No newline at end of file
index 69737fa1ec80b90ffd803923256b714df759af1f..01bee59ac6c21cb2f25e71a267b4102e784a8317 100755 (executable)
@@ -1,63 +1,63 @@
-<html>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2">\r
-<!--\r
-var gsTopic="";\r
-\r
-if (location.hash.length > 1)\r
-{\r
-       var nPos = location.hash.indexOf(">>");\r
-       if (nPos>1)\r
-       {\r
-               gsTopic = location.hash.substring(1, nPos);\r
-               parseParam(location.hash.substring(nPos+2));\r
-       }\r
-       else\r
-               gsTopic = location.hash.substring(1);\r
-}\r
-\r
-\r
-       var strHtml="";\r
-       strHtml+="<frameset rows=\'100%,*\'>";\r
-       strHtml+="<frame name=\'topicwindow\' src=\'" + gsTopic +"\'></frame>";\r
-       strHtml+="<frame src=\'whskin_blank.htm\' noresize></frame>";\r
-       strHtml+="</frameset>";\r
-       document.write(strHtml);\r
-\r
-function parseParam(sParam)\r
-{\r
-       if (sParam)\r
-       {\r
-               var nBPos=0;\r
-               do \r
-               {\r
-                       var nPos=sParam.indexOf(">>", nBPos);\r
-                       if (nPos!=-1)\r
-                       {\r
-                               if (nPos>0)\r
-                               {\r
-                                       var sPart=sParam.substring(nBPos, nPos);\r
-                                       parsePart(sPart);\r
-                               }\r
-                               nBPos = nPos + 2;\r
-                       }\r
-                       else\r
-                       {\r
-                               var sPart=sParam.substring(nBPos);\r
-                               parsePart(sPart);\r
-                               break;\r
-                       }\r
-               } while(nBPos < sParam.length);\r
-       }       \r
-}\r
-\r
-function parsePart(sPart)\r
-{\r
-       if(sPart.toLowerCase().indexOf("cap=")==0)\r
-       {\r
-               document.title=_browserStringToText(sPart.substring(4));\r
-       }\r
-}\r
-//-->\r
-</script>\r
+<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
diff --git a/doc/salome/gui/GEOM/whst_topics.xml b/doc/salome/gui/GEOM/whst_topics.xml
deleted file mode 100755 (executable)
index 6dce998..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1' ?>\r
-<topictemplate>\r
- <topic type="normal">\r
-  <add tag="head" pos="endbefore" >\r
-   <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_MESSAGE_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript\" src=\"";SF_VERSION_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_PROXY_JS ;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_UTILS_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_TOPIC_JS;"\"></script>\r
-";]]>\r
-  </add>\r
-  <add tag="body" pos="beginafter">\r
-    <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       ";\r
-         OutputInTopicNavBarDataToc("addTocInfo(\"%s\");\r\n");\r
-         OutputInTopicNavBarDataBrowse("addAvenueInfo(\"%s\",\"%s\",\"%s\");\r\n");\r
-         OutputInTopicNavBarDataButtons("addButton(%s);\r\n");\r
-       "\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(";WH_WEBSKIN.topic.bar.top.pos;");\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       ";\r
-         OutputInTopicNavBarDataHomePage("setRelStartPage(\"%s\");\r\n");\r
-         OutputInTopicNavBarDataWebSearch.href("addSearchFormHref(\"%s\");\r\n");\r
-       "\r
-               autoSync(";WH_USER_OPTIONS.autosync_toc;");\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>"]]>  \r
-  </add>\r
-  <add tag="body" pos="endbefore">\r
-   <![CDATA["<script type=\"text/javascript\" language=\"javascript1.2\">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(";WH_WEBSKIN.topic.bar.bottom.pos;");\r
-//-->\r
-</script>";\r
-OutputInTopicNavBarDataWebSearch.form();]]>    \r
-  </add>\r
- </topic>\r
- <topic type="frameset">\r
-  <add tag="head" pos="endbefore" >\r
-   <![CDATA["<script type=\"text/javascript1.2\" language=\"javascript\" src=\"";SF_MESSAGE_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript\" src=\"";SF_VERSION_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_PROXY_JS ;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_UTILS_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\" src=\"";SF_FRAMESET_JS;"\"></script>\r
-<script type=\"text/javascript\" language=\"javascript1.2\">\r
-<!--\r
-if (window.setRelStartPage)\r
-{\r
-";\r
-  OutputInTopicNavBarDataHomePage("setRelStartPage(\"%s\");\r\n");\r
-  OutputInTopicNavBarDataToc("addTocInfo(\"%s\");\r\n");\r
-  OutputInTopicNavBarDataBrowse("addAvenueInfo(\"%s\",\"%s\",\"%s\");\r\n");\r
-"\r
-}\r
-if (window.autoSync)\r
-       autoSync(";WH_USER_OPTIONS.autosync_toc;");\r
-//-->\r
-</script>\r
-";]]>\r
-  </add>\r
- </topic>\r
-</topictemplate>\r
diff --git a/doc/salome/gui/GEOM/whstart.ico b/doc/salome/gui/GEOM/whstart.ico
deleted file mode 100755 (executable)
index 365ecea..0000000
Binary files a/doc/salome/gui/GEOM/whstart.ico and /dev/null differ
index 7448a4792b641e6e02e84f1cb0cbc45fc21b8d64..3858ab2fc13c52a0855f30f862fc419d78635eb8 100755 (executable)
-//     WebHelp 5.10.003\r
-RegisterListener2(this, WH_MSG_GETSTARTFRAME);\r
-RegisterListener2(this, WH_MSG_GETDEFAULTTOPIC);\r
-RegisterListener2(this, WH_MSG_MINIBARORDER);\r
-RegisterListener2(this, WH_MSG_TOOLBARORDER);\r
-RegisterListener2(this, WH_MSG_ISSEARCHSUPPORT);\r
-RegisterListener2(this, WH_MSG_ISSYNCSSUPPORT);\r
-RegisterListener2(this, WH_MSG_ISAVENUESUPPORT);\r
-RegisterListener2(this, WH_MSG_GETPANETYPE);\r
-RegisterListener2(this, WH_MSG_GETPANES);\r
-RegisterListener2(this, WH_MSG_RELOADNS6);\r
-RegisterListener2(this, WH_MSG_GETCMD);\r
-RegisterListener2(this, WH_MSG_GETPANE);\r
-RegisterListener2(this, WH_MSG_GETDEFPANE);\r
-\r
-if (gbNav6)\r
-{\r
-       var gnReload=0;\r
-       setTimeout("delayReload();",5000);\r
-}\r
-\r
-function delayReload()\r
-{\r
-       if (!(this.cMRServer && cMRServer.m_strVersion))\r
-       {\r
-               if(gnReload!=2)\r
-               {\r
-                       if(nViewFrameType&&nViewFrameType==1)\r
-                               document.location=document.location;\r
-               }\r
-       }\r
-}\r
-\r
-var gsToolbarOrder = "toc|fts|glo|blankblock|searchform|banner";\r
-var gsMinibarOrder = "blankblock|hide2|";\r
-\r
-var gsTopic = "files/introduction_to_geom.htm";\r
-var PANE_OPT_SEARCH = 1;\r
-var PANE_OPT_BROWSESEQ = 2;\r
-var gnOpts=-1;\r
-var gnCmd=-1;\r
-var gnPans=2;\r
-var gsBtns="invalid";\r
-var gsDefaultBtn="invalid";\r
-var gbHasTitle=false;\r
-\r
-if (location.hash.length > 1)\r
-{\r
-       var sParam = location.hash;\r
-       if (sParam.indexOf("#<") == 0)\r
-       {\r
-               document.location = "whcsh_home.htm#" + sParam.substring(2);\r
-       }\r
-       else if (sParam.indexOf("#>>") == 0)\r
-       {\r
-               parseParam(sParam.substring(3));\r
-               sParam = "#" + gsTopic + sParam.substring(1);\r
-       }\r
-       else\r
-       {\r
-               var nPos = sParam.indexOf(">>");\r
-               if (nPos>1)\r
-               {\r
-                       gsTopic = sParam.substring(1, nPos);\r
-                       parseParam(sParam.substring(nPos+2));\r
-               }\r
-               else\r
-                       gsTopic = sParam.substring(1);\r
-       }\r
-       if (gnPans == 1 && gsTopic)\r
-       {\r
-               var strURL=location.href;\r
-               if (location.hash)\r
-               {\r
-                       var nPos=location.href.indexOf(location.hash);\r
-                       strURL=strURL.substring(0, nPos);\r
-               }\r
-               if (gbHasTitle)\r
-                       document.location=_getPath(strURL)+ "whskin_tw.htm" + sParam;\r
-               else\r
-                       document.location=_getPath(strURL)+ gsTopic;\r
-       }\r
-}\r
-\r
-function parseParam(sParam)\r
-{\r
-       if (sParam)\r
-       {\r
-               var nBPos=0;\r
-               do \r
-               {\r
-                       var nPos=sParam.indexOf(">>", nBPos);\r
-                       if (nPos!=-1)\r
-                       {\r
-                               if (nPos>0)\r
-                               {\r
-                                       var sPart=sParam.substring(nBPos, nPos);\r
-                                       parsePart(sPart);\r
-                               }\r
-                               nBPos = nPos + 2;\r
-                       }\r
-                       else\r
-                       {\r
-                               var sPart=sParam.substring(nBPos);\r
-                               parsePart(sPart);\r
-                               break;\r
-                       }\r
-               } while(nBPos < sParam.length);\r
-       }       \r
-}\r
-\r
-function parsePart(sPart)\r
-{\r
-       if(sPart.toLowerCase().indexOf("cmd=")==0)\r
-       {\r
-               gnCmd=parseInt(sPart.substring(4));\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("cap=")==0)\r
-       {\r
-               document.title=_browserStringToText(sPart.substring(4));\r
-               gbHasTitle=true;\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("pan=")==0)\r
-       {\r
-               gnPans=parseInt(sPart.substring(4));\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("pot=")==0)\r
-       {\r
-               gnOpts=parseInt(sPart.substring(4));\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("pbs=")==0)\r
-       {\r
-               var sRawBtns = sPart.substring(4);\r
-               var aBtns = sRawBtns.split("|");\r
-               for (var i=0;i<aBtns.length;i++)\r
-               {\r
-                       aBtns[i] = transferAgentNameToPaneName(aBtns[i]);\r
-               }\r
-               gsRawBtns = aBtns.join("|");\r
-       }\r
-       else if(sPart.toLowerCase().indexOf("pdb=")==0)\r
-       {\r
-               gsDefaultBtn=transferAgentNameToPaneName(sPart.substring(4));\r
-       }\r
-}\r
-\r
-function setToolbarOrder(sOrder)\r
-{\r
-       gsToolbarOrder = sOrder;\r
-}\r
-\r
-function setMinibarOrder(sOrder)\r
-{\r
-       gsMinibarOrder = sOrder;\r
-}\r
-\r
-function onSendMessageX(oMsg)\r
-{\r
-       var nMsgId = oMsg.nMessageId;\r
-       if (nMsgId == WH_MSG_GETSTARTFRAME)\r
-       {\r
-               oMsg.oParam.oFrame = this;\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_GETDEFAULTTOPIC)\r
-       {\r
-               if (this.cMRServer && cMRServer.m_strVersion)\r
-               {\r
-                       if (cMRServer.m_strURLTopic);\r
-                       {\r
-                               oMsg.oParam.sTopic = cMRServer.m_strURLTopic;\r
-                               return false;\r
-                       }\r
-\r
-               }\r
-               oMsg.oParam.sTopic = gsTopic;\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_TOOLBARORDER)\r
-       {\r
-               var oMsg1 = new whMessage(WH_MSG_GETPANES, this, 1, null);\r
-               if (SendMessage(oMsg1))\r
-               {\r
-                       if (oMsg1.oParam)\r
-                       {\r
-                               if (this.cMRServer && cMRServer.m_strVersion)\r
-                               {\r
-                                       var aToolbarOrder=cMRServer.m_strAgentList.split(";");\r
-                                       var i=0;\r
-                                       for (i=0;i<aToolbarOrder.length;i++)\r
-                                               aToolbarOrder[i]=transferANToPN2(aToolbarOrder[i]);\r
-                                       aToolbarOrder[aToolbarOrder.length] = "blankblock";\r
-                                       if (cMRServer.m_bShowSearchInput)\r
-                                       {\r
-                                               aToolbarOrder[aToolbarOrder.length] = "searchform";\r
-                                       }\r
-                                       aToolbarOrder[aToolbarOrder.length] = "banner";\r
-                                       var aToolbarOrderNew = new Array();\r
-                                       for (i=0;i<aToolbarOrder.length;i++)\r
-                                       {\r
-                                               if (isAPane(aToolbarOrder[i]))\r
-                                               {\r
-                                                       if (oMsg1.oParam.aPanes && oMsg1.oParam.aPanes.length)\r
-                                                       {\r
-                                                               for (var j=0;j<oMsg1.oParam.aPanes.length;j++)\r
-                                                               {\r
-                                                                       if (aToolbarOrder[i] == oMsg1.oParam.aPanes[j].sPaneName)\r
-                                                                       {\r
-                                                                               aToolbarOrderNew[aToolbarOrderNew.length] = aToolbarOrder[i];\r
-                                                                               break;\r
-                                                                       }\r
-                                                               }\r
-                                                       }\r
-                                               }\r
-                                               else\r
-                                                       aToolbarOrderNew[aToolbarOrderNew.length] = aToolbarOrder[i];\r
-                                       }\r
-                                       oMsg.oParam = aToolbarOrderNew.join("|");\r
-                                       return false;\r
-                               }\r
-                       }\r
-               }\r
-               var sParam="";\r
-               if (gsBtns!="invalid")\r
-                       sParam=gsBtns+"|blankblock|banner";\r
-               else\r
-                       sParam = gsToolbarOrder;\r
-\r
-               if (gnOpts!=-1)\r
-               {\r
-                       var nPosForm=sParam.indexOf("|searchform|");\r
-                       if (gnOpts&PANE_OPT_SEARCH)\r
-                       {\r
-                               if (nPosForm == -1 && sParam.indexOf("|fts|") != -1)\r
-                               {\r
-                                       var nPos=sParam.indexOf("banner");\r
-                                       if (nPos!=-1)\r
-                                       {\r
-                                               sParam=sParam.substring(0, nPos) + "searchform|" + sParam.substring(nPos);\r
-                                       }\r
-                               }\r
-                       }\r
-                       else\r
-                       {\r
-                               if (nPosForm!=-1)\r
-                               {\r
-                                       sParam=sParam.substring(0,nPosForm) + sParam.substring(nPosForm+11);\r
-                               }\r
-                       }\r
-               }\r
-               oMsg.oParam=sParam;\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_MINIBARORDER)\r
-       {\r
-               var sMinParam=gsMinibarOrder;\r
-               if (gnOpts!=-1)\r
-               {\r
-                       var nPosBro=gsMinibarOrder.indexOf("avprev|avnext");\r
-                       if (gnOpts&PANE_OPT_BROWSESEQ)\r
-                       {\r
-                               if (nPosBro==-1)\r
-                               {\r
-                                       sMinParam ="avprev|avnext|" + gsMinibarOrder;\r
-                               }\r
-                       }\r
-                       else\r
-                       {\r
-                               if (nPosBro!=-1)\r
-                               {\r
-                                       if (nPosBro!=0)\r
-                                               sMinParam=gsMinibarOrder.substring(0, nPosBro) + gsMinibarOrder.substring(nPosBro+14);\r
-                                       else\r
-                                               sMinParam=gsMinibarOrder.substring(14);\r
-                               }\r
-                       }\r
-               }\r
-               oMsg.oParam = sMinParam;\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_ISSYNCSSUPPORT)\r
-       {\r
-               if (this.cMRServer && cMRServer.m_strVersion)\r
-               {\r
-                       if (cMRServer.m_bShowSync)\r
-                               oMsg.oParam=true;\r
-                       else\r
-                               oMsg.oParam=false;\r
-                       return false;\r
-               }\r
-               else\r
-               {\r
-                       if(typeof(nViewFrameType)!="undefined")\r
-                       {\r
-                               oMsg.oParam= (nViewFrameType < 3);\r
-                               return false;\r
-                       }\r
-               }\r
-       }\r
-       else if (nMsgId == WH_MSG_ISAVENUESUPPORT)\r
-       {\r
-               if (this.cMRServer && cMRServer.m_strVersion)\r
-               {\r
-                       if (cMRServer.m_bShowBrowseSequences)\r
-                               oMsg.oParam=true;\r
-                       else\r
-                               oMsg.oParam=false;\r
-               }\r
-               else\r
-               {\r
-                       oMsg.oParam=true;\r
-               }\r
-               return false;\r
-       }\r
-       else if (nMsgId == WH_MSG_ISSEARCHSUPPORT)\r
-       {\r
-               if(typeof(nViewFrameType)!="undefined")\r
-               {\r
-                       oMsg.oParam= (nViewFrameType < 3);\r
-                       return false;\r
-               }\r
-       }\r
-       else if (nMsgId == WH_MSG_GETPANETYPE)\r
-       {\r
-               if(typeof(nViewFrameType)!="undefined")\r
-               {\r
-                       var oPaneInfo = new Object();\r
-                       oPaneInfo.nType = nViewFrameType;\r
-                       oPaneInfo.sPaneURL = strPane;\r
-                       oMsg.oParam = oPaneInfo;\r
-                       return false;\r
-               }\r
-       }\r
-       else if (nMsgId == WH_MSG_GETPANES)\r
-       {\r
-               if (this.cMRServer && cMRServer.m_strVersion)\r
-               {\r
-                       var oPanes = new Object();\r
-                       var aAgentNames = null;\r
-                       if (cMRServer.m_strDefAgent)\r
-                               oPanes.sDefault = transferAgentNameToPaneName(cMRServer.m_strDefAgent);\r
-\r
-                       aPanes = new Array();\r
-                       for(var i=0; i< cMRServer.m_cAgents.length; i++)\r
-                       {\r
-                               var nCur = aPanes.length;\r
-                               aPanes[nCur] = new Object();\r
-                               aPanes[nCur].sPaneName = transferAgentNameToPaneName(cMRServer.m_cAgents[i].m_strID);\r
-                               aPanes[nCur].sPaneURL = cMRServer.m_cAgents[i].m_strURL;\r
-                       }\r
-                       oPanes.aPanes = aPanes;\r
-                       oMsg.oParam = oPanes;\r
-                       return false;\r
-               }\r
-               else\r
-               {\r
-                       oMsg.oParam = null;\r
-                       return false;\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_RELOADNS6)\r
-       {\r
-               if(gbNav6)\r
-                       gnReload++;\r
-               return false;\r
-       }\r
-       else if(nMsgId==WH_MSG_GETCMD)\r
-       {\r
-               oMsg.oParam=gnCmd;\r
-               return false;\r
-       }\r
-       else if(nMsgId==WH_MSG_GETPANE)\r
-       {\r
-               if (gsBtns!="invalid" && oMsg.oParam.sName)\r
-               {\r
-                       if(gsBtns.indexOf(oMsg.oParam.sName) != -1)\r
-                               oMsg.oParam.bEnable=true;\r
-                       else\r
-                               oMsg.oParam.bEnable=false;\r
-               }\r
-               else\r
-                       oMsg.oParam.bEnable=true;\r
-               return false;\r
-       }\r
-       else if(nMsgId==WH_MSG_GETDEFPANE)\r
-       {\r
-               if (gsDefaultBtn!="invalid")\r
-               {\r
-                       oMsg.oParam=gsDefaultBtn;\r
-               }\r
-               return false;\r
-       }\r
-       return true;\r
-}\r
-\r
-function transferANToPN2(sAN)\r
-{\r
-       if (sAN =="toc")\r
-               return "toc";\r
-       else if (sAN =="ndx")\r
-               return "idx";\r
-       else if (sAN =="nls")\r
-               return "fts";\r
-       else if (sAN =="gls")\r
-               return "glo";\r
-       else if (sAN =="WebSearch")\r
-               return "websearch";\r
-       else if (sAN.indexOf("custom_")==0);\r
-               return "custom" + sAN.substring(7);\r
-       return sAN;\r
-}\r
-\r
-function transferAgentNameToPaneName(sAgentName)\r
-{\r
-       if (sAgentName =="toc")\r
-               return "toc";\r
-       else if (sAgentName =="ndx")\r
-               return "idx";\r
-       else if (sAgentName =="nls")\r
-               return "fts";\r
-       else if (sAgentName =="gls")\r
-               return "glo";\r
-       return "";\r
-}\r
-\r
-function isAPane(sPaneName)\r
-{\r
-       if (sPaneName == "toc" || sPaneName == "idx" || sPaneName == "fts" || sPaneName == "glo")\r
-               return true;\r
-       else\r
-               return false;\r
+//     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;
 }
\ No newline at end of file
index a43c6e1c43f9ee6acd4ef60b4d3e43f9307f120c..a94288c7c1745b060ea026c18641132450292516 100755 (executable)
-//     WebHelp 5.10.002\r
-window.whname="wh_stub";\r
-function getframehandle(frames,framename)\r
-{\r
-       var frame=null;\r
-       if(null==frames) return null;\r
-       for(var i=0;i<frames.length;i++)\r
-       {\r
-               if(typeof(frames[i].name)!="unknown")\r
-               {\r
-                       if(frames[i].name==framename)\r
-                               return frames[i];\r
-               }\r
-               if(frames[i].frames.length>0)\r
-               {\r
-                       frame=getframehandle(frames[i].frames,framename);\r
-                       if(null!=frame)\r
-                               return frame;\r
-               }\r
-       }\r
-       return frame;\r
-}\r
-\r
-function AddToArray(arr,obj)\r
-{\r
-       var bFound=false;\r
-       for(var i=0;i<arr.length;i++){\r
-               if(arr[i]==obj){\r
-                       bFound=true;\r
-                       break;\r
-               }\r
-               else if(arr[i]==null){\r
-                       break;\r
-               }\r
-       }\r
-       if(!bFound) arr[i]=obj;\r
-}\r
-\r
-var gArrayRegistedMessage=new Array();\r
-var gArrayCompoentsArray=new Array();\r
-\r
-function GetComponentsArray(nMessageId)\r
-{\r
-       var len=gArrayRegistedMessage.length;\r
-       for(var i=0;i<len;i++)\r
-       {\r
-               if(gArrayRegistedMessage[i]==nMessageId){\r
-                       if(gArrayCompoentsArray.length>i)\r
-                               return gArrayCompoentsArray[i];\r
-                       else\r
-                               return null;\r
-               }\r
-       }\r
-       return null;\r
-}\r
-\r
-function CreateComponentsArray(nMessageId)\r
-{\r
-       var len=gArrayRegistedMessage.length;\r
-       gArrayRegistedMessage[len]=nMessageId;\r
-       gArrayCompoentsArray[len]=new Array();\r
-       return gArrayCompoentsArray[len];\r
-}\r
-\r
-function listener(sName,oWindow)\r
-{\r
-       this.sName=sName;\r
-       this.oWindow=oWindow;\r
-}\r
-\r
-function RegisterListener(windowName,nMessageId)\r
-{\r
-       var arrayComponents=GetComponentsArray(nMessageId);\r
-       if(arrayComponents==null)\r
-               arrayComponents=CreateComponentsArray(nMessageId);\r
-       \r
-       if(arrayComponents!=null)\r
-       {\r
-               for (var i=0;i<arrayComponents.length;i++)\r
-               {\r
-                       if (arrayComponents[i].sName == windowName)\r
-                               return false;\r
-               }\r
-               var oListener=new listener(windowName,null);\r
-               AddToArray(arrayComponents,oListener);\r
-               return true;\r
-       }\r
-       else\r
-               return false;\r
-}\r
-\r
-function RegisterListener2(oWindow,nMessageId)\r
-{\r
-       var arrayComponents=GetComponentsArray(nMessageId);\r
-       if(arrayComponents==null)\r
-               arrayComponents=CreateComponentsArray(nMessageId);\r
-       \r
-       if(arrayComponents!=null)\r
-       {\r
-               var oListener=new listener("",oWindow);\r
-               AddToArray(arrayComponents,oListener);\r
-               return true;\r
-       }\r
-       else\r
-               return false;\r
-}\r
-\r
-function UnRegisterListener2(oWindow,nMessageId)\r
-{\r
-       var arrayComponents=GetComponentsArray(nMessageId);\r
-       if(arrayComponents!=null)\r
-       {\r
-               for(var i=0;i<arrayComponents.length;i++)\r
-               {\r
-                       if(arrayComponents[i].oWindow==oWindow)\r
-                       {\r
-                               removeItemFromArray(arrayComponents,i);\r
-                               return true;\r
-                       }\r
-               }\r
-       }\r
-       else\r
-               return false;\r
-}\r
-\r
-function SendMessage(oMessage)\r
-{\r
-       var bDelivered=false;\r
-       var arrayComponents=GetComponentsArray(oMessage.nMessageId);\r
-       if(arrayComponents!=null&&arrayComponents.length>0){\r
-               for(var i=0;i<arrayComponents.length;i++)\r
-               {\r
-                       if(null!=arrayComponents[i])\r
-                       {\r
-                               var pFrame;\r
-                               if(arrayComponents[i].oWindow==null)\r
-                                       pFrame=getframehandle(frames,arrayComponents[i].sName);\r
-                               else\r
-                                       pFrame=arrayComponents[i].oWindow;\r
-                               if(null!=pFrame)\r
-                               {\r
-                                       if(pFrame.onSendMessageX)\r
-                                       {\r
-                                               bDelivered=true;\r
-                                               if(!pFrame.onSendMessageX(oMessage))\r
-                                                       break;\r
-                                       }\r
-                                       if(pFrame.onSendMessage)\r
-                                       {\r
-                                               bDelivered=true;\r
-                                               if(!pFrame.onSendMessage(oMessage))\r
-                                                       break;\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-       return bDelivered;\r
+//     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
diff --git a/doc/salome/gui/GEOM/wht_abge.jpg b/doc/salome/gui/GEOM/wht_abge.jpg
deleted file mode 100755 (executable)
index 5e816c9..0000000
Binary files a/doc/salome/gui/GEOM/wht_abge.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_abgi.jpg b/doc/salome/gui/GEOM/wht_abgi.jpg
deleted file mode 100755 (executable)
index bfedc68..0000000
Binary files a/doc/salome/gui/GEOM/wht_abgi.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_abgw.jpg b/doc/salome/gui/GEOM/wht_abgw.jpg
deleted file mode 100755 (executable)
index 95af21f..0000000
Binary files a/doc/salome/gui/GEOM/wht_abgw.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_abte.jpg b/doc/salome/gui/GEOM/wht_abte.jpg
deleted file mode 100755 (executable)
index a5638fa..0000000
Binary files a/doc/salome/gui/GEOM/wht_abte.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_abti.jpg b/doc/salome/gui/GEOM/wht_abti.jpg
deleted file mode 100755 (executable)
index 14ac68c..0000000
Binary files a/doc/salome/gui/GEOM/wht_abti.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_abtw.jpg b/doc/salome/gui/GEOM/wht_abtw.jpg
deleted file mode 100755 (executable)
index 46e68b1..0000000
Binary files a/doc/salome/gui/GEOM/wht_abtw.jpg and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_fts_h.gif b/doc/salome/gui/GEOM/wht_fts_h.gif
deleted file mode 100755 (executable)
index feb79ae..0000000
Binary files a/doc/salome/gui/GEOM/wht_fts_h.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_fts_n.gif b/doc/salome/gui/GEOM/wht_fts_n.gif
deleted file mode 100755 (executable)
index 8483be4..0000000
Binary files a/doc/salome/gui/GEOM/wht_fts_n.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_glo_h.gif b/doc/salome/gui/GEOM/wht_glo_h.gif
deleted file mode 100755 (executable)
index 12223e5..0000000
Binary files a/doc/salome/gui/GEOM/wht_glo_h.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_glo_n.gif b/doc/salome/gui/GEOM/wht_glo_n.gif
deleted file mode 100755 (executable)
index 32803eb..0000000
Binary files a/doc/salome/gui/GEOM/wht_glo_n.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_go.gif b/doc/salome/gui/GEOM/wht_go.gif
deleted file mode 100755 (executable)
index 106f1d1..0000000
Binary files a/doc/salome/gui/GEOM/wht_go.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_hide.gif b/doc/salome/gui/GEOM/wht_hide.gif
deleted file mode 100755 (executable)
index 6ec602d..0000000
Binary files a/doc/salome/gui/GEOM/wht_hide.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_idx_h.gif b/doc/salome/gui/GEOM/wht_idx_h.gif
deleted file mode 100755 (executable)
index 2df1b16..0000000
Binary files a/doc/salome/gui/GEOM/wht_idx_h.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_idx_n.gif b/doc/salome/gui/GEOM/wht_idx_n.gif
deleted file mode 100755 (executable)
index fd193a0..0000000
Binary files a/doc/salome/gui/GEOM/wht_idx_n.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_logo1.gif b/doc/salome/gui/GEOM/wht_logo1.gif
deleted file mode 100755 (executable)
index 2ef5700..0000000
Binary files a/doc/salome/gui/GEOM/wht_logo1.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_logo2.gif b/doc/salome/gui/GEOM/wht_logo2.gif
deleted file mode 100755 (executable)
index 2ac62e8..0000000
Binary files a/doc/salome/gui/GEOM/wht_logo2.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_next.gif b/doc/salome/gui/GEOM/wht_next.gif
deleted file mode 100755 (executable)
index 8ea834d..0000000
Binary files a/doc/salome/gui/GEOM/wht_next.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_next_g.gif b/doc/salome/gui/GEOM/wht_next_g.gif
deleted file mode 100755 (executable)
index c0e9758..0000000
Binary files a/doc/salome/gui/GEOM/wht_next_g.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_prev.gif b/doc/salome/gui/GEOM/wht_prev.gif
deleted file mode 100755 (executable)
index b7eaba8..0000000
Binary files a/doc/salome/gui/GEOM/wht_prev.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_prev_g.gif b/doc/salome/gui/GEOM/wht_prev_g.gif
deleted file mode 100755 (executable)
index 8647909..0000000
Binary files a/doc/salome/gui/GEOM/wht_prev_g.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_spac.gif b/doc/salome/gui/GEOM/wht_spac.gif
deleted file mode 100755 (executable)
index fc25609..0000000
Binary files a/doc/salome/gui/GEOM/wht_spac.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_sync.gif b/doc/salome/gui/GEOM/wht_sync.gif
deleted file mode 100755 (executable)
index 0ef1747..0000000
Binary files a/doc/salome/gui/GEOM/wht_sync.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab0.gif b/doc/salome/gui/GEOM/wht_tab0.gif
deleted file mode 100755 (executable)
index 955c42f..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab0.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab1.gif b/doc/salome/gui/GEOM/wht_tab1.gif
deleted file mode 100755 (executable)
index b3ec41d..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab1.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab2.gif b/doc/salome/gui/GEOM/wht_tab2.gif
deleted file mode 100755 (executable)
index 08fb0ce..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab2.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab3.gif b/doc/salome/gui/GEOM/wht_tab3.gif
deleted file mode 100755 (executable)
index 1819c8e..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab3.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab4.gif b/doc/salome/gui/GEOM/wht_tab4.gif
deleted file mode 100755 (executable)
index 1a6fc4f..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab4.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab5.gif b/doc/salome/gui/GEOM/wht_tab5.gif
deleted file mode 100755 (executable)
index 9340192..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab5.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab6.gif b/doc/salome/gui/GEOM/wht_tab6.gif
deleted file mode 100755 (executable)
index fe312d2..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab6.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab7.gif b/doc/salome/gui/GEOM/wht_tab7.gif
deleted file mode 100755 (executable)
index 3b95ae2..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab7.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_tab8.gif b/doc/salome/gui/GEOM/wht_tab8.gif
deleted file mode 100755 (executable)
index c80acc8..0000000
Binary files a/doc/salome/gui/GEOM/wht_tab8.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc1.gif b/doc/salome/gui/GEOM/wht_toc1.gif
deleted file mode 100755 (executable)
index 515c352..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc1.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc2.gif b/doc/salome/gui/GEOM/wht_toc2.gif
deleted file mode 100755 (executable)
index 2e3d6c8..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc2.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc3.gif b/doc/salome/gui/GEOM/wht_toc3.gif
deleted file mode 100755 (executable)
index 330f369..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc3.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc4.gif b/doc/salome/gui/GEOM/wht_toc4.gif
deleted file mode 100755 (executable)
index 3f9a036..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc4.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc_h.gif b/doc/salome/gui/GEOM/wht_toc_h.gif
deleted file mode 100755 (executable)
index fe20f68..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc_h.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_toc_n.gif b/doc/salome/gui/GEOM/wht_toc_n.gif
deleted file mode 100755 (executable)
index ce28310..0000000
Binary files a/doc/salome/gui/GEOM/wht_toc_n.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_ws.gif b/doc/salome/gui/GEOM/wht_ws.gif
deleted file mode 100755 (executable)
index 563db8b..0000000
Binary files a/doc/salome/gui/GEOM/wht_ws.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/wht_ws_g.gif b/doc/salome/gui/GEOM/wht_ws_g.gif
deleted file mode 100755 (executable)
index 3056b75..0000000
Binary files a/doc/salome/gui/GEOM/wht_ws_g.gif and /dev/null differ
diff --git a/doc/salome/gui/GEOM/whtbar.js b/doc/salome/gui/GEOM/whtbar.js
deleted file mode 100755 (executable)
index 08b19e5..0000000
+++ /dev/null
@@ -1,2043 +0,0 @@
-//     WebHelp 5.10.006\r
-var gaButtons=new Array();\r
-var    gaTypes=new Array();\r
-var gaBtnBgColor=new Array();\r
-var gaSelBtnBgColor=new Array();\r
-var gaOrders=null;\r
-var gaObjBtns=new Array();\r
-var BTN_TEXT=1;\r
-var BTN_IMG=2;\r
-var BTN_IMG_TOP=4\r
-var BTN_IMG_BOTTOM=8;\r
-var BTN_IMG_LEFT=16;\r
-var BTN_IMG_RIGHT=32;\r
-var gsAlign="left";\r
-var gsBgImage="";\r
-var gsBgColor="#99ccff";\r
-var gsShadow="#cccccc";\r
-var gsTBBgImage="";\r
-var gnShowHideStyle=0;\r
-var goTocInfo=null;\r
-var gbTocInfoInited=false;\r
-var goWebSearch=null;\r
-var gsTBFontFamily="Arial";\r
-var gsTBFontSize="xx-small";\r
-var gsTBFontColor="#003063";\r
-var gsTBDarkColor="#808080";\r
-var gsTBLightColor="#FFFAFA";\r
-var gsTBSelectedBgColor="#639ace";\r
-var gsTBFontSelectedColor="#ffffff";\r
-var gaOnLoads=new Array();\r
-var goWebSearchEnable=true;\r
-\r
-var goShow=null;\r
-var goHide=null;\r
-var goHide2=null;\r
-var goSync=null;\r
-\r
-var goToc=null;\r
-var goIdx=null;\r
-var goFts=null;\r
-var goGlo=null;\r
-var goNext=null;\r
-var goPrev=null;\r
-\r
-var LAYOUT=1;\r
-var HLAYOUT=0;\r
-var VLAYOUT=1;\r
-var ALIGN=2;\r
-var BALIGN=0;\r
-var EALIGN=2;\r
-var goEl=null;\r
-var gnRE=0;\r
-\r
-var gnButtonLayout=0;\r
-var gnShowHide=-1;\r
-\r
-var gbEqualSize=false;\r
-var goCusButton=new Array();\r
-var gsBtnStyle="";\r
-var gaAvenues=null;\r
-var gsCurAveName="";\r
-\r
-var gsIToc=null;\r
-var gsITocS=null;\r
-var gsIIndex=null;\r
-var gsIIndexS=null;\r
-var gsISearch=null;\r
-var gsISearchS=null;\r
-var gsIGlossary=null;\r
-var gsIGlossaryS=null;\r
-var gsIBanner=null;\r
-var gsIGo=null;\r
-\r
-var gsIHide=null;\r
-var gsIPrev=null;\r
-var gsINext=null;\r
-var gsISync=null;\r
-var gsINextD=null;\r
-var gsIPrevD=null;\r
-var gsIWebSearch=null;\r
-var gsIWebSearchD=null;\r
-\r
-var gbAveButttnInited=false;\r
-var goNextParent=null;\r
-var goPrevParent=null;\r
-var gsSearchPrompt="- Search -";\r
-\r
-var gstrSearch="";\r
-var gbPreview=false;\r
-gbPreview=false; \r
-var gsSearchFormTitle="";\r
-var gnHasNavPane=-1;\r
-var gbInitBtn=false;\r
-var gaBtns=new Array();\r
-var gbWhTBar=false;\r
-var goTextFont=null;\r
-var goSelTextFont=null;\r
-var gsPane="";\r
-var gbNeedUpdateAve=false;\r
-var gbUpdateTimerCount=0;\r
-\r
-function setGoImage(sGoImage)\r
-{\r
-       if(sGoImage)\r
-       {\r
-               gsIGo=sGoImage;\r
-       }\r
-}\r
-\r
-function btnBgColor(sType,sColor)\r
-{\r
-       this.sType=sType;\r
-       this.sColor=sColor;\r
-}\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setAlignment(strAlignment)\r
-{\r
-       gnButtonLayout=0;\r
-       if(strAlignment=="left")\r
-       {\r
-               gnButtonLayout=HLAYOUT|BALIGN;\r
-       }\r
-       else if(strAlignment=="right")\r
-       {\r
-               gnButtonLayout=HLAYOUT|EALIGN;\r
-       }\r
-       else if(strAlignment=="top")\r
-       {\r
-               gnButtonLayout=VLAYOUT|BALIGN;\r
-       }\r
-       else if(strAlignment=="bottom")\r
-       {\r
-               gnButtonLayout=VLAYOUT|EALIGN;\r
-       }\r
-}\r
-\r
-function writeStyle(bMiniBar)\r
-{\r
-       var sStyle="";\r
-       sStyle+="<style type='text/css'>\n";\r
-       sStyle+="<!--\n";\r
-       sStyle+=".clsBtnNormal {\n";\r
-       if(!(gbNav4&&!gbNav6))\r
-               if (bMiniBar)\r
-                       sStyle+="padding:2px;\n";\r
-               else\r
-                       sStyle+="padding:5px;\n";\r
-       sStyle+="cursor:hand;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsNoBNormal {\n";\r
-       sStyle+="padding-left:2px;padding-right:2px;\n";\r
-       sStyle+="cursor:hand;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsBtnDisable {\n";\r
-       if(!(gbNav4&&!gbNav6))\r
-               if (bMiniBar)\r
-                       sStyle+="padding:2px;\n";\r
-               else\r
-                       sStyle+="padding:5px;\n";\r
-       sStyle+="cursor:default;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsNoBDisable {\n";\r
-       sStyle+="padding-left:2px;padding-right:2px;\n";\r
-       sStyle+="cursor:default;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-\r
-       sStyle+=".clsNotBtn {\n";\r
-       if(!(gbNav4&&!gbNav6))\r
-               if (bMiniBar)\r
-                       sStyle+="padding:2px;\n";\r
-               else\r
-                       sStyle+="padding:5px;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsBtnUp{\n";\r
-       if(!(gbNav4&&!gbNav6))\r
-               if (bMiniBar)\r
-                       sStyle+="padding:1px;\n";\r
-               else\r
-                       sStyle+="padding:4px;\n";\r
-       sStyle+="border-bottom:"+gsTBDarkColor+" 1px solid;\n";\r
-       sStyle+="border-left:"+gsTBLightColor+" 1px solid;\n";\r
-       sStyle+="border-right:"+gsTBDarkColor+" 1px solid;\n";\r
-       sStyle+="border-top:"+gsTBLightColor+" 1px solid;\n";\r
-       sStyle+="cursor:hand;";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsNoBUp{\n";\r
-       sStyle+="padding-left:2px;padding-right:2px;\n";\r
-       sStyle+="cursor:hand;";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=".clsBtnDown{\n";\r
-       if(!(gbNav4&&!gbNav6))\r
-               if (bMiniBar)\r
-                       sStyle+="padding:1px;\n";\r
-               else\r
-                       sStyle+="padding:4px;\n";\r
-       sStyle+="border-bottom:"+gsTBLightColor+" 1px solid;\n";\r
-       sStyle+="border-left:"+gsTBDarkColor+" 1px solid;\n";\r
-       sStyle+="border-right:"+gsTBLightColor+" 1px solid;\n";\r
-       sStyle+="border-top:"+gsTBDarkColor+" 1px solid;\n";\r
-       sStyle+="color:"+gsTBFontColor+";\n";\r
-       sStyle+="cursor:hand;\n";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";}\n";\r
-\r
-       sStyle+=".clsNoBDown{\n";\r
-       sStyle+="padding-left:2px;padding-right:2px;\n";\r
-       sStyle+="cursor:hand;";\r
-       sStyle+="font-family:"+gsTBFontFamily+";\n";\r
-       sStyle+="font-size:"+gsTBFontSize+";\n";\r
-       sStyle+="color:"+gsTBFontColor+";}\n";\r
-\r
-       sStyle+=getDefaultButtonFont();\r
-       sStyle+=gsBtnStyle;\r
-       sStyle+=".clsToolbarBackground{\n";\r
-       sStyle+="margin:2px;}\n";\r
-       sStyle+="-->\n";\r
-       sStyle+=" body {\n";\r
-       if (gsBgImage)\r
-               sStyle+="border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="border-top:black 1px solid;}\n";\r
-       sStyle+="-->\n";\r
-       sStyle+="</style>\n";\r
-       document.write(sStyle);\r
-}\r
-\r
-function button(sType,sText,nWidth,nHeight)\r
-{\r
-       this.sType=sType;\r
-       this.sText=sText;\r
-       this.nWidth=nWidth;\r
-       this.nHeight=nHeight;\r
-       \r
-       this.aIs=new Array();\r
-       var i=0;\r
-       while(button.arguments.length>i+4)\r
-       {\r
-               if (button.arguments[4+i])\r
-                       this.aIs[i]=_getFullPath(_getPath(document.location.href),button.arguments[4+i]);\r
-               else\r
-                       this.aIs[i]="";\r
-               i++;\r
-       }\r
-}\r
-\r
-function getImage(oImage,sTitle)\r
-{\r
-       if(oImage.aIs[0])\r
-       {\r
-               var sI="";\r
-               if(sTitle=="")\r
-                       sTitle=oImage.sText;\r
-               sI+="<img alt=\""+sTitle+"\" src=\""+oImage.aIs[0]+"\"";\r
-               if(oImage.nWidth>0)\r
-                       sI+=" width="+oImage.nWidth;\r
-               if(oImage.nHeight>0)\r
-                       sI+=" height="+oImage.nHeight;\r
-               sI+=" border=0 align=\"absmiddle\">";\r
-               return sI;\r
-       }\r
-       return "";\r
-}\r
-\r
-function getCurrentAveName()\r
-{\r
-       var oSelect=getElement("avenue");\r
-       if(oSelect)\r
-               return oSelect.value;\r
-       else\r
-               return "";\r
-}\r
-\r
-function updateWebSearch(bEnable)\r
-{\r
-       var oWebSearch=getElement("btnwebsearch");\r
-       var oWebSearchParent=null;\r
-       if(oWebSearch)\r
-               oWebSearchParent=getParentNode(oWebSearch);\r
-       goWebSearchEnable=bEnable;\r
-       if(oWebSearchParent)\r
-       {\r
-               if(bEnable)\r
-                       enableButton(oWebSearchParent,goWebSearch);\r
-               else\r
-                       disableButton(oWebSearchParent,goWebSearch);\r
-       }\r
-\r
-}\r
-\r
-function setState(oEL,sState)\r
-{\r
-       if(gbNav6||gbOpera)\r
-               oEL.setAttribute("state",sState);\r
-       else\r
-               oEL.state=sState;       \r
-}\r
-\r
-function updateAvenueIfNeeded()\r
-{\r
-       gbUpdateTimerCount--;\r
-       if (gbNeedUpdateAve&&gbUpdateTimerCount==0)\r
-       {\r
-               updateAvenue();\r
-       }\r
-}\r
-\r
-function updateAvenue()\r
-{\r
-       var sSelect=getAvenueHTML(gaAvenues);\r
-       var oSelect=getElement("avenue");\r
-       if(oSelect)\r
-       {\r
-               if(gbNav6)\r
-               {\r
-                       var oParent=getParentNode(oSelect);\r
-                       \r
-                       if(oParent)\r
-                       {\r
-                               removeThis(oSelect);\r
-                               oParent.insertAdjacentHTML("afterBegin",sSelect);\r
-                       }\r
-               }\r
-               else\r
-                       oSelect.outerHTML=sSelect;      \r
-               oSelect=getElement("avenue");\r
-               if(isValidAvenue(gaAvenues,gsCurAveName))\r
-                       oSelect.value=gsCurAveName;\r
-       }\r
-       updateAveButton();\r
-}\r
-\r
-function initAveButtonObj()\r
-{\r
-       if(!gbAveButttnInited)\r
-       {\r
-               var oNext=getElement("btnavnext");\r
-               if(oNext)\r
-                       goNextParent=getParentNode(oNext);\r
-\r
-               var oPrev=getElement("btnavprev");\r
-               if(oPrev)\r
-                       goPrevParent=getParentNode(oPrev);\r
-       }\r
-       gbAveButttnInited=true;\r
-}\r
-\r
-function disableAveButton()\r
-{\r
-       initAveButtonObj();\r
-       if(goNextParent)\r
-               disableButton(goNextParent,goNext);\r
-       if(goPrevParent)\r
-               disableButton(goPrevParent,goPrev);\r
-}\r
-\r
-function disableButton(oEl,oBtn)\r
-{\r
-       setState(oEl,"disable");\r
-       var sPF=oEl.className.substring(0,6);\r
-       oEl.className=sPF+"Disable";\r
-       var oAs = getElementsByTag(oEl,"a");\r
-       if (oAs.length>0)\r
-       {\r
-               oAs[0].style.cursor="default";\r
-       }\r
-       var oIs=getElementsByTag(oEl,"img");\r
-       if(oIs.length>0&&oBtn&&oBtn.aIs&&oBtn.aIs.length>3)\r
-       {\r
-               if(oBtn.aIs[3])\r
-                       oIs[0].src=oBtn.aIs[3];\r
-       }\r
-       else\r
-               oEl.style.visibility="hidden";\r
-}\r
-\r
-function enableButton(oEl,oBtn)\r
-{\r
-       setState(oEl,"normal");\r
-       if(oEl==goEl)\r
-       {\r
-               var sPF=oEl.className.substring(0,6);\r
-               oEl.className=sPF+"Up";\r
-       }\r
-       var oAs = getElementsByTag(oEl,"a");\r
-       if (oAs.length>0)\r
-       {\r
-               oAs[0].style.cursor="hand";\r
-       }\r
-       var oIs=getElementsByTag(oEl,"img");\r
-       if(oIs.length>0&&oBtn&&oBtn.aIs&&oBtn.aIs.length>0)\r
-       {\r
-               if(oBtn.aIs[0])\r
-                       oIs[0].src=oBtn.aIs[0];\r
-       }\r
-       oEl.style.visibility="visible";\r
-}\r
-\r
-function updateAveButton()\r
-{\r
-       initAveButtonObj();     \r
-       var strAveName=getCurrentAvenue();\r
-       if(strAveName!="")\r
-       {\r
-               if(gaAvenues)\r
-               {\r
-                       for(var i=0;i<gaAvenues.length;i++)\r
-                       if(gaAvenues[i].sName==strAveName)\r
-                       {\r
-                               if(goNextParent)\r
-                               {\r
-                                       if(gaAvenues[i].sNext!=null&&gaAvenues[i].sNext!="")\r
-                                               enableButton(goNextParent,goNext);\r
-                                       else\r
-                                               disableButton(goNextParent,goNext);\r
-                               }\r
-                               if(goPrevParent)\r
-                               {\r
-                                       if(gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev!="")\r
-                                               enableButton(goPrevParent,goPrev);\r
-                                       else\r
-                                               disableButton(goPrevParent,goPrev);\r
-                               }       \r
-                               break;\r
-                       }\r
-               }\r
-       }\r
-       else\r
-       {\r
-               var bNext=false;\r
-               var bPrev=false;\r
-               if(gaAvenues&&gaAvenues.length>0)\r
-               {\r
-                       for(var i=0;i<gaAvenues.length&&(!bNext||!bPrev);i++)\r
-                       {\r
-                               if(!bNext)\r
-                                       if(gaAvenues[i].sNext!=null&&gaAvenues[i].sNext!="")\r
-                                               bNext=true;     \r
-                               if(!bPrev)\r
-                                       if(gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev!="")\r
-                                               bPrev=true;     \r
-                       }\r
-               }\r
-               if(goNextParent)\r
-               {\r
-                       if(bNext)\r
-                               enableButton(goNextParent,goNext);\r
-                       else\r
-                               disableButton(goNextParent,goNext);\r
-               }\r
-               \r
-               if(goPrevParent)\r
-               {\r
-                       if(bPrev)\r
-                               enableButton(goPrevParent,goPrev);\r
-                       else\r
-                               disableButton(goPrevParent,goPrev);\r
-               }\r
-       }\r
-       \r
-}\r
-\r
-function isValidAvenue(aAvenues,sValue)\r
-{\r
-       if(aAvenues)\r
-       {\r
-               for(var i=0;i<aAvenues.length;i++)\r
-               {\r
-                       if(aAvenues[i].sName==sValue)\r
-                               return true;\r
-               }\r
-       }\r
-       return false;\r
-}\r
-\r
-function getAvenueHTML(aAvenues)\r
-{\r
-       var sSelect="<select id=\"avenue\" size=\"1\" name=\"avenue\" onchange=\"updateAveButton();\">";\r
-       sSelect+="<option value=\"\" selected> - Select Avenue - </option>";\r
-       if(aAvenues)\r
-       {\r
-               for(var i=0;i<aAvenues.length;i++)\r
-               {\r
-                       sSelect+="<option value=\""+aAvenues[i].sName+"\">"+aAvenues[i].sName+"</option>";\r
-               }\r
-       }\r
-       sSelect+="</select>";\r
-       return sSelect;\r
-}\r
-\r
-function addAvenueSelection()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_GETAVIAVENUES,this,1,new Object());\r
-       var sButton="";\r
-       if(SendMessage(oMsg))\r
-       {\r
-               sButton=getAvenueHTML(oMsg.oParam.aAvenues);\r
-       }\r
-       else\r
-       {\r
-               sButton=getAvenueHTML(null);\r
-       }\r
-       gaButtons[gaButtons.length]="<td NOWRAP align=\"center\" valign=\"middle\">"+sButton+"</td>";\r
-}\r
-\r
-function setSearchFormTitle(sTitle)\r
-{\r
-       gsSearchFormTitle=sTitle;\r
-}\r
-\r
-function highLightIfNeeded()\r
-{\r
-       if(document.searchForm.searchString.value==gsSearchPrompt)\r
-       {\r
-               document.searchForm.searchString.select();\r
-       }\r
-}\r
-\r
-function addSearchForm()\r
-{\r
-       var sPropmptString=gsSearchPrompt;\r
-\r
-       var nWidth=20;\r
-       if(!nWidth) nWidth=20;\r
-       if(gbNav4) nWidth=nWidth*.6;\r
-\r
-       if(gsSearchFormTitle)\r
-               sPropmptString="";\r
-       var sButton="<table id=\"searchInput\" CELLSPACING=0 CELLPADDING=1><tr><td valign=\"middle\" NOWRAP class=\"clsNotBtn\"><span class=\"btnsearchform\">"+_textToHtml(gsSearchFormTitle)+"</span></td><td NOWRAP valign=\"middle\"><input class=\"inputsearchform\" type=\"text\" onfocus=\"highLightIfNeeded();\" name=\"searchString\" value=\""+sPropmptString+"\" size=\""+nWidth+"\"></td>";\r
-       if(gbNav6)\r
-               sButton="<form id=\"searchInput\" name=\"searchForm\" method=\"POST\" action=\"javascript:searchB()\">"+sButton;\r
-       if("image"=="text")\r
-       {\r
-               sButton+="<td NOWRAP valign=\"middle\"><a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\"searchForm.submit(); return false;\"></a></td>";\r
-       }\r
-       else if("image"=="image"&&gsIGo)\r
-       {\r
-               sButton+="<td NOWRAP valign=\"middle\"><a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\"searchForm.submit(); return false;\">"\r
-               sButton+="<img alt=\"Go\" src=\""+gsIGo+"\" border=0 align=\"absmiddle\"></a></td>";\r
-       }\r
-       sButton+="</tr></table>";\r
-       if(gbNav6)\r
-               sButton+="</form>";\r
-       var nBtn=gaButtons.length;\r
-       gaButtons[nBtn]="<td NOWRAP align=\"center\" valign=\"middle\">"+sButton+"</td>";\r
-       gaTypes[nBtn]="searchform";\r
-}\r
-\r
-function getShowHide()\r
-{\r
-       var sText="";\r
-       var sI="";\r
-       if(hasNavPane())\r
-       {\r
-               if(goHide)\r
-               {\r
-                       if(gnShowHideStyle&BTN_TEXT)\r
-                               sText=goHide.sText;\r
-                       if(gnShowHideStyle&BTN_IMG)\r
-                       sI=getImage(goHide,"Hide");\r
-               }\r
-       }\r
-       else\r
-       {\r
-               if(goShow)\r
-               {\r
-                       if(gnShowHideStyle&BTN_TEXT)\r
-                               sText=goShow.sText;\r
-                       if(gnShowHideStyle&BTN_IMG)\r
-                               sI=getImage(goShow,"Show");\r
-               }\r
-       }\r
-       var sButton=genButton(sText,sI,gnShowHideStyle);\r
-       return sButton;\r
-}\r
-\r
-function addBanner(sImage)\r
-{\r
-       if(sImage)\r
-       {\r
-               var nBtn=gaButtons.length;\r
-               gaButtons[nBtn]="<td NOWRAP align=\"center\" valign=\"middle\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"javascript:void(0);\" onclick=\"showBanner();return false;\"><img alt=\"About WebHelp\"src=\""+sImage+"\" border=0 align=\"absmiddle\"></a></td>";\r
-               gaTypes[nBtn]="banner";\r
-       }\r
-}\r
-\r
-function showBanner()\r
-{\r
-       if (!gbPreview)\r
-       {\r
-               var nWidth=390;\r
-               var nHeight=204;\r
-               var     nScreenWidth=screen.width;\r
-               var     nScreenHeight=screen.height;\r
-               var nLeft=(nScreenWidth-nWidth)/2;\r
-               var nTop=(nScreenHeight-nHeight)/2;\r
-               if (gbIE4)\r
-               {\r
-                       if (gbIE5)\r
-                               nHeight+=20;\r
-                       else\r
-                               nHeight+=40;\r
-                       window.showModalDialog("whskin_banner.htm","","dialogHeight:"+nHeight+"px;dialogWidth:"+nWidth+"px;resizable:no;status:no;scroll:no;help:no;center:yes;");\r
-               }\r
-               else\r
-                       window.open("whskin_banner.htm","banner","dependent,innerHeight="+nHeight+",innerWidth="+nWidth+",height="+nHeight+",width="+nWidth+",resizable=no,menubar=no,location=no,personalbar=no,status=no,scrollbar=no,toolbar=no,screenX="+nLeft+",screenY="+nTop);\r
-       }\r
-}\r
-\r
-function addButton(sType,nStyle,sTitle,sHref,sOnClick,sOnMouseOver,sOnLoad,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6)\r
-{\r
-       var sButton="";\r
-       var bMini=false;\r
-       var sText="";\r
-       var sI="";\r
-       var bState=false;\r
-       var nBtn=gaButtons.length;\r
-       var bHref=false;\r
-       if(sType=="show"&&isShowHideEnable())\r
-       {\r
-               var svTitle="Show Navigation Component";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnshowhide\" class=\"btnshow\" href=\"javascript:void(0);\" onclick=\"showHidePane();return false;\">";\r
-               gnShowHideStyle=nStyle;\r
-               goShow=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3);\r
-               gaObjBtns[nBtn]=goShow;\r
-               if(gnShowHide!=-1)\r
-               {\r
-                       nBtn=gnShowHide;\r
-               }\r
-               else\r
-               {\r
-                       gnShowHide=nBtn;\r
-               }\r
-               sButton+=getShowHide();\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="hide"&&isShowHideEnable())\r
-       {\r
-               var svTitle="Hide Navigation Component";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnshowhide\" class=\"btnhide\" href=\"javascript:void(0);\" onclick=\"showHidePane();return false;\">";\r
-               gnShowHideStyle=nStyle;\r
-               goHide=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3);\r
-               gaObjBtns[nBtn]=goHide;\r
-               if(gnShowHide!=-1)\r
-               {\r
-                       nBtn=gnShowHide;\r
-               }\r
-               else\r
-               {\r
-                       gnShowHide=nBtn;\r
-               }\r
-               sButton+=getShowHide();\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="hide2"&&(!gbNav4)&&(!gbOpera))\r
-       {\r
-               var svTitle="Hide Navigation Component";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnhide\" class=\"btnhide\" href=\"javascript:void(0);\" onclick=\"showHidePane();return false;\">";\r
-               gnShowHideStyle=nStyle;\r
-               if(!sI1)\r
-                       sI1=gsIHide;\r
-               goHide2=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3);\r
-               gaObjBtns[nBtn]=goHide2;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goHide2.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goHide2,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bMini=true;\r
-       }\r
-       else if(sType=="synctoc")\r
-       {\r
-               var svTitle="Sync TOC";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnsynctoc\" class=\"btnsynctoc\" href=\"javascript:void(0);\" onclick=\"syncWithShow();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsISync;\r
-               goSync=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3);\r
-               gaObjBtns[nBtn]=goSync;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goSync.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goSync,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bMini=true;\r
-       }\r
-       else if(sType=="toc")\r
-       {\r
-               var svTitle="Contents";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btntoc\" class=\"btntoc\" href=\"javascript:void(0);\" onclick=\"showToc();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsIToc;\r
-               if(!sI2)\r
-                       sI2=gsITocS;\r
-               if(!sI4)\r
-                       sI4=gsITocS;\r
-               goToc=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goToc;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goToc.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goToc,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="idx")\r
-       {\r
-               var svTitle="Index";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnidx\" class=\"btnidx\" href=\"javascript:void(0);\" onclick=\"showIndex();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsIIndex;\r
-               if(!sI2)\r
-                       sI2=gsIIndexS;\r
-               if(!sI4)\r
-                       sI4=gsIIndexS;\r
-               goIdx=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goIdx;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goIdx.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goIdx,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="fts")\r
-       {\r
-               var svTitle="Search";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnfts\" class=\"btnfts\" href=\"javascript:void(0);\" onclick=\"showFts();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsISearch;\r
-               if(!sI2)\r
-                       sI2=gsISearchS;\r
-               if(!sI4)\r
-                       sI4=gsISearchS;\r
-               goFts=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goFts;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goFts.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goFts,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="glo")\r
-       {\r
-               var svTitle="Glossary";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnglo\" class=\"btnglo\" href=\"javascript:void(0);\" onclick=\"showGlossary();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsIGlossary;\r
-               if(!sI2)\r
-                       sI2=gsIGlossaryS;\r
-               if(!sI4)\r
-                       sI4=gsIGlossaryS;\r
-               goGlo=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goGlo;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goGlo.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goGlo,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bState=true;\r
-       }\r
-       else if(sType=="avnext")\r
-       {\r
-               var svTitle="Next Topic";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnavnext\" class=\"btnavnext\" href=\"javascript:void(0);\" onclick=\"goAveNext();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsINext;\r
-               if(!sI4)\r
-                       sI4=gsINextD;\r
-               goNext=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goNext;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goNext.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goNext,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bMini=true;\r
-       }\r
-       else if(sType=="avprev")\r
-       {\r
-               var svTitle="Previous Topic";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnavprev\" class=\"btnavprev\" href=\"javascript:void(0);\" onclick=\"goAvePrev();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsIPrev;\r
-               if(!sI4)\r
-                       sI4=gsIPrevD;\r
-               goPrev=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goPrev;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goPrev.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goPrev,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-               bMini=true;\r
-       }\r
-       else if(sType=="blankblock")\r
-       {\r
-               gaButtons[nBtn]=null;\r
-               gaTypes[nBtn]=sType;\r
-       }\r
-       else if(sType=="websearch")\r
-       {\r
-               var svTitle="WebSearch";\r
-               sButton="<a title=\""+svTitle+"\" id=\"btnwebsearch\" class=\"btnwebsearch\" href=\"javascript:void(0);\" onclick=\"doWebSearch();return false;\">";\r
-               if(!sI1)\r
-                       sI1=gsIWebSearch;\r
-               if(!sI4)\r
-                       sI4=gsIWebSearchD;\r
-               goWebSearch=new button(sType,sTitle,nWidth,nHeight,sI1,sI2,sI3,sI4,sI5,sI6);\r
-               gaObjBtns[nBtn]=goWebSearch;\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=goWebSearch.sText\r
-                       \r
-               if(nStyle&BTN_IMG)\r
-                       sI=getImage(goWebSearch,svTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-       }\r
-       else if(sType.indexOf("custom")==0)\r
-       {\r
-               var nCusBtnIdx=goCusButton.length;\r
-               goCusButton[nCusBtnIdx]=new cusButton(sType,sTitle,sOnClick,sOnMouseOver,sOnLoad,nWidth,nHeight,sI1,sI2,sI3);\r
-               gaObjBtns[nBtn]=goCusButton[nCusBtnIdx];\r
-               var re=new RegExp("\"","g");\r
-               var svTitle=sTitle.replace(re, "&quot;");\r
-               if(sHref&&sHref.length!=0)\r
-               {\r
-                       sButton="<a title=\""+svTitle+"\" id=\"btn"+sType+"\" class=\"btn"+sType+"\" target=\"bsscright\" href=\""+sHref+"\" onclick=\"cusOnClick("+nCusBtnIdx+");";\r
-                       bHref=true;\r
-               }\r
-               else\r
-                       sButton="<a title=\""+svTitle+"\" id=\"btn"+sType+"\" class=\"btn"+sType+"\" href=\"javascript:void(0);\" onclick=\"cusOnClick("+nCusBtnIdx+");return false;";\r
-               sButton+="\" onmouseover=\"cusOnMouseOver("+nCusBtnIdx+");\" title=\""+sType+"\">";\r
-               if(nStyle&BTN_TEXT)\r
-                       sText=sTitle;\r
-               if(nStyle&BTN_IMG)\r
-                       sI+=getImage(goCusButton[nCusBtnIdx],sTitle);\r
-               sButton+=genButton(sText,sI,nStyle);\r
-               sButton+="</a>";\r
-       }\r
-       if(sButton.length!=0)\r
-       {\r
-               var btnClass="";\r
-               if(sText||bMini)\r
-                       btnClass="clsBtnNormal";\r
-               else\r
-                       btnClass="clsNoBNormal";\r
-\r
-               if(!bState)\r
-               {\r
-                       if(bHref)\r
-                               gaButtons[nBtn]="<td NOWRAP valign=\"middle\" align=\"center\" class="+btnClass+" onclick=\"onBtnClick(event);\" onmousedown=\"onBtnMouseDown(event, "+nBtn+");\" onmouseup=\"onBtnMouseUp(event, "+nBtn+");\" onmouseover=\"onBtnMouseOver(event, "+nBtn+");\" onmouseout=\"onBtnMouseOut(event, "+nBtn+");\">"+sButton+"</td>";\r
-                       else\r
-                               gaButtons[nBtn]="<td NOWRAP valign=\"middle\" align=\"center\" class="+btnClass+" onclick=\"onBtnClick(event);return false;\" onmousedown=\"onBtnMouseDown(event, "+nBtn+");\" onmouseup=\"onBtnMouseUp(event, "+nBtn+");\" onmouseover=\"onBtnMouseOver(event, "+nBtn+");\" onmouseout=\"onBtnMouseOut(event, "+nBtn+");\">"+sButton+"</td>";\r
-               }\r
-               else\r
-                       gaButtons[nBtn]="<td NOWRAP valign=\"middle\" align=\"center\" class="+btnClass+" state=\"up\" onclick=\"onBtnClick(event);return false;\" onmousedown=\"onBtnMouseDown(event, "+nBtn+");\" onmouseup=\"onBtnMouseUp(event, "+nBtn+");\" onmouseover=\"onBtnMouseOver(event, "+nBtn+");\" onmouseout=\"onBtnMouseOut(event, "+nBtn+");\">"+sButton+"</td>";\r
-               gaTypes[nBtn]=sType;\r
-       }\r
-\r
-       if(sType=="avenuesel")\r
-               addAvenueSelection();\r
-       else if(sType=="searchform")\r
-               addSearchForm();\r
-       else if(sType=="banner")\r
-       {\r
-               if(!sI1)\r
-                       sI1=gsIBanner;\r
-               addBanner(sI1);\r
-       }\r
-}\r
-\r
-function isShowHideEnable()\r
-{\r
-       if(gbIE4)\r
-               return true;\r
-       else\r
-               return false;\r
-}\r
-\r
-function genButton(sText,sI,nStyle)\r
-{\r
-       var sButton="";\r
-       var sShowText=_textToHtml(sText);\r
-       if (gbNav4 && !gbNav6)\r
-               sShowText += "&nbsp;";\r
-       if(sText!=""&&sI!="")\r
-       {\r
-               if(nStyle&BTN_IMG_TOP)\r
-                       sButton+=sI+"<br>"+ sShowText;\r
-               else if(nStyle&BTN_IMG_BOTTOM)\r
-                       sButton+=sText+"<br>"+sI;\r
-               else if(nStyle&BTN_IMG_RIGHT)\r
-                       sButton+=sText+"&nbsp;"+sI;\r
-               else\r
-                       sButton+=sI+"&nbsp;"+sShowText;\r
-       }\r
-       else if(sText!="")\r
-       {\r
-               sButton+=sShowText;\r
-       }\r
-       else if(sI!="")\r
-       {\r
-               sButton+=sI;\r
-       }\r
-       return sButton;\r
-}\r
-\r
-function searchB()\r
-{\r
-       var onMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null);\r
-       SendMessage(onMsg);\r
-\r
-       var oMsg=new whMessage(WH_MSG_SEARCHTHIS,this,1,document.searchForm.searchString.value);\r
-       if(!SendMessage(oMsg))\r
-               gstrSearch=document.searchForm.searchString.value;\r
-       else\r
-               gstrSearch="";\r
-}\r
-\r
-function ReSortToolbarButtons()\r
-{\r
-       var bSearchEnabled=isSearchEnabled();\r
-       var strOrder="";\r
-       var oMsg=new whMessage(WH_MSG_TOOLBARORDER,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               strOrder=oMsg.oParam;\r
-       }\r
-       if(strOrder.length>0)\r
-       {\r
-               gaOrders=strOrder.split("|");\r
-               var aTempButtons=new Array();\r
-               var ti=0;\r
-               for(var si=0;si<gaOrders.length;si++)\r
-               {\r
-                       if(gaOrders[si]!="searchform"||bSearchEnabled)\r
-                       {\r
-                               var sb=-1;\r
-                               for(var st=0;st<gaTypes.length;st++)\r
-                               {\r
-                                       if(gaOrders[si]==gaTypes[st])\r
-                                       {\r
-                                               sb=st;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                               if(sb!=-1)\r
-                               {\r
-                                       aTempButtons[aTempButtons.length]=gaButtons[sb];\r
-                               }\r
-                       }\r
-               }\r
-               gaButtons=aTempButtons;\r
-       }\r
-}\r
-\r
-function isSyncEnabled()\r
-{\r
-       var bEnabled=false;\r
-       var oMsg=new whMessage(WH_MSG_ISSYNCSSUPPORT,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               bEnabled=oMsg.oParam;\r
-       }\r
-       return bEnabled;\r
-}\r
-\r
-function isAvenueEnabled()\r
-{\r
-       var bEnabled=false;\r
-       var oMsg=new whMessage(WH_MSG_ISAVENUESUPPORT,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               bEnabled=oMsg.oParam;\r
-       }\r
-       return bEnabled;\r
-}\r
-\r
-function isSearchEnabled()\r
-{\r
-       var bEnabled=false;\r
-       var oMsg=new whMessage(WH_MSG_ISSEARCHSUPPORT,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               bEnabled=oMsg.oParam;\r
-       }\r
-       return bEnabled;\r
-}\r
-\r
-function ReSortMinibarButtons()\r
-{\r
-       var bSyncEnabled=isSyncEnabled();\r
-       var bAvenueEnabled=isAvenueEnabled();\r
-       var strOrder="";\r
-       var oMsg=new whMessage(WH_MSG_MINIBARORDER,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               strOrder=oMsg.oParam;\r
-       }\r
-       if(strOrder.length>0)\r
-       {\r
-               gaOrders=strOrder.split("|");\r
-               var aTempButtons=new Array();\r
-               var ti=0;\r
-               for(var si=0;si<gaOrders.length;si++)\r
-               {\r
-                       if((gaOrders[si]!="synctoc"||bSyncEnabled)&&\r
-                               ((gaOrders[si]!="avnext"&&gaOrders[si]!="avprev")||bAvenueEnabled))\r
-                       {\r
-                               var sb=-1;\r
-                               for(var st=0;st<gaTypes.length;st++)\r
-                               {\r
-                                       if(gaOrders[si]==gaTypes[st])\r
-                                       {\r
-                                               sb=st;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                               if(sb!=-1)\r
-                               {\r
-                                       aTempButtons[aTempButtons.length]=gaButtons[sb];\r
-                               }\r
-                       }\r
-               }\r
-               gaButtons=aTempButtons;\r
-       }\r
-}\r
-\r
-function writeToolBar()\r
-{\r
-       var sHTML="";\r
-       if(gaButtons.length>0)\r
-       {\r
-               var strHeight="100%";\r
-               var strWidth="100%";\r
-               if (gbNav4)\r
-               {\r
-                       strHeight=window.innerHeight-4;\r
-                       strWidth=window.innerWidth-4;\r
-               }\r
-               if (gbIE4)\r
-               {\r
-                       strHeight=document.body.clientHeight-4;\r
-                       strWidth=document.body.clientWidth-4;\r
-               }\r
-               if(gbNav6)\r
-                       sHTML="<table class=\"clsToolbarBackground\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" height=\""+strHeight+"\" width=\""+strWidth+"\">";\r
-               else\r
-                       sHTML="<form name=\"searchForm\" method=\"POST\" action=\"javascript:searchB()\"><table class=\"clsToolbarBackground\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" height=\""+strHeight+"\" width=\""+strWidth+"\">";\r
-               if((gnButtonLayout&LAYOUT)==HLAYOUT)\r
-               {\r
-                       sHTML+="<tr>";\r
-                       for(var i=0;i<gaButtons.length;i++)\r
-                       {\r
-                               if(gaButtons[i])\r
-                                       sHTML+=gaButtons[i];\r
-                               else\r
-                                       sHTML+="<td width=\"100%\"></td>";\r
-                       }\r
-                       sHTML+="</tr>";\r
-               }\r
-               else\r
-               {\r
-                       for(var i=0;i<gaButtons.length;i++)\r
-                       {\r
-                               if(gaButtons[i])\r
-                                       sHTML+="<tr width=\"100%\">"+gaButtons[i]+"</tr>";\r
-                               else\r
-                                       sHTML+="<tr height=\"100%\"><td></td></tr>";\r
-                       }\r
-               }\r
-               if(gbNav6)\r
-                       sHTML+="</table>";\r
-               else\r
-                       sHTML+="</table></form>";\r
-       }\r
-       document.write(sHTML);\r
-       if(document.body)\r
-               document.body.onselectstart=onSelect;\r
-       updateAveButton();\r
-}\r
-\r
-function hasNavPane()\r
-{\r
-       if(gnHasNavPane==-1)\r
-       {\r
-               gnHasNavPane=0;\r
-               var oParam=new Object();\r
-               oParam.bVisible=false;\r
-               var oMsg=new whMessage(WH_MSG_ISPANEVISIBLE,this,1,oParam);\r
-               if(SendMessage(oMsg))\r
-               {\r
-                       if(oParam.bVisible)\r
-                               gnHasNavPane=1;\r
-               }\r
-               \r
-       }\r
-       if(gnHasNavPane==1)\r
-               return true;\r
-       else\r
-               return false;\r
-}\r
-\r
-function getTocInfo()\r
-{\r
-       var oParam=new Object();\r
-       oParam.oTocInfo=null;\r
-       var oMsg=new whMessage(WH_MSG_GETTOCPATHS,this,1,oParam);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               goTocInfo=oParam.oTocInfo;\r
-               gbTocInfoInited=true;\r
-       }\r
-}\r
-\r
-function onBtnClick(e)\r
-{\r
-       var oEl=null;\r
-       var oElo=null;\r
-       if(gbNav6)\r
-       {\r
-               oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-       {\r
-               oElo=event.srcElement;\r
-               oEl=oElo;\r
-               event.cancelBubble=true;\r
-       }\r
-       while(-1==oEl.className.indexOf("clsBtn")&&-1==oEl.className.indexOf("clsNoB"))\r
-       {\r
-               oEl=getParentNode(oEl);\r
-               if(!oEl) return;\r
-       }\r
-       if(oElo.tagName=="A"||oElo.tagName=="IMG") return true;\r
-       var oaA=getElementsByTag(oElo,"A");\r
-       if(oaA&&oaA.length)\r
-       {\r
-               var oA=oaA[0];\r
-               if(gbNav6)\r
-               {\r
-                       var sCmd=oA.getAttribute("onclick");\r
-                       var nCmd=sCmd.indexOf("return false;");\r
-                       if(nCmd!=-1);\r
-                               sCmd=sCmd.substring(0,nCmd);\r
-                       setTimeout(sCmd,1);\r
-               }\r
-               else\r
-                       oA.onclick();\r
-       }\r
-}\r
-\r
-function onBtnMouseDown(e,nBtn)\r
-{\r
-       var oEl=null;\r
-       if(gbNav6)\r
-       {\r
-               var oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-       {\r
-               oEl=event.srcElement;\r
-               event.cancelBubble=true;\r
-       }\r
-       while(-1==oEl.className.indexOf("clsBtn")&&-1==oEl.className.indexOf("clsNoB"))\r
-       {\r
-               oEl=getParentNode(oEl);\r
-               if(!oEl) return;\r
-       }\r
-       var sPF=oEl.className.substring(0,6);\r
-       var oIs=getElementsByTag(oEl,"img");\r
-       if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>2)\r
-       {\r
-               if(gaObjBtns[nBtn].aIs[2])\r
-                       oIs[0].src=gaObjBtns[nBtn].aIs[2];\r
-       }\r
-       var sState=getState(oEl);\r
-       if(sState!="disable")\r
-       {\r
-               oEl.className=sPF+"Down";\r
-       }\r
-}\r
-\r
-function onBtnMouseUp(e,nBtn)\r
-{\r
-       var oEl=null;\r
-       if(gbNav6)\r
-       {\r
-               var oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-       {\r
-               oEl=event.srcElement;\r
-               event.cancelBubble=true;\r
-       }\r
-       while(-1==oEl.className.indexOf("clsBtn")&&-1==oEl.className.indexOf("clsNoB"))\r
-       {\r
-               oEl=getParentNode(oEl);\r
-               if(!oEl) return;\r
-       }\r
-       var sPF=oEl.className.substring(0,6);\r
-       var sState=getState(oEl);\r
-       if(sState=="down"||sState=="disable")\r
-       {\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>3)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[3])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[3];\r
-               }\r
-       }\r
-       else\r
-       {\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>0)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[0])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[0];\r
-               }\r
-       }\r
-       if(goEl==oEl)\r
-       {\r
-               if(sState!="down"&&sState!="disable")\r
-               {\r
-                       oEl.className=sPF+"Up";\r
-               }\r
-       }\r
-}\r
-\r
-function getState(oEl)\r
-{\r
-       var sState="";\r
-       if(gbNav6||gbOpera)\r
-               sState=oEl.getAttribute("state");\r
-       else\r
-               if(oEl.state)\r
-                       sState=oEl.state;\r
-       return sState;\r
-}\r
-\r
-function onBtnMouseOver(e,nBtn)\r
-{\r
-       markButton(e);\r
-       var oEl=null;\r
-       if(gbNav6)\r
-       {\r
-               var oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-       {\r
-               oEl=event.srcElement;\r
-               event.cancelBubble=true;\r
-       }\r
-       while(-1==oEl.className.indexOf("clsBtn")&&-1==oEl.className.indexOf("clsNoB"))\r
-       {\r
-               oEl=getParentNode(oEl);\r
-               if(!oEl) return;\r
-       }\r
-       var sPF=oEl.className.substring(0,6);\r
-       var sState=getState(oEl);\r
-       if(sState=="down"||sState=="disable")\r
-       {\r
-               if(sState=="down")\r
-                       oEl.className=sPF+"Down";\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>4)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[4])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[4];\r
-               }\r
-       }\r
-       else\r
-       {\r
-               oEl.className=sPF+"Up";\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>1)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[1])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[1];\r
-               }\r
-       }\r
-}\r
-\r
-function onBtnMouseOut(e,nBtn)\r
-{\r
-       goEl=null;\r
-       var oEl=null;\r
-       if(gbNav6)\r
-       {\r
-               var oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-       {\r
-               oEl=event.srcElement;\r
-               event.cancelBubble=true;\r
-       }\r
-       while(-1==oEl.className.indexOf("clsBtn")&&-1==oEl.className.indexOf("clsNoB"))\r
-       {\r
-       oEl=getParentNode(oEl);\r
-       if(!oEl) return;\r
-       }\r
-       var sPF=oEl.className.substring(0,6);\r
-       var sState=getState(oEl);\r
-       if(sState=="down"||sState=="disable")\r
-       {\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>3)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[3])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[3];\r
-               }\r
-               if(sState=="down")\r
-                       oEl.className=sPF+"Down";\r
-       }\r
-       else\r
-       {\r
-               var oIs=getElementsByTag(oEl,"img");\r
-               if(oIs.length>0&&gaObjBtns[nBtn]&&gaObjBtns[nBtn].aIs&&gaObjBtns[nBtn].aIs.length>0)\r
-               {\r
-                       if(gaObjBtns[nBtn].aIs[0])\r
-                               oIs[0].src=gaObjBtns[nBtn].aIs[0];\r
-               }\r
-               oEl.className=sPF+"Normal";\r
-       }\r
-}\r
-\r
-function showToc()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function showIndex()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_SHOWIDX,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function showFts()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function showGlossary()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_SHOWGLO,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function syncWithShow()\r
-{\r
-       if(!gbTocInfoInited)\r
-       {\r
-               getTocInfo();\r
-       }\r
-       if(goTocInfo)\r
-       {\r
-               showToc();\r
-               var oParam=goTocInfo;\r
-               var oMsg=new whMessage(WH_MSG_SYNCTOC,this,1,oParam);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function markButton(e)\r
-{\r
-       var oEl=null;\r
-       if(gbNav6)\r
-       {\r
-               var oElo=e.target;\r
-               while(oElo&&oElo.nodeName.indexOf("#")==0) oElo=getParentNode(oElo);\r
-               oEl=oElo;\r
-       }\r
-       else\r
-               oEl=event.srcElement;\r
-       while(oEl&&oEl.tagName!="TD") oEl=getParentNode(oEl);\r
-       if(oEl)\r
-               goEl=oEl;\r
-}\r
-\r
-function showHidePane()\r
-{\r
-       var oMsg=null;\r
-       if(hasNavPane())\r
-               oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null);\r
-       else\r
-               oMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function goAveNext()\r
-{\r
-       goAvenue(true);\r
-}\r
-\r
-function goAvePrev()\r
-{\r
-       goAvenue(false);\r
-}\r
-\r
-function doWebSearch()\r
-{\r
-       if (goWebSearchEnable)\r
-       {\r
-               var oMsg=new whMessage(WH_MSG_WEBSEARCH,this,1,null);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function goAvenue(bNext)\r
-{\r
-       var oMsg=null;\r
-       initAveButtonObj();\r
-       gsCurAveName=getCurrentAveName();\r
-       if(gbNav4&&!gbNav6)\r
-       {\r
-               if(bNext)\r
-               {\r
-                       gaAvenues=null;\r
-                       updateAvenue();\r
-                       oMsg=new whMessage(WH_MSG_NEXT,this,1,null);\r
-                       SendMessage(oMsg);\r
-               }\r
-               else if(!bNext)\r
-               {\r
-                       gaAvenues=null;\r
-                       updateAvenue();\r
-                       oMsg=new whMessage(WH_MSG_PREV,this,1,null);\r
-                       SendMessage(oMsg);\r
-               }\r
-       }\r
-       else\r
-       {\r
-               if(bNext&&goNextParent)\r
-               {\r
-                       var sState=getState(goNextParent);\r
-                       if(sState!="disable")\r
-                       {\r
-                               gaAvenues=null;\r
-                               gbNeedUpdateAve=true;\r
-                               gbUpdateTimerCount++;\r
-                               setTimeout("updateAvenueIfNeeded();", 2000);\r
-                               oMsg=new whMessage(WH_MSG_NEXT,this,1,null);\r
-                               SendMessage(oMsg);\r
-                       }\r
-               }\r
-               else if(!bNext&&goPrevParent)\r
-               {\r
-                       var sState=getState(goPrevParent);\r
-                       if(sState!="disable")\r
-                       {\r
-                               gaAvenues=null;\r
-                               gbNeedUpdateAve=true;\r
-                               gbUpdateTimerCount++;\r
-                               setTimeout("updateAvenueIfNeeded();", 2000);\r
-                               oMsg=new whMessage(WH_MSG_PREV,this,1,null);\r
-                               SendMessage(oMsg);\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function window_Unload()\r
-{\r
-       if(!gbNav4||gbNav6)\r
-       {\r
-               UnRegisterListener2(this,WH_MSG_GETSEARCHS);\r
-               UnRegisterListener2(this,WH_MSG_PANESTATUE);\r
-               UnRegisterListener2(this,WH_MSG_SYNCINFO);\r
-               UnRegisterListener2(this,WH_MSG_PANEINFO);\r
-               UnRegisterListener2(this,WH_MSG_AVENUEINFO);\r
-               UnRegisterListener2(this,WH_MSG_GETCURRENTAVENUE);\r
-               UnRegisterListener2(this,WH_MSG_ENABLEWEBSEARCH);\r
-               UnRegisterListener2(this,WH_MSG_INITSEARCHSTRING);\r
-               UnRegisterListener2(this,WH_MSG_NOSEARCHINPUT);\r
-               UnRegisterListener2(this,WH_MSG_NOSYNC);\r
-       }\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(!gbOpera7&&document.body)\r
-       {\r
-               if(gsBgImage&&gsBgImage.length>0)\r
-               {\r
-                       document.body.background=gsBgImage;\r
-               }\r
-               if(gsBgColor&&gsBgColor.length>0)\r
-               {\r
-                       document.body.bgColor=gsBgColor;\r
-               }\r
-       }\r
-       doCusOnLoad();\r
-       var oMsg=new whMessage(WH_MSG_GETPANEINFO,this,1,null);\r
-       if(SendMessage(oMsg))\r
-       {\r
-               setTimeout("flipPaneButton(\""+oMsg.oParam+"\");",1);\r
-       }\r
-       if (!gaAvenues)\r
-       {\r
-               var oMsg2=new whMessage(WH_MSG_GETAVIAVENUES,this,1,new Object());\r
-               if(SendMessage(oMsg2))\r
-               {\r
-                       gaAvenues=oMsg2.oParam.aAvenues;\r
-                       gbNeedUpdateAve=false;\r
-                       setTimeout("updateAvenue();",1);\r
-               }\r
-       }\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       var nMsgId=oMsg.nMessageId;\r
-       if(nMsgId==WH_MSG_GETSEARCHS)\r
-       {\r
-               if(document.searchForm&&document.searchForm.searchString)\r
-               {\r
-                       oMsg.oParam.sValue=document.searchForm.searchString.value;\r
-                       return false;\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_PANESTATUE)\r
-       {\r
-               if(oMsg.oParam=="visible")\r
-               {\r
-                       if(isShowHideEnable())\r
-                               setTimeout("flipShowHide(true);",1);\r
-                       setTimeout("showPaneButton();",1);\r
-               }\r
-               else\r
-               {\r
-                       if(isShowHideEnable())\r
-                               setTimeout("flipShowHide(false);",1);\r
-                       setTimeout("hidePaneButton();",1);\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_PANEINFO)\r
-       {\r
-               if(oMsg.oParam)\r
-                       setTimeout("flipPaneButton(\""+oMsg.oParam+"\");",1);\r
-               else\r
-                       setTimeout("hidePaneButton();",1);\r
-       }\r
-       else if(nMsgId==WH_MSG_SYNCINFO)\r
-       {\r
-               if(oMsg.oParam)\r
-                       goTocInfo=oMsg.oParam;\r
-               else\r
-                       goTocInfo=null;\r
-               gbTocInfoInited=true;\r
-       }\r
-       else if(nMsgId==WH_MSG_AVENUEINFO)\r
-       {\r
-               gaAvenues=oMsg.oParam;\r
-               gbNeedUpdateAve=false;\r
-               setTimeout("updateAvenue();",1);\r
-       }\r
-       else if(nMsgId==WH_MSG_GETCURRENTAVENUE)\r
-       {\r
-               var sAveName=getCurrentAvenue();\r
-               if(sAveName!="")\r
-               {\r
-                       oMsg.oParam.sAvenue=sAveName;\r
-                       return false;\r
-               }\r
-               else\r
-                       return true;\r
-       }\r
-       else if(nMsgId==WH_MSG_ENABLEWEBSEARCH)\r
-       {\r
-               setTimeout("updateWebSearch("+oMsg.oParam+");",1);\r
-       }\r
-       else if(nMsgId==WH_MSG_INITSEARCHSTRING)\r
-       {\r
-               if(gstrSearch!="")\r
-               {\r
-                       oMsg.oParam=gstrSearch;\r
-                       gstrSearch="";\r
-                       return false;\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_NOSEARCHINPUT)\r
-       {\r
-               var oSearchInput = getElement("searchInput");\r
-               if (oSearchInput)\r
-               {\r
-                       oSearchInput.style.visibility = "hidden";\r
-                       return false;\r
-               }\r
-       }\r
-       else if(nMsgId==WH_MSG_NOSYNC)\r
-       {\r
-               var oSync = getElement("btnsynctoc");\r
-               if (oSync)\r
-               {\r
-                       oSync.style.visibility = "hidden";\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function getCurrentAvenue()\r
-{\r
-       var strAveName="";\r
-       var oSelect=getElement("avenue");\r
-       if(oSelect)\r
-       {\r
-               strAveName=oSelect.value;\r
-       }\r
-       return strAveName;\r
-}\r
-\r
-function initBtn()\r
-{\r
-       var oBtn=null;\r
-       oBtn=getElement("btntoc");\r
-       if(oBtn)\r
-               gaBtns[gaBtns.length]=oBtn;\r
-       oBtn=getElement("btnidx");\r
-       if(oBtn)\r
-               gaBtns[gaBtns.length]=oBtn;\r
-       oBtn=getElement("btnfts");\r
-       if(oBtn)\r
-               gaBtns[gaBtns.length]=oBtn;\r
-       oBtn=getElement("btnglo");\r
-       if(oBtn)\r
-               gaBtns[gaBtns.length]=oBtn;\r
-       gbInitBtn=true;\r
-}\r
-\r
-function showPaneButton()\r
-{\r
-       flipPaneButton(gsPane);\r
-}\r
-\r
-function hidePaneButton()\r
-{\r
-       flipPaneButton("");\r
-}\r
-\r
-function flipPaneButton(sPane)\r
-{\r
-       if (sPane)\r
-               gsPane=sPane;\r
-       if(!gbInitBtn)\r
-               initBtn();\r
-\r
-       var oUp=null;\r
-       if(sPane)\r
-       {\r
-               oUp=getElement("btn"+sPane);\r
-       }\r
-       for(var i=0;i<gaBtns.length;i++)\r
-       {\r
-               if(gaBtns[i])\r
-               {\r
-                       if(gaBtns[i]==oUp)\r
-                       {\r
-                               var oEl=getParentNode(oUp);\r
-                               var sPF=oEl.className.substring(0,6);\r
-                               var sState=getState(oEl);\r
-                               if(sState=="up")\r
-                               {\r
-                                       setState(oEl,"down");\r
-                                       oEl.className=sPF+"Down";\r
-                                       if(sPF=="clsBtn")\r
-                                       {\r
-                                               if(gaBtns[i].id)\r
-                                               {\r
-                                                       var sColor=getBtnColor(gaBtns[i].id.substring(3),true);\r
-                                                       if(sColor)\r
-                                                       {\r
-                                                               oEl.style.backgroundColor=sColor\r
-                                                       }\r
-                                                       else\r
-                                                       {\r
-                                                               oEl.style.backgroundColor="";\r
-                                                       }\r
-                                               }\r
-                                               var oaA=getElementsByTag(oEl,"A");\r
-                                               if(oaA.length>0)\r
-                                               {\r
-                                                       var strClassName=oaA[0].className;\r
-                                                       oaA[0].className="btnsel"+strClassName.substring(3);\r
-                                               }\r
-                                       }\r
-                                       var oIs=getElementsByTag(oEl,"img");\r
-                                       var oBtn=getButtonObjByType(gaBtns[i].id.substring(3));\r
-                                       if(oIs.length>0&&oBtn&&oBtn.aIs&&oBtn.aIs.length>3)\r
-                                       {\r
-                                               if(oBtn.aIs[3])\r
-                                                       oIs[0].src=oBtn.aIs[3];\r
-                                       }\r
-                               }\r
-                       }\r
-                       else\r
-                       {\r
-                               var oEl=getParentNode(gaBtns[i]);\r
-                               var sState=getState(oEl);\r
-                               var sPF=oEl.className.substring(0,6);\r
-                               if(sState=="down")\r
-                               {\r
-                                       setState(oEl,"up");\r
-                                       if(oEl==goEl)\r
-                                               oEl.className=sPF+"Up";\r
-                                       else\r
-                                               oEl.className=sPF+"Normal";\r
-\r
-                                       if(sPF=="clsBtn")\r
-                                       {\r
-                                               if(gaBtns[i].id)\r
-                                               {\r
-                                                       var sColor=getBtnColor(gaBtns[i].id.substring(3),false);\r
-                                                       if(sColor)\r
-                                                       {\r
-                                                               oEl.style.backgroundColor=sColor\r
-                                                       }\r
-                                                       else\r
-                                                       {\r
-                                                               oEl.style.backgroundColor="";\r
-                                                       }\r
-                                               }\r
-\r
-                                               var oaA=getElementsByTag(oEl,"A");\r
-                                               if(oaA.length>0)\r
-                                               {\r
-                                                       var strClassName=oaA[0].className;\r
-                                                       oaA[0].className="btn"+strClassName.substring(6);\r
-                                               }\r
-                                       }\r
-                                       var oIs=getElementsByTag(oEl,"img");\r
-                                       var oBtn=getButtonObjByType(gaBtns[i].id.substring(3));\r
-                                       if(oIs.length>0&&oBtn&&oBtn.aIs&&oBtn.aIs.length>0)\r
-                                       {\r
-                                               if(oBtn.aIs[0])\r
-                                                       oIs[0].src=oBtn.aIs[0];\r
-                                       }\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function flipShowHide(bShow)\r
-{\r
-       gnHasNavPane=-1;        \r
-       var oA=getElement("btnshowhide");\r
-       if(oA)\r
-       {\r
-               var oEl=getParentNode(oA);\r
-               var sPF=oEl.className.substring(0,6);\r
-               if(oEl&&oEl.state)\r
-               {\r
-                       if(bShow)\r
-                       {\r
-                               oEl.state="down";\r
-                               oEl.className=sPF+"Down";\r
-                       }\r
-                       else\r
-                       {\r
-                               oEl.state="up";\r
-                               \r
-                               if(oEl==goEl)\r
-                                       oEl.className=sPF+"Up";\r
-                               else\r
-                                       oEl.className=sPF+"Normal";\r
-                       }\r
-               }\r
-               oA.innerHTML=getShowHide();\r
-       }\r
-}\r
-\r
-function cusOnClick(nIdx)\r
-{\r
-       if(goCusButton.length>nIdx)\r
-       {\r
-               var sOnClick=goCusButton[nIdx].sOnClick;\r
-               if(sOnClick&&sOnClick.length>0)\r
-               {\r
-                       if(!gbPreview)\r
-                               eval(sOnClick);\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function cusOnMouseOver(nIdx)\r
-{\r
-       if(goCusButton.length>nIdx)\r
-       {\r
-               var sOnMouseOver=goCusButton[nIdx].sOnMouseOver;\r
-               if(sOnMouseOver&&sOnMouseOver.length>0)\r
-               {\r
-                       if(!gbPreview)\r
-                               eval(sOnMouseOver);\r
-                       return false;\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-function doCusOnLoad()\r
-{\r
-       if(!gbPreview&&gaOrders)\r
-       {\r
-               for(var i=0;i<gaOrders.length;i++)\r
-               {\r
-                       for(var j=0;j<gaOnLoads.length;j++)\r
-                       {\r
-                               if(gaOrders[i]==gaOnLoads[j].sType)\r
-                               {\r
-                                       eval(gaOnLoads[j].sOnLoad);\r
-                                       break;\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-function registerOnLoad(sOnLoad,sType)\r
-{\r
-       gaOnLoads[gaOnLoads.length]=new cusOnLoad(sType,sOnLoad);       \r
-}\r
-\r
-function cusOnLoad(sType,sOnLoad)\r
-{\r
-       this.sType=sType;\r
-       this.sOnLoad=sOnLoad;\r
-}\r
-\r
-function cusButton(sType,sText,sOnClick,sOnMouseOver,sOnLoad,nWidth,nHeight)\r
-{\r
-       this.sType=sType;\r
-       this.sText=sText;\r
-       this.sOnClick=sOnClick;\r
-       this.sOnMouseOver=sOnMouseOver;\r
-       this.sOnLoad=sOnLoad;\r
-       this.nWidth=nWidth;\r
-       this.nHeight=nHeight;\r
-       this.aIs=new Array();\r
-       var i=0;\r
-       while(cusButton.arguments.length>i+7)\r
-       {\r
-               if (cusButton.arguments[7+i])\r
-                       this.aIs[i]=_getFullPath(_getPath(document.location.href),cusButton.arguments[7+i]);\r
-               else\r
-                       this.aIs[i]="";\r
-               i++;\r
-       }\r
-       if(sOnLoad)\r
-       {\r
-               registerOnLoad(sOnLoad,sType);\r
-       }\r
-}\r
-\r
-function getBtnColor(sType,bSel)\r
-{\r
-       var aBtnColors=null;\r
-       if(bSel)\r
-               aBtnColors=gaSelBtnBgColor;\r
-       else\r
-               aBtnColors=gaBtnBgColor;\r
-       if(aBtnColors)\r
-       {\r
-               for(var i=0;i<aBtnColors.length;i++)\r
-               {\r
-                       if(aBtnColors[i].sType==sType)\r
-                               return aBtnColors[i].sColor;\r
-               }\r
-       }\r
-       return "";\r
-}\r
-\r
-function setButtonBgColor(sType,sColor,bSel)\r
-{\r
-       if(sColor)\r
-       {\r
-               var aBtnColors=null;\r
-               if(bSel)\r
-                       aBtnColors=gaSelBtnBgColor;\r
-               else\r
-                       aBtnColors=gaBtnBgColor;\r
-               if(aBtnColors!=null)\r
-               {\r
-                       for(var i=0;i<aBtnColors.length;i++)\r
-                       {\r
-                               if(aBtnColors[i].sType==sType)\r
-                               {\r
-                                       aBtnColors[i].sColor=sColor;\r
-                                       return;\r
-                               }\r
-                       }\r
-                       aBtnColors[aBtnColors.length]=new btnBgColor(sType,sColor);\r
-               }\r
-       }\r
-}\r
-\r
-function getDefaultButtonFont()\r
-{\r
-       var strFontStyle="";\r
-       for(var i=0;i<gaTypes.length;i++)\r
-       {\r
-               strFontStyle+=".btnsel"+gaTypes[i]+"{"+getFontStyle(goSelTextFont)+"}";\r
-               strFontStyle+=".btn"+gaTypes[i]+"{"+getFontStyle(goTextFont)+"}";\r
-       }\r
-       return strFontStyle;\r
-}\r
-\r
-function setButtonFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration,bSel)\r
-{\r
-       if(sFontName)\r
-       {\r
-               var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-               if(bSel)\r
-                       gsBtnStyle+=".btnsel"+sType+"{"+getFontStyle(vFont)+"}\n";\r
-               else\r
-                       gsBtnStyle+=".btn"+sType+"{"+getFontStyle(vFont)+"}\n";\r
-       }\r
-       if (sType=="searchform"&&!bSel)\r
-       {\r
-               var vFont1=new whFont(sFontName,sFontSize,"black",sFontStyle,sFontWeight,sFontDecoration);\r
-               gsBtnStyle+=".inputsearchform {" + getFontStyle(vFont1)+"}\n";\r
-       }\r
-}\r
-\r
-function getButtonObjByType(sType)\r
-{\r
-       for(var i=0;i<gaObjBtns.length;i++)\r
-       {\r
-               if(gaObjBtns[i].sType==sType)\r
-                       return gaObjBtns[i];\r
-       }\r
-       return null;\r
-}\r
-\r
-function onSelect()\r
-{\r
-       if (event.srcElement&&event.srcElement.name)\r
-       {\r
-               if (event.srcElement.name=="searchString")\r
-                       return true;\r
-       }\r
-       return false;\r
-}\r
-\r
-function window_onResize()\r
-{\r
-       gnRE++;\r
-       setTimeout("tryReload();", 100);\r
-}\r
-\r
-function tryReload()\r
-{\r
-       if (gnRE==1)\r
-               document.location.reload();\r
-       gnRE--;\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       RegisterListener2(this,WH_MSG_GETSEARCHS);\r
-       RegisterListener2(this,WH_MSG_PANESTATUE);\r
-       RegisterListener2(this,WH_MSG_SYNCINFO);\r
-       RegisterListener2(this,WH_MSG_PANEINFO);\r
-       RegisterListener2(this,WH_MSG_AVENUEINFO);\r
-       RegisterListener2(this,WH_MSG_GETCURRENTAVENUE);\r
-       RegisterListener2(this,WH_MSG_ENABLEWEBSEARCH);\r
-       RegisterListener2(this,WH_MSG_INITSEARCHSTRING);\r
-       RegisterListener2(this,WH_MSG_NOSEARCHINPUT);\r
-       RegisterListener2(this,WH_MSG_NOSYNC);\r
-\r
-       window.onload=window_OnLoad;\r
-       window.onunload=window_Unload;\r
-       window.onresize=window_onResize;\r
-       goTextFont=new whFont("Verdana","8pt","#003063","normal","normal","none");\r
-       goSelTextFont=new whFont("Verdana","8pt","white","normal","normal","none");\r
-       gbWhTBar=true;\r
-}\r
-else\r
-       document.location.reload();\r
-\r
index c3eeecbdc637955d1dc64d4a1a49b76e1f52dfed..5c1b6d723a311019edd0e18f45f8c5a1bc6a93bf 100755 (executable)
@@ -1,49 +1,49 @@
-<html>\r
-<head>\r
-<title>Table of contents</title>\r
-\r
-<meta name="generator" content="RoboHelp by eHelp Corporation   www.ehelp.com">\r
-<meta name="description" content="WebHelp 5.50">\r
-<base target="bsscright">\r
-</head>\r
-<script language="javascript" src="whver.js"></script>\r
-<script language="javascript1.2" src="whmozemu.js"></script>\r
-<script language="javascript1.2" src="whutils.js"></script>\r
-<script language="javascript1.2" src="whmsg.js"></script>\r
-<script language="javascript1.2" src="whproxy.js"></script>\r
-<script language="javascript1.2" src="whthost.js"></script>\r
-<script LANGUAGE="javascript1.2">\r
-<!--\r
-if (window.gbWhTHost)\r
-{\r
-       setBackgroundcolor( "White");  \r
-       \r
-       setFont("Normal", "Tahoma","8pt","Black","Normal","Normal","none");\r
-       setFont("Hover", "Tahoma","8pt","Navy","Normal","Normal","underline");\r
-       setActiveBgColor("Silver");\r
-       \r
-       \r
-       setIcon("BookOpen","wht_toc2.gif");\r
-       setIcon("BookClose","wht_toc1.gif");\r
-       setIcon("Item","wht_toc3.gif");\r
-       setIcon("RemoteItem","wht_toc4.gif");\r
-       \r
-       \r
-       \r
-       \r
-       TocWriteClassStyle();\r
-       TocWriteFixedWidth(true,400);\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-<body topmargin="2" leftmargin="2" marginwidth="0" marginheight="0" bgproperties="fixed" bgcolor="white" scroll="auto">\r
-<script LANGUAGE="javascript1.2">\r
-<!--\r
-TocWriteFixedWidth(false,400);\r
-TocInitPage();\r
-//-->\r
-</script>\r
-</body>\r
+<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>
\ No newline at end of file
index 54ddc9aacf72aa8b858677bb56a2074f645ae4e0..1a864bbcdbfb4f90ac62e5131af577905020b719 100755 (executable)
-//     WebHelp 5.10.007\r
-var gaHSLoad=new Array();\r
-var gnMinIdx=0;\r
-var gnInsIdx=-1;\r
-var gsLoadingDivID="LoadingDiv";\r
-var gsLoadingMsg="Loading, click here to cancel...";\r
-var gaProj=null;\r
-var gaTocs=new Array();\r
-var goChunk=null;\r
-var gbReady=false;\r
-var gbToc=false;\r
-var gbXML=false;\r
-var gaRoot=new Array();\r
-var gnCC=-1;\r
-var gsTP="";\r
-var gaBTPs="";\r
-var gsCTPath="";\r
-var gnLT=-1;\r
-var gsPathSplit="\n";\r
-var gsBgColor="#ffffff";\r
-var gsBgImage="";\r
-var goFont=null;\r
-var goHFont=null;\r
-\r
-var gsMargin="0pt";\r
-var gsIndent="15pt";\r
-var gsABgColor="#cccccc";\r
-\r
-var giBookClose="";\r
-var giBookOpen="";\r
-var giBookItem="";\r
-var giURLItem="";\r
-var giNewBookClose="";\r
-var giNewBookOpen="";\r
-var giNewBookItem="";\r
-var giNewURLItem="";\r
-var gnImages=0;\r
-var gnLoadedImages=0;\r
-var gaImgs=new Array();\r
-var gbLoadData=false;\r
-var gobj=null;\r
-var gaTocsNs61Fix=null;\r
-var gbWhTHost=false;\r
-var gBookItems=new Array();\r
-var gInSync=false;\r
-var gbLData=false;\r
-var gbNeedFillStub=false;\r
-var gbLoadToc=false;\r
-\r
-function chunkInfoQueue()\r
-{\r
-       this.aContent=new Array();\r
-       this.inQueue=function(cInfo)\r
-       {\r
-               this.aContent[this.aContent.length]=cInfo;\r
-       }\r
-       this.deQueue=function()\r
-       {\r
-               var cInfo=null;\r
-               if(this.aContent.length>0)\r
-               {\r
-                       cInfo=this.aContent[0];\r
-                       for(var i=1;i<this.aContent.length;i++)\r
-                               this.aContent[i-1]=this.aContent[i];\r
-                       this.aContent.length--;\r
-               }\r
-               return cInfo;\r
-       }\r
-       this.length=function()\r
-       {\r
-               return this.aContent.length;\r
-       }\r
-}\r
-\r
-var gchunkRequestQueue=new chunkInfoQueue();\r
-\r
-function chunkInfo(nIdx, bLocal)\r
-{\r
-       this.nIdx=nIdx;\r
-       this.bLocal=bLocal;\r
-}\r
-\r
-function setBackground(sBgImage)\r
-{\r
-       gsBgImage=sBgImage;\r
-}\r
-\r
-function setBackgroundcolor(sBgColor)\r
-{\r
-       gsBgColor=sBgColor;\r
-}\r
-\r
-function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       if(sType=="Normal") goFont=vFont;\r
-       else if(sType=="Hover") goHFont=vFont;\r
-}\r
-\r
-function setActiveBgColor(sBgColor){gsABgColor=sBgColor;}\r
-\r
-function setMargin(sMargin){gsMargin=sMargin;}\r
-\r
-function setIndent(sIndent){gsIndent=sIndent;}\r
-\r
-function setIcon(sType,sURL)\r
-{\r
-       if(sType=="BookOpen")\r
-               giBookOpen=sURL;\r
-       else if(sType=="BookClose")\r
-               giBookClose=sURL;\r
-       else if(sType=="Item")\r
-               giBookItem=sURL;\r
-       else if(sType=="RemoteItem")\r
-               giURLItem=sURL;\r
-       else if(sType=="NewBookClose")\r
-               giNewBookClose=sURL;\r
-       else if(sType=="NewBookOpen")\r
-               giNewBookOpen=sURL;\r
-       else if(sType=="NewItem")\r
-               giNewBookItem=sURL;\r
-       else if(sType=="NewRemoteItem")\r
-               giNewURLItem=sURL;              \r
-}\r
-\r
-function bookItem(sTarget,sURL)\r
-{\r
-       if(sTarget)\r
-               this.sTarget=sTarget;\r
-       else\r
-               this.sTarget="bsscright";\r
-       this.sURL=sURL;\r
-}\r
-\r
-function addBookItem(sBookId,sTarget,sURL)\r
-{\r
-       gBookItems[sBookId]=new bookItem(sTarget,sURL);         \r
-}\r
-\r
-function tocChunk(sPPath,sDPath)\r
-{\r
-       this.sPPath=sPPath;\r
-       this.sDPath=sDPath;\r
-       this.nMI=-1;\r
-       this.aTocs=null;\r
-}\r
-\r
-function addTocChunk(sPPath,sDPath)\r
-{\r
-       var oChunk=new tocChunk(sPPath,sDPath);\r
-       gaTocs[gaTocs.length]=oChunk;\r
-       return oChunk;\r
-}\r
-\r
-function isHSLoad(nIdx)\r
-{\r
-       for(var i=0;i<gaHSLoad.length;i++)\r
-               if(gaHSLoad[i]==nIdx)\r
-                       return true;\r
-       return false;\r
-}\r
-\r
-function setHSLoad(nIdx)\r
-{\r
-       if(!isHSLoad(nIdx))\r
-       {\r
-               var len=gaHSLoad.length;\r
-               for(var i=0;i<len;i++)\r
-                       if(gaHSLoad[i]==-1)\r
-                       {\r
-                               gaHSLoad[i]=nIdx;\r
-                               return;\r
-                       }\r
-               gaHSLoad[len]=nIdx;\r
-       }\r
-}\r
-\r
-function setHSUnLoad(nIdx)\r
-{\r
-       if(isHSLoad(nIdx))\r
-       {\r
-               for(var i=0;i<gaHSLoad.length;i++)\r
-                       if(gaHSLoad[i]==nIdx)\r
-                       {\r
-                               gaHSLoad[i]=-1;\r
-                               return;\r
-                       }\r
-       }\r
-}\r
-\r
-function removeLoadingDiv()\r
-{\r
-       var eLoadingDiv=getElement(gsLoadingDivID);\r
-       if(eLoadingDiv)\r
-               removeThis(eLoadingDiv);\r
-}\r
-\r
-function checkBookItem(nIdx)\r
-{\r
-       if(!gInSync)\r
-       {\r
-               var sBookId=getBookId(nIdx);\r
-               if(gBookItems[sBookId])\r
-               {\r
-                       window.open(gBookItems[sBookId].sURL,gBookItems[sBookId].sTarget);\r
-               }\r
-       }\r
-}\r
-\r
-function insertBookItems(nIdx,num)\r
-{\r
-       checkBookItem(nIdx);\r
-       var sChildBookId=getCBId(nIdx);\r
-       var eChildDiv=getElement(sChildBookId);\r
-       if(eChildDiv){\r
-               if((eChildDiv.childNodes&&eChildDiv.childNodes.length==0)||\r
-                       (eChildDiv.all&&eChildDiv.all.length==0)){\r
-                       var sHTML=writeBookItems(nIdx,num);\r
-                       eChildDiv.innerHTML=sHTML;\r
-                       setTimeout("syncInit()",1);\r
-               }\r
-       }\r
-       ExpandIt(nIdx);\r
-}\r
-\r
-function isBookEmpty(nIdx)\r
-{\r
-       var num=getItemContentsNum(nIdx);\r
-       if (num>0)\r
-       {\r
-               var nCIdx=0;\r
-               do {\r
-                       nCIdx++;\r
-                       var i=nIdx+nCIdx;\r
-                       var nItemType=getItemType(i);\r
-                       if(nItemType==1){\r
-                               if (!isBookEmpty(i))\r
-                                       return false;\r
-                       }\r
-                       else if(nItemType==4){\r
-                               var     sSrc=getRefURL(i);\r
-                               var nProj=getProject(sSrc);\r
-                               if(nProj!=-1){\r
-                                       sSrc=gaRoot[nProj].sToc;\r
-                                       if(sSrc)\r
-                                               return false;\r
-                               }\r
-                       }\r
-                       else if(nItemType==2||nItemType==16||nItemType==8)\r
-                               return false;\r
-               } while(nCIdx<num);\r
-       }\r
-       return true;\r
-}\r
-\r
-function writeBook(nIdx)\r
-{\r
-       var sIcon=getBookImage(nIdx,true);\r
-       var sName=_textToHtml(getItemName(nIdx));\r
-       sIcon=_textToHtml_nonbsp(sIcon);\r
-       \r
-       var nType=getItemType(nIdx);\r
-       var bLocal=(nType==1);\r
-       var bLocalProject=(nType!=4);\r
-       \r
-       var sHTML="<div id=\""+getPBId(nIdx)+"\" class=";\r
-       if(bLocal)\r
-       {\r
-               if (!isBookEmpty(nIdx))\r
-               {\r
-                       sHTML+="parent><p><nobr><a id=\""+getBookId(nIdx)+"\" href=\"javascript:void(0);\" onfocus=\"markBook("+nIdx+");\" onclick=\"";\r
-                       sHTML+="insertBookItems("+nIdx+", "+getItemContentsNum(nIdx);\r
-                       sHTML+=");return false;\" title=\""+sName+"\"><img alt=\"Book\" name=\""+getBId(nIdx)+"\" src=\""+sIcon+"\" border=0 align=\"absmiddle\">";\r
-                       sHTML+="&nbsp;"+sName+"</a></nobr></p></div>";\r
-                       var sURL=_textToHtml_nonbsp(getItemURL(nIdx));\r
-                       if(sURL!="")\r
-                               addBookItem(getBookId(nIdx),_textToHtml_nonbsp(getTopicTarget(nIdx)),sURL);\r
-                       sHTML+="<div id=\""+getCBId(nIdx)+"\" class=child></div>";\r
-               }\r
-               else\r
-                       sHTML="";\r
-       }\r
-       else\r
-       {\r
-               sHTML+="stub></div>";\r
-               gbNeedFillStub=true;\r
-               setTimeout("fillStub("+nIdx+","+bLocalProject+");",100);\r
-       }\r
-       return sHTML;\r
-}\r
-\r
-function checkFillStub()\r
-{\r
-       if(!gbLData)\r
-       {\r
-               if(gchunkRequestQueue.length()>0)\r
-               {\r
-                       var cInfo=gchunkRequestQueue.deQueue();\r
-                       if(cInfo)\r
-                       {\r
-                               fillStub(cInfo.nIdx,cInfo.bLocal);\r
-                               return;\r
-                       }\r
-               }\r
-       }\r
-       if(gbNeedFillStub)\r
-       {\r
-               gbNeedFillStub=false;\r
-               setTimeout("syncInit()",1);\r
-       }\r
-}\r
-\r
-function fillStub(nIdx,bLocalProject)\r
-{\r
-       if(!gbLData)\r
-       {\r
-               gbLData=true;\r
-               var sObj=getElement(getPBId(nIdx));\r
-               if(sObj!=null)\r
-               {\r
-                       tocExpandHelpSet(nIdx,bLocalProject);\r
-                       gbNeedFillStub=false;\r
-                       setTimeout("syncInit()",1);\r
-               }\r
-               else\r
-                       setTimeout("fillStub("+nIdx+","+bLocalProject+");",100);\r
-       }\r
-       else\r
-               gchunkRequestQueue.inQueue(new chunkInfo(nIdx,bLocalProject));\r
-}\r
-\r
-function getBookId(nIdx){return "B_"+nIdx;}\r
-\r
-function getItemId(nIdx){return "I_"+nIdx;}\r
-\r
-function markBook(nIdx)\r
-{\r
-       var obj=getElement(getItemId(nIdx));\r
-       if(obj==null)\r
-               obj=getElement(getBookId(nIdx));\r
-       if(gbNav6)\r
-       {\r
-               gobj=obj;\r
-               setTimeout("delayMarkObj();",1);\r
-       }\r
-       else\r
-               markObj(obj);\r
-}\r
-\r
-function delayMarkObj()\r
-{\r
-       if(gobj)\r
-       {\r
-               markObj(gobj);\r
-               gobj=null;\r
-       }\r
-}\r
-\r
-function markObj(obj)\r
-{\r
-       if(obj!=null)\r
-       {\r
-               HighLightElement(obj,gsABgColor,"transparent");\r
-               var sPath=calTocPath(obj);\r
-               if(gsCTPath!=sPath)\r
-                       gsCTPath=sPath;\r
-       }\r
-}\r
-\r
-function markItem(nIdx)\r
-{\r
-       var obj=getElement(getItemId(nIdx));\r
-       if(gbNav6)\r
-       {\r
-               gobj=obj;\r
-               setTimeout("delayMarkObj();",1);\r
-       }\r
-       else\r
-               markObj(getElement(getItemId(nIdx)));\r
-}\r
-\r
-function calTocPath(obj)\r
-{\r
-       var sPath=getInnerText2(obj);\r
-       var pObj=getParentNode(obj);\r
-       do\r
-       {\r
-               while(pObj!=null&&!isCBId(pObj.id)) pObj=getParentNode(pObj);\r
-               if(pObj!=null)\r
-               {\r
-                       var nId=getIdByCBId(pObj.id);\r
-                       var sObj=getElement(getPBId(nId));\r
-                       if(sObj!=null)\r
-                       {\r
-                               var objs=getItemsByBook(sObj);\r
-                               for(var i=0;i<objs.length;i++)\r
-                               {\r
-                                       var sText=getInnerText2(objs[i]);\r
-                                       if(sText.length!=0)\r
-                                       {\r
-                                               sPath=sText+gsPathSplit+sPath;\r
-                                               break;\r
-                                       }\r
-                               }\r
-                       }\r
-                       pObj=getParentNode(pObj);\r
-               }\r
-       }while(pObj!=null);\r
-       return sPath;\r
-}\r
-\r
-function writeAnItem(nIdx)\r
-{\r
-       var sTarget=_textToHtml_nonbsp(getTopicTarget(nIdx));\r
-       var sIcon=getItemIcon(nIdx,0);\r
-       if(sIcon=="")\r
-       {\r
-               var nItemType=getItemType(nIdx);\r
-               if(nItemType&2)\r
-                       sIcon=getItemImage(nIdx,false);\r
-               else\r
-                       sIcon=getItemImage(nIdx,true);\r
-       }\r
-       sIcon=_textToHtml_nonbsp(sIcon);\r
-       var sName=_textToHtml(getItemName(nIdx));\r
-       var sHTML="<p><nobr><a id=\""+getItemId(nIdx)+"\" onfocus=\"markItem("+nIdx+");\""\r
-       var sAltString="";\r
-       if(nItemType&2)\r
-               sAltString="Page";\r
-       else\r
-               sAltString="Remote Page";\r
-       if(sTarget!="")\r
-               sHTML+="target=\""+sTarget+"\" ";\r
-       sHTML+="href=\""+_textToHtml_nonbsp(getItemURL(nIdx))+"\" title=\""+sName+"\"><img alt=\""+sAltString+"\" src=\""+sIcon+"\" border=0 align=\"absmiddle\">&nbsp;"+sName+"</a></nobr></p>";\r
-       return sHTML;\r
-}\r
-\r
-function writeBookItems(nIdx,num)\r
-{\r
-       var sHTML="";\r
-       if(num>0){\r
-               var nCIdx=0;\r
-               do{\r
-                       nCIdx++;\r
-                       var i=nIdx+nCIdx;\r
-                       var nItemType=getItemType(i);\r
-                       if(nItemType==1||nItemType==4||nItemType==8){\r
-                               sHTML+=writeBook(i);    \r
-                               nCIdx+=getItemContentsNum(i);           \r
-                       }\r
-                       else if(nItemType==2||nItemType==16){\r
-                               sHTML+=writeAnItem(i);\r
-                       }\r
-               }\r
-               while(nCIdx<num);\r
-       }\r
-       return sHTML;\r
-}\r
-\r
-function tocExpandHelpSet(nIdx,bLocal)\r
-{\r
-       checkBookItem(nIdx);\r
-       removeLoadingDiv();\r
-       if(!isHSLoad(nIdx))\r
-       {\r
-               setHSLoad(nIdx);\r
-               var sSrc="";\r
-               if(bLocal){\r
-                       var oChunk=getChunk(nIdx);\r
-                       if(oChunk)\r
-                       {\r
-                               goChunk=addTocChunk(oChunk.sPPath,oChunk.sDPath);\r
-                               sSrc=oChunk.aTocs[nIdx-oChunk.nMI].sRefURL;\r
-                       }\r
-               }\r
-               else{\r
-                       sSrc=getRefURL(nIdx);\r
-                       var nProj=getProject(sSrc);\r
-                       if(nProj!=-1)\r
-                       {\r
-                               sSrc=gaRoot[nProj].sToc;\r
-                               if(sSrc)\r
-                                       goChunk=addTocChunk(gaProj[nProj].sPPath,gaProj[nProj].sDPath);\r
-                               else\r
-                                       goChunk=null;\r
-                       }\r
-                       else\r
-                               goChunk=null;\r
-               }\r
-               if(goChunk)\r
-               {\r
-                       PrepareLoading(nIdx);\r
-                       gbToc=false;\r
-                       loadData2(goChunk.sPPath+goChunk.sDPath+sSrc);\r
-               }\r
-               else\r
-               {\r
-                       gbLData=false;\r
-                       checkFillStub();\r
-               }\r
-       }\r
-}\r
-\r
-function getProject(sSrc)\r
-{\r
-       for(var i=0;i<gaProj.length;i++)\r
-               if(isSamePath(getPath(sSrc),gaProj[i].sPPath))\r
-                       return i;\r
-       return -1;\r
-}\r
-\r
-function getPath(sPath)\r
-{\r
-       if(sPath!="")\r
-       {\r
-               sPath=_replaceSlash(sPath);\r
-               var nPosFile=sPath.lastIndexOf("/");\r
-               sPath=sPath.substring(0,nPosFile+1);\r
-       }\r
-       return sPath;\r
-}\r
-\r
-function isSamePath(sPath1,sPath2)\r
-{\r
-       return (sPath1.toLowerCase()==sPath2.toLowerCase());\r
-}\r
-\r
-function PrepareLoading(nIdx)\r
-{\r
-       gnInsIdx=nIdx;\r
-       if(!gsTP)\r
-       {\r
-               var oObj=getElement(getPBId(gnInsIdx));\r
-               if(oObj)\r
-                       oObj.insertAdjacentHTML("afterEnd",writeLoadingDiv(nIdx));\r
-       }\r
-}\r
-\r
-function writeLoadingDiv(nIdx)\r
-{\r
-       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>";\r
-}\r
-\r
-function getItemName(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-               return oChunk.aTocs[nIdx-oChunk.nMI].sItemName;\r
-       else\r
-               return null;\r
-}\r
-\r
-function getItemContentsNum(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-               return oChunk.aTocs[nIdx-oChunk.nMI].nContents;\r
-       else\r
-               return null;\r
-}\r
-\r
-function getItemType(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-               return oChunk.aTocs[nIdx-oChunk.nMI].nType;\r
-       else\r
-               return 0;\r
-}\r
-\r
-function getItemURL(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-       {\r
-               var sPath=oChunk.aTocs[nIdx-oChunk.nMI].sItemURL;\r
-               if(!(sPath==null||sPath==""))\r
-               {\r
-                       return _getFullPath(oChunk.sPPath,sPath);\r
-               }\r
-       }\r
-       return "";\r
-}\r
-\r
-function getRefURL(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-       {\r
-               var sPath=oChunk.aTocs[nIdx-oChunk.nMI].sRefURL;\r
-               if(!(sPath==null||sPath==""))\r
-               {\r
-                       return _getFullPath(oChunk.sPPath,sPath)\r
-               }\r
-       }\r
-       return "";\r
-}\r
-\r
-function getTopicTarget(nIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-       {\r
-               if(typeof(oChunk.aTocs[nIdx-oChunk.nMI].sTarget)!="undefined")\r
-                       return oChunk.aTocs[nIdx-oChunk.nMI].sTarget;\r
-       }\r
-       return "";\r
-}\r
-\r
-function getItemIcon(nIdx,nIconIdx)\r
-{\r
-       var oChunk=getChunk(nIdx);\r
-       if(oChunk)\r
-       {\r
-               if(typeof(oChunk.aTocs[nIdx-oChunk.nMI].sIconRef)!="undefined")\r
-               {\r
-                       var sIconRef=oChunk.aTocs[nIdx-oChunk.nMI].sIconRef;\r
-                       var nIndex=sIconRef.indexOf(";");\r
-                       while(nIconIdx-->0&&nIndex!=-1)\r
-                       {\r
-                               sIconRef=sIconRef.substring(nIndex+1);\r
-                               nIndex=sIconRef.indexOf(";");\r
-                       }\r
-                       if(nIconIdx<0)\r
-                       {\r
-                               if(nIndex!=-1)\r
-                                       sIconRef=sIconRef.substring(0,nIndex);\r
-                               return _getFullPath(oChunk.sPPath,sIconRef)\r
-                       }\r
-               }\r
-       }\r
-       return "";\r
-}\r
-\r
-function TocWriteClassStyle()\r
-{\r
-       var sStyle="<STYLE TYPE='text/css'>\n";\r
-       if(gsBgImage)\r
-               sStyle+="body {border-top:"+gsBgColor+" 1px solid;}\n";\r
-       else\r
-               sStyle+="body {border-top:black 1px solid;}\n";\r
-       sStyle+="P {"+getFontStyle(goFont)+"margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";}\n";\r
-       sStyle+="DIV {margin-top:"+gsMargin+";margin-bottom:"+gsMargin+";}\n";\r
-       sStyle+=".parent {margin-left:0pt;}\n";\r
-       sStyle+=".stub {margin-left:0pt;display:none}\n";\r
-       sStyle+=".child {display:none;margin-left:"+gsIndent+";}\n";\r
-       sStyle+="A:link {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:visited {"+getFontStyle(goFont)+"}\n";\r
-       sStyle+="A:active {background-color:"+gsABgColor+";}\n";\r
-       sStyle +="A:hover {"+getFontStyle(goHFont)+"}\n";\r
-       sStyle+="</STYLE>";\r
-       document.write(sStyle);\r
-}\r
-\r
-function TocWriteFixedWidth(bBegin,nWidth)\r
-{\r
-       if((gbIE4)&&(gbMac)&&(!gbIE5)){\r
-               if(bBegin)\r
-                       document.write("<table width="+nWidth+" border=0><tr><td>");\r
-               else\r
-                       document.write("</td></tr></table>");\r
-       }\r
-}\r
-\r
-function TocInitPage()\r
-{\r
-       var tempColl=getItemsByBook(document.body);\r
-       if(tempColl.length>0)\r
-               tempColl[0].focus();\r
-}\r
-\r
-function getItemsFromObj(obj)\r
-{\r
-       var aAnchor=new Array();\r
-       var tempColl=getChildrenByTag(obj,"P");\r
-       if(tempColl&&tempColl.length>0)\r
-       {\r
-               var anobr=new Array();\r
-               for(var i=0;i<tempColl.length;i++)\r
-               {\r
-                       var tempNobr=getChildrenByTag(tempColl[i],"NOBR");\r
-                       if(tempNobr&&tempNobr.length>0)\r
-                               for(var j=0;j<tempNobr.length;j++)\r
-                                       anobr[anobr.length]=tempNobr[j];\r
-               }\r
-               for(var s=0;s<anobr.length;s++)\r
-               {\r
-                       var tempAnchor=getChildrenByTag(anobr[s],"A");\r
-                       if(tempAnchor&&tempAnchor.length>0)\r
-                               for(var u=0;u<tempAnchor.length;u++)\r
-                                       aAnchor[aAnchor.length]=tempAnchor[u];\r
-               }\r
-       }\r
-       return aAnchor;\r
-}\r
-\r
-function getItemsByBook(obj)\r
-{\r
-       var aAnchor=new Array();\r
-       var aTAnchor=getItemsFromObj(obj);\r
-       for(var i=0;i<aTAnchor.length;i++)\r
-               aAnchor[aAnchor.length]=aTAnchor[i];\r
-       var tempBook=getChildrenByTag(obj,"DIV");\r
-       if(tempBook&&tempBook.length>0)\r
-               for(var j=0;j<tempBook.length;j++)\r
-               {\r
-                       var aTAnchorDiv=getItemsFromObj(tempBook[j]);\r
-                       for(var s=0;s<aTAnchorDiv.length;s++)\r
-                               aAnchor[aAnchor.length]=aTAnchorDiv[s];\r
-               }\r
-       return aAnchor;\r
-}\r
-\r
-function ExpandIt(nId)\r
-{\r
-       if(!gsTP)\r
-               ExpandIt2(nId,false);\r
-}\r
-\r
-function ExpandIt2(nId,bForceOpen)\r
-{\r
-       var oC=TocExpand(nId,true,bForceOpen);\r
-       var nNewScroll=document.body.scrollTop;\r
-       if(oC.style.display=="block"){\r
-               var nTop=oC.offsetTop;\r
-               var nBottom=nTop+oC.offsetHeight;\r
-               if(document.body.scrollTop+document.body.clientHeight<nBottom){\r
-                       nNewScroll=nBottom-document.body.clientHeight;\r
-               }\r
-               if(nBottom-nTop>document.body.clientHeight){\r
-                       nNewScroll=nTop-20;\r
-               }\r
-       }\r
-       document.body.scrollTop=nNewScroll;\r
-}\r
-\r
-function TocExpand(nId,bChangeImg,bForceOpen)\r
-{\r
-       var oDiv=getElement(getCBId(nId));\r
-       if(oDiv==null) return null;\r
-\r
-       var whichIm=document.images[getBId(nId)];\r
-       if((oDiv.style.display!="block")||bForceOpen){\r
-               oDiv.style.display="block";\r
-               if(bChangeImg){\r
-                       var sPath=getPath(whichIm.src);\r
-                       sPath=_getFullPath(sPath,getBookImage(nId,false));\r
-                       whichIm.src=sPath;              \r
-               }\r
-       }else{\r
-               oDiv.style.display="none";\r
-               if(bChangeImg){\r
-                       var sPath=getPath(whichIm.src);\r
-                       sPath=_getFullPath(sPath,getBookImage(nId,true));\r
-                       whichIm.src=sPath;\r
-               }\r
-               if(gbMac&&gbIE5){\r
-                       this.parent.document.getElementById("tocIFrame").style.width="101%";\r
-                       this.parent.document.getElementById("tocIFrame").style.width="100%";\r
-               }\r
-       }\r
-       return oDiv;\r
-}\r
-\r
-function getChunkId(n)\r
-{\r
-       var nCan=-1;\r
-       for(var i=0;i<gaTocs.length;i++)\r
-               if(gaTocs[i].nMI<=n&&gaTocs[i].nMI!=-1)\r
-               {\r
-                       if(nCan==-1)\r
-                               nCan=i;\r
-                       else\r
-                               if(gaTocs[i].nMI>=gaTocs[nCan].nMI)\r
-                                       nCan=i;\r
-               }\r
-       if(nCan!=-1)\r
-               return nCan;\r
-       else\r
-               return -1;\r
-}\r
-\r
-function getChunk(n)\r
-{\r
-       if(gnCC!=-1&&gaTocs[gnCC].nMI<=n&&(gnCC==gaTocs.length-1||\r
-               gaTocs[gnCC+1].nMI>n))\r
-       {       \r
-               return gaTocs[gnCC];\r
-       }\r
-       else{\r
-               gnCC=getChunkId(n);\r
-               if(gnCC!=-1)\r
-                       return gaTocs[gnCC];\r
-               else\r
-                       return null;\r
-       }\r
-}\r
-\r
-function getBookImage(nIdx,bClosed)\r
-{\r
-       var nIdx=bClosed?0:1;\r
-       var sIcon=getItemIcon(nIdx,nIdx);\r
-       if(sIcon=="")\r
-               if(bClosed)\r
-                       sIcon=giBookClose;\r
-               else\r
-                       sIcon=giBookOpen;\r
-       return _getFullPath(gaProj[0].sPPath,sIcon);\r
-}\r
-\r
-function getItemImage(nIdx,bRemote)\r
-{\r
-       var sIcon=getItemIcon(nIdx,0);\r
-       if(sIcon=="")\r
-               if(bRemote)\r
-                       sIcon=giURLItem;\r
-               else\r
-                       sIcon=giBookItem;\r
-       return _getFullPath(gaProj[0].sPPath,sIcon);\r
-}\r
-\r
-function getInnerText2(obj)\r
-{\r
-       var sText=getInnerText(obj);\r
-       if(sText.length>0&&!gbOpera7)\r
-               sText=sText.substring(1);\r
-       return sText;\r
-}\r
-\r
-function expandToc(oObj,sRest,aIdList)\r
-{\r
-       var len=aIdList.length;\r
-       var nPos=sRest.indexOf(gsPathSplit);\r
-       if(nPos!=-1)\r
-       {\r
-               sPart=sRest.substring(0,nPos);\r
-               sRest=sRest.substring(nPos+1);\r
-       }\r
-       else\r
-       {\r
-               sPart=sRest;\r
-               var aTagAs=getItemsByBook(oObj);\r
-               for(var s=0;s<aTagAs.length;s++)\r
-               {\r
-                       var sText=getInnerText2(aTagAs[s]);\r
-                       if(sText==sPart)\r
-                       {\r
-                               aIdList[len]=aTagAs[s];\r
-                               return 1;\r
-                       }\r
-               }\r
-               return 0;\r
-       }\r
-               \r
-       var aChildren=getChildrenByTag(oObj,"DIV");\r
-       for(var i=0;i<aChildren.length;i++)\r
-       {\r
-               var sPId=aChildren[i].id;\r
-               if(!isPBId(sPId))\r
-                       continue;\r
-               var sText=getInnerText2(aChildren[i]);\r
-               if(sText!=sPart)\r
-                       continue;\r
-               aIdList[len]=getIdByPBId(sPId);\r
-               var sCId=getCBId(aIdList[len]);\r
-               var oCObj=getElement(sCId);\r
-               if(oCObj)\r
-               {\r
-                       if(oCObj.innerHTML=="")\r
-                       {\r
-                               var obj=getItemsByBook(aChildren[i]);\r
-                               if(obj.length>0)\r
-                               {\r
-                                       if(gbNav6)\r
-                                       {\r
-                                               var sCommand=obj[0].getAttribute("onClick");\r
-                                               var nCommand=sCommand.indexOf(";");\r
-                                               sCommand=sCommand.substring(0,nCommand);\r
-                                               setTimeout(sCommand,1);\r
-                                       }\r
-                                       else\r
-                                               obj[0].click();\r
-                               }\r
-                               return -1;\r
-                       }\r
-                       var nRet=expandToc(oCObj,sRest,aIdList);\r
-                       if(nRet)\r
-                               return nRet;\r
-               }\r
-       }\r
-       aIdList.length=len;\r
-       return 0;\r
-}\r
-\r
-function getIdByPBId(sPId)\r
-{\r
-       return parseInt(sPId.substring(2,sPId.length-1));\r
-}\r
-\r
-function getIdByCBId(sCId)\r
-{\r
-       return parseInt(sCId.substring(2,sCId.length-1));\r
-}\r
-\r
-function isPBId(sId)\r
-{\r
-       return (sId&&sId.indexOf("B_")==0&&sId.lastIndexOf("P")==sId.length-1);\r
-}\r
-\r
-function isCBId(sId)\r
-{\r
-       return (sId&&sId.indexOf("B_")==0&&sId.lastIndexOf("C")==sId.length-1);\r
-}\r
-\r
-function getBId(nIdx)\r
-{\r
-       return "B_"+nIdx;\r
-}\r
-\r
-function getPBId(nIdx)\r
-{\r
-       return getBId(nIdx)+"P";\r
-}\r
-\r
-function getCBId(nIdx)\r
-{\r
-       return getBId(nIdx)+"C";\r
-}\r
-\r
-function getClosestTocPath(aPaths)\r
-{\r
-       var nMaxSimilarity=0;\r
-       var nThatIndex=-1;\r
-       var sPath=null;\r
-       if(aPaths.length==0) return sPath;\r
-       for(var i=0;i<aPaths.length;i++)\r
-       {\r
-               var nSimilarity=comparePath(gsCTPath,aPaths[i]);\r
-               if(nSimilarity>nMaxSimilarity)\r
-               {\r
-                       nMaxSimilarity=nSimilarity;\r
-                       nThatIndex=i;\r
-               }\r
-       }\r
-       if(nThatIndex!=-1)\r
-               sPath=aPaths[nThatIndex];\r
-       else\r
-               sPath=aPaths[0];\r
-       return sPath;\r
-}\r
-\r
-function comparePath(sPath1,sPath2)\r
-{\r
-       var nMaxSimilarity=0;\r
-       var nStartPos1=0;\r
-       var nPos1=-1;\r
-       var nStartPos2=0;\r
-       var nPos2=-1;\r
-       do{\r
-               var sCheck1=null;\r
-               var sCheck2=null;\r
-               nPos1=sPath1.indexOf(gsPathSplit,nStartPos1);\r
-               if(nPos1!=-1)\r
-               {\r
-                       sCheck1=sPath1.substring(nStartPos1,nPos1);\r
-                       nStartPos1=nPos1+1;\r
-               }\r
-               else\r
-               {\r
-                       sCheck1=sPath1.substring(nStartPos1);\r
-                       nStartPos1=-1;\r
-               }\r
-               nPos2=sPath2.indexOf(gsPathSplit,nStartPos2);\r
-               if(nPos1!=-1)\r
-               {\r
-                       sCheck2=sPath2.substring(nStartPos2,nPos2);\r
-                       nStartPos2=nPos2+1;\r
-               }\r
-               else\r
-               {\r
-                       sCheck2=sPath2.substring(nStartPos2);\r
-                       nStartPos2=-1;\r
-               }\r
-               if(sCheck1==sCheck2)\r
-                       nMaxSimilarity++;\r
-               else\r
-                       break;\r
-       }while(nStartPos1!=-1&&nStartPos2!=-1);\r
-       return nMaxSimilarity;\r
-}\r
-\r
-function getTocPaths(oTopicParam)\r
-{\r
-       var aRelTocPaths=oTopicParam.aPaths;\r
-       var aPaths=new Array();\r
-       for(var i=0;i<gaProj.length;i++)\r
-               if(isSamePath(gaProj[i].sPPath,oTopicParam.sPPath))\r
-               {\r
-                       for(var j=0;j<aRelTocPaths.length;j++)\r
-                               for (var k=0;k<gaRoot[i].aRPath.length;k++)\r
-                               {\r
-                                       var sPath=gaRoot[i].aRPath[k]+aRelTocPaths[j];\r
-                                       aPaths[aPaths.length]=sPath.substring(1);\r
-                               }\r
-                       break;\r
-               }\r
-       return aPaths;\r
-}\r
-\r
-function syncInit()\r
-{\r
-       if(gsTP&&!gbNeedFillStub)\r
-       {\r
-               gInSync=true;\r
-               var obj=document.body;\r
-               var aIdList=new Array();\r
-               var nRet=expandToc(obj,gsTP,aIdList);\r
-               if(nRet!=-1)\r
-               {\r
-                       if(nRet==1)\r
-                       {\r
-                               if(aIdList.length)\r
-                                       for(var i=0;i<aIdList.length-1;i++)\r
-                                               ExpandIt2(aIdList[i],true);\r
-                               gsCTPath=gsTP;\r
-                               if(!gbIE55)\r
-                                       aIdList[aIdList.length-1].focus();\r
-                               else\r
-                                       HighLightElement(aIdList[aIdList.length-1],gsABgColor,"transparent");\r
-                       }\r
-                       var aPaths=gaBTPs;\r
-                       gsTP=null;\r
-                       gaBTPs=null;\r
-                       if(aPaths!=null)\r
-                       {\r
-                               var sPath=getClosestTocPath(aPaths);\r
-                               if(sPath!=null)\r
-                               {       \r
-                                       gsTP=sPath;             \r
-                                       setTimeout("syncInit()",1);\r
-                               }\r
-                       }\r
-               }\r
-               gInSync=false;\r
-       }\r
-}\r
-\r
-function loadToc()\r
-{\r
-       if(!gbLoadToc)\r
-       {\r
-               var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null);\r
-               if(SendMessage(oResMsg)&&oResMsg.oParam)\r
-               {\r
-                       gbLoadToc=true;\r
-                       var oProj=oResMsg.oParam;\r
-                       gaProj=oProj.aProj;\r
-                       gbXML=oProj.bXML;\r
-                       load1B1();\r
-               }\r
-       }\r
-}\r
-\r
-function load1B1()\r
-{\r
-       if(gnLT+1<gaProj.length)\r
-               for(var i=gnLT+1;i<gaProj.length;i++)\r
-                       if(gaProj[i].sToc)\r
-                       {\r
-                               gbToc=true;\r
-                               gnLT=i;\r
-                               setTimeout("loadTocInfo()",1);\r
-                               return true;\r
-                       }\r
-       return false;\r
-}\r
-\r
-function loadTocInfo()\r
-{\r
-       loadData2(gaProj[gnLT].sPPath+gaProj[gnLT].sDPath+gaProj[gnLT].sToc);\r
-}\r
-\r
-function loadData2(sFile)\r
-{\r
-       if(gbXML)\r
-               loadDataXML(sFile);\r
-       else\r
-               loadData(sFile);\r
-}\r
-\r
-function projReady(sRoot,aProj)\r
-{\r
-       if(gaRoot.length<=gnLT||!gaRoot[gnLT])\r
-               gaRoot[gnLT]=new Object();\r
-       gaRoot[gnLT].sToc=sRoot;\r
-       \r
-       if(gnLT==0)\r
-       {\r
-               gaRoot[gnLT].aRPath=new Array();\r
-               gaRoot[gnLT].aRPath[0]=gsPathSplit;\r
-       }\r
-\r
-       updatePTPath(gnLT,aProj);\r
-\r
-       if(!((gnLT+1<gaProj.length)&&load1B1()))\r
-       {\r
-               gbReady=true;\r
-               if(gbIE4)\r
-                       setTimeout("loadImages();",1);\r
-               else\r
-                       setTimeout("loadTData();",1);\r
-       }\r
-}\r
-\r
-function loadTData()\r
-{\r
-       if(gaProj[0].sToc!="")\r
-       {\r
-               gbLData=true;\r
-               goChunk=addTocChunk(gaProj[0].sPPath,gaProj[0].sDPath);\r
-               gbToc=false;\r
-               loadData2(gaProj[0].sPPath+gaProj[0].sDPath+gaRoot[0].sToc);\r
-       }\r
-}\r
-\r
-function updatePTPath(n,aProj)\r
-{\r
-       if(aProj)\r
-               for(var i=0;i<aProj.length;i++)\r
-               {\r
-                       var sFullPath=_getFullPath(gaProj[n].sPPath,aProj[i].sPPath);\r
-                       for(var j=0;j<gaProj.length;j++)\r
-                               if(isSamePath(sFullPath,gaProj[j].sPPath))\r
-                               {\r
-                                       if(gaRoot.length<=j||!gaRoot[j])\r
-                                               gaRoot[j]=new Object();\r
-                                       if(!gaRoot[j].aRPath)\r
-                                               gaRoot[j].aRPath=new Array();\r
-\r
-                                       if(gaRoot[n].aRPath)\r
-                                               for(var k=0;k<gaRoot[n].aRPath.length;k++)\r
-                                               {\r
-                                                       var bDup=false;\r
-                                                       var sTFPath=gaRoot[n].aRPath[k]+aProj[i].sRPath;\r
-                                                       for(var l=0;l<gaRoot[j].aRPath.length;l++)\r
-                                                               if(gaRoot[j].aRPath[l]==sTFPath)\r
-                                                               {\r
-                                                                       bDup=true;\r
-                                                                       break;\r
-                                                               }\r
-                                                       if(!bDup)\r
-                                                               gaRoot[j].aRPath[gaRoot[j].aRPath.length]=sTFPath;\r
-                                               }\r
-                                       else\r
-                                               gaRoot[j].aRPath[gaRoot[j].aRPath.length]=aProj[i].sRPath;\r
-                                       break;\r
-                               }\r
-               }\r
-}\r
-\r
-function onLoadXMLError()\r
-{\r
-       if(gbToc)\r
-       {\r
-               var sRoot="";\r
-               var aRProj=new Array();\r
-               projReady(sRoot,aRProj);\r
-       }\r
-       else\r
-       {\r
-               var aToc=new Array();\r
-               putData(aToc)\r
-       }\r
-}\r
-\r
-function putDataXML(xmlDoc,sDocPath)\r
-{\r
-       if(gbToc)\r
-       {\r
-               var tocNode=xmlDoc.getElementsByTagName("toc")[0];\r
-               if(tocNode)\r
-               {\r
-                       var sRoot=tocNode.getAttribute("root");\r
-                       var rmtProject=tocNode.getElementsByTagName("project");\r
-                       var aRProj=new Array();\r
-                       if(rmtProject.length>0)\r
-                       {\r
-                               for(var i=0;i<rmtProject.length;i++)\r
-                               {\r
-                                       aRProj[i]=new Object();\r
-                                       var sURL=rmtProject[i].getAttribute("url");\r
-                                       if(sURL)\r
-                                       {\r
-                                               if(sURL.lastIndexOf("/")!=sURL.length-1)\r
-                                                       sURL+="/";                                              \r
-                                       }\r
-                                       aRProj[i].sPPath=sURL;\r
-                                       aRProj[i].sRPath = "";\r
-                                       var oSubPath = rmtProject[i].getElementsByTagName("subpath")[0];\r
-                                       if (oSubPath)\r
-                                       {\r
-                                               while (oSubPath)\r
-                                               {\r
-                                                       aRProj[i].sRPath += oSubPath.getAttribute("name") + "\n";\r
-                                                       oSubPath = oSubPath.getElementsByTagName("subpath")[0];\r
-                                               }\r
-                                       }\r
-                                       else\r
-                                               aRProj[i].sRPath=rmtProject[i].getAttribute("path");\r
-                               }\r
-                       }\r
-                       projReady(sRoot,aRProj);\r
-               }\r
-       }\r
-       else\r
-       {\r
-               var chunkNode=xmlDoc.getElementsByTagName("tocdata")[0];\r
-               if(chunkNode)\r
-               {\r
-                       var aToc=new Array();\r
-                       processBook(chunkNode,aToc);\r
-                       putData(aToc);\r
-               }\r
-       }\r
-}\r
-\r
-function processBook(node,aToc)\r
-{\r
-       var i=0;\r
-       var entry=null;\r
-       var prevEntry=null;\r
-       var oChild=node.firstChild;\r
-       do{\r
-               if(oChild)\r
-               {\r
-                       if(oChild.nodeName.indexOf("#")!=0)\r
-                       {\r
-                               var sName=oChild.getAttribute("name");\r
-                               var sURL=oChild.getAttribute("url");\r
-                               var sRef=oChild.getAttribute("ref");\r
-                               var sTarget=oChild.getAttribute("target");\r
-                               var sIcons=oChild.getAttribute("images");\r
-                               var item=new Object();\r
-                               item.sItemName=sName;\r
-                               if(sTarget)\r
-                                       item.sTarget=sTarget;\r
-                               if(sIcons)\r
-                                       item.sIconRef=sIcons;\r
-                               if(sURL==null) sURL="";\r
-\r
-                               item.sItemURL=sURL;\r
-                               \r
-                               if(oChild.nodeName=="book")\r
-                               {\r
-                                       item.nType=1;\r
-                                       aToc[aToc.length]=item;\r
-                                       var nCurrPos=aToc.length;\r
-                                       processBook(oChild,aToc);\r
-                                       item.nContents=aToc.length-nCurrPos;\r
-                               }\r
-                               else if(oChild.nodeName=="item")\r
-                               {\r
-                                       item.nType=2;\r
-                                       item.nContents=0;\r
-                                       aToc[aToc.length]=item;\r
-                               }\r
-                               else if(oChild.nodeName=="remoteitem")\r
-                               {\r
-                                       item.nType=16;\r
-                                       item.nContents=0;\r
-                                       aToc[aToc.length]=item;\r
-                               }\r
-                               else if(oChild.nodeName=="project")\r
-                               {\r
-                                       if(sRef)\r
-                                       {\r
-                                               if(sRef.lastIndexOf("/")!=sRef.length-1)\r
-                                                       sRef+="/";                                              \r
-                                       }\r
-                                       item.nType=4;\r
-                                       item.sRefURL=sRef;\r
-                                       item.nContents=0;\r
-                                       aToc[aToc.length]=item;\r
-                               }\r
-                               else if(oChild.nodeName=="chunk")\r
-                               {\r
-                                       item.nType=8;\r
-                                       item.sRefURL=sRef;\r
-                                       item.nContents=0;\r
-                                       aToc[aToc.length]=item;\r
-                               }\r
-                       }\r
-               }\r
-               else\r
-                       break;\r
-               oChild=oChild.nextSibling;\r
-       }while(true);\r
-}\r
-\r
-function putData(aTocs)\r
-{\r
-       gaTocsNs61Fix=aTocs;\r
-       setTimeout("realPutData();",1);\r
-}\r
-\r
-function realPutData()\r
-{\r
-       removeLoadingDiv();\r
-       var aTocs=gaTocsNs61Fix;\r
-       if(!aTocs) return;\r
-       if(goChunk)\r
-       {\r
-               var n=gnMinIdx;\r
-               goChunk.nMI=gnMinIdx;\r
-               goChunk.aTocs=aTocs;\r
-               gnMinIdx+=aTocs.length;\r
-               if(gnInsIdx!=-1)\r
-               {\r
-                       var oObj=getElement(getPBId(gnInsIdx));\r
-                       if(oObj)\r
-                       {\r
-                               oObj.insertAdjacentHTML("afterEnd",writeBookItems(n-1,aTocs.length));\r
-                               setTimeout("syncInit()",1);\r
-                       }\r
-               }\r
-               else{\r
-                       document.body.insertAdjacentHTML("beforeEnd",writeBookItems(n-1,aTocs.length));\r
-                       var oParam=new Object();\r
-                       oParam.oTocInfo=null;\r
-                       var oMsg=new whMessage(WH_MSG_GETTOCPATHS,this,1,oParam);\r
-                       if(SendMessage(oMsg))\r
-                       {\r
-                               if(oMsg.oParam.oTocInfo)\r
-                                       syncWithPaths(oMsg.oParam.oTocInfo);\r
-                       }\r
-               }       \r
-       }\r
-       gbLData=false;\r
-       checkFillStub();\r
-}\r
-\r
-function syncWithPaths(oTopicParam)\r
-{\r
-       var aPaths=getTocPaths(oTopicParam);\r
-       if(gsTP)\r
-               gaBTPs=aPaths;\r
-       else{\r
-               var sPath=getClosestTocPath(aPaths);\r
-               if(sPath!=null)\r
-               {\r
-                       gsTP=sPath;\r
-                       setTimeout("syncInit()",1);\r
-               }\r
-       }\r
-}\r
-\r
-function window_OnLoad()\r
-{\r
-       if(gsBgImage&&gsBgImage.length>0)\r
-       {\r
-               document.body.background=gsBgImage;\r
-       }\r
-       if(gsBgColor&&gsBgColor.length>0)\r
-       {\r
-               document.body.bgColor=gsBgColor;\r
-       }\r
-       loadToc();\r
-       var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null)\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function loadImages()\r
-{\r
-       if(giBookClose)\r
-       {\r
-               gaImgs[gnImages]=giBookClose;\r
-               gnImages++;\r
-       }               \r
-       if(giBookOpen)\r
-       {\r
-               gaImgs[gnImages]=giBookOpen;\r
-               gnImages++;\r
-       }               \r
-       if(giBookItem)\r
-       {\r
-               gaImgs[gnImages]=giBookItem;\r
-               gnImages++;\r
-       }               \r
-       if(giURLItem)\r
-       {\r
-               gaImgs[gnImages]=giURLItem;\r
-               gnImages++;\r
-       }               \r
-       if(giNewBookClose)\r
-       {\r
-               gaImgs[gnImages]=giNewBookClose;\r
-               gnImages++;\r
-       }               \r
-       if(giNewBookOpen)\r
-       {\r
-               gaImgs[gnImages]=giNewBookOpen;\r
-               gnImages++;\r
-       }               \r
-       if(giNewBookItem)\r
-       {\r
-               gaImgs[gnImages]=giNewBookItem;\r
-               gnImages++;\r
-       }               \r
-       if(giNewURLItem)\r
-       {\r
-               gaImgs[gnImages]=giNewURLItem;\r
-               gnImages++;\r
-       }\r
-       if(gnImages>0)\r
-       {\r
-               setTimeout("loadDataAfter();",1000);\r
-               loadImage(gaImgs[0]);\r
-       }\r
-       else\r
-               loadDataAfter();\r
-}\r
-\r
-function loadImage(sURL)\r
-{\r
-       var oImg=new Image();\r
-       oImg.onload=checkImageLoading;\r
-       oImg.onerror=errorImageLoading;\r
-       oImg.src=_getFullPath(gaProj[0].sPPath,sURL);\r
-}\r
-\r
-function loadDataAfter()\r
-{\r
-       if(!gbLoadData)\r
-       {\r
-               gbLoadData=true;\r
-               loadTData();\r
-       }\r
-}\r
-\r
-function errorImageLoading()\r
-{\r
-       gnLoadedImages++;\r
-       if(gnImages==gnLoadedImages)\r
-               loadDataAfter();\r
-       else\r
-               loadImage(gaImgs[gnLoadedImages]);      \r
-}\r
-\r
-function checkImageLoading()\r
-{\r
-       gnLoadedImages++;\r
-       if(gnImages==gnLoadedImages)\r
-               loadDataAfter();\r
-       else\r
-               loadImage(gaImgs[gnLoadedImages]);      \r
-}\r
-\r
-function window_unload()\r
-{\r
-       UnRegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       UnRegisterListener2(this,WH_MSG_SYNCTOC);\r
-       UnRegisterListener2(this,WH_MSG_SHOWTOC);\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       if(oMsg)\r
-       {\r
-               var nMsgId=oMsg.nMessageId;\r
-               if(nMsgId==WH_MSG_PROJECTREADY)\r
-               {\r
-                       loadToc();\r
-               }\r
-               else if(nMsgId==WH_MSG_SYNCTOC)\r
-               {\r
-                       if(gbReady)\r
-                       {\r
-                               syncWithPaths(oMsg.oParam);\r
-                       }\r
-               }\r
-               else if(nMsgId==WH_MSG_SHOWTOC)\r
-               {\r
-                       if(!gbNav6)\r
-                               document.body.focus();\r
-               }\r
-       }\r
-       return true;\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhVer&&window.gbWhMsg&&window.gbWhProxy)\r
-{\r
-       RegisterListener2(this,WH_MSG_PROJECTREADY);\r
-       RegisterListener2(this,WH_MSG_SYNCTOC);\r
-       RegisterListener2(this,WH_MSG_SHOWTOC);\r
-       goFont=new whFont("Verdana","8pt","#000000","normal","normal","none");\r
-       goHFont=new whFont("Verdana","8pt","#007f00","normal","normal","underline");\r
-\r
-       window.onload=window_OnLoad;\r
-       window.onbeforeunload=window_BUnload;\r
-       window.onunload=window_unload;\r
-       gbWhTHost=true;\r
-}\r
-else\r
+//     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+="&nbsp;"+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\">&nbsp;"+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
index 8a53281c8cce69d80b14260e59fb7c28f91fe30c..e9d9cd19a9b006aa996f3632e48c43eedf17743d 100755 (executable)
-//     WebHelp 5.10.005\r
-var gsPPath="";\r
-var gaPaths=new Array();\r
-var gaAvenues=new Array();\r
-\r
-var goFrame=null;\r
-var gsStartPage="";\r
-var gsRelCurPagePath="";\r
-var gsSearchFormHref="";\r
-var gnTopicOnly=-1;\r
-var gnOutmostTopic=-1;\r
-\r
-var BTN_TEXT=1;\r
-var BTN_IMG=2;\r
-\r
-var goSync=null;\r
-\r
-var goShow=null;\r
-var goHide=null;\r
-\r
-var goPrev=null;\r
-var goNext=null;\r
-var gnForm=0;\r
-var goShowNav=null;\r
-var goHideNav=null;\r
-\r
-var goWebSearch=null;\r
-\r
-var gsBtnStyle="";\r
-var gaButtons=new Array();\r
-var gaTypes=new Array();\r
-var whtopic_foldUnload=null;\r
-var gbWhTopic=false;\r
-var gbCheckSync=false;\r
-var gbSyncEnabled=false;\r
-\r
-function setButtonFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration)\r
-{\r
-       var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration);\r
-       gsBtnStyle+=".whtbtn"+sType+"{"+getFontStyle(vFont)+"}";\r
-}\r
-\r
-function writeBtnStyle()\r
-{\r
-       if(gaButtons.length>0)\r
-       {\r
-               if(gsBtnStyle.length>0)\r
-               {\r
-                       var sStyle="<style type='text/css'>";\r
-                       sStyle+=gsBtnStyle+"</style>";\r
-                       document.write(sStyle);\r
-               }\r
-       }\r
-}\r
-\r
-function button(sText,nWidth,nHeight)\r
-{\r
-       this.sText=sText;\r
-       this.nWidth=nWidth;\r
-       this.nHeight=nHeight;\r
-       \r
-       this.aImgs=new Array();\r
-       var i=0;\r
-       while(button.arguments.length>i+3)\r
-       {\r
-               this.aImgs[i]=button.arguments[3+i];\r
-               i++;\r
-       }\r
-}\r
-\r
-//project info\r
-function setRelStartPage(sPath)\r
-{\r
-       if(gsPPath.length==0)\r
-       {\r
-               gsPPath=_getFullPath(_getPath(document.location.href),_getPath(sPath));\r
-               gsStartPage=_getFullPath(_getPath(document.location.href),sPath);\r
-               gsRelCurPagePath=_getRelativeFileName(gsStartPage,document.location.href);\r
-       }\r
-}\r
-\r
-function getImage(oImage,sType)\r
-{\r
-       var sImg="";\r
-       if(oImage&&oImage.aImgs&&(oImage.aImgs.length>0))\r
-       {\r
-               sImg+="<img alt=\""+sType+"\" src=\""+oImage.aImgs[0]+"\"";\r
-               if(oImage.nWidth>0)\r
-                       sImg+=" width="+oImage.nWidth;\r
-               if(oImage.nHeight>0)\r
-                       sImg+=" height="+oImage.nHeight;\r
-               sImg+=" border=0>";\r
-       }\r
-       return sImg;\r
-}\r
-\r
-function addTocInfo(sTocPath)\r
-{\r
-       gaPaths[gaPaths.length]=sTocPath;\r
-}\r
-\r
-function addAvenueInfo(sName,sPrev,sNext)\r
-{\r
-       gaAvenues[gaAvenues.length]=new avenueInfo(sName,sPrev,sNext);  \r
-}\r
-\r
-function addButton(sType,nStyle,sText,sHref,sOnClick,sOnMouseOver,sOnLoad,nWidth,nHeight,sImg1,sImg2,sImg3)\r
-{\r
-       var sButton="";\r
-       var nBtn=gaButtons.length;\r
-       if(sType=="prev")\r
-       {\r
-               if(canGo(false))\r
-               {\r
-                       var sTitle="Previous Topic";\r
-                       goPrev=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnprev\" href=\"javascript:void(0);\" onclick=\"goAvenue(false);return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goPrev.sText;\r
-                       else\r
-                               sButton+=getImage(goPrev,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="next")\r
-       {\r
-               if(canGo(true))\r
-               {\r
-                       var sTitle="Next Topic";\r
-                       goNext=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnnext\" href=\"javascript:void(0);\" onclick=\"goAvenue(true);return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goNext.sText;\r
-                       else\r
-                               sButton+=getImage(goNext,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="show")\r
-       {\r
-               if(isTopicOnly()&&(!gbOpera6||gbOpera7))\r
-               {\r
-                       var sTitle="Show Navigation Component";\r
-                       goShow=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnshow\" href=\"javascript:void(0);\" onclick=\"show();return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goShow.sText;\r
-                       else\r
-                               sButton+=getImage(goShow,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="hide")\r
-       {\r
-               if(!isTopicOnly()&&!gbOpera6)\r
-               {\r
-                       var sTitle="Hide Navigation Component";\r
-                       goHide=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnhide\" href=\"javascript:void(0);\" onclick=\"hide();return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goHide.sText;\r
-                       else\r
-                               sButton+=getImage(goHide,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="shownav")\r
-       {\r
-               if(isShowHideEnable())\r
-               {\r
-                       var sTitle="Show Navigation Component";\r
-                       goShowNav=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnshownav\" href=\"javascript:void(0);\" onclick=\"showHidePane(true);return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goShowNav.sText;\r
-                       else\r
-                               sButton+=getImage(goShowNav,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="hidenav")\r
-       {\r
-               if(isShowHideEnable())\r
-               {\r
-                       var sTitle="Hide Navigation Component";\r
-                       goHideNav=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnhidenav\" href=\"javascript:void(0);\" onclick=\"showHidePane(false);return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goHideNav.sText;\r
-                       else\r
-                               sButton+=getImage(goHideNav,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="synctoc")\r
-       {\r
-               if(gaPaths.length>0)\r
-               {\r
-                       var sTitle="Sync TOC";\r
-                       goSync=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnsynctoc\" href=\"javascript:void(0);\" onclick=\"syncWithShow();return false;\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goSync.sText;\r
-                       else\r
-                               sButton+=getImage(goSync,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="websearch")\r
-       {\r
-               if(gsSearchFormHref.length>0)\r
-               {\r
-                       var sTitle="WebSearch";\r
-                       goWebSearch=new button(sText,nWidth,nHeight,sImg1,sImg2,sImg3);\r
-                       sButton="<a title=\""+sTitle+"\" class=\"whtbtnwebsearch\" href=\""+gsSearchFormHref+"\">";\r
-                       if(nStyle==BTN_TEXT)\r
-                               sButton+=goWebSearch.sText;\r
-                       else\r
-                               sButton+=getImage(goWebSearch,sTitle);\r
-                       sButton+="</a>";\r
-               }\r
-       }\r
-       else if(sType=="searchform")\r
-       {\r
-               gaButtons[nBtn]="NeedSearchForm";\r
-               gaTypes[nBtn]=sType;\r
-       }\r
-       if(sButton.length!=0)\r
-       {\r
-               if(nStyle==BTN_TEXT)\r
-                       sButton+="&nbsp;";\r
-               gaButtons[nBtn]="<td>"+sButton+"</td>";\r
-               gaTypes[nBtn]=sType;\r
-       }\r
-}\r
-\r
-function isSyncEnabled()\r
-{\r
-       if(!gbCheckSync)\r
-       {\r
-               var oMsg=new whMessage(WH_MSG_ISSYNCSSUPPORT,this,1,null);\r
-               if(SendMessage(oMsg))\r
-               {\r
-                       gbSyncEnabled=oMsg.oParam;\r
-               }\r
-               gbCheckSync=true;\r
-       }\r
-       return gbSyncEnabled;\r
-}\r
-\r
-function isInPopup()\r
-{\r
-       return (window.name.indexOf("BSSCPopup")!=-1);\r
-}\r
-\r
-function getIntopicBar(sAlign)\r
-{\r
-       var sHTML="";\r
-       if(gaButtons.length>0)\r
-       {\r
-               sHTML+="<div align="+sAlign+">";\r
-\r
-               sHTML+="<table cellpadding=\"2\" cellspacing=\"0\" border=\"0\"><tr>";\r
-               for(var i=0;i<gaButtons.length;i++)\r
-               {\r
-                       if(gaTypes[i]!="synctoc"||isSyncEnabled())\r
-                       {\r
-                               if(gaButtons[i]=="NeedSearchForm")\r
-                                       sHTML+=getSearchFormHTML();\r
-                               else\r
-                                       sHTML+=gaButtons[i];\r
-                       }\r
-               }\r
-               sHTML+="</tr></table>";\r
-\r
-               sHTML+="</div>";\r
-       }\r
-       return sHTML;\r
-}\r
-\r
-\r
-function writeIntopicBar(nAligns)\r
-{\r
-       if(isInPopup()) return;\r
-       if(gaButtons.length>0)\r
-       {\r
-               var sHTML="";\r
-               if(nAligns!=0)\r
-               {\r
-                       sHTML+="<table width=100%><tr>"\r
-                       if(nAligns&1)\r
-                               sHTML+="<td width=33%>"+getIntopicBar("left")+"</td>";\r
-                       if(nAligns&2)\r
-                               sHTML+="<td width=34%>"+getIntopicBar("center")+"</td>";\r
-                       if(nAligns&4)\r
-                               sHTML+="<td width=33%>"+getIntopicBar("right")+"</td>";\r
-                       sHTML+="</tr></table>";\r
-                       document.write(sHTML);\r
-               }\r
-       }\r
-}\r
-\r
-function sendAveInfoOut()\r
-{\r
-       if(!isInPopup())\r
-               setTimeout("sendAveInfo();",100);\r
-}\r
-\r
-function sendAveInfo()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_AVENUEINFO,this,1,gaAvenues);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-\r
-function onNext()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_NEXT,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function onPrev()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_PREV,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function createSyncInfo()\r
-{\r
-       var oParam=new Object();\r
-       if(gsPPath.length==0)\r
-               gsPPath=_getPath(document.location.href);\r
-       oParam.sPPath=gsPPath;\r
-       oParam.sTPath=document.location.href;\r
-       oParam.aPaths=gaPaths;\r
-       return oParam;\r
-}\r
-\r
-function syncWithShow()\r
-{\r
-       if(isTopicOnly())\r
-               show();\r
-       else\r
-       {\r
-               sync();\r
-               showTocPane();\r
-       }\r
-}\r
-\r
-function showTocPane()\r
-{\r
-       var oMsg=new whMessage(WH_MSG_SHOWTOC,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function sendSyncInfo()\r
-{\r
-       if(!isInPopup())\r
-       {\r
-               var oParam=null;\r
-               if(gaPaths.length>0)\r
-               {\r
-                       oParam=createSyncInfo();\r
-               }\r
-               var oMsg=new whMessage(WH_MSG_SYNCINFO,this,1,oParam);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function sendInvalidSyncInfo()\r
-{\r
-       if(!isInPopup())\r
-       {\r
-               var oMsg=new whMessage(WH_MSG_SYNCINFO,this,1,null);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function enableWebSearch(bEnable)\r
-{\r
-       if(!isInPopup())\r
-       {\r
-               var oMsg=new whMessage(WH_MSG_ENABLEWEBSEARCH,this,1,bEnable);\r
-               SendMessage(oMsg);\r
-       }\r
-}\r
-\r
-function autoSync(nSync)\r
-{\r
-       if(nSync==0) return;\r
-       if(isInPopup()) return;\r
-       if(isOutMostTopic())\r
-               sync();\r
-}\r
-\r
-function isOutMostTopic()\r
-{\r
-       if(gnOutmostTopic==-1)\r
-       {\r
-               var oMessage=new whMessage(WH_MSG_ISINFRAMESET,this,1,null);\r
-               if(SendMessage(oMessage))\r
-                       gnOutmostTopic=0;\r
-               else\r
-                       gnOutmostTopic=1;\r
-       }\r
-       return (gnOutmostTopic==1);\r
-}\r
-\r
-function sync()\r
-{\r
-       if(gaPaths.length>0)\r
-       {\r
-               var oParam=createSyncInfo();\r
-               var oMessage=new whMessage(WH_MSG_SYNCTOC,this,1,oParam);\r
-               SendMessage(oMessage);\r
-       }\r
-}\r
-\r
-\r
-function avenueInfo(sName,sPrev,sNext)\r
-{\r
-       this.sName=sName;\r
-       this.sPrev=sPrev;\r
-       this.sNext=sNext;\r
-}\r
-\r
-function getCurrentAvenue()\r
-{\r
-       var oParam=new Object();\r
-       oParam.sAvenue=null;\r
-       var oMessage=new whMessage(WH_MSG_GETCURRENTAVENUE,this,1,oParam);\r
-       SendMessage(oMessage);\r
-       return oParam.sAvenue;\r
-}\r
-\r
-function unRegisterListener()\r
-{\r
-       sendInvalidSyncInfo();\r
-       enableWebSearch(false);\r
-       if(whtopic_foldUnload)\r
-               whtopic_foldUnload();\r
-}\r
-\r
-function onSendMessage(oMsg)\r
-{\r
-       var nMsgId=oMsg.nMessageId;\r
-       if(nMsgId==WH_MSG_GETAVIAVENUES)\r
-       {\r
-               oMsg.oParam.aAvenues=gaAvenues;\r
-               return false;\r
-       }\r
-       else if(nMsgId==WH_MSG_GETTOCPATHS)\r
-       {\r
-               if(isOutMostTopic())\r
-               {\r
-                       oMsg.oParam.oTocInfo=createSyncInfo();\r
-                       return false;           \r
-               }\r
-               else\r
-                       return true;\r
-       }\r
-       else if(nMsgId==WH_MSG_NEXT)\r
-       {\r
-               goAvenue(true);\r
-       }\r
-       else if(nMsgId==WH_MSG_PREV)\r
-       {\r
-               goAvenue(false);\r
-       }\r
-       else if(nMsgId==WH_MSG_WEBSEARCH)\r
-       {\r
-               websearch();\r
-       }\r
-       return true;\r
-}\r
-\r
-function goAvenue(bNext)\r
-{\r
-       var sTopic=null;\r
-       var sAvenue=getCurrentAvenue();\r
-       var nAvenue=-1;\r
-       if(sAvenue!=null&&sAvenue!="")\r
-       {\r
-               for(var i=0;i<gaAvenues.length;i++)\r
-               {\r
-                       if(gaAvenues[i].sName==sAvenue)\r
-                       {\r
-                               nAvenue=i;\r
-                               break;\r
-                       }\r
-               }\r
-               if(nAvenue!=-1)\r
-               {\r
-                       if(bNext)\r
-                               sTopic=gaAvenues[nAvenue].sNext;\r
-                       else\r
-                               sTopic=gaAvenues[nAvenue].sPrev;\r
-               }\r
-       }\r
-       else\r
-       {\r
-               for(var i=0;i<gaAvenues.length;i++)\r
-               {\r
-                       if(gaAvenues[i].sNext!=null&&gaAvenues[i].sNext.length>0&&bNext)\r
-                       {\r
-                               sTopic=gaAvenues[i].sNext;\r
-                               break;\r
-                       }\r
-                       else if(gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev.length>0&&!bNext)\r
-                       {\r
-                               sTopic=gaAvenues[i].sPrev;\r
-                               break;\r
-                       }\r
-               }\r
-       }\r
-       \r
-       if(sTopic!=null&&sTopic!="")\r
-       {\r
-               if(gsPPath!=null&&gsPPath!="")\r
-               {\r
-                       sFullTopicPath=_getFullPath(gsPPath,sTopic);\r
-                       document.location=sFullTopicPath;\r
-               }\r
-       }\r
-}\r
-\r
-function canGo(bNext)\r
-{\r
-       for(var i=0;i<gaAvenues.length;i++)\r
-       {\r
-               if((gaAvenues[i].sNext!=null&&gaAvenues[i].sNext.length>0&&bNext)||\r
-                       (gaAvenues[i].sPrev!=null&&gaAvenues[i].sPrev.length>0&&!bNext))\r
-                       return true;\r
-       }\r
-       return false;\r
-}\r
-\r
-function show()\r
-{\r
-       if(gsStartPage!="")\r
-               window.location=gsStartPage+"#"+gsRelCurPagePath;\r
-}\r
-\r
-function hide()\r
-{\r
-       if(goFrame!=null)\r
-       {\r
-               goFrame.location=window.location;\r
-       }\r
-}\r
-\r
-function isTopicOnly()\r
-{\r
-       if(gnTopicOnly==-1)\r
-       {\r
-               var oParam=new Object();\r
-               oParam.oFrame=null;\r
-               var oMsg=new whMessage(WH_MSG_GETSTARTFRAME,this,1,oParam);\r
-               if(SendMessage(oMsg))\r
-               {\r
-                       goFrame=oParam.oFrame;\r
-                       gnTopicOnly=0;\r
-               }\r
-               else\r
-                       gnTopicOnly=1;\r
-       }\r
-       if(gnTopicOnly==1)\r
-               return true;\r
-       else\r
-               return false;\r
-}\r
-\r
-function websearch()\r
-{\r
-       if(gbNav4)\r
-       {\r
-               if(document.ehelpform)\r
-                       document.ehelpform.submit();\r
-       }\r
-       else\r
-       {\r
-               if(window.ehelpform)\r
-                       window.ehelpform.submit();\r
-       }\r
-}\r
-\r
-function addSearchFormHref(sHref)\r
-{\r
-       gsSearchFormHref=sHref;\r
-       enableWebSearch(true);\r
-}\r
-\r
-function searchB(nForm)\r
-{\r
-       var sValue=eval("document.searchForm"+nForm+".searchString.value");\r
-       var oMsg=new whMessage(WH_MSG_SEARCHTHIS,this,1,sValue);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function getSearchFormHTML()\r
-{\r
-       var sHTML="";\r
-       gnForm++;\r
-       var sFormName="searchForm"+gnForm;\r
-       var sButton="<form name=\""+sFormName+"\" method=\"POST\" action=\"javascript:searchB("+gnForm+")\">"\r
-       sButton+="<input type=\"text\" name=\"searchString\" value=\"- Full Text search -\" size=\"20\"/>";\r
-       if(""=="text")\r
-       {\r
-               sButton+="<a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\""+sFormName+".submit();return false;\"></a>";\r
-       }\r
-       else if(""=="image")\r
-       {\r
-               sButton+="<a class=\"searchbtn\" href=\"javascript:void(0);\" onclick=\""+sFormName+".submit();return false;\">"\r
-               sButton+="<img src=\"\" border=0></a>";\r
-       }\r
-       sButton+="</form>";\r
-       sHTML="<td align=\"center\">"+sButton+"</td>";\r
-       return sHTML;\r
-}\r
-\r
-function showHidePane(bShow)\r
-{\r
-       var oMsg=null;\r
-       if(bShow)\r
-               oMsg=new whMessage(WH_MSG_SHOWPANE,this,1,null);\r
-       else\r
-               oMsg=new whMessage(WH_MSG_HIDEPANE,this,1,null);\r
-       SendMessage(oMsg);\r
-}\r
-\r
-function isShowHideEnable()\r
-{\r
-       if(gbIE4)\r
-               return true;\r
-       else\r
-               return false;\r
-}\r
-\r
-\r
-function PickupDialog_Invoke()\r
-{\r
-       if(!gbIE4||gbMac)\r
-       {\r
-               if(typeof(_PopupMenu_Invoke)=="function")\r
-                       return _PopupMenu_Invoke(PickupDialog_Invoke.arguments);\r
-       }\r
-       else\r
-       {\r
-               if(PickupDialog_Invoke.arguments.length>2)\r
-               {\r
-                       var sPickup="whskin_pickup.htm";\r
-                       var sPickupPath=gsPPath+sPickup;\r
-                       if(gbIE4)\r
-                       {\r
-                               var sFrame=PickupDialog_Invoke.arguments[1];\r
-                               var aTopics=new Array();\r
-                               for(var i=2;i<PickupDialog_Invoke.arguments.length;i+=2)\r
-                               {\r
-                                       var j=aTopics.length;\r
-                                       aTopics[j]=new Object();\r
-                                       aTopics[j].m_sName=PickupDialog_Invoke.arguments[i];\r
-                                       aTopics[j].m_sURL=PickupDialog_Invoke.arguments[i+1];\r
-                               }\r
-\r
-                               if(aTopics.length>1)\r
-                               {\r
-                                       var nWidth=300;\r
-                                       var nHeight=180;\r
-                                       var     nScreenWidth=screen.width;\r
-                                       var     nScreenHeight=screen.height;\r
-                                       var nLeft=(nScreenWidth-nWidth)/2;\r
-                                       var nTop=(nScreenHeight-nHeight)/2;\r
-                                       if(gbIE4)\r
-                                       {\r
-                                               var vRet=window.showModalDialog(sPickupPath,aTopics,"dialogHeight:"+nHeight+"px;dialogWidth:"+nWidth+"px;resizable:yes;status:no;scroll:no;help:no;center:yes;");\r
-                                               if(vRet)\r
-                                               {\r
-                                                       var sURL=vRet.m_url;\r
-                                                       if(sFrame)\r
-                                                               window.open(sURL,sFrame);\r
-                                                       else\r
-                                                               window.open(sURL,"_self");\r
-                                               }\r
-                                       }\r
-                               }\r
-                               else if(aTopics.length==1)\r
-                               {\r
-                                       var sURL=aTopics[0].m_sURL\r
-                                       if(sFrame)\r
-                                               window.open(sURL,sFrame);\r
-                                       else\r
-                                               window.open(sURL,"_self");\r
-                               }\r
-                       }\r
-               }\r
-       }\r
-}\r
-\r
-if(window.gbWhUtil&&window.gbWhMsg&&window.gbWhVer&&window.gbWhProxy)\r
-{\r
-       RegisterListener("bsscright",WH_MSG_GETAVIAVENUES);\r
-       RegisterListener("bsscright",WH_MSG_GETTOCPATHS);\r
-       RegisterListener("bsscright",WH_MSG_NEXT);\r
-       RegisterListener("bsscright",WH_MSG_PREV);\r
-       RegisterListener("bsscright",WH_MSG_WEBSEARCH);\r
-       if(gbMac&&gbIE4)\r
-       {\r
-               if(typeof(window.onunload)!="unknown")\r
-                       if(window.onunload.toString!=unRegisterListener.toString)\r
-                               whtopic_foldUnload=window.onunload;\r
-       }\r
-       else\r
-       {\r
-               if(window.onunload)\r
-                       if(window.onunload.toString!=unRegisterListener.toString)\r
-                               whtopic_foldUnload=window.onunload;\r
-       }\r
-       window.onunload=unRegisterListener;\r
-       setButtonFont("show","","10pt","","","","");\r
-\r
-       gbWhTopic=true;\r
-}\r
-else\r
+//     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+="&nbsp;";
+               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();
\ No newline at end of file
index 85fae7e05b81c3ae6071ef877ba6715b66a1c82a..5026b24a3558a7ce36cb9491a5c9424acbb8778b 100755 (executable)
-//     WebHelp 5.10.004\r
-var gsFileName="";\r
-var gsDivName="";\r
-var xmlDoc=null;\r
-var sdocPath=null;\r
-var gsInsertBeforeEndHTML="";\r
-var sReplaceStringsSrc=new Array();\r
-var gsDivName="dataDiv";\r
-var gnLoadDivNum=0;\r
-sReplaceStringsSrc[0]="&amp;";\r
-sReplaceStringsSrc[1]="&gt;";\r
-sReplaceStringsSrc[2]="&lt;";\r
-sReplaceStringsSrc[3]="&quot;";\r
-sReplaceStringsSrc[4]=String.fromCharCode(8364);\r
-sReplaceStringsSrc[5]="&nbsp;";\r
-\r
-var sReplaceStringsDst=new Array();\r
-sReplaceStringsDst[0]="&";\r
-sReplaceStringsDst[1]=">";\r
-sReplaceStringsDst[2]="<";\r
-sReplaceStringsDst[3]="\"";\r
-sReplaceStringsDst[4]=String.fromCharCode(128);\r
-sReplaceStringsDst[5]=" ";\r
-var goHighLighted=null;\r
-\r
-function _getRelativePath(strParentPath,strCurrentPath)\r
-{\r
-       if(_isAbsPath(strCurrentPath)) return _getPath(strCurrentPath);\r
-       strParentPath=_replaceSlash(strParentPath);\r
-       strParentPath=_getPath(strParentPath);\r
-       strCurrentPath=_replaceSlash(strCurrentPath);\r
-       strCurrentPath=_getPath(strCurrentPath);\r
-       for(var i=0;i<strParentPath.length&&i<strCurrentPath.length;i++)\r
-       {\r
-               if(strParentPath.charAt(i)!=strCurrentPath.charAt(i))\r
-                       break;\r
-       }\r
-       \r
-       strParentPath=strParentPath.substring(i);\r
-       strCurrentPath=strCurrentPath.substring(i);     \r
-       \r
-       var nPathPos=0;\r
-       while(nPathPos!=-1)\r
-       {\r
-               nPathPos=strParentPath.indexOf("/");\r
-               if(nPathPos!=-1)\r
-               {\r
-                       strParentPath=strParentPath.substring(nPathPos+1);\r
-                       strCurrentPath="../"+strCurrentPath;\r
-               }\r
-       }\r
-       return strCurrentPath;\r
-}\r
-\r
-function _getRelativeFileName(strParentPath,strCurrentPath)\r
-{\r
-       strParentPath=_replaceSlash(strParentPath);\r
-       strParentPath=_getPath(strParentPath);\r
-       strCurrentPath=_replaceSlash(strCurrentPath);\r
-       for(var i=0;i<strParentPath.length&&i<strCurrentPath.length;i++)\r
-       {\r
-               if(strParentPath.charAt(i)!=strCurrentPath.charAt(i))\r
-                       break;\r
-       }\r
-       \r
-       strParentPath=strParentPath.substring(i);\r
-       strCurrentPath=strCurrentPath.substring(i);     \r
-       \r
-       var nPathPos=0;\r
-       while(nPathPos!=-1)\r
-       {\r
-               nPathPos=strParentPath.indexOf("/");\r
-               if(nPathPos!=-1)\r
-               {\r
-                       strParentPath=strParentPath.substring(nPathPos+1);\r
-                       strCurrentPath="../"+strCurrentPath;\r
-               }\r
-       }\r
-       return strCurrentPath;\r
-}\r
-\r
-function _isAbsPathToHost(sPath)\r
-{\r
-       return (sPath.indexOf("/")==0);\r
-}\r
-\r
-function _getHost(sPath)\r
-{\r
-       var nPos=sPath.indexOf("//");\r
-       if(nPos>0)\r
-       {\r
-               var nPosx=sPath.indexOf("/",nPos+2);\r
-               if(nPosx>0)\r
-                       return sPath.substring(0,nPosx);\r
-               else\r
-                       return sPath;\r
-       }\r
-       return sPath;\r
-}\r
-\r
-function _getFullPath(sPath,sRelPath)\r
-{\r
-       if(_isAbsPath(sRelPath))\r
-               return sRelPath;\r
-       else if(_isAbsPathToHost(sRelPath))\r
-               return _getHost(sPath)+sRelPath;\r
-       else\r
-       {\r
-               var sFullPath=sPath;\r
-               var nPathPos=0;\r
-               while(nPathPos!=-1)\r
-               {\r
-                       var nPathPos=sRelPath.indexOf("../");\r
-                       if(nPathPos!=-1)\r
-                       {\r
-                               sRelPath=sRelPath.substring(nPathPos+3);\r
-                               sFullPath=sFullPath.substring(0,sFullPath.length-1);\r
-                               var nPos2=sFullPath.lastIndexOf("/");\r
-                               if(nPos2!=-1)\r
-                                       sFullPath=sFullPath.substring(0,nPos2+1);\r
-                               else\r
-                                       break;\r
-                       }\r
-               }\r
-               sFullPath+=sRelPath;\r
-               return sFullPath;\r
-       }       \r
-}\r
-\r
-function _isAbsPath(strPath)\r
-{\r
-       var strUpper=strPath.toUpperCase();\r
-       return (strUpper.indexOf(":")!=-1||strUpper.indexOf("\\\\")==0);\r
-}\r
-\r
-function _replaceSlash(strURL)\r
-{      \r
-       var re=new RegExp("\\\\","g");\r
-       var strReplacedURL=strURL.replace(re,"/");\r
-       return strReplacedURL;\r
-}\r
-\r
-function _getPath(strURL)\r
-{\r
-       pathpos=strURL.lastIndexOf("/");\r
-       if(pathpos>0)\r
-               return strURL.substring(0,pathpos+1);\r
-       else\r
-               return "";\r
-}\r
-\r
-function removeItemFromArray(oArray,i)\r
-{\r
-       if(oArray.length&&i>=0&&i<oArray.length)\r
-       {\r
-               var len=oArray.length;\r
-               for(var s=i;s<len-1;s++)\r
-                       oArray[s]=oArray[s+1];\r
-               oArray.length=len-1;\r
-       }\r
-}\r
-\r
-function insertItemIntoArray(oArray,i,obj)\r
-{\r
-       if(oArray.length&&i>=0&&i<=oArray.length)\r
-       {\r
-               var len=oArray.length;\r
-               for(var s=len;s>i;s--)\r
-                       oArray[s]=oArray[s-1];\r
-               oArray[i]=obj;          \r
-       }\r
-}\r
-\r
-function loadData(sFileName)\r
-{\r
-       var i=gnLoadDivNum;\r
-       var sName=gsDivName+gnLoadDivNum++;\r
-       loadData_2(sFileName,sName);\r
-}\r
-\r
-function loadData_2(sFileName,sDivName)\r
-{\r
-       if(!getElement(sDivName))\r
-       {\r
-               if(!insertDataDiv(sDivName))\r
-               {\r
-                       gsFileName=sFileName;\r
-                       gsDivName=sDivName;\r
-                       return;\r
-               }\r
-       }\r
-       var sHTML="";\r
-       if(gbMac)\r
-               sHTML+="<iframe src=\""+sFileName+"\"></iframe>";\r
-       else\r
-               sHTML+="<iframe style=\"visibility:hidden;width:0;height:0\" src=\""+sFileName+"\"></iframe>";\r
-       \r
-       var oDivCon=getElement(sDivName);\r
-       if(oDivCon)\r
-       {\r
-               if(gbNav6)\r
-               {\r
-                       if(oDivCon.getElementsByTagName&&oDivCon.getElementsByTagName("iFrame").length>0)\r
-                       {\r
-                               oDivCon.getElementsByTagName("iFrame")[0].src=sFileName;\r
-                       }\r
-                       else\r
-                               oDivCon.innerHTML=sHTML;\r
-               }\r
-               else\r
-                       oDivCon.innerHTML=sHTML;\r
-       }\r
-}\r
-\r
-function loadDataXML(sFileName)\r
-{\r
-       var sCurrentDocPath=_getPath(document.location.href);\r
-       sdocPath=_getFullPath(sCurrentDocPath,sFileName);\r
-       if(gbIE5)\r
-       {\r
-               xmlDoc=new ActiveXObject("Microsoft.XMLDOM");\r
-               xmlDoc.async=true;\r
-               xmlDoc.onreadystatechange=checkState;\r
-               if(document.body!=null)\r
-                       xmlDoc.load(sdocPath);\r
-       }\r
-       else if(gbNav6)\r
-       {\r
-               xmlDoc=document.implementation.createDocument("","",null);\r
-               xmlDoc.addEventListener("load",initializeData,false);\r
-               xmlDoc.load(sdocPath,"text/xml");\r
-       }\r
-}\r
-\r
-function initializeData()\r
-{\r
-       if(xmlDoc!=null)\r
-               putDataXML(xmlDoc,sdocPath);\r
-}\r
-\r
-function checkState()\r
-{\r
-       if(xmlDoc!=null)\r
-       {\r
-               var state=xmlDoc.readyState;\r
-               if(state==4)\r
-               {\r
-                       var err=xmlDoc.parseError;\r
-                       if(err.errorCode==0)\r
-                               putDataXML(xmlDoc,sdocPath);\r
-                       else\r
-                               onLoadXMLError();\r
-               }\r
-       }\r
-}\r
-\r
-function insertDataDiv(sName)\r
-{\r
-       var sHTML="";\r
-       if(gbMac)\r
-               sHTML+="<div id="+sName+" style=\"display:none;\"></div>";\r
-       else\r
-               sHTML+="<div id="+sName+" style=\"visibility:hidden\"></div>";\r
-       if((gbIE5||gbNav6)&&document.body)\r
-               document.body.insertAdjacentHTML("beforeEnd",sHTML);\r
-       else\r
-       {\r
-               gsInsertBeforeEndHTML=sHTML;\r
-               setTimeout("insertWhenBodyReady();",100);\r
-               return false;\r
-       }\r
-       return true;\r
-}\r
-\r
-function insertWhenBodyReady()\r
-{\r
-       if(gsInsertBeforeEndHTML=="") return;\r
-       if(document.body)\r
-       {\r
-               document.body.insertAdjacentHTML("beforeEnd",gsInsertBeforeEndHTML);\r
-               gsInsertBeforeEndHTML="";\r
-               loadData_2(gsFileName,gsDivName);\r
-       }\r
-       else\r
-       {\r
-               setTimeout("insertWhenBodyReady();",100);\r
-       }\r
-}\r
-\r
-function window_BUnload()\r
-{\r
-       for(var i=0;i<gnLoadDivNum;i++)\r
-       {\r
-               var oDivCon=getElement(gsDivName+i);\r
-               if(oDivCon)\r
-                       oDivCon.innerHTML="";\r
-       }\r
-}\r
-\r
-function removeThis(obj)\r
-{\r
-       if(obj.parentNode)\r
-               obj.parentNode.removeChild(obj);\r
-       else\r
-               obj.outerHTML="";\r
-}\r
-\r
-function getParentNode(obj)\r
-{\r
-       if(obj.parentNode)\r
-               return obj.parentNode;\r
-       else if(obj.parentElement)\r
-               return obj.parentElement;\r
-       return null;\r
-}\r
-\r
-function getElement(sID)\r
-{\r
-       if(document.getElementById)\r
-               return document.getElementById(sID);\r
-       else if(document.all)\r
-               return document.all(sID);\r
-       return null;\r
-}\r
-\r
-function getChildrenByTag(obj,sTagName)\r
-{\r
-       if(obj.getElementsByTagName)\r
-       {\r
-               var aChildren=new Array();\r
-               var aElements=getElementsByTag(obj,sTagName);\r
-               if(aElements!=null)\r
-               {\r
-                       for(var i=0;i<aElements.length;i++)\r
-                       {\r
-                               if(aElements[i].parentNode==obj)\r
-                                       aChildren[aChildren.length]=aElements[i];\r
-                       }\r
-                       return aChildren;\r
-               }\r
-               else\r
-                       return new Array();\r
-       }\r
-       else if(obj.children)\r
-               return obj.children.tags(sTagName);\r
-}\r
-\r
-function getElementsByTag(obj,sTagName)\r
-{\r
-       if(obj.getElementsByTagName)\r
-               return obj.getElementsByTagName(sTagName);\r
-       else if(obj.all)\r
-               return obj.all.tags(sTagName);\r
-       return null;\r
-}\r
-\r
-function _htmlToText(sHTML)\r
-{\r
-       if(sHTML==null) return null;\r
-       var sText=sHTML;\r
-       for(var i=0;i<sReplaceStringsSrc.length;i++)\r
-       {\r
-               var re=new RegExp(sReplaceStringsSrc[i],"g");\r
-               sText=sText.replace(re,sReplaceStringsDst[i]);\r
-       }       \r
-       return sText;\r
-}\r
-\r
-function _textToHtml_nonbsp(sText)\r
-{\r
-       if(sText==null) return null;\r
-       var sHTML=sText;\r
-       for(var i=0;i<sReplaceStringsSrc.length-1;i++)\r
-       {\r
-               var re=new RegExp(sReplaceStringsDst[i],"g");\r
-               sHTML=sHTML.replace(re,sReplaceStringsSrc[i]);\r
-       }       \r
-       return sHTML;\r
-}\r
-\r
-function _textToHtml(sText)\r
-{\r
-       if(sText==null) return null;\r
-       var sHTML=sText;\r
-       for(var i=0;i<sReplaceStringsSrc.length;i++)\r
-       {\r
-               var re=new RegExp(sReplaceStringsDst[i],"g");\r
-               sHTML=sHTML.replace(re,sReplaceStringsSrc[i]);\r
-       }       \r
-       return sHTML;\r
-}\r
-\r
-\r
-function getInnerText(obj)\r
-{\r
-       var renbsp2sp=new RegExp("\xa0","g");\r
-       if(obj.innerText)\r
-       {\r
-               var sText=obj.innerText;\r
-               sText=sText.replace(renbsp2sp," ");\r
-               return sText;\r
-       }\r
-       else\r
-       {\r
-               if(obj.nodeValue)\r
-               {\r
-                       var sValue=obj.nodeValue;\r
-                       sValue=sValue.replace(renbsp2sp," ");\r
-                       return sValue;\r
-               }\r
-               else\r
-               {\r
-                       var sText="";\r
-                       var oChild=obj.firstChild;\r
-                       while(oChild!=null)\r
-                       {\r
-                               sText+=getInnerText(oChild);\r
-                               oChild=oChild.nextSibling;\r
-                       }\r
-                       return sText;\r
-               }\r
-       }\r
-               \r
-}\r
-\r
-function HighLightElement(obj,sHighLightColor,sNormalColor)\r
-{\r
-       if(obj!=null)\r
-       {\r
-               resetHighLight(sNormalColor);\r
-               if (obj.style)\r
-                       obj.style.backgroundColor=sHighLightColor;\r
-               goHighLighted=obj;\r
-       }\r
-}\r
-\r
-function resetHighLight(sNormalColor)\r
-{\r
-       if(goHighLighted!=null)\r
-       {\r
-               if (goHighLighted.style)\r
-                       goHighLighted.style.backgroundColor=sNormalColor;\r
-               goHighLighted=null;\r
-       }\r
-}\r
-\r
-function whFont(sName,sSize,sColor,sStyle,sWeight,sDecoration)\r
-{\r
-       this.sName=sName;\r
-       this.sSize=sSize;\r
-       this.sColor=sColor;\r
-       this.sStyle=sStyle;\r
-       this.sWeight=sWeight;\r
-       this.sDecoration=sDecoration;\r
-}\r
-\r
-function getFontStyle(oFont)\r
-{\r
-       var sStyle="";\r
-       if(oFont)\r
-       {\r
-               sStyle+="font-family:"+oFont.sName+";";\r
-               if(gbMac)\r
-               {\r
-                       var nSize=parseInt(oFont.sSize);\r
-                       if(gbIE5)\r
-                               nSize+=2;\r
-                       else\r
-                               nSize+=4;\r
-                       sStyle+="font-size:"+nSize+"pt;";\r
-               }\r
-               else\r
-                       sStyle+="font-size:"+oFont.sSize+";";\r
-                       \r
-               sStyle+="font-style:"+oFont.sStyle+";";\r
-               sStyle+="font-weight:"+oFont.sWeight+";";\r
-               sStyle+="text-decoration:"+oFont.sDecoration+";";\r
-               sStyle+="color:"+oFont.sColor+";";\r
-       }\r
-       return sStyle;\r
-}\r
-\r
-function _browserStringToText(sBStr)\r
-{\r
-       var sText="";\r
-       // change %xxx back to the real char.\r
-       var nPos=sBStr.indexOf('%');\r
-       while(nPos!=-1)\r
-       {\r
-               sText+=sBStr.substring(0,nPos);\r
-               sBStr=sBStr.substring(nPos+1);\r
-               var sNum="";\r
-               var i=0;\r
-               while(sBStr.charAt(i)>='0'&&sBStr.charAt(i)<='9')\r
-               {\r
-                       sNum+=sBStr.charAt(i++);        \r
-               }\r
-               if(sNum!=""){\r
-                       var nNum=parseInt(sNum,16);\r
-                       sText+=String.fromCharCode(nNum);\r
-                       sBStr=sBStr.substring(i);\r
-               }\r
-               nPos=sBStr.indexOf('%');\r
-       }\r
-       sText+=sBStr;\r
-       return sText;\r
-}\r
-\r
-function excapeSingleQuotandSlash(str)\r
-{\r
-       if(str==null) return null;\r
-       var nPos=0;\r
-       var sRes="";\r
-       var nPosNew=str.indexOf("\\",nPos);\r
-       while(nPosNew!=-1){\r
-               sRes+=str.substring(nPos,nPosNew+1)+"\\";\r
-               nPos=nPosNew+1;\r
-               nPosNew=str.indexOf("\\",nPos);\r
-       }\r
-       if(nPos<str.length)\r
-               sRes+=str.substring(nPos);\r
-       var re=new RegExp("'","g");\r
-       sRes=sRes.replace(re,"\\'");\r
-       return sRes;\r
-}\r
-\r
+//     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]="&amp;";
+sReplaceStringsSrc[1]="&gt;";
+sReplaceStringsSrc[2]="&lt;";
+sReplaceStringsSrc[3]="&quot;";
+sReplaceStringsSrc[4]=String.fromCharCode(8364);
+sReplaceStringsSrc[5]="&nbsp;";
+
+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
index ff597631d2f9012fd7ccbe355118ba1bd39f6644..cd61895dcda3eeddc5bc294a2d4b3d3abbf36288 100755 (executable)
-//     WebHelp 5.10.006\r
-var gbNav=false;\r
-var gbNav6=false;\r
-var gbNav61=false;\r
-var gbNav7=false;\r
-var gbNav4=false;\r
-var gbIE4=false;\r
-var gbIE=false;\r
-var gbIE5=false;\r
-var gbIE55=false;\r
-var gbOpera6=false;\r
-var gbOpera7=false;\r
-var gbKonqueror3=false;\r
-\r
-var gAgent=navigator.userAgent.toLowerCase();\r
-var gbMac=(gAgent.indexOf("mac")!=-1);\r
-var gbSunOS=(gAgent.indexOf("sunos")!=-1);\r
-var gbOpera=(gAgent.indexOf("opera")!=-1);\r
-var gbKonqueror=(gAgent.indexOf("konqueror")!= -1);\r
-var gbSafari=(gAgent.indexOf("safari")!= -1);\r
-var gbWindows=((gAgent.indexOf('win')!= -1)||(gAgent.indexOf('16bit')!= -1));\r
-var gbMozilla=((gAgent.indexOf('gecko')!=-1) && (gAgent.indexOf('netscape')==-1));\r
-\r
-\r
-var gVersion=navigator.appVersion.toLowerCase();\r
-\r
-var gnVerMajor=parseInt(gVersion);\r
-var gnVerMinor=parseFloat(gVersion);\r
-\r
-if(!gbOpera&&!gbKonqueror&&!gbSafari) // opera can mimic IE or Netscape by settings.\r
-{\r
-       gbIE=(navigator.appName.indexOf("Microsoft")!=-1);\r
-       gbNav=(gAgent.indexOf('mozilla')!=-1) && ((gAgent.indexOf('spoofer')==-1) && (gAgent.indexOf('compatible')==-1));\r
-       if(gnVerMajor>=4)\r
-       {\r
-               if(navigator.appName=="Netscape")\r
-               {\r
-                       gbNav4=true;\r
-                       if(gnVerMajor>=5)\r
-                               gbNav6=true;\r
-               }\r
-               gbIE4=(navigator.appName.indexOf("Microsoft")!=-1);\r
-       }\r
-       if(gbNav6)\r
-       {\r
-               var nPos=gAgent.indexOf("gecko");\r
-               if(nPos!=-1)\r
-               {\r
-                       var nPos2=gAgent.indexOf("/", nPos);\r
-                       if(nPos2!=-1)\r
-                       {\r
-                               var nVersion=parseFloat(gAgent.substring(nPos2+1));\r
-                               if(nVersion>=20010726)\r
-                               {\r
-                                       gbNav61=true;\r
-                                       if (nVersion>=20020823)\r
-                                               gbNav7=true;\r
-                               }\r
-                       }\r
-               }\r
-       }else if(gbIE4)\r
-       {\r
-               var nPos=gAgent.indexOf("msie");\r
-               if(nPos!=-1)\r
-               {\r
-                       var nVersion=parseFloat(gAgent.substring(nPos+5));\r
-                       if(nVersion>=5)\r
-                       {\r
-                               gbIE5=true;\r
-                               if(nVersion>=5.5)\r
-                                       gbIE55=true;\r
-                       }\r
-               }\r
-       }\r
-}\r
-else if (gbOpera)\r
-{\r
-       var nPos = gAgent.indexOf("opera");\r
-       if(nPos!=-1)\r
-       {\r
-               var nVersion=parseFloat(gAgent.substring(nPos+6));\r
-               if(nVersion>=6)\r
-               {\r
-                       gbOpera6=true;\r
-                       if(nVersion>=7)\r
-                               gbOpera7=true;\r
-               }\r
-       }\r
-}\r
-else if (gbKonqueror)\r
-{\r
-       var nPos = gAgent.indexOf("konqueror");\r
-       if(nPos!=-1)\r
-       {\r
-               var nVersion = parseFloat(gAgent.substring(nPos+10));\r
-               if (nVersion >= 3)\r
-               {\r
-                       gbKonqueror3=true;\r
-               }\r
-       }\r
-}\r
-\r
+//     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
index 2664cdc978eb58a741a27f36e57c5da0342db74e..ba0ef657b1042280f2b3ca140fc8cecd18776e73 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Wire</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; }\r
-img_whs5 { border:none; width:208px; height:197px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nWire");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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"> &nbsp;</font></span>Wire</h1>\r
-\r
-<p class="whs2"><b style="font-weight: normal;">T</b>o create \r
- a <span style="font-weight: bold;"><B>Wire</B></span> in the Main Menu select \r
- <span style="font-weight: bold;"><B>New Entity - &gt; Build - &gt; Wire</B></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p>You can create a <span style="font-weight: bold;"><B>Wire</B></span> from several \r
- connected edges and wires by selecting them in the object browser or in \r
- the viewer holding Shift button. &nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">&nbsp;will \r
- be a</span></b> GEOM_Object (WIRE).</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.MakeWire(ListOfShape).</I></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + List of connected wires or edges..</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/neo-obj3.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/wiresn.png" x-maintain-ratio="TRUE" width="208px" height="197px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs2">Our TUI Scripts provide you with useful examples \r
- of creation of <a href="geometrical_objects.htm#Creation">Advanced Geometric \r
- Objects</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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"> &nbsp;</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 - &gt; Build - &gt; Wire</B></span></p>
+
+<p>&nbsp;</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. &nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> 
+ Result <span style="font-weight: normal;">&nbsp;will 
+ be a</span></b> GEOM_Object (WIRE).</p>
+
+<p>&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Arguments:</b> 
+ Name + List of connected wires or edges..</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index e37da5e292acf3fa7ac931afee63d097b6757122..e5716ceb224a5d34f41978df31fdcd5bdf6a573d 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Wireframe and Shading</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { margin-left:0px; }\r
-p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
-p.whs4 { font-family:'Times New Roman' , serif; font-size:12pt; font-style:italic; }\r
-img_whs5 { border:none; width:400px; height:420px; float:none; border-style:none; }\r
-img_whs6 { border:none; float:none; width:400px; height:420px; border-style:none; }\r
-p.whs7 { font-size:12pt; margin-left:40px; }\r
-p.whs8 { font-size:12pt; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs2 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nManaging geometrical objects\nChanging Display Parameters\nDisplay Mode");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_displaygui_functions_salome2_sp3_displaygui_functions_image51.gif" width="20px" height="20px" border="0" class="img_whs1"> </b></font></span>Display Mode</h1>\r
-\r
-<p class=TODO\r
-       style="font-family: 'Times New Roman', serif;\r
-                       font-size: 12pt;\r
-                       font-style: normal;">This option is relevant for viewing 3D \r
- objects. <span style="font-weight: bold;"><B>Wireframe</B></span> mode means \r
- that you can see only &nbsp;edges \r
- of the object, while its shells remain transparent. <span style="font-weight: bold;"><B>Shading</B></span> \r
- mode means that the shells are filled with color.</p>\r
-\r
-<p class=TODO\r
-       style="font-family: 'Times New Roman', serif;\r
-                       font-size: 12pt;\r
-                       font-style: normal;">&nbsp;</p>\r
-\r
-<p class="whs2">To change the display mode right-click on \r
- this geometrical object in the viewer and from the pop-up menu select \r
- <span style="font-weight: bold;"><B>Display mode --&gt; Wireframe</B></span> \r
- or<span style="font-weight: bold;"><B> Shading</B></span>.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">TUI \r
- Command:</b><i> gg.setDisplayMode(ID, Short)</i></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;">Examples:</b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs4">Wireframe &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\r
-\r
-<p class="whs3"><img src="pics/disp_mode1sn.png" x-maintain-ratio="TRUE" width="400px" height="420px" border="0" class="img_whs5"> &nbsp;</p>\r
-\r
-<p class="whs4">Shading</p>\r
-\r
-<p class="whs3"><img src="pics/disp_mode2sn.png" x-maintain-ratio="TRUE" width="400px" height="420px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs7">&nbsp;&nbsp;</p>\r
-\r
-<p class="whs8">Our TUI Scripts provide you with useful examples \r
- of <a href="changing_display_parameters.htm#bookmark">Changing Display \r
- Parameters</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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 &nbsp;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;">&nbsp;</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 --&gt; Wireframe</B></span> 
+ or<span style="font-weight: bold;"><B> Shading</B></span>.</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">TUI 
+ Command:</b><i> gg.setDisplayMode(ID, Short)</i></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs3">Wireframe &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
+
+<p class="whs4"><img src="pics/disp_mode1sn.png" x-maintain-ratio="TRUE" width="400px" height="420px" border="0" class="img_whs5"> &nbsp;</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">&nbsp;&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 8b8c33f30763be103d56330420958ce1851ce67b..2f5b6d645d4c55e5d1c8743ff245fbeb298ac921 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Working Plane</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 { width:20px; height:20px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-img_whs3 { border:none; width:312px; height:231px; float:none; border-style:none; }\r
-img_whs4 { border:none; width:312px; height:266px; float:none; border-style:none; }\r
-img_whs5 { border:none; width:312px; height:274px; float:none; border-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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nWorking Plane");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<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>\r
-\r
-<p>To create a <span style="font-weight: bold;"><B>Working Plane</B></span> in \r
- the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New \r
- Entity - &gt; Basic - &gt; Working Plane</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">There are some algorithms to set the <span \r
- style="font-weight: bold;"><B>Working Plane</B></span> and the Camera Position.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Firstly, you can select a <span style="font-weight: bold;"><B>Plane</B></span> \r
- or a <span style="font-weight: bold;"><B>Planar Face</B></span> to be your <span \r
- style="font-weight: bold;"><B>Working Plane</B></span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + 1 selection (face or planar face), </p>\r
-\r
-<p class="whs2"><img src="pics/workplane4.png" x-maintain-ratio="TRUE" width="312px" height="231px" border="0" class="img_whs3"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Secondly, you can define a <span style="font-weight: bold;"><B>Working \r
- Plane</B></span> by two <span style="font-weight: bold;"><B>Vectors</B></span></p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- Name + &nbsp;2 \r
- vectors, </p>\r
-\r
-<p class="whs2"><img src="pics/workplane5.png" x-maintain-ratio="TRUE" width="312px" height="266px" border="0" class="img_whs4"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">Finally, you can select one of three basic \r
- projections of XYZ coordinate system to be your <span style="font-weight: bold;"><B>Working \r
- Plane</B></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><img src="pics/workplane6.png" x-maintain-ratio="TRUE" width="312px" height="274px" border="0" class="img_whs5"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p>&nbsp;</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
+<!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:312px; height:231px; float:none; border-style:none; }
+img_whs5 { border:none; width:312px; height:266px; float:none; border-style:none; }
+img_whs6 { border:none; width:312px; height:274px; 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\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>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 - &gt; Basic - &gt; Working Plane</B></span></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">There are some algorithms to set the <span 
+ style="font-weight: bold;"><B>Working Plane</B></span> and the Camera Position.</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">Firstly, you can select a <span style="font-weight: bold;"><B>Plane</B></span> 
+ or a <span style="font-weight: bold;"><B>Planar Face</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="whs3"><img src="pics/workplane4.png" x-maintain-ratio="TRUE" width="312px" height="231px" border="0" class="img_whs4"></p>
+
+<p class="whs2">&nbsp;</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 + &nbsp;2 
+ vectors, </p>
+
+<p class="whs3"><img src="pics/workplane5.png" x-maintain-ratio="TRUE" width="312px" height="266px" border="0" class="img_whs5"></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs3"><img src="pics/workplane6.png" x-maintain-ratio="TRUE" width="312px" height="274px" border="0" class="img_whs6"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index 0a549f722b4eb2030048bf0dfa44a06c0816f96c..59f91ccc14d372c20202792fb14b9f823b327056 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Working with groups</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:24px; height:22px; border-style:none; }\r
-p.whs2 { font-size:12pt; }\r
-p.whs3 { font-size:12pt; font-weight:bold; margin-left:40px; }\r
-img_whs4 { border:none; width:312px; height:379px; float:none; border-style:none; }\r
-p.whs5 { font-size:12pt; margin-left:0px; font-weight:normal; }\r
-ul.whs6 { list-style:disc; }\r
-img_whs7 { border:none; width:50px; height:31px; border-style:none; }\r
-p.whs8 { font-size:12pt; margin-left:48px; }\r
-p.whs9 { font-size:12pt; margin-left:0px; }\r
-p.whs10 { font-size:12pt; font-weight:bold; }\r
-p.whs11 { font-size:12pt; margin-left:40px; }\r
-img_whs12 { border:none; width:250px; height:307px; border-style:none; }\r
-img_whs13 { border:none; width:22px; height:22px; border-style:none; }\r
-p.whs14 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
--->\r
-</style><script type="text/javascript" language="JavaScript">\r
-<!--\r
-if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
-{\r
-  var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs5 {margin-left:1pt; }";\r
-  strNSS += "p.whs9 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<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
--->\r
-</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
-<script type="text/javascript" language="javascript" src="whver.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
-<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.addTocInfo)\r
-       {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nWorking with groups");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
-\r
-       }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
-\r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
-\r
-       if (window.setRelStartPage)\r
-       {\r
-       setRelStartPage("geom.htm");\r
-\r
-               autoSync(1);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       if (window.gbIE4)\r
-               document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Working with groups</h1>\r
-\r
-<p>The <span style="font-style: italic;"><I>Salome</I></span> platform offers \r
- such a useful functionality as creation and editing groups of subshapes \r
- of a geometrical object which makes handling subshapes much easier. However \r
- the functionality is available in the OCC viewer only.</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<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 \r
- a group</B></font></span></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2">To create a group of subshapes of a geometrical \r
- object in the main menu select <span style="font-weight: bold;"><B>New entity \r
- &gt; Group &gt; Create</B></span>. </p>\r
-\r
-<p class="whs2">The following menu will appear. </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs3"><b style="font-weight: bold;"><img src="pics/creategroup.png" x-maintain-ratio="TRUE" width="312px" height="379px" border="0" class="img_whs4"></b></p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5">In this Menu: </p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<ul type="disc" class="whs6">\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-weight: bold;"><B>Shape \r
- Type</B></span> radio button define the type of elements for the group (points, \r
- lines, planes or shapes). </p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-weight: bold;"><B>Group \r
- Name</B></span> - here you can enter the name of the group, by default, it \r
- is Group_n.</p></li>\r
-       \r
-       <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 \r
- Shape</B></span> (a geometrical object on which the group will be created). \r
- You can select the elements of your group in two ways:</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs8">Clicking \r
- <span style="font-weight: bold;"><B>Select Sub-Shapes</B></span> button you can \r
- select them manually in the 3D Viewer, and add to the group by clicking \r
- the <span style="font-weight: bold;"><B>Add</B></span> button (keep down the \r
- Shift button on the keyboard to select several elements and add all them \r
- together). The indexes of the selected elements will be displayed in the \r
- list. To delete elements from the list, select them and click <span style="font-weight: bold;"><B>Remove</B></span> \r
- button. &nbsp;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs8">Clicking \r
- <span style="font-weight: bold;"><B>Select All</B></span> button you can add \r
- all object's elements of a certain type in the list of the elements of \r
- the group. To delete elements from the list, select them and click <span \r
- style="font-weight: bold;"><B>Remove</B></span> button. &nbsp;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs9">Finally, \r
- confirm your selection by clicking <span style="font-weight: bold;"><B>OK \r
- </B></span>(also closes the Menu) or <span style="font-weight: bold;"><B>Apply</B></span> \r
- (leaves the Menu open for creation of other groups), or skip it by clicking \r
- <span style="font-weight: bold;"><B>Close</B></span> button. </p></li>\r
-</ul>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of the operation will be a</span></b><b> \r
- GEOM_Object<span style="font-weight: normal;">.</span></b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i><span style="font-style: italic;"><I>geompy.CreateGroup(MainShape, ShapeType)</I></span>, \r
- where MainShape is a shape for which the group is created, ShapeType is \r
- a type of shapes in the created group.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- 1 Shape + Type of subshape.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs10">Example:</p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs11"><img src="image193.jpg" width="250px" height="307px" border="0" class="img_whs12"></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<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 \r
- a group</B></font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2">To<span style="font-weight: bold;"><B> Edit </B></span>an \r
- existing group in the main menu select <span style="font-weight: bold;"><B>New \r
- entity &gt; Group &gt; Edit</B></span>. This menu is designed in the same \r
- way as the <span style="font-weight: bold;"><B>Create a group</B></span> menu. \r
- </p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b><span style="font-weight: normal;">The</span> \r
- Result <span style="font-weight: normal;">of the operation will be a</span></b><b> \r
- GEOM_Object<span style="font-weight: normal;">.</span></b></p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
- </i></p>\r
-\r
-<ul type="disc" class="whs6">\r
-       \r
-       <li class=kadov-p><p class="whs2"><i><span style="font-style: italic;"><I>g</i>eompy.AddObject(Group, \r
- SubShapeID)</I></span>, where Group is a group to which a sub shape has to \r
- be added, SubShapeID is an ID of the sub shape to be added to the group</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.RemoveObject(Group, \r
- SubShapeID)</I></span>, where Group is a group from which a sub shape has \r
- to be removed, SubShapeID is an ID of the sub shape to be removed from \r
- the group</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.GetObjectIDs(Group)</I></span>, \r
- where Group is a group for which its object ID\92s are returned. </p></li>\r
-</ul>\r
-\r
-<p class="whs11"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Returns: \r
- List of IDs.</font></span></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
- 1 Shape + its subshapes.</p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>\r
-\r
-<p class="whs2">&nbsp;</p>\r
-\r
-<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_whs4"></b></p>\r
-\r
-<p class="whs14">&nbsp;</p>\r
-\r
-<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
- provide you with useful examples of <a href="working_with_groups.htm">Working \r
- with Groups</a>. </p>\r
-\r
-<p>&nbsp;</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
+<!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>&nbsp;</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>&nbsp;</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 
+ &gt; Group &gt; Create</B></span>. </p>
+
+<p class="whs2">The following menu will appear. </p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</p>
+
+<p class="whs5">In this Menu: </p>
+
+<p class="whs5">&nbsp;</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. &nbsp;</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. &nbsp;</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">&nbsp;</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">&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Arguments:</b> 
+ 1 Shape + Type of subshape.</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs10">Example:</p>
+
+<p class="whs10">&nbsp;</p>
+
+<p class="whs11"><img src="image193.jpg" width="250px" height="307px" border="0" class="img_whs12"></p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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 &gt; Group &gt; 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">&nbsp;</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>&nbsp;</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">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Arguments:</b> 
+ 1 Shape + its subshapes.</p>
+
+<p class="whs2">&nbsp;</p>
+
+<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
+
+<p class="whs2">&nbsp;</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">&nbsp;</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>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>
index a44228d6c052b0a6a53089ad7717302f86dfed11..78cad82e0a84fb93ccc3f7423ab83b2b5c1c9688 100644 (file)
@@ -1,11 +1,25 @@
-#  Copyright (C) 2003  CEA/DEN, EDF R&D
+#  Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 #
+#  This library is free software; you can redistribute it and/or
+#  modify it under the terms of the GNU Lesser General Public
+#  License as published by the Free Software Foundation; either
+#  version 2.1 of the License.
 #
+#  This library is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#  Lesser General Public License for more details.
+#
+#  You should have received a copy of the GNU Lesser General Public
+#  License along with this library; if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+#  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 #  File   : Makefile.in
 #  Author : Vasily Rusyaev (Open Cascade NN)
 #  Module : doc
-#  $Header: 
 
 top_srcdir=@top_srcdir@
 top_builddir=../../..
@@ -14,9 +28,11 @@ VPATH=.:@srcdir@
 
 @COMMENCE@
 
-docs:
+usr_docs:
        cp -fr $(srcdir)/GEOM ./
-       -find $(PWD) -name CVS -exec rm -rf {} \;
+       -find $(PWD) -name CVS -prune -exec rm -rf {} \;
+
+docs: usr_docs
 
 clean:
        rm -fr `ls | grep -v "Makefile"`
@@ -27,7 +43,7 @@ distclean: clean
 install:
        mkdir -p $(docdir)/gui
        cp -rf GEOM $(docdir)/gui
-       -find $(PWD) -name CVS -exec rm -rf {} \;
+       -find $(PWD) -name CVS -prune -exec rm -rf {} \;
 
 uninstall:
        rm -rf $(docdir)/gui/GEOM