Merging from BR_DEBUG_3_2_0b1

This commit is contained in:
abd 2006-06-14 07:50:25 +00:00
parent 6d7de74a0a
commit 2e7e45df7c
263 changed files with 30730 additions and 34231 deletions

View File

@ -1 +0,0 @@
THIS IS SALOME - GEOM VERSION: 3.2.0a1

View 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 *- # -* Makefile *-
# #
@ -19,6 +38,17 @@ docs:
@@SETX@; for d in $(SUBDIRS); do \ @@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \ (cd $$d && $(MAKE) $@) || exit 1; \
done 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: clean:
@@SETX@; for d in $(SUBDIRS); do \ @@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \ (cd $$d && $(MAKE) $@) || exit 1; \

View File

@ -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>

View 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 # File : Makefile.in
# Author : Vasily Rusyaev (Open Cascade NN) # Author : Vasily Rusyaev (Open Cascade NN)
# Module : doc # Module : doc
# $Header:
top_srcdir=@top_srcdir@ top_srcdir=@top_srcdir@
top_builddir=../.. top_builddir=../..
@ -13,33 +27,48 @@ srcdir=@srcdir@
VPATH=.:@srcdir@ VPATH=.:@srcdir@
SUBDIRS= tui gui SUBDIRS= tui gui
SUBDIRSGUI= gui
SUBDIRSTUI= tui
@COMMENCE@ @COMMENCE@
docs: usr_docs:
@@SETX@; for d in $(SUBDIRS); do \ @@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; \ (cd $$d && $(MAKE) $@) || exit 1; \
done; \ done; \
cp -f $(srcdir)/GEOM_index_v3.1.0.html GEOM_index_v3.1.0.html
clean: clean:
@@SETX@; for d in $(SUBDIRS); do \ @@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \ if test -d $$d/GEOM; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi; \
done done
distclean: clean distclean: clean
@@SETX@; for d in $(SUBDIRS); do \ @@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \ if test -d $$d/GEOM; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi; \
done done
install: install:
$(MAKE) docs $(MAKE) docs
(cd tui && $(MAKE) install); @@SETX@; for d in $(SUBDIRS); do \
(cd gui && $(MAKE) install); if test -d $$d/GEOM; then \
cp -f GEOM_index_v3.1.0.html $(docdir) (cd $$d && $(MAKE) $@); \
fi; \
done
uninstall: uninstall:
@@SETX@; for d in $(SUBDIRS); do \ @@SETX@; for d in $(SUBDIRS); do \
(cd $$d && $(MAKE) $@) || exit 1; \ if test -d $$d/GEOM; then \
(cd $$d && $(MAKE) $@) || exit 1; \
fi; \
done; \ done; \
rm -fr $(docdir)/GEOM_index_v3.1.0.html

View File

@ -1,165 +1,166 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Add Point on Edge</title> <title>Add Point on Edge</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { border:none; width:22px; height:22px; border-style:none; } img_whs1 { border:none; width:22px; height:22px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; font-weight:normal; } p.whs3 { margin-left:40px; font-size:12pt; font-weight:bold; }
p.whs4 { margin-left:40px; font-size:12pt; font-weight:bold; } img_whs4 { border:none; width:312px; height:388px; float:none; border-style:none; }
img_whs5 { 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; } p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; } p.whs7 { margin-left:80px; font-size:12pt; text-indent:-40px; }
p.whs8 { 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:200px; height:231px; border-style:none; } img_whs9 { border:none; width:185px; height:231px; border-style:none; }
img_whs10 { border:none; width:185px; height:231px; border-style:none; } p.whs10 { font-size:12pt; text-indent:-68px; margin-left:72px; }
p.whs11 { font-size:12pt; text-indent:-68px; margin-left:72px; } p.whs11 { font-weight:bold; }
p.whs12 { font-weight:bold; } -->
--> </style><script type="text/javascript" language="JavaScript">
</style><script type="text/javascript" language="JavaScript"> <!--
<!-- if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) {
{ var strNSS = "<style type='text/css'>";
var strNSS = "<style type='text/css'>"; strNSS += "p.whs5 {text-indent:1pt; }";
strNSS += "p.whs6 {text-indent:1pt; }"; strNSS += "p.whs6 {text-indent:1pt; }";
strNSS += "p.whs7 {text-indent:1pt; }"; strNSS += "p.whs7 {text-indent:1pt; }";
strNSS += "p.whs8 {text-indent:1pt; }"; strNSS += "p.whs10 {text-indent:1pt; }";
strNSS += "p.whs11 {text-indent:1pt; }"; strNSS +="</style>";
strNSS +="</style>"; document.write(strNSS);
document.write(strNSS); }
} //-->
//--> </script>
</script> <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> <!--
<!-- function reDo() {
function reDo() { if (innerWidth != origWidth || innerHeight != origHeight)
if (innerWidth != origWidth || innerHeight != origHeight) location.reload();
location.reload(); }
} if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { origWidth = innerWidth;
origWidth = innerWidth; origHeight = innerHeight;
origHeight = innerHeight; onresize = reDo;
onresize = reDo; }
} onerror = null;
onerror = null; //-->
//--> </script>
</script> <style type="text/css">
<style type="text/css"> <!--
<!-- div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
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> </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="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.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="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head> <script type="text/javascript" language="javascript1.2">
<body><script type="text/javascript" language="javascript1.2"> <!--
<!-- if (window.gbWhTopic)
if (window.gbWhTopic) {
{ if (window.setRelStartPage)
if (window.addTocInfo) {
{ addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nAdd Point on Edge");
addTocInfo("GEOM 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("show",BTN_TEXT,"Show","","","","",0,0,"","",""); addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
} }
if (window.writeBtnStyle)
writeBtnStyle();
if (window.setRelStartPage)
if (window.writeIntopicBar) {
writeIntopicBar(1); setRelStartPage("index.htm");
if (window.setRelStartPage) autoSync(1);
{ sendSyncInfo();
setRelStartPage("geom.htm"); sendAveInfoOut();
}
autoSync(1);
sendSyncInfo(); }
sendAveInfoOut(); else
} if (window.gbIE4)
} document.location.reload();
else //-->
if (window.gbIE4) </script>
document.location.reload(); </head>
//--> <body><script type="text/javascript" language="javascript1.2">
</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> if (window.writeIntopicBar)
writeIntopicBar(4);
<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 </script>
<span style="font-weight: bold;"><B>Repair - &gt; Add Point on Edge.</B></span></p> <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>&nbsp;</p> <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
<p class="whs2">This operation splits an edge in two in accordance <span style="font-weight: bold;"><B>Repair - &gt; Add Point on Edge.</B></span></p>
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). <p>&nbsp;</p>
This operation is available in <span style="font-weight: bold;"><B>OCC Viewer</B></span>
only. </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
<p class="whs2">&nbsp;</p> 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>
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p> only. </p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i> <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b><span
</i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID, style="font-weight: normal;">T</b>he</span> Result <span style="font-weight: normal;">will
Value, IsByParameter)</I></span>, where Shape is a shape which contains an be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object. </B></span></b></font></span></p>
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. <p class="whs2">&nbsp;</p>
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"><b style="font-weight: bold;">TUI Command :</b><i>
</i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID,
<p class="whs2">&nbsp;</p> 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
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> = -1, then Shape is an edge, Value is a paramter on the edge or a length.
Name + 1 Edge + 1 value setting the position of the point according to IsByParameter if it is True then Value is the edge parameter in the range
one of the selected modes</p> [0:1] otherwise it is a length of the edge in the range [0:1]</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Dialog <p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Box:</b></p> 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">&nbsp;</p>
<p class="whs4"><img src="pics/repair8.png" x-maintain-ratio="TRUE" width="312px" height="388px" border="0" class="img_whs5"></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="whs6">&nbsp;</p>
<p class="whs5">&nbsp;</p>
<p class="whs7">Example:</p>
<p class="whs6">Example:</p>
<p class="whs6">&nbsp;</p>
<p class="whs5">&nbsp;</p>
<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>
<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="whs11">&nbsp;</p>
<p class="whs10">&nbsp;</p>
<p class="whs12"><span style="font-weight: normal;">Our</span>
TUI Scripts<span style="font-weight: normal;"> provide you with useful <p class="whs11"><span style="font-weight: normal;">Our</span>
examples of the use of</span> <a href="repairing_operations.htm#bookmark7">Repairing TUI Scripts<span style="font-weight: normal;"> provide you with useful
Operations</a>. </p> examples of the use of</span> <a href="repairing_operations.htm#bookmark7">Repairing
Operations</a>. </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!-- <script type="text/javascript" language="javascript1.2">
if (window.writeIntopicBar) <!--
writeIntopicBar(0); if (window.writeIntopicBar)
//--> writeIntopicBar(0);
</script> //-->
</body> </script>
</html> </body>
</html>

View File

@ -1,135 +1,140 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Arc</title> <title>Arc</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; } p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:359px; float:none; border-style:none; } img_whs4 { border:none; width:312px; height:359px; float:none; border-style:none; }
p.whs5 { color:#808080; font-size:12pt; } p.whs5 { color:#808080; font-size:12pt; }
p.whs6 { font-size:12pt; color:#000000; } p.whs6 { font-size:12pt; color:#000000; }
p.whs7 { color:#808080; font-size:12pt; margin-left:40px; } p.whs7 { color:#808080; font-size:12pt; margin-left:40px; }
img_whs8 { border:none; width:330px; height:283px; float:none; border-style:none; } img_whs8 { border:none; width:330px; height:283px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nArc"); addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nArc");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p><b><span style="font-weight: normal;">T</b>o</span> create an <span writeIntopicBar(4);
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; </script>
Basic - &gt; Arc</B></span></p> <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 class="whs2">&nbsp;</p> <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
<p class="whs2"><b><span style="font-weight: normal;">You can Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt;
define an</span> Arc <span style="font-weight: normal;">by</span> <span Basic - &gt; Arc</B></span></p>
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 <p class="whs2">&nbsp;</p>
</span></b>Point1 is the starting point and Point3 is the ending point
of the arc.</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>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <span style="font-weight: normal;">three</span><span style="font-weight: bold;"><B>
Result <span style="font-weight: normal;">of the operation will be a</span></b><b> Points </B></span><span style="font-weight: normal;">that lie on it, where
GEOM_Object (edge).</b></p> </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">&nbsp;</p>
<p class="whs2"><b><span style="font-weight: normal;">The</span>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b> Result <span style="font-weight: normal;">of the operation will be a</span></b><b>
<span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span></p> <span style="font-weight: normal;">GEOM_Object (edge).</span></b></p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> <p class="whs2">&nbsp;</p>
Name + 3 vertices.</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
<p class="whs2">&nbsp;</p> <span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span></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="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 3 vertices.</p>
<p class="whs5">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;">Example:</b></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="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="whs6"><b style="font-weight: bold;">Example:</b></p>
<p class="whs7">&nbsp;</p>
<p class="whs5">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="basic_geometrical_objects.htm">Basic Geometric <p class="whs7"><img src="pics/arcsn.png" x-maintain-ratio="TRUE" width="330px" height="283px" border="0" class="img_whs8"></p>
Objects</a>. </p>
<p class="whs7">&nbsp;</p>
<p>&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
<script type="text/javascript" language="javascript1.2"> of creation of <a href="basic_geometrical_objects.htm">Basic Geometric
<!-- Objects</a>. </p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,135 +1,140 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Archimede</title> <title>Archimede</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; } p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
p.whs4 { font-size:12pt; margin-left:40px; } p.whs4 { font-size:12pt; margin-left:40px; }
img_whs5 { border:none; width:312px; height:367px; float:none; border-style:none; } 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_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_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; } img_whs8 { border:none; float:none; width:180px; height:180px; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTransforming geometrical objects\nBasic Operations\nArchimede"); addTocInfo("Geometry module\nTransforming geometrical objects\nBasic Operations\nArchimede");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: normal;">T</b>o produce writeIntopicBar(4);
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> </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="whs3">&nbsp;</p>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
<p class="whs3">This an <span style="font-weight: bold;"><B>Archimede</B></span> operation in the
operation creates a plane corresponding to the modeled water-line of the Main Menu select <span style="font-weight: bold;"><B>Operations - &gt; Archimede</B></span></p>
object plunged into the water (in Z direction).</p>
<p class="whs3">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs3">This
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> operation creates a plane corresponding to the modeled water-line of the
Result<span style="font-weight: normal;"> will be any</span></b> GEOM_Object.</p> object plunged into the water (in Z direction).</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command: <p class="whs2">&nbsp;</p>
</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 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
shape, WaterDensity &nbsp;is Result<span style="font-weight: normal;"> will be any</span></b> GEOM_Object.</p>
density of water, MeshingDeflection is a deflection of the mesh, using
to compute the section.</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>,
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> where Shape is a shape to put into the water, Weight is a weight of the
Name + 1 shape &nbsp;+ shape, WaterDensity &nbsp;is
3 values (Weight, Water Density &amp; Meshing Deflection).</p> density of water, MeshingDeflection is a deflection of the mesh, using
to compute the section.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
<p class="whs4"><img src="pics/archimede.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs5"></p> Name + 1 shape &nbsp;+
3 values (Weight, Water Density &amp; Meshing Deflection).</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></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">&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="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs4">&nbsp;</p>
<p class="whs2">&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 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>
<p class="whs4">&nbsp;</p>
<p>&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
<script type="text/javascript" language="javascript1.2"> of the use of <a href="basic_operations.htm#bookmark1">Basic Operations</a>.
<!-- </p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -1,243 +1,248 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Basic Operations</title> <title>Basic Operations</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
p.whs1 { font-family:'Lucida Console' , monospace; } p.whs1 { font-family:'Lucida Console' , monospace; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBasic Operations"); addTocInfo("Geometry module\nTUI Scripts\nTransformation\nBasic Operations");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<h1>Basic Operations</h1> <!--
if (window.writeIntopicBar)
<h3><a name=bookmark>Partition</a></h3> writeIntopicBar(4);
//-->
<p class="whs1">import geompy</p> </script>
<h1>Basic Operations</h1>
<p class="whs1">import salome</p>
<h3><a name=bookmark>Partition</a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create a vertex and a vector</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex( &nbsp;0., <p>&nbsp;</p>
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p> <p># create a vertex and a vector</p>
<p class="whs1">p200 = geompy.MakeVertex(200., <p class="whs1">p0 &nbsp;&nbsp;=
200., 200.)</p> geompy.MakeVertex( &nbsp;0.,
&nbsp;&nbsp;0.,
<p class="whs1">pz &nbsp;&nbsp;= &nbsp;&nbsp;0.)</p>
geompy.MakeVertex( &nbsp;0.,
&nbsp;&nbsp;0., <p class="whs1">p200 = geompy.MakeVertex(200.,
100.)</p> 200., 200.)</p>
<p>&nbsp;</p> <p class="whs1">pz &nbsp;&nbsp;=
geompy.MakeVertex( &nbsp;0.,
<p># create a vector</p> &nbsp;&nbsp;0.,
100.)</p>
<p class="whs1">vxyz = geompy.MakeVectorDXDYDZ(100.,
100., 100.)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a vector</p>
<p># create a box from two points</p> <p class="whs1">vxyz = geompy.MakeVectorDXDYDZ(100.,
100., 100.)</p>
<p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
p200)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a box from two points</p>
<p># create a plane</p> <p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
p200)</p>
<p class="whs1">trimsize &nbsp;=
500.</p> <p>&nbsp;</p>
<p class="whs1">plane = geompy.MakePlane(pz, <p># create a plane</p>
vxyz, trimsize)</p>
<p class="whs1">trimsize &nbsp;=
<p>&nbsp;</p> 500.</p>
<p># create partition objects</p> <p class="whs1">plane = geompy.MakePlane(pz,
vxyz, trimsize)</p>
<p class="whs1">partition1 = geompy.MakePartition([box],
[plane])</p> <p>&nbsp;</p>
<p class="whs1">partition2 = geompy.Partition([box], <p># create partition objects</p>
[plane])</p>
<p class="whs1">partition1 = geompy.MakePartition([box],
<p class="whs1">partition3 = geompy.MakeHalfPartition(box, [plane])</p>
plane)</p>
<p class="whs1">partition2 = geompy.Partition([box],
<p class="whs1">&nbsp;</p> [plane])</p>
<p># add objects in the study</p> <p class="whs1">partition3 = geompy.MakeHalfPartition(box,
plane)</p>
<p class="whs1">id_box = geompy.addToStudy(box,&quot;Box&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">id_plane = geompy.addToStudy(plane,&quot;Plane&quot;)</p>
<p># add objects in the study</p>
<p class="whs1">id_partition1 = geompy.addToStudy(partition1,&quot;MakePartition&quot;)</p>
<p class="whs1">id_box = geompy.addToStudy(box,&quot;Box&quot;)</p>
<p class="whs1">id_partition2 = geompy.addToStudy(partition2,&quot;Partition&quot;)</p>
<p class="whs1">id_plane = geompy.addToStudy(plane,&quot;Plane&quot;)</p>
<p class="whs1">id_partition3 = geompy.addToStudy(partition3,&quot;MakeHalfPartition&quot;)</p>
<p class="whs1">id_partition1 = geompy.addToStudy(partition1,&quot;MakePartition&quot;)</p>
<p>&nbsp;</p>
<p class="whs1">id_partition2 = geompy.addToStudy(partition2,&quot;Partition&quot;)</p>
<p># display the partition objects and the plane</p>
<p class="whs1">id_partition3 = geompy.addToStudy(partition3,&quot;MakeHalfPartition&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
<p>&nbsp;</p>
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
<p># display the partition objects and the plane</p>
<p class="whs1">gg.createAndDisplayGO(id_plane)</p>
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
<p class="whs1">gg.setDisplayMode(id_plane,1)</p>
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_partition1)</p>
<p class="whs1">gg.createAndDisplayGO(id_plane)</p>
<p class="whs1">gg.createAndDisplayGO(id_partition2)</p>
<p class="whs1">gg.setDisplayMode(id_plane,1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_partition3)</span>
</p> <p class="whs1">gg.createAndDisplayGO(id_partition1)</p>
<h3><a name=bookmark1>Archimede</a></h3> <p class="whs1">gg.createAndDisplayGO(id_partition2)</p>
<p class="whs1">import geompy</p> <p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_partition3)</span>
</p>
<p class="whs1">import salome</p>
<h3><a name=bookmark1>Archimede</a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create a vertex and a vector</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex( &nbsp;0., <p>&nbsp;</p>
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p> <p># create a vertex and a vector</p>
<p class="whs1">p200 = geompy.MakeVertex(200., <p class="whs1">p0 &nbsp;&nbsp;=
200., 200.)</p> geompy.MakeVertex( &nbsp;0.,
&nbsp;&nbsp;0.,
<p>&nbsp;</p> &nbsp;&nbsp;0.)</p>
<p># create a box from two points</p> <p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p>
<p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
p200)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a box from two points</p>
<p># perform an Archimede operation on the selected shape with selected <p class="whs1">box = geompy.MakeBoxTwoPnt(p0,
parameters</p> p200)</p>
<p class="whs1">weight &nbsp;= <p>&nbsp;</p>
1000000.</p>
<p># perform an Archimede operation on the selected shape with selected
<p class="whs1">waterdensity = 1.</p> parameters</p>
<p class="whs1">meshingdeflection <p class="whs1">weight &nbsp;=
= 0.01</p> 1000000.</p>
<p class="whs1">archimede &nbsp;= <p class="whs1">waterdensity = 1.</p>
geompy.Archimede(box, weight, waterdensity, meshingdeflection)</p>
<p class="whs1">meshingdeflection
<p class="whs1">&nbsp;</p> = 0.01</p>
<p># add objects in the study</p> <p class="whs1">archimede &nbsp;=
geompy.Archimede(box, weight, waterdensity, meshingdeflection)</p>
<p class="whs1">id_box = geompy.addToStudy(box,&quot;Box&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">id_archimede = geompy.addToStudy(archimede,&quot;Archimede&quot;)</p>
<p># add objects in the study</p>
<p>&nbsp;</p>
<p class="whs1">id_box = geompy.addToStudy(box,&quot;Box&quot;)</p>
<p># display the box and the result of Archimede operation</p>
<p class="whs1">id_archimede = geompy.addToStudy(archimede,&quot;Archimede&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
<p>&nbsp;</p>
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
<p># display the box and the result of Archimede operation</p>
<p class="whs1">gg.createAndDisplayGO(id_archimede)</p>
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_archimede,1)</span>
</p> <p class="whs1">gg.setDisplayMode(id_box,1)</p>
<p>&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_archimede)</p>
<script type="text/javascript" language="javascript1.2"> <p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_archimede,1)</span>
<!-- </p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,116 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Building of 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">
<!--
ul.whs1 { list-style:disc; }
p.whs2 { 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; }
-->
</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>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
{
setRelStartPage("geom.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
<h1>Building of blocks</h1>
<p>&nbsp;</p>
<ul type="disc" class="whs1">
<li class=kadov-p><p><a href="#Multi-transformation">Multi-transformation</a></p></li>
<li class=kadov-p><p><a href="#ExplodeOnBlocks">Explode on blocks</a></p></li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p class=TODO>To use these options:</p>
<p class=TODO>&nbsp;</p>
<p class="whs2">In the main menu select <span style="font-weight: bold;"><B>Blocks
</B></span>submenu.</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>

View File

@ -1,258 +1,263 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Blocks Operations</title> <title>Blocks Operations</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
p.whs1 { font-family:'Lucida Console' , monospace; } p.whs1 { font-family:'Lucida Console' , monospace; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBlocks Operations"); addTocInfo("Geometry module\nTUI Scripts\nTransformation\nBlocks Operations");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<h1>Blocks Operations</h1> <!--
if (window.writeIntopicBar)
<h3><a name=bookmark4>Multi Transformation</a></h3> writeIntopicBar(4);
//-->
<p class="whs1">import geompy</p> </script>
<h1>Blocks Operations</h1>
<p class="whs1">import salome</p>
<h3><a name=bookmark4>Multi Transformation</a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create vertices</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p_25_25_50 = geompy.MakeVertex(25.,
25., 50.)</p> <p>&nbsp;</p>
<p class="whs1">p_50_25_25 = geompy.MakeVertex(50., <p># create vertices</p>
25., 25.)</p>
<p class="whs1">p_25_25_50 = geompy.MakeVertex(25.,
<p class="whs1">p_25_50_25 = geompy.MakeVertex(25., 25., 50.)</p>
50., 25.)</p>
<p class="whs1">p_50_25_25 = geompy.MakeVertex(50.,
<p class="whs1">box = geompy.MakeBoxDXDYDZ(50, 25., 25.)</p>
50, 50)</p>
<p class="whs1">p_25_50_25 = geompy.MakeVertex(25.,
<p class="whs1">top_face = geompy.GetFaceNearPoint(box, 50., 25.)</p>
p_25_25_50)</p>
<p class="whs1">box = geompy.MakeBoxDXDYDZ(50,
<p class="whs1">yz_face = geompy.GetFaceNearPoint(box, 50, 50)</p>
p_50_25_25)</p>
<p class="whs1">top_face = geompy.GetFaceNearPoint(box,
<p class="whs1">xz_face = geompy.GetFaceNearPoint(box, p_25_25_50)</p>
p_25_50_25)</p>
<p class="whs1">yz_face = geompy.GetFaceNearPoint(box,
<p class="whs1">top_face_ind = geompy.LocalOp.GetSubShapeIndex(box, p_50_25_25)</p>
top_face)</p>
<p class="whs1">xz_face = geompy.GetFaceNearPoint(box,
<p class="whs1">yz_face_ind = geompy.LocalOp.GetSubShapeIndex(box, p_25_50_25)</p>
yz_face)</p>
<p class="whs1">top_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
<p class="whs1">xz_face_ind = geompy.LocalOp.GetSubShapeIndex(box, top_face)</p>
xz_face)</p>
<p class="whs1">yz_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
<p>&nbsp;</p> yz_face)</p>
<p># Multi-transformate block and glue the result</p> <p class="whs1">xz_face_ind = geompy.LocalOp.GetSubShapeIndex(box,
xz_face)</p>
<p class="whs1">box_tr1 = geompy.MakeMultiTransformation1D(box,
yz_face_ind, top_face_ind, 3)</p> <p>&nbsp;</p>
<p class="whs1">box_tr2 = geompy.MakeMultiTransformation2D(box, <p># Multi-transformate block and glue the result</p>
xz_face_ind, yz_face_ind, 3, top_face_ind, 0, 2)</p>
<p class="whs1">box_tr1 = geompy.MakeMultiTransformation1D(box,
<p>&nbsp;</p> yz_face_ind, top_face_ind, 3)</p>
<p># add objects in the study</p> <p class="whs1">box_tr2 = geompy.MakeMultiTransformation2D(box,
xz_face_ind, yz_face_ind, 3, top_face_ind, 0, 2)</p>
<p class="whs1">id_box = geompy.addToStudy(box,
&quot;Box&quot;)</p> <p>&nbsp;</p>
<p class="whs1">id_box_tr1 = geompy.addToStudy(box_tr1, <p># add objects in the study</p>
&quot;Multi-transformed Block 1D&quot;)</p>
<p class="whs1">id_box = geompy.addToStudy(box,
<p class="whs1">id_box_tr2 = geompy.addToStudy(box_tr2, &quot;Box&quot;)</p>
&quot;Multi-transformed Block 2D&quot;)</p>
<p class="whs1">id_box_tr1 = geompy.addToStudy(box_tr1,
<p>&nbsp;</p> &quot;Multi-transformed Block 1D&quot;)</p>
<p># display the results</p> <p class="whs1">id_box_tr2 = geompy.addToStudy(box_tr2,
&quot;Multi-transformed Block 2D&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
<p>&nbsp;</p>
<p class="whs1">gg.setDisplayMode(id_box,1)</p>
<p># display the results</p>
<p class="whs1">gg.createAndDisplayGO(id_box_tr1)</p>
<p class="whs1">gg.createAndDisplayGO(id_box)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_box_tr2)</span>
</p> <p class="whs1">gg.setDisplayMode(id_box,1)</p>
<p>&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_box_tr1)</p>
<h3><a name=bookmark5>Explode on Blocks</a></h3> <p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_box_tr2)</span>
</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<h3><a name=bookmark5>Explode on Blocks</a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create a box and a sphere</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
200, 200)</p> <p>&nbsp;</p>
<p class="whs1">sphere = geompy.MakeSphereR(100)</p> <p># create a box and a sphere</p>
<p class="whs1">&nbsp;</p> <p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
200, 200)</p>
<p># make a compound</p>
<p class="whs1">sphere = geompy.MakeSphereR(100)</p>
<p class="whs1">compound = geompy.MakeCompound([box,
sphere])</p> <p class="whs1">&nbsp;</p>
<p>&nbsp;</p> <p># make a compound</p>
<p># get all the blocks, contained in the given compound</p> <p class="whs1">compound = geompy.MakeCompound([box,
sphere])</p>
<p class="whs1">make_block_explode
= geompy.MakeBlockExplode(compound, 1, 1)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># get all the blocks, contained in the given compound</p>
<p># add objects in the study</p> <p class="whs1">make_block_explode
= geompy.MakeBlockExplode(compound, 1, 1)</p>
<p class="whs1">id_compound = geompy.addToStudy(compound,
&quot;Compound&quot;)</p> <p>&nbsp;</p>
<p class="whs1">id_make_block_explode <p># add objects in the study</p>
= geompy.addToStudy(make_block_explode[0], &quot;MakeBlockExplode&quot;)</p>
<p class="whs1">id_compound = geompy.addToStudy(compound,
<p>&nbsp;</p> &quot;Compound&quot;)</p>
<p># display the results</p> <p class="whs1">id_make_block_explode
= geompy.addToStudy(make_block_explode[0], &quot;MakeBlockExplode&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_compound)</p>
<p>&nbsp;</p>
<p class="whs1">gg.createAndDisplayGO(id_make_block_explode)</p>
<p># display the results</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_make_block_explode,1)</span>
</p> <p class="whs1">gg.createAndDisplayGO(id_compound)</p>
<p>&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_make_block_explode)</p>
<h3><a name=bookmark6>Propagate</a></h3> <p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_make_block_explode,1)</span>
</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<h3><a name=bookmark6>Propagate</a></h3>
<p>&nbsp;</p>
<p class="whs1">import geompy</p>
<p># create a box and a sphere</p>
<p class="whs1">import salome</p>
<p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
200, 200)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a box and a sphere</p>
<p># check and improve</p> <p class="whs1">box = geompy.MakeBoxDXDYDZ(200,
200, 200)</p>
<p class="whs1">check_box = geompy.CheckAndImprove(box)</p>
<p>&nbsp;</p>
<p>&nbsp;&nbsp;</p>
<p># check and improve</p>
<p># build all possible propagation groups</p>
<p class="whs1">check_box = geompy.CheckAndImprove(box)</p>
<p class="whs1">listChains = geompy.Propagate(check_box)</p>
<p>&nbsp;&nbsp;</p>
<p>&nbsp;</p>
<p># build all possible propagation groups</p>
<p># add objects in the study</p>
<p class="whs1">listChains = geompy.Propagate(check_box)</p>
<p class="whs1">geompy.addToStudy(check_box,
&quot;Box&quot;)</p> <p>&nbsp;</p>
<p class="whs1">for chain in listChains:</p> <p># add objects in the study</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudyInFather(check_box, <p class="whs1">geompy.addToStudy(check_box,
chain, &quot;propagation chain&quot;)</p> &quot;Box&quot;)</p>
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span> <p class="whs1">for chain in listChains:</p>
</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudyInFather(check_box,
<p>&nbsp;</p> chain, &quot;propagation chain&quot;)</p>
<script type="text/javascript" language="javascript1.2"> <p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
<!-- </p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,348 +1,353 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Boolean Operations</title> <title>Boolean Operations</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
p.whs1 { font-family:'Lucida Console' , monospace; } p.whs1 { font-family:'Lucida Console' , monospace; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTUI Scripts\nTransformation\nBoolean Operations"); addTocInfo("Geometry module\nTUI Scripts\nTransformation\nBoolean Operations");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<h1>Boolean Operations</h1> <!--
if (window.writeIntopicBar)
<h3><a name=bookmark>Fuse</a></h3> writeIntopicBar(4);
//-->
<p class="whs1">import geompy</p> </script>
<h1>Boolean Operations</h1>
<p class="whs1">import salome</p>
<h3><a name=bookmark>Fuse</a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create a vertex and a vector</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
55, 0)</p> <p>&nbsp;</p>
<p class="whs1">p2 = geompy.MakeVertex( <p># create a vertex and a vector</p>
0, &nbsp;0, 0)</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
<p class="whs1">v = geompy.MakeVector(p1, 55, 0)</p>
p2)</p>
<p class="whs1">p2 = geompy.MakeVertex(
<p>&nbsp;</p> 0, &nbsp;0, 0)</p>
<p># create a cylinder</p> <p class="whs1">v = geompy.MakeVector(p1,
p2)</p>
<p class="whs1">height = 35</p>
<p>&nbsp;</p>
<p class="whs1">radius1 = 20</p>
<p># create a cylinder</p>
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p> <p class="whs1">height = 35</p>
<p>&nbsp;</p> <p class="whs1">radius1 = 20</p>
<p># create a sphere</p> <p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p># create a sphere</p>
<p># fuse</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p class="whs1">fuse = geompy.MakeFuse(cylinder,
sphere)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># fuse</p>
<p># add objects in the study</p> <p class="whs1">fuse = geompy.MakeFuse(cylinder,
sphere)</p>
<p class="whs1">id_cylinder = geompy.addToStudy(cylinder,
&quot;Cylinder&quot;)</p> <p>&nbsp;</p>
<p class="whs1">id_sphere = geompy.addToStudy(sphere, <p># add objects in the study</p>
&quot;Sphere&quot;)</p>
<p class="whs1">id_cylinder = geompy.addToStudy(cylinder,
<p class="whs1">id_fuse = geompy.addToStudy(fuse, &quot;Cylinder&quot;)</p>
&quot;Fuse&quot;)</p>
<p class="whs1">id_sphere = geompy.addToStudy(sphere,
<p>&nbsp;</p> &quot;Sphere&quot;)</p>
<p># display results</p> <p class="whs1">id_fuse = geompy.addToStudy(fuse,
&quot;Fuse&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>
<p>&nbsp;</p>
<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>
<p># display results</p>
<p class="whs1">gg.createAndDisplayGO(id_sphere)</p>
<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>
<p class="whs1">gg.setDisplayMode(id_sphere,1)</p>
<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_fuse)</p>
<p class="whs1">gg.createAndDisplayGO(id_sphere)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_fuse,1)</span>
</p> <p class="whs1">gg.setDisplayMode(id_sphere,1)</p>
<p>&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_fuse)</p>
<h3><a name=bookmark1>Common</a></h3> <p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_fuse,1)</span>
</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<h3><a name=bookmark1>Common</a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create a vertex and a vector</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
55, 0)</p> <p>&nbsp;</p>
<p class="whs1">p2 = geompy.MakeVertex( <p># create a vertex and a vector</p>
0, &nbsp;0, 0)</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
<p class="whs1">v = geompy.MakeVector(p1, 55, 0)</p>
p2)</p>
<p class="whs1">p2 = geompy.MakeVertex(
<p>&nbsp;</p> 0, &nbsp;0, 0)</p>
<p># create a cylinder</p> <p class="whs1">v = geompy.MakeVector(p1,
p2)</p>
<p class="whs1">height = 35</p>
<p>&nbsp;</p>
<p class="whs1">radius1 = 20</p>
<p># create a cylinder</p>
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p> <p class="whs1">height = 35</p>
<p>&nbsp;</p> <p class="whs1">radius1 = 20</p>
<p># create a sphere</p> <p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p># create a sphere</p>
<p># make common</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p class="whs1">common = geompy.MakeCommon(cylinder,
sphere)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># make common</p>
<p># add objects in the study</p> <p class="whs1">common = geompy.MakeCommon(cylinder,
sphere)</p>
<p class="whs1">id_common = geompy.addToStudy(common,
&quot;Common&quot;)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># add objects in the study</p>
<p># display the results</p> <p class="whs1">id_common = geompy.addToStudy(common,
&quot;Common&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_common)</p>
<p>&nbsp;</p>
<p class="whs1">gg.setDisplayMode(id_common,1)
</p> <p># display the results</p>
<p class="whs1">&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_common)</p>
<h3><a name=bookmark2>Cut </a></h3> <p class="whs1">gg.setDisplayMode(id_common,1)
</p>
<p class="whs1">import geompy</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">import salome</p>
<h3><a name=bookmark2>Cut </a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create a vertex and a vector</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
55, 0)</p> <p>&nbsp;</p>
<p class="whs1">p2 = geompy.MakeVertex( <p># create a vertex and a vector</p>
0, &nbsp;0, 0)</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
<p class="whs1">v = geompy.MakeVector(p1, 55, 0)</p>
p2)</p>
<p class="whs1">p2 = geompy.MakeVertex(
<p>&nbsp;</p> 0, &nbsp;0, 0)</p>
<p># create a cylinder</p> <p class="whs1">v = geompy.MakeVector(p1,
p2)</p>
<p class="whs1">height = 35</p>
<p>&nbsp;</p>
<p class="whs1">radius1 = 20</p>
<p># create a cylinder</p>
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p> <p class="whs1">height = 35</p>
<p>&nbsp;</p> <p class="whs1">radius1 = 20</p>
<p># create a sphere</p> <p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p># create a sphere</p>
<p>#cut</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p class="whs1">cut = geompy.MakeCut(cylinder,
sphere)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p>#cut</p>
<p># add objects in the study</p> <p class="whs1">cut = geompy.MakeCut(cylinder,
sphere)</p>
<p class="whs1">id_cut = geompy.addToStudy(cut,
&quot;Cut&quot;)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># add objects in the study</p>
<p># display the results</p> <p class="whs1">id_cut = geompy.addToStudy(cut,
&quot;Cut&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_cut)</p>
<p>&nbsp;</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cut,1)</span>
</p> <p># display the results</p>
<p>&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_cut)</p>
<h3><a name=bookmark3>Section</a></h3> <p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cut,1)</span>
</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<h3><a name=bookmark3>Section</a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create a vertex and a vector</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
55, 0)</p> <p>&nbsp;</p>
<p class="whs1">p2 = geompy.MakeVertex( <p># create a vertex and a vector</p>
0, &nbsp;0, 0)</p>
<p class="whs1">p1 = geompy.MakeVertex(25,
<p class="whs1">v = geompy.MakeVector(p1, 55, 0)</p>
p2)</p>
<p class="whs1">p2 = geompy.MakeVertex(
<p>&nbsp;</p> 0, &nbsp;0, 0)</p>
<p># create a cylinder</p> <p class="whs1">v = geompy.MakeVector(p1,
p2)</p>
<p class="whs1">height = 35</p>
<p>&nbsp;</p>
<p class="whs1">radius1 = 20</p>
<p># create a cylinder</p>
<p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p> <p class="whs1">height = 35</p>
<p>&nbsp;</p> <p class="whs1">radius1 = 20</p>
<p># create a sphere</p> <p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p># create a sphere</p>
<p># make a section</p>
<p class="whs1">sphere = geompy.MakeSphereR(40)</p>
<p class="whs1">section = geompy.MakeSection(cylinder,
sphere)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># make a section</p>
<p># add objects in the study</p> <p class="whs1">section = geompy.MakeSection(cylinder,
sphere)</p>
<p class="whs1">id_section = geompy.addToStudy(section,
&quot;Section&quot;)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># add objects in the study</p>
<p># display the results</p> <p class="whs1">id_section = geompy.addToStudy(section,
&quot;Section&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_section)</p>
<p>&nbsp;</p>
<p class="whs1">gg.setDisplayMode(id_section,1)
</p> <p># display the results</p>
<p class="whs1">&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_section)</p>
<script type="text/javascript" language="javascript1.2"> <p class="whs1">gg.setDisplayMode(id_section,1)
<!-- </p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p class="whs1">&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,172 +1,177 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Box</title> <title>Box</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-style:italic; } p.whs3 { font-style:italic; }
img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; } p.whs4 { margin-left:40px; }
p.whs5 { font-weight:normal; } img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
img_whs6 { border:none; width:312px; height:332px; float:none; border-style:none; } p.whs6 { font-weight:normal; }
p.whs7 { font-size:12pt; font-weight:bold; } p.whs7 { font-size:12pt; margin-left:40px; }
p.whs8 { font-size:12pt; font-weight:bold; font-style:normal; } img_whs8 { border:none; width:312px; height:332px; float:none; border-style:none; }
p.whs9 { font-size:12pt; font-style:normal; font-weight:bold; } p.whs9 { font-size:12pt; font-weight:bold; }
p.whs10 { font-size:12pt; font-style:normal; font-weight:normal; } p.whs10 { font-size:12pt; font-weight:bold; font-style:normal; }
img_whs11 { border:none; width:267px; height:280px; float:none; border-style:none; } 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"> -->
<!-- </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
function reDo() { <!--
if (innerWidth != origWidth || innerHeight != origHeight) function reDo() {
location.reload(); if (innerWidth != origWidth || innerHeight != origHeight)
} location.reload();
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { }
origWidth = innerWidth; if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origHeight = innerHeight; origWidth = innerWidth;
onresize = reDo; origHeight = innerHeight;
} onresize = reDo;
onerror = null; }
//--> onerror = null;
</script> //-->
<style type="text/css"> </script>
<!-- <style type="text/css">
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } <!--
--> div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> p.WebHelpNavBar { text-align:right; }
<script type="text/javascript" language="javascript" src="whver.js"></script> -->
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<!-- <script type="text/javascript" language="javascript1.2">
if (window.gbWhTopic) <!--
{ if (window.gbWhTopic)
if (window.addTocInfo) {
{ if (window.setRelStartPage)
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nBox"); {
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle)
writeBtnStyle(); }
if (window.writeIntopicBar)
writeIntopicBar(1); if (window.setRelStartPage)
{
if (window.setRelStartPage) setRelStartPage("index.htm");
{
setRelStartPage("geom.htm"); autoSync(1);
sendSyncInfo();
autoSync(1); sendAveInfoOut();
sendSyncInfo(); }
sendAveInfoOut();
} }
} else
else if (window.gbIE4)
if (window.gbIE4) document.location.reload();
document.location.reload(); //-->
//--> </script>
</script> </head>
<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> <body><script type="text/javascript" language="javascript1.2">
<!--
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Box</B></span> if (window.writeIntopicBar)
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span writeIntopicBar(4);
style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Box</B></span></p> //-->
</script>
<p>&nbsp;</p> <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>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Box</B></span>. <p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Box</B></span>
</p> 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 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> <p>&nbsp;</p>
GEOM_Object (SOLID).</p>
<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Box</B></span>.
<p>&nbsp;</p> </p>
<p>Firstly, you can define a <span style="font-weight: bold;"><B>Box</B></span> <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
by two specified <span style="font-weight: bold;"><B>Vertices (</B></span>its Result <span style="font-weight: normal;">of each operation will be a</span></b>
opposite corners), and with edges, parallel to the coordinate axes. </p> GEOM_Object (SOLID).</p>
<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command <p>&nbsp;</p>
:</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxTwoPnt(Point1,
Point2)</I></span></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
<p><b style="font-weight: bold;">Arguments: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name opposite corners), and with edges, parallel to the coordinate axes. </p>
+ </font></span>2 vertices (opposite corners of the box).</p>
<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command
<p class="whs3">&nbsp;</p> :</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxTwoPnt(Point1,
Point2)</I></span></p>
<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>
<p><b style="font-weight: bold;">Arguments: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
<p>&nbsp;</p> + </font></span>2 vertices (opposite corners of the box).</p>
<p class="whs5"><b style="font-weight: normal;"><span style="font-weight: normal;">Secondly, <p class="whs3">&nbsp;</p>
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 <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>
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>&nbsp;</p>
<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command <p class="whs6"><b style="font-weight: normal;"><span style="font-weight: normal;">Secondly,
:</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxDXDYDZ(DX, you can define a </span><span style="font-weight: bold;"><B>Box</B></span><span
DY, DZ)</I></span></p> style="font-weight: normal;"> by </b>specified dimensions along the coordinate
axes</span> and with edges, parallel to them. &nbsp;The
<p><span><b style="font-weight: bold;">Arguments: </b></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name center of the box will be at point (DX/2, DY/2, DZ/2). </p>
+ 3 values (dimensions at origin).</font></span></p>
<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command
<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> :</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxDXDYDZ(DX,
DY, DZ)</I></span></p>
<p>&nbsp;</p>
<p><span><b style="font-weight: bold;">Arguments: </b></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
<p><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>NB! </B></font></span>The is + 3 values (dimensions at origin).</font></span></p>
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="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 class="whs7"><span style="font-weight: normal;">You <p>&nbsp;</p>
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 <p><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>NB! </B></font></span>There is
you don't need to create them in advance). </span></p> 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="whs8"><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 class="whs9"><span style="font-weight: normal;">You
</p> 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
<p class="whs8"><b>Arguments:<span style="font-weight: normal;"> you don't need to create them in advance). </span></p>
</b>Name</span> + <span style="font-weight: normal;">X, Y and Z coordinates
of both points.</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 class="whs8">&nbsp;</p> </p>
<p class="whs9">Example:</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 class="whs10"><img src="pics/boxes.png" x-maintain-ratio="TRUE" width="267px" height="280px" border="0" class="img_whs11"></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p class="whs11">Example:</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 class="whs7"><img src="pics/boxes.png" x-maintain-ratio="TRUE" width="267px" height="280px" border="0" class="img_whs12"></p>
</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
<script type="text/javascript" language="javascript1.2"> provide you with useful examples of creation of <a href="primitives.htm#bookmark">Primitives</a>.
<!-- </p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,330 +1,335 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Building by Blocks</title> <title>Building by Blocks</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
p.whs1 { font-family:'Lucida Console' , monospace; } p.whs1 { font-family:'Lucida Console' , monospace; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nBuilding by Blocks"); addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nBuilding by Blocks");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<h1>Building by Blocks</h1> <!--
if (window.writeIntopicBar)
<h3>Quadrangle Face</h3> writeIntopicBar(4);
//-->
<p class="whs1">import geompy</p> </script>
<h1>Building by Blocks</h1>
<p class="whs1">import salome</p>
<h3>Quadrangle Face</h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create vertices</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;0., &nbsp;&nbsp;0., <p>&nbsp;</p>
&nbsp;&nbsp;0.)</p>
<p># create vertices</p>
<p class="whs1">p2 = geompy.MakeVertex(150.,
&nbsp;30., &nbsp;&nbsp;0.)</p> <p class="whs1">p1 = geompy.MakeVertex(
&nbsp;0., &nbsp;&nbsp;0.,
<p class="whs1">p3 = geompy.MakeVertex( &nbsp;&nbsp;0.)</p>
&nbsp;0., 120.,
&nbsp;50.)</p> <p class="whs1">p2 = geompy.MakeVertex(150.,
&nbsp;30., &nbsp;&nbsp;0.)</p>
<p class="whs1">p4 = geompy.MakeVertex(
&nbsp;0., &nbsp;40., <p class="whs1">p3 = geompy.MakeVertex(
&nbsp;70.)</p> &nbsp;0., 120.,
&nbsp;50.)</p>
<p>&nbsp;</p>
<p class="whs1">p4 = geompy.MakeVertex(
<p># create edges</p> &nbsp;0., &nbsp;40.,
&nbsp;70.)</p>
<p class="whs1">edge1 = geompy.MakeEdge(p1,
p2)</p> <p>&nbsp;</p>
<p class="whs1">edge2 = geompy.MakeEdge(p2, <p># create edges</p>
p3)</p>
<p class="whs1">edge1 = geompy.MakeEdge(p1,
<p class="whs1">edge3 = geompy.MakeEdge(p3, p2)</p>
p4)</p>
<p class="whs1">edge2 = geompy.MakeEdge(p2,
<p class="whs1">edge4 = geompy.MakeEdge(p4, p3)</p>
p1)</p>
<p class="whs1">edge3 = geompy.MakeEdge(p3,
<p>&nbsp;</p> p4)</p>
<p># create a quadrangle face from four edges</p> <p class="whs1">edge4 = geompy.MakeEdge(p4,
p1)</p>
<p class="whs1">qface1 = geompy.MakeQuad(edge1,
edge2, edge3, edge4)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a quadrangle face from four edges</p>
<p># create a quadrangle face from two edges</p> <p class="whs1">qface1 = geompy.MakeQuad(edge1,
edge2, edge3, edge4)</p>
<p class="whs1">qface2 = geompy.MakeQuad2Edges(edge1,
edge3)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a quadrangle face from two edges</p>
<p># create a quadrangle from four points in its corners</p> <p class="whs1">qface2 = geompy.MakeQuad2Edges(edge1,
edge3)</p>
<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p1,
p2, p3, p4)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a quadrangle from four points in its corners</p>
<p># add objects in the study</p> <p class="whs1">qface3 = geompy.MakeQuad4Vertices(p1,
p2, p3, p4)</p>
<p class="whs1">id_p1 = geompy.addToStudy(p1,&quot;Point1&quot;)</p>
<p>&nbsp;</p>
<p class="whs1">id_p2 = geompy.addToStudy(p2,&quot;Point2&quot;)</p>
<p># add objects in the study</p>
<p class="whs1">id_p3 = geompy.addToStudy(p3,&quot;Point3&quot;)</p>
<p class="whs1">id_p1 = geompy.addToStudy(p1,&quot;Point1&quot;)</p>
<p class="whs1">id_p4 = geompy.addToStudy(p4,&quot;Point4&quot;)</p>
<p class="whs1">id_p2 = geompy.addToStudy(p2,&quot;Point2&quot;)</p>
<p class="whs1">id_edge1 = geompy.addToStudy(edge1,&quot;Edge1&quot;)</p>
<p class="whs1">id_p3 = geompy.addToStudy(p3,&quot;Point3&quot;)</p>
<p class="whs1">id_edge2 = geompy.addToStudy(edge2,&quot;Edge2&quot;)</p>
<p class="whs1">id_p4 = geompy.addToStudy(p4,&quot;Point4&quot;)</p>
<p class="whs1">id_edge3 = geompy.addToStudy(edge3,&quot;Edge3&quot;)</p>
<p class="whs1">id_edge1 = geompy.addToStudy(edge1,&quot;Edge1&quot;)</p>
<p class="whs1">id_edge4 = geompy.addToStudy(edge4,&quot;Edge4&quot;)</p>
<p class="whs1">id_edge2 = geompy.addToStudy(edge2,&quot;Edge2&quot;)</p>
<p class="whs1">id_qface1 = geompy.addToStudy(qface1,&quot;Qface1&quot;)</p>
<p class="whs1">id_edge3 = geompy.addToStudy(edge3,&quot;Edge3&quot;)</p>
<p class="whs1">id_qface2 = geompy.addToStudy(qface2,&quot;Qface2&quot;)</p>
<p class="whs1">id_edge4 = geompy.addToStudy(edge4,&quot;Edge4&quot;)</p>
<p class="whs1">id_qface3 = geompy.addToStudy(qface3,&quot;Qface3&quot;)</p>
<p class="whs1">id_qface1 = geompy.addToStudy(qface1,&quot;Qface1&quot;)</p>
<p>&nbsp;</p>
<p class="whs1">id_qface2 = geompy.addToStudy(qface2,&quot;Qface2&quot;)</p>
<p># display the vertices, the edges and the quadrangle faces</p>
<p class="whs1">id_qface3 = geompy.addToStudy(qface3,&quot;Qface3&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
<p>&nbsp;</p>
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
<p># display the vertices, the edges and the quadrangle faces</p>
<p class="whs1">gg.createAndDisplayGO(id_p3)</p>
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge1)</p>
<p class="whs1">gg.createAndDisplayGO(id_p3)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge2)</p>
<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge3)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge1)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge4)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge2)</p>
<p class="whs1">gg.createAndDisplayGO(id_qface1)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge3)</p>
<p class="whs1">gg.setDisplayMode(id_qface1,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_edge4)</p>
<p class="whs1">gg.createAndDisplayGO(id_qface2)</p>
<p class="whs1">gg.createAndDisplayGO(id_qface1)</p>
<p class="whs1">gg.setDisplayMode(id_qface2,1)</p>
<p class="whs1">gg.setDisplayMode(id_qface1,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_qface3)</p>
<p class="whs1">gg.createAndDisplayGO(id_qface2)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_qface3,1)</span>
</p> <p class="whs1">gg.setDisplayMode(id_qface2,1)</p>
<p>&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_qface3)</p>
<h3>Hexagonal Solid</h3> <p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_qface3,1)</span>
</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<h3>Hexagonal Solid</h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create vertices</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;0., &nbsp;&nbsp;0., <p>&nbsp;</p>
&nbsp;&nbsp;0.)</p>
<p># create vertices</p>
<p class="whs1">p2 = geompy.MakeVertex(150.,
&nbsp;30., &nbsp;&nbsp;0.)</p> <p class="whs1">p1 = geompy.MakeVertex(
&nbsp;0., &nbsp;&nbsp;0.,
<p class="whs1">p3 = geompy.MakeVertex( &nbsp;&nbsp;0.)</p>
&nbsp;0., 120.,
&nbsp;50.)</p> <p class="whs1">p2 = geompy.MakeVertex(150.,
&nbsp;30., &nbsp;&nbsp;0.)</p>
<p class="whs1">p4 = geompy.MakeVertex(
&nbsp;0., &nbsp;40., <p class="whs1">p3 = geompy.MakeVertex(
&nbsp;70.)</p> &nbsp;0., 120.,
&nbsp;50.)</p>
<p class="whs1">p5 = geompy.MakeVertex(100.,
&nbsp;20., &nbsp;45.)</p> <p class="whs1">p4 = geompy.MakeVertex(
&nbsp;0., &nbsp;40.,
<p class="whs1">p6 = geompy.MakeVertex( &nbsp;70.)</p>
&nbsp;0., 70.,
&nbsp;40.)</p> <p class="whs1">p5 = geompy.MakeVertex(100.,
&nbsp;20., &nbsp;45.)</p>
<p class="whs1">p7 = geompy.MakeVertex(
70., 70., &nbsp;70.)</p> <p class="whs1">p6 = geompy.MakeVertex(
&nbsp;0., 70.,
<p class="whs1">p8 = geompy.MakeVertex( &nbsp;40.)</p>
70.,-15., &nbsp;70.)</p>
<p class="whs1">p7 = geompy.MakeVertex(
<p class="whs1">p9 = geompy.MakeVertex( 70., 70., &nbsp;70.)</p>
&nbsp;0., &nbsp;0.,
&nbsp;40.)</p> <p class="whs1">p8 = geompy.MakeVertex(
70.,-15., &nbsp;70.)</p>
<p class="whs1">p10 = geompy.MakeVertex(
&nbsp;0., 70., <p class="whs1">p9 = geompy.MakeVertex(
&nbsp;&nbsp;0.)</p> &nbsp;0., &nbsp;0.,
&nbsp;40.)</p>
<p class="whs1">p11 = geompy.MakeVertex(
70., 70., &nbsp;&nbsp;0.)</p> <p class="whs1">p10 = geompy.MakeVertex(
&nbsp;0., 70.,
<p class="whs1">p12 = geompy.MakeVertex( &nbsp;&nbsp;0.)</p>
70., -15., &nbsp;&nbsp;0.)</p>
<p class="whs1">p11 = geompy.MakeVertex(
<p class="whs1">p13 = geompy.MakeVertex( 70., 70., &nbsp;&nbsp;0.)</p>
&nbsp;0., &nbsp;0.,
&nbsp;&nbsp;0.)</p> <p class="whs1">p12 = geompy.MakeVertex(
70., -15., &nbsp;&nbsp;0.)</p>
<p>&nbsp;</p>
<p class="whs1">p13 = geompy.MakeVertex(
<p># create faces</p> &nbsp;0., &nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">qface1 = geompy.MakeQuad4Vertices(p1,
p2, p3, p4)</p> <p>&nbsp;</p>
<p class="whs1">qface2 = geompy.MakeQuad4Vertices(p1, <p># create faces</p>
p2, p5, p4)</p>
<p class="whs1">qface1 = geompy.MakeQuad4Vertices(p1,
<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p13, p2, p3, p4)</p>
p12, p11, p10)</p>
<p class="whs1">qface2 = geompy.MakeQuad4Vertices(p1,
<p class="whs1">qface4 = geompy.MakeQuad4Vertices(p9, p2, p5, p4)</p>
p8, p7, p6)</p>
<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p13,
<p class="whs1">qface5 = geompy.MakeQuad4Vertices(p13, p12, p11, p10)</p>
p9, p6, p10)</p>
<p class="whs1">qface4 = geompy.MakeQuad4Vertices(p9,
<p class="whs1">qface6 = geompy.MakeQuad4Vertices(p13, p8, p7, p6)</p>
p9, p8, p12)</p>
<p class="whs1">qface5 = geompy.MakeQuad4Vertices(p13,
<p class="whs1">qface7 = geompy.MakeQuad4Vertices(p12, p9, p6, p10)</p>
p8, p7, p11)</p>
<p class="whs1">qface6 = geompy.MakeQuad4Vertices(p13,
<p class="whs1">qface8 = geompy.MakeQuad4Vertices(p11, p9, p8, p12)</p>
p7, p6, p10)</p>
<p class="whs1">qface7 = geompy.MakeQuad4Vertices(p12,
<p>&nbsp;</p> p8, p7, p11)</p>
<p># create a hexahedral solid between two given faces</p> <p class="whs1">qface8 = geompy.MakeQuad4Vertices(p11,
p7, p6, p10)</p>
<p class="whs1">solid1 = geompy.MakeHexa2Faces(qface1,
qface2)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a hexahedral solid between two given faces</p>
<p># create a hexahedral solids, bounded by six given faces</p> <p class="whs1">solid1 = geompy.MakeHexa2Faces(qface1,
qface2)</p>
<p class="whs1">solid2 = geompy.MakeHexa(qface3,
qface4, qface5, qface6, qface7, qface8)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a hexahedral solids, bounded by six given faces</p>
<p># add objects in the study</p> <p class="whs1">solid2 = geompy.MakeHexa(qface3,
qface4, qface5, qface6, qface7, qface8)</p>
<p class="whs1">id_solid1 = geompy.addToStudy(solid1,&quot;Solid1&quot;)</p>
<p>&nbsp;</p>
<p class="whs1">id_solid2 = geompy.addToStudy(solid2,&quot;Solid2&quot;)</p>
<p># add objects in the study</p>
<p>&nbsp;</p>
<p class="whs1">id_solid1 = geompy.addToStudy(solid1,&quot;Solid1&quot;)</p>
<p># display solids</p>
<p class="whs1">id_solid2 = geompy.addToStudy(solid2,&quot;Solid2&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_solid1)</p>
<p>&nbsp;</p>
<p class="whs1">gg.setDisplayMode(id_solid1,1)</p>
<p># display solids</p>
<p class="whs1">gg.createAndDisplayGO(id_solid2)</p>
<p class="whs1">gg.createAndDisplayGO(id_solid1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_solid2,1)</span>
</p> <p class="whs1">gg.setDisplayMode(id_solid1,1)</p>
<p>&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_solid2)</p>
<script type="text/javascript" language="javascript1.2"> <p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_solid2,1)</span>
<!-- </p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,191 +1,197 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Chamfer</title> <title>Chamfer</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
img_whs3 { border:none; width:312px; height:319px; float:none; border-style:none; } p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:225px; height:239px; float:none; border-style:none; } img_whs4 { border:none; width:312px; height:319px; float:none; border-style:none; }
img_whs5 { border:none; width:312px; height:381px; float:none; border-style:none; } img_whs5 { border:none; width:225px; height:239px; float:none; border-style:none; }
img_whs6 { border:none; width:230px; height:245px; float:none; border-style:none; } img_whs6 { border:none; width:312px; height:381px; float:none; border-style:none; }
img_whs7 { border:none; width:221px; height:238px; float:none; border-style:none; } img_whs7 { border:none; width:230px; height:245px; float:none; border-style:none; }
p.whs8 { font-size:12pt; margin-left:40px; } 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; } p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
//--> //-->
</script> </script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nChamfer"); addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nChamfer");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: normal;">T</b>o produce writeIntopicBar(4);
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; </script>
Chamfer</B></span> </p> <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>&nbsp;</p> <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
<p>This operation allows you to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">make chamfer <span style="font-weight: bold;"><B>Operations - &gt; Transformation - &gt;
of the edges of a Shape.</font></span></p> Chamfer</B></span> </p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span <p>&nbsp;</p>
style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will
be a</span></b> GEOM_Object.</font></span></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>&nbsp;</p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
<p class="whs2"><b style="font-weight: normal;">T</b>o create style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will
chamfer on all edges of the given shape, you need to define the <span be a</span></b> GEOM_Object.</font></span></p>
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 <p>&nbsp;</p>
chamfer. &nbsp;</p>
<p class="whs2"><b style="font-weight: normal;">T</b>o create
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> chamfer on all edges of the given shape, you need to define the <span
</i><span style="font-style: italic;"><I>geompy.MakeChamferAll(Shape, D)</I></span> style="font-weight: bold;"><B>Main Object</B></span> to create a chamfer on and
</p> the <span style="font-weight: bold;"><B>Dimension</B></span> (radius) of the
chamfer. &nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
+ 1 SHAPE + 1 value (Chamfer dimension).</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 class="whs2">&nbsp;</p> </p>
<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> <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="whs2">&nbsp;</p>
<p class="whs2">To create chamfer on the specified edges of
the given shape, &nbsp;you <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>
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
to create a fillet on, select the necessary edges in the viewer and define <p class="whs2">&nbsp;</p>
the <span style="font-weight: bold;"><B>Dimension</B></span> of the Chamfer.</p>
<p class="whs2">To create chamfer on the specified edges of
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> the given shape, &nbsp;you
</i><span style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape, D1, need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
D2, Face1, Face2)</I></span>, where Shape is a shape to create a chamfer on, to create a fillet on, select the two faces to which belongs the <span
D1 is a chamfer size along Face1, D2 is a chamfer size along Face2, Face1 style="font-size: 12pt;"><font size=3 style="font-size:12pt;">necessary common edge in the viewer and define
and Face2 are indices of faces in Shape.</p> 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">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
<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> </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,
<p class="whs2">&nbsp;</p> 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">To create chamfer on the specified faces of
the given shape, &nbsp;you <p class="whs2">&nbsp;</p>
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 necessary <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>
common edge in the OCC Viewer and define the <span style="font-weight: bold;"><B>Dimension</B></span>
of the Chamfer.</p> <p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> <p class="whs2">To create chamfer on the specified faces of
</i><span style="font-style: italic;"><I>geompy.MakeChamferFaces(Shape, D1, the given shape, &nbsp;you
D2, ListOfFaceID)</I></span>, where Shape is a shape to create chamfer on, need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
D1 is a chamfer size along a face from &nbsp;ListOfFaceID, to create a fillet on, select the necessary faces the OCC Viewer and define
&nbsp;D2 is a the <span style="font-weight: bold;"><B>Dimension</B></span> of the Chamfer.</p>
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"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeChamferFaces(Shape, D1,
<p class="whs2">&nbsp;</p> D2, ListOfFaceID)</I></span>, where Shape is a shape to create chamfer on,
D1 is a chamfer size along a face from &nbsp;ListOfFaceID,
<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> &nbsp;D2 is a
chamfer size along two faces connected to the edge to which the chamfer
<p class="whs8">&nbsp;</p> is applied, ListOfFaceID is a list of indices of faces in Shape.</p>
<p class="whs9">&nbsp;&nbsp;<span <p class="whs2">&nbsp;</p>
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;"> <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>
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark4">Transformation
Operations</a>. </font></span></p> <p class="whs3">&nbsp;</p>
<p>&nbsp;</p> <p class="whs9">&nbsp;&nbsp;<span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
<p class="whs2">&nbsp;</p> 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
<p class="whs2">&nbsp;</p> Operations</a>. </font></span></p>
<p class="whs2">&nbsp;</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p class="whs2">&nbsp;</p>
<script type="text/javascript" language="javascript1.2"> <p class="whs2">&nbsp;</p>
<!--
if (window.writeIntopicBar) <p class="whs2">&nbsp;</p>
writeIntopicBar(0);
//--> <p>&nbsp;</p>
</script>
</body> <script type="text/javascript" language="javascript1.2">
</html> <!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,178 +1,183 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Changing Display Parameters</title> <title>Changing Display Parameters</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
p.whs1 { font-family:'Lucida Console' , monospace; } p.whs1 { font-family:'Lucida Console' , monospace; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTUI Scripts\nChanging Display Parameters"); addTocInfo("Geometry module\nTUI Scripts\nViewing Geometrical Objects");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<h1>Changing Display Parameters</h1> <!--
if (window.writeIntopicBar)
<h3><a name=bookmark>Changing Display Mode</a></h3> writeIntopicBar(4);
//-->
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import </script>
salome</span></p> <h1>Viewing Geometrical Objects</h1>
<p class="whs1">import geompy</p> <h3><a name=bookmark>Changing Display Mode</a></h3>
<p class="whs1">box = geompy.MakeBox(0,0,0, <p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
50,50,50)</p> salome</span></p>
<p class="whs1">&nbsp;</p> <p class="whs1">import geompy</p>
<p class="whs1">sphere = geompy.MakeSphere(50,50,50, <p class="whs1">box = geompy.MakeBox(0,0,0,
30)</p> 50,50,50)</p>
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p> <p class="whs1">&nbsp;</p>
<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</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">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">gg.setDisplayMode(fuse_id,1)
</p> <p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
<h3><a name=bookmark1>Changing Color</a></h3> <p class="whs1">gg.setDisplayMode(fuse_id,1)
</p>
<p class="whs1">import salome</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">import geompy</p>
<h3><a name=bookmark1>Changing Color</a></h3>
<p class="whs1">box = geompy.MakeBox(0,0,0,
50,50,50)</p> <p class="whs1">import salome</p>
<p class="whs1">&nbsp;</p> <p class="whs1">import geompy</p>
<p class="whs1">sphere = geompy.MakeSphere(50,50,50, <p class="whs1">box = geompy.MakeBox(0,0,0,
30)</p> 50,50,50)</p>
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p> <p class="whs1">&nbsp;</p>
<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</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">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">gg.setColor(fuse_id,218,165,31)
</p> <p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
<p class="whs1">&nbsp;</p> <p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
<p class="whs1">&nbsp;</p> <p class="whs1">gg.setColor(fuse_id,218,165,31)
</p>
<h3><a name=bookmark2>Changing Transparency</a></h3>
<p class="whs1">&nbsp;</p>
<p class="whs1">import salome</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">import geompy</p>
<h3><a name=bookmark2>Changing Transparency</a></h3>
<p class="whs1">&nbsp;</p>
<p class="whs1">import salome</p>
<p class="whs1">box = geompy.MakeBox(0,0,0,
50,50,50)</p> <p class="whs1">import geompy</p>
<p class="whs1">sphere = geompy.MakeSphere(50,50,50, <p class="whs1">&nbsp;</p>
30)</p>
<p class="whs1">box = geompy.MakeBox(0,0,0,
<p class="whs1">&nbsp;</p> 50,50,50)</p>
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p> <p class="whs1">sphere = geompy.MakeSphere(50,50,50,
30)</p>
<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">fuse = geompy.MakeBoolean(box,sphere,3)</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">fuse_id = geompy.addToStudy(fuse,&quot;Fuse&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">gg.setColor(fuse_id,218,165,31)</p>
<p class="whs1">gg.createAndDisplayGO(fuse_id)</p>
<p class="whs1">gg.setTransparency(fuse_id,0.5)
</p> <p class="whs1">gg.setDisplayMode(fuse_id,1)</p>
<script type="text/javascript" language="javascript1.2"> <p class="whs1">gg.setColor(fuse_id,218,165,31)</p>
<!--
if (window.writeIntopicBar) <p class="whs1">gg.setTransparency(fuse_id,0.5)
writeIntopicBar(0); </p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,223 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Changing displaying 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:'Times New Roman' , serif; font-size:12pt; font-weight:normal; }
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; }
p.whs4 { margin-left:40px; }
p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }
img_whs6 { width:20px; height:20px; border-style:none; }
p.whs7 { font-size:12pt; margin-left:40px; }
img_whs8 { border:none; width:403px; height:422px; float:none; border-style:none; }
img_whs9 { border:none; width:400px; height:424px; float:none; border-style:none; }
p.whs10 { font-size:12pt; font-family:'Times New Roman' , serif; }
p.whs11 { font-size:12pt; }
img_whs12 { border:none; float:none; width:393px; height:423px; border-style:none; }
p.whs13 { font-size:14pt; }
img_whs14 { border:none; width:354px; height:177px; float:none; border-style:none; }
p.whs15 { margin-left:40px; font-size:12pt; }
img_whs16 { border:none; width:397px; height:428px; float:none; border-style:none; }
img_whs17 { border:none; width:401px; height:429px; 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; }
-->
</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>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
{
setRelStartPage("geom.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
<h1>Changing displaying parameters</h1>
<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
displaying parameters for visualization of geometrical objects in the
viewer:</span></b></p>
<p class="whs3">&nbsp;</p>
<ul>
<li class=kadov-p><p class="whs3"><a
href="#W_S">Wireframe/Shading</a></p></li>
<li class=kadov-p><p class="whs3"><a
href="#Color">Color</a></p></li>
<li class=kadov-p><p class="whs3"><a
href="#Transparency">Transparency</a> </p></li>
<li class=kadov-p><p class="whs3"><a
href="#Isos">Isos</a> (in OCC viewer only)</p></li>
</ul>
<p>&nbsp;</p>
<p class=TODO>To set displaying parameters of a geometrical object:</p>
<p class=TODO>&nbsp;</p>
<p class="whs4">Right-click on this geometrical object in
the viewer and from the pop-up menu select <span style="font-weight: bold;"><B>Properties</B></span>.</p>
<p class="whs4">&nbsp;</p>
<p>&nbsp;</p>
<p class="whs5"><b style="font-weight: bold;"><a
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>
<p class="whs3">&nbsp;</p>
<p class="whs3">This
option is relevant for viewing 3D objects. Wireframe mode means that &nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Description:</b>
Set the display mode of the selected shape.</p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">TUI
Command:</b><i> gg.setDisplayMode(ID, Short)</i></p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Example:</b></p>
<p class="whs3">&nbsp;</p>
<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>
<p class="whs7">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs5"><b style="font-weight: bold;"><a
NAME=Color
style="font-size: 14pt;">Color</a></b></p>
<p class="whs10">&nbsp;</p>
<p class="whs11"><b style="font-weight: bold;">Description:</b>
Change the color of a shape.</p>
<p class="whs11">&nbsp;</p>
<p class="whs11"><b style="font-weight: bold;">TUI Command:</b><i>
gg.setColor(ID, Short, Short, Short)</i></p>
<p class="whs11">&nbsp;</p>
<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
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b>:</b></font></span></p>
<p class="whs11">&nbsp;</p>
<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>
<p class="whs11">&nbsp;</p>
<p class="whs11">&nbsp;</p>
<p class="whs11">&nbsp;</p>
<p class="whs13"><b style="font-weight: bold;"><a NAME=Transparency><span
style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Transparency</font></span></a></b></p>
<p class="whs11">&nbsp;</p>
<p class="whs11"><b style="font-weight: bold;">Description:</b>
Change the transparency (between 0 &amp; 1) of a shape.</p>
<p class="whs11">&nbsp;</p>
<p class="whs11"><b style="font-weight: bold;">TUI Command:</b><i>
gg.setTransparency(ID, Double)</i></p>
<p class="whs11">&nbsp;</p>
<p class="whs11"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs11">&nbsp;</p>
<p class="whs7"><img src="pics/neo-transparency.png" x-maintain-ratio="TRUE" width="354px" height="177px" border="0" class="img_whs14"></p>
<p class="whs11">&nbsp;</p>
<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>
<p>&nbsp;</p>
<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>
<p class="whs11">&nbsp;</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,154 +1,150 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Check Free Boundaries</title> <title>Check Free Boundaries</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { border:none; width:22px; height:22px; border-style:none; } img_whs1 { border:none; width:22px; height:22px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; font-weight:normal; } p.whs3 { font-size:12pt; margin-left:40px; font-weight:bold; }
p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; } img_whs4 { border:none; width:243px; height:203px; float:none; border-style:none; }
img_whs5 { 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:0px; } p.whs6 { font-size:12pt; margin-left:40px; }
img_whs7 { border:none; width:436px; height:339px; float:none; border-style:none; } 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; } img_whs8 { border:none; width:442px; height:336px; float:none; border-style:none; }
p.whs9 { font-weight:bold; } p.whs9 { font-weight:bold; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs6 {margin-left:1pt; }"; strNSS += "p.whs5 {margin-left:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
//--> //-->
</script> </script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Boundaries"); addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Boundaries");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: normal;">T</b>o <span writeIntopicBar(4);
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> </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">&nbsp;</p>
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
<p class="whs2">This operation detects wires and edges that style="font-weight: bold;"><B>Check Free Boundaries</B></span> in the Main Menu
correspond to the shape's boundary, and highlights it</p> select <span style="font-weight: bold;"><B>Repair - &gt; Check Free Boundaries</B></span>.</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object. <p class="whs2">This operation detects wires and edges that
</p> correspond to the shape's boundary, and highlights it</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b><span style="font-weight: normal;">The</span>
style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>, Result <span style="font-weight: normal;">will be a</span></b><b> <span
where Shape is a shape to be checked, NoError is false if an error occurred style="font-weight: bold;"><B>GEOM_Object. </B></span></b></font></span></p>
while checking free boundaries, ClosedWires is a list of closed free boundary
wires, OpenWires is a list of open free boundary wires.</p> <p>&nbsp;</p>
<p class="whs2">&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>,
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> where Shape is a shape to be checked, NoError is false if an error occurred
Shape</p> 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="whs2">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Dialog
Box:</b></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="whs3">&nbsp;</p> <p class="whs5">&nbsp;</p>
<p class="whs4"><img src="pics/repair9.png" x-maintain-ratio="TRUE" width="243px" height="203px" border="0" class="img_whs5"></p> <p class="whs5"><b style="font-weight: bold;">Example:</b></p>
<p class="whs6">&nbsp;</p> <p class="whs5">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;">Example:</b></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="whs6">&nbsp;</p> <p class="whs9">&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"><span style="font-weight: normal;">Our</span>
TUI Scripts<span style="font-weight: normal;"> provide you with useful
<p class="whs9">&nbsp;</p> examples of the use of</span> <a href="repairing_operations.htm#bookmark8">Repairing
Operations</a>. </p>
<p class="whs9"><span style="font-weight: normal;">Our</span>
TUI Scripts<span style="font-weight: normal;"> provide you with useful <p>&nbsp;</p>
examples of the use of</span> <a href="repairing_operations.htm#bookmark8">Repairing
Operations</a>. </p> <script type="text/javascript" language="javascript1.2">
<!--
<p>&nbsp;</p> if (window.writeIntopicBar)
writeIntopicBar(0);
<script type="text/javascript" language="javascript1.2"> //-->
<!-- </script>
if (window.writeIntopicBar) </body>
writeIntopicBar(0); </html>
//-->
</script>
</body>
</html>

View File

@ -1,148 +1,150 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Check Free Faces</title> <title>Check Free Faces</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { border:none; width:23px; height:22px; border-style:none; } img_whs1 { border:none; width:23px; height:22px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; font-weight:normal; } p.whs3 { font-size:12pt; font-weight:normal; }
p.whs4 { font-size:12pt; margin-left:40px; } p.whs4 { font-size:12pt; margin-left:40px; }
img_whs5 { border:none; width:322px; height:163px; float:none; border-style:none; } 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.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.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
img_whs8 { border:none; float:none; width:234px; height:281px; border-style:none; } p.whs8 { font-size:12pt; text-indent:-40px; margin-left:80px; }
img_whs9 { border:none; width:248px; height:283px; float:none; border-style:none; } img_whs9 { border:none; float:none; width:234px; height:281px; border-style:none; }
p.whs10 { font-weight:bold; } 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"> -->
<!-- </style><script type="text/javascript" language="JavaScript">
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) <!--
{ if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
var strNSS = "<style type='text/css'>"; {
strNSS += "p.whs6 {text-indent:1pt; }"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs7 {text-indent:1pt; }"; strNSS += "p.whs6 {text-indent:1pt; }";
strNSS +="</style>"; strNSS += "p.whs7 {text-indent:1pt; }";
document.write(strNSS); strNSS += "p.whs8 {text-indent:1pt; }";
} strNSS +="</style>";
//--> document.write(strNSS);
</script> }
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> //-->
<!-- </script>
function reDo() { <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
if (innerWidth != origWidth || innerHeight != origHeight) <!--
location.reload(); function reDo() {
} if (innerWidth != origWidth || innerHeight != origHeight)
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { location.reload();
origWidth = innerWidth; }
origHeight = innerHeight; if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
onresize = reDo; origWidth = innerWidth;
} origHeight = innerHeight;
onerror = null; onresize = reDo;
//--> }
</script> onerror = null;
<style type="text/css"> //-->
<!-- </script>
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } <style type="text/css">
--> <!--
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
<script type="text/javascript" language="javascript" src="whver.js"></script> p.WebHelpNavBar { text-align:right; }
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> -->
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<!-- <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
if (window.gbWhTopic) <script type="text/javascript" language="javascript1.2">
{ <!--
if (window.addTocInfo) if (window.gbWhTopic)
{ {
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nCheck Free Faces"); if (window.setRelStartPage)
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); {
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");
if (window.writeBtnStyle) addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
writeBtnStyle();
}
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
if (window.setRelStartPage) {
{ setRelStartPage("index.htm");
setRelStartPage("geom.htm");
autoSync(1);
autoSync(1); sendSyncInfo();
sendSyncInfo(); sendAveInfoOut();
sendAveInfoOut(); }
}
} }
else else
if (window.gbIE4) if (window.gbIE4)
document.location.reload(); document.location.reload();
//--> //-->
</script> </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> </head>
<body><script type="text/javascript" language="javascript1.2">
<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 if (window.writeIntopicBar)
<span style="font-weight: bold;"><B>Repair - &gt; Check Free Faces.</B></span></p> writeIntopicBar(4);
//-->
<p class="whs2">&nbsp;</p> </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">This operation retrieves all free faces from
a given shape. A free face is a face not shared between two shells of <p class="whs2"><b style="font-weight: normal;">T</b>o <span
the shape. </p> 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">&nbsp;</p>
<p class="whs2">This operation retrieves all free faces from
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object. a given shape. A free face is a face not shared between two shells of
Returns a list of IDs of all free faces, contained in the shape.</p> the shape. </p>
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span <p class="whs2">&nbsp;</p>
style="font-style: italic;"> <I></i>GetFreeFacesIDs(Shape)</I></span>, where
Shape is a shape to be checked.</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
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: bold;"><B>A</B></span>rguments:</b> style="font-weight: bold;"><B>GEOM_Object</B></span><span style="font-weight: normal;">
Shape</p> (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="whs3">&nbsp;</p>
<p class="whs2"><b>TUI Command :</b><i><span style="font-style: italic;">
<p class="whs3">&nbsp;</p> <I></i>GetFreeFacesIDs(Shape)</I></span>, where Shape is a shape to be checked.</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="whs3">&nbsp;</p>
<p class="whs6">&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="whs7">Examples: </p> <p class="whs6">&nbsp;</p>
<p class="whs6">&nbsp;</p> <p class="whs7">Examples: </p>
<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> <p class="whs6">&nbsp;</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="whs10"><span style="font-weight: normal;">Our</span> <p class="whs6">&nbsp;</p>
TUI Scripts<span style="font-weight: normal;"> provide you with useful
examples of the use of</span> <a href="repairing_operations.htm#bookmark9">Repairing <p class="whs11"><span style="font-weight: normal;">Our</span>
Operations</a>. </p> TUI Scripts<span style="font-weight: normal;"> provide you with useful
examples of the use of</span> <a href="repairing_operations.htm#bookmark9">Repairing
<p>&nbsp;</p> Operations</a>. </p>
<script type="text/javascript" language="javascript1.2"> <p>&nbsp;</p>
<!--
if (window.writeIntopicBar) <script type="text/javascript" language="javascript1.2">
writeIntopicBar(0); <!--
//--> if (window.writeIntopicBar)
</script> writeIntopicBar(0);
</body> //-->
</html> </script>
</body>
</html>

View File

@ -1,150 +1,156 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Circle</title> <title>Circle</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; font-weight:bold; } p.whs3 { font-size:12pt; font-weight:bold; }
img_whs4 { border:none; width:312px; height:346px; float:none; border-style:none; } p.whs4 { font-size:12pt; margin-left:40px; }
img_whs5 { border:none; width:312px; height:359px; float:none; border-style:none; } img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
img_whs6 { border:none; width:348px; height:321px; 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"> -->
<!-- </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
function reDo() { <!--
if (innerWidth != origWidth || innerHeight != origHeight) function reDo() {
location.reload(); if (innerWidth != origWidth || innerHeight != origHeight)
} location.reload();
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { }
origWidth = innerWidth; if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origHeight = innerHeight; origWidth = innerWidth;
onresize = reDo; origHeight = innerHeight;
} onresize = reDo;
onerror = null; }
//--> onerror = null;
</script> //-->
<style type="text/css"> </script>
<!-- <style type="text/css">
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } <!--
--> div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> p.WebHelpNavBar { text-align:right; }
<script type="text/javascript" language="javascript" src="whver.js"></script> -->
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<!-- <script type="text/javascript" language="javascript1.2">
if (window.gbWhTopic) <!--
{ if (window.gbWhTopic)
if (window.addTocInfo) {
{ if (window.setRelStartPage)
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nCircle"); {
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle)
writeBtnStyle(); }
if (window.writeIntopicBar)
writeIntopicBar(1); if (window.setRelStartPage)
{
if (window.setRelStartPage) setRelStartPage("index.htm");
{
setRelStartPage("geom.htm"); autoSync(1);
sendSyncInfo();
autoSync(1); sendAveInfoOut();
sendSyncInfo(); }
sendAveInfoOut();
} }
} else
else if (window.gbIE4)
if (window.gbIE4) document.location.reload();
document.location.reload(); //-->
//--> </script>
</script> </head>
<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> <body><script type="text/javascript" language="javascript1.2">
<!--
<p><b><span style="font-weight: normal;">T</span></b>o create a <span style="font-weight: bold;"><B>Circle</B></span> if (window.writeIntopicBar)
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span writeIntopicBar(4);
style="font-weight: bold;"><B>New Entity - &gt; Basic - &gt; Circle</B></span></p> //-->
</script>
<p class="whs2">&nbsp;</p> <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 class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">There <p><b><span style="font-weight: normal;">T</span></b>o create a <span style="font-weight: bold;"><B>Circle</B></span>
are 2 algorithms to create a</span> Circle <span style="font-weight: normal;">in in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
the 3D space.</span> </b></p> style="font-weight: bold;"><B>New Entity - &gt; Basic - &gt; Circle</B></span></p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p class="whs2">&nbsp;</p>
Result <span style="font-weight: normal;">of each operation will be a</span></b>
GEOM_Object (edge).</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
<p class="whs2">&nbsp;</p> the 3D space.</span> </b></p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly, <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
you can define a </span><span style="font-weight: bold;"><B>Circle</B></span><span Result <span style="font-weight: normal;">of each operation will be a</span></b>
style="font-weight: normal;"> by a</span> Center Point, <span style="font-weight: normal;">a</span> GEOM_Object (edge).</p>
Vector <span style="font-weight: normal;">giving the </b>circl</span>es
normal and a <span style="font-weight: bold;"><B>Radius</B></span>.</p> <p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b> <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
<span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span></p> 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>
<p class="whs3"><b style="font-weight: bold;">Arguments: Vector <span style="font-weight: normal;">giving the </b>circl</span>es
</b><span style="font-weight: normal;">Name + 1 vertex (for the center) normal and a <span style="font-weight: bold;"><B>Radius</B></span>.</p>
+ 1 edge (for the direction) + Radius.</span></p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
<p class="whs3">&nbsp;</p> <span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span></p>
<p class="whs2"><img src="pics/circle1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs4"> </p> <p class="whs3"><b style="font-weight: bold;">Arguments:
</b><span style="font-weight: normal;">Name + 1 vertex (for the center)
<p class="whs2">&nbsp;</p> + 1 edge (for the direction) + Radius.</span></p>
<p class="whs3"><span style="font-weight: normal;">Secondly, <p class="whs3">&nbsp;</p>
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="whs4"><img src="pics/circle1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs5"> </p>
<p class="whs3"><b style="font-weight: bold;">TUI <p class="whs2">&nbsp;</p>
Command:</b> &nbsp;<span style="font-weight: normal; font-style: italic;"><I>geompy.MakeCircleThreePnt(Point1,
Point2, Point3)</I></span> </p> <p class="whs3"><span style="font-weight: normal;">Secondly,
you can define a</span> Circle<span style="font-weight: normal;"> by three</span>
<p class="whs3"><b style="font-weight: bold;">Arguments: Points <span style="font-weight: normal;">that lie on it.</span> </p>
</b><span style="font-weight: normal;">Name + 3 points which will form
the circle.</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,
<p class="whs2">&nbsp;</p> Point2, Point3)</I></span> </p>
<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> <p class="whs3"><b style="font-weight: bold;">Arguments:
</b><span style="font-weight: normal;">Name + 3 points which will form
<p class="whs2">&nbsp;</p> the circle.</span></p>
<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> <p class="whs2">&nbsp;</p>
<p>&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">Our TUI Scripts provide you with useful examples <p class="whs2">&nbsp;</p>
of creation of <a href="basic_geometrical_objects.htm#bookmark2">Basic
Geometric Objects</a>. </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>&nbsp;</p>
<script type="text/javascript" language="javascript1.2"> <p class="whs2">Our TUI Scripts provide you with useful examples
<!-- of creation of <a href="basic_geometrical_objects.htm#bookmark2">Basic
if (window.writeIntopicBar) Geometric Objects</a>. </p>
writeIntopicBar(0);
//--> <p>&nbsp;</p>
</script>
</body> <script type="text/javascript" language="javascript1.2">
</html> <!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,149 +1,153 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Close Contour</title> <title>Close Contour</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
ul.whs3 { list-style:disc; } ul.whs3 { list-style:disc; }
p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; } p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; }
img_whs5 { border:none; width:312px; height:397px; float:none; border-style:none; } img_whs5 { border:none; width:312px; height:397px; float:none; border-style:none; }
p.whs6 { font-size:12pt; font-weight:bold; } p.whs6 { font-size:12pt; font-weight:bold; }
p.whs7 { font-weight:bold; } p.whs7 { font-weight:bold; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nClose Contour"); addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nClose Contour");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: normal;">T</b>o produce writeIntopicBar(4);
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 </script>
Contour.</B></span></p> <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">&nbsp;</p> <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
<p class="whs2">This operation closes an open contour and modifies Main Menu select <span style="font-weight: bold;"><B>Repair - &gt; Close
the underlying face (if needed) in accordance with user specified mode:</p> Contour.</B></span></p>
<ul type="disc" class="whs3"> <p class="whs2">&nbsp;</p>
<li class=kadov-p><p class="whs2">By common vertex a <p class="whs2">This operation closes an open contour and modifies
vertex is created between the end points of the contour and its tolerance the underlying face (if needed) in accordance with user specified mode:</p>
is increased to a value of the gap between the ends of the contour;</p></li>
<ul type="disc" class="whs3">
<li class=kadov-p><p class="whs2">By new edge a new edge
is inserted between the end points of the contour.</p></li> <li class=kadov-p><p class="whs2">By common vertex a
</ul> 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>
<p class="whs2">This operation is available in <span style="font-weight: bold;"><B>OCC
Viewer</B></span> only. </p> <li class=kadov-p><p class="whs2">By new edge a new edge
is inserted between the end points of the contour.</p></li>
<p class="whs2">&nbsp;</p> </ul>
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p> <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">&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, <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b><span
IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires style="font-weight: normal;">T</b>he</span> Result <span style="font-weight: normal;">will
is a list of edges or wires IDs which has to be closed within the shape be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object</B></span></b><span
(if the list contains only one element = -1, the shape itself is considered style="font-weight: bold;"><B>.</B></span></font></span></p>
as a wire), &nbsp;IsCommonVertex
if this parameter is True a closure has to be done by creation of a common <p class="whs2">&nbsp;</p>
vertex, otherwise an edge is added between the end vertices.</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
<p class="whs2">&nbsp;</p> </i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires,
IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires
<p class="whs2"><b style="font-weight: bold;">Arguments: <span is a list of edges or wires IDs which has to be closed within the shape
style="font-weight: normal;">Name + 1 shape + contour</span> <span style="font-weight: normal;">(</span></b>Wire, (if the list contains only one element = -1, the shape itself is considered
or a set of Edges) + mode of closure (by vertex or by edge)</p> as a wire), &nbsp;IsCommonVertex
if this parameter is True a closure has to be done by creation of a common
<p class="whs2">&nbsp;</p> vertex, otherwise an edge is added between the end vertices.</p>
<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p> <p class="whs2">&nbsp;</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,
<p class="whs4"><img src="pics/repair3.png" x-maintain-ratio="TRUE" width="312px" height="397px" border="0" class="img_whs5"></p> or a set of Edges) + mode of closure (by vertex or by edge)</p>
<p class="whs6">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs7"><span style="font-weight: normal;">Our</span> <p class="whs4"><img src="pics/repair3.png" x-maintain-ratio="TRUE" width="312px" height="397px" border="0" class="img_whs5"></p>
TUI Scripts <span style="font-weight: normal;">provide you with useful
examples of the use of</span> <a href="repairing_operations.htm#bookmark2">Repairing <p class="whs6">&nbsp;</p>
Operations</a>. </p>
<p class="whs7"><span style="font-weight: normal;">Our</span>
<p>&nbsp;</p> TUI Scripts <span style="font-weight: normal;">provide you with useful
examples of the use of</span> <a href="repairing_operations.htm#bookmark2">Repairing
<script type="text/javascript" language="javascript1.2"> Operations</a>. </p>
<!--
if (window.writeIntopicBar) <p>&nbsp;</p>
writeIntopicBar(0);
//--> <script type="text/javascript" language="javascript1.2">
</script> <!--
</body> if (window.writeIntopicBar)
</html> writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,105 +1,111 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Color</title> <title>Color</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
p.whs1 { font-size:12pt; } p.whs1 { font-size:12pt; }
img_whs2 { border:none; width:492px; height:392px; float:none; border-style:none; } 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"> -->
<!-- </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
function reDo() { <!--
if (innerWidth != origWidth || innerHeight != origHeight) function reDo() {
location.reload(); if (innerWidth != origWidth || innerHeight != origHeight)
} location.reload();
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { }
origWidth = innerWidth; if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origHeight = innerHeight; origWidth = innerWidth;
onresize = reDo; origHeight = innerHeight;
} onresize = reDo;
onerror = null; }
//--> onerror = null;
</script> //-->
<style type="text/css"> </script>
<!-- <style type="text/css">
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } <!--
--> div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> p.WebHelpNavBar { text-align:right; }
<script type="text/javascript" language="javascript" src="whver.js"></script> -->
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<!-- <script type="text/javascript" language="javascript1.2">
if (window.gbWhTopic) <!--
{ if (window.gbWhTopic)
if (window.addTocInfo) {
{ if (window.setRelStartPage)
addTocInfo("GEOM module\nManaging geometrical objects\nChanging Display Parameters\nColor"); {
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle)
writeBtnStyle(); }
if (window.writeIntopicBar)
writeIntopicBar(1); if (window.setRelStartPage)
{
if (window.setRelStartPage) setRelStartPage("index.htm");
{
setRelStartPage("geom.htm"); autoSync(1);
sendSyncInfo();
autoSync(1); sendAveInfoOut();
sendSyncInfo(); }
sendAveInfoOut();
} }
} else
else if (window.gbIE4)
if (window.gbIE4) document.location.reload();
document.location.reload(); //-->
//--> </script>
</script> </head>
<h1>Color</h1> <body><script type="text/javascript" language="javascript1.2">
<!--
<p>You can change the filling color of your object in the standard <span if (window.writeIntopicBar)
style="font-weight: bold;"><B>Select Color</B></span> menu accessible by right-clicking writeIntopicBar(4);
on an object and selecting <span style="font-weight: bold;"><B>Color</B></span> //-->
in the pop-up menu box. </p> </script>
<h1>Color</h1>
<p>&nbsp;</p>
<p>You can change the filling color of your object in the standard <span
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">TUI style="font-weight: bold;"><B>Select Color</B></span> menu accessible by right-clicking
Command:</b><i> gg.setColor(ID, Short, Short, Short)</i></font></span></p> 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>&nbsp;</p>
<p><img src="selectcolor.png" x-maintain-ratio="TRUE" width="492px" height="392px" border="0" class="img_whs2"></p>
<p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">TUI
<p>&nbsp;</p> Command:</b><i> gg.setColor(ID, Short, Short, Short)</i></font></span></p>
<p class="whs1">Our TUI Scripts provide you with useful examples <p>&nbsp;</p>
of <a href="changing_display_parameters.htm#bookmark1">Changing Display
Parameters</a>. </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>&nbsp;</p>
<script type="text/javascript" language="javascript1.2"> <p class="whs1">Our TUI Scripts provide you with useful examples
<!-- of <a href="changing_display_parameters.htm#bookmark1">Changing Display
if (window.writeIntopicBar) Parameters</a>. </p>
writeIntopicBar(0);
//--> <p>&nbsp;</p>
</script>
</body> <script type="text/javascript" language="javascript1.2">
</html> <!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,141 +1,147 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Common</title> <title>Common</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; } 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; } 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_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_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; } img_whs7 { border:none; border-style:none; float:none; width:234px; height:266px; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; 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.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
//--> //-->
</script> </script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nCommon"); addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nCommon");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: normal;">T</b>o produce writeIntopicBar(4);
a <span style="font-weight: bold;"><B>Common</B></span> in the Main Menu select //-->
<span style="font-weight: bold;"><B>Operations - &gt; Boolean - &gt; Common</B></span></p> </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="whs3">&nbsp;</p>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">This a <span style="font-weight: bold;"><B>Common</B></span> operation in the Main
operation</span> </b>cuts the common part of two shapes and transforms Menu select <span style="font-weight: bold;"><B>Operations - &gt; Boolean
it into an independent geometrical object.</p> - &gt; Common</B></span></p>
<p class="whs3">&nbsp;</p> <p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">This
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object operation</span> </b>cuts the common part of two shapes and transforms
(COMPOUND).</p> it into an independent geometrical object.</p>
<p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span> <p class="whs3">&nbsp;</p>
&nbsp;<span style="font-style: italic;"><I>geompy.MakeCommon(s1,
s2)</I></span> </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
<p class="whs3"><b style="font-weight: bold;">Arguments:</b> (COMPOUND).</p>
Name + 2 shapes.</p>
<p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span>
<p class="whs3">&nbsp;</p> &nbsp;<span style="font-style: italic;"><I>geompy.MakeCommon(s1,
s2)</I></span> </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="whs3"><b style="font-weight: bold;">Arguments:</b>
<p class="whs4">&nbsp;</p> Name + 2 shapes.</p>
<p class="whs3"><b style="font-weight: bold;">Example:</b></p> <p class="whs3">&nbsp;</p>
<p class="whs4">&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"><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="whs4">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples <p class="whs3"><b style="font-weight: bold;">Example:</b></p>
of the use of <a href="boolean_operations.htm#bookmark1">Boolean Operations</a>.
</p> <p class="whs4">&nbsp;</p>
<p>&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>
<script type="text/javascript" language="javascript1.2"> <p class="whs2">Our TUI Scripts provide you with useful examples
<!-- of the use of <a href="boolean_operations.htm#bookmark1">Boolean Operations</a>.
if (window.writeIntopicBar) </p>
writeIntopicBar(0);
//--> <p>&nbsp;</p>
</script>
</body> <script type="text/javascript" language="javascript1.2">
</html> <!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,484 +1,489 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Complex Objects</title> <title>Complex Objects</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
p.whs1 { font-family:'Lucida Console' , monospace; } p.whs1 { font-family:'Lucida Console' , monospace; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nComplex Objects"); addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nComplex Objects");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<h1>Complex Objects</h1> <!--
if (window.writeIntopicBar)
<h3><a name=bookmark>Creation of a Prism</a></h3> writeIntopicBar(4);
//-->
<p class="whs1">import geompy</p> </script>
<h1>Complex Objects</h1>
<p class="whs1">import salome</p>
<h3><a name=bookmark>Creation of a Prism</a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create a vertex and a vector</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;&nbsp;0., <p>&nbsp;</p>
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p> <p># create a vertex and a vector</p>
<p class="whs1">p2 = geompy.MakeVertex( <p class="whs1">p1 = geompy.MakeVertex(
100., &nbsp;&nbsp;0., &nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p> &nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p3 = geompy.MakeVertex(
100., 100., &nbsp;&nbsp;0.)</p> <p class="whs1">p2 = geompy.MakeVertex(
100., &nbsp;&nbsp;0.,
<p class="whs1">p4 = geompy.MakeVertex( &nbsp;&nbsp;0.)</p>
&nbsp;&nbsp;0.,
100., &nbsp;&nbsp;0.)</p> <p class="whs1">p3 = geompy.MakeVertex(
100., 100., &nbsp;&nbsp;0.)</p>
<p class="whs1">p5 = geompy.MakeVertex(
&nbsp;&nbsp;0., <p class="whs1">p4 = geompy.MakeVertex(
&nbsp;&nbsp;0., &nbsp;&nbsp;0.,
&nbsp;60.)</p> 100., &nbsp;&nbsp;0.)</p>
<p class="whs1">p6 = geompy.MakeVertex(-100., <p class="whs1">p5 = geompy.MakeVertex(
&nbsp;&nbsp;0., &nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p> &nbsp;&nbsp;0.,
&nbsp;60.)</p>
<p class="whs1">p7 = geompy.MakeVertex(-100.,-100.,
&nbsp;&nbsp;0.)</p> <p class="whs1">p6 = geompy.MakeVertex(-100.,
&nbsp;&nbsp;0.,
<p class="whs1">p8 = geompy.MakeVertex( &nbsp;&nbsp;0.)</p>
&nbsp;&nbsp;0.,-100.,
&nbsp;&nbsp;0.)</p> <p class="whs1">p7 = geompy.MakeVertex(-100.,-100.,
&nbsp;&nbsp;0.)</p>
<p>&nbsp;</p>
<p class="whs1">p8 = geompy.MakeVertex(
<p># create a vector from the given components</p> &nbsp;&nbsp;0.,-100.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">vector = geompy.MakeVectorDXDYDZ(50.,
50., 50.)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a vector from the given components</p>
<p>#create vectors from two points</p> <p class="whs1">vector = geompy.MakeVectorDXDYDZ(50.,
50., 50.)</p>
<p class="whs1">vector1_arc1 = geompy.MakeVector(p1,
p2)</p> <p>&nbsp;</p>
<p class="whs1">vector2_arc1 = geompy.MakeVector(p1, <p>#create vectors from two points</p>
p4)</p>
<p class="whs1">vector1_arc1 = geompy.MakeVector(p1,
<p class="whs1">vector1_arc2 = geompy.MakeVector(p1, p2)</p>
p6)</p>
<p class="whs1">vector2_arc1 = geompy.MakeVector(p1,
<p class="whs1">vector2_arc2 = geompy.MakeVector(p1, p4)</p>
p8)</p>
<p class="whs1">vector1_arc2 = geompy.MakeVector(p1,
<p>&nbsp;</p> p6)</p>
<p># create arcs from three points</p> <p class="whs1">vector2_arc2 = geompy.MakeVector(p1,
p8)</p>
<p class="whs1">arc1 = geompy.MakeArc(p2,
p3, p4)</p> <p>&nbsp;</p>
<p class="whs1">arc2 = geompy.MakeArc(p6, <p># create arcs from three points</p>
p7, p8)</p>
<p class="whs1">arc1 = geompy.MakeArc(p2,
<p>&nbsp;</p> p3, p4)</p>
<p># create wires</p> <p class="whs1">arc2 = geompy.MakeArc(p6,
p7, p8)</p>
<p class="whs1">wire1 = geompy.MakeWire([vector1_arc1,
arc1, vector2_arc1])</p> <p>&nbsp;</p>
<p class="whs1">wire2 = geompy.MakeWire([vector1_arc2, <p># create wires</p>
arc2, vector2_arc2])</p>
<p class="whs1">wire1 = geompy.MakeWire([vector1_arc1,
<p>&nbsp;</p> arc1, vector2_arc1])</p>
<p># create faces</p> <p class="whs1">wire2 = geompy.MakeWire([vector1_arc2,
arc2, vector2_arc2])</p>
<p class="whs1">isPlanarWanted = 1</p>
<p>&nbsp;</p>
<p class="whs1">face1 = geompy.MakeFace(wire1,
isPlanarWanted)</p> <p># create faces</p>
<p class="whs1">face2 = geompy.MakeFace(wire2, <p class="whs1">isPlanarWanted = 1</p>
isPlanarWanted)</p>
<p class="whs1">face1 = geompy.MakeFace(wire1,
<p>&nbsp;</p> isPlanarWanted)</p>
<p># create prisms</p> <p class="whs1">face2 = geompy.MakeFace(wire2,
isPlanarWanted)</p>
<p class="whs1">prism1 = geompy.MakePrism(face2,
p1, p5)</p> <p>&nbsp;</p>
<p class="whs1">prism2 = geompy.MakePrismVecH(face1, <p># create prisms</p>
vector, 50)</p>
<p class="whs1">prism1 = geompy.MakePrism(face2,
<p>&nbsp;</p> p1, p5)</p>
<p># add objects in the study</p> <p class="whs1">prism2 = geompy.MakePrismVecH(face1,
vector, 50)</p>
<p class="whs1">id_face1 &nbsp;&nbsp;=
geompy.addToStudy(face1,&quot;Face1&quot;)</p> <p>&nbsp;</p>
<p class="whs1">id_face2 &nbsp;&nbsp;= <p># add objects in the study</p>
geompy.addToStudy(face2,&quot;Face2&quot;)</p>
<p class="whs1">id_face1 &nbsp;&nbsp;=
<p class="whs1">id_prism1 = geompy.addToStudy(prism1,&quot;Prism1&quot;)</p> geompy.addToStudy(face1,&quot;Face1&quot;)</p>
<p class="whs1">id_prism2 = geompy.addToStudy(prism2,&quot;Prism2&quot;)</p> <p class="whs1">id_face2 &nbsp;&nbsp;=
geompy.addToStudy(face2,&quot;Face2&quot;)</p>
<p>&nbsp;</p>
<p class="whs1">id_prism1 = geompy.addToStudy(prism1,&quot;Prism1&quot;)</p>
<p># display cylinders</p>
<p class="whs1">id_prism2 = geompy.addToStudy(prism2,&quot;Prism2&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_face1)</p>
<p>&nbsp;</p>
<p class="whs1">gg.setDisplayMode(id_face1,1)</p>
<p># display cylinders</p>
<p class="whs1">gg.createAndDisplayGO(id_face2)</p>
<p class="whs1">gg.createAndDisplayGO(id_face1)</p>
<p class="whs1">gg.setDisplayMode(id_face2,1)</p>
<p class="whs1">gg.setDisplayMode(id_face1,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_prism1)</p>
<p class="whs1">gg.createAndDisplayGO(id_face2)</p>
<p class="whs1">gg.setDisplayMode(id_prism1,1)</p>
<p class="whs1">gg.setDisplayMode(id_face2,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_prism2)</p>
<p class="whs1">gg.createAndDisplayGO(id_prism1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_prism2,1)</span>
</p> <p class="whs1">gg.setDisplayMode(id_prism1,1)</p>
<h3><a name=bookmark1>Creation of a Revolution</a></h3> <p class="whs1">gg.createAndDisplayGO(id_prism2)</p>
<p class="whs1">import geompy</p> <p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_prism2,1)</span>
</p>
<p class="whs1">import salome</p>
<h3><a name=bookmark1>Creation of a Revolution</a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create a vertex and a vector</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;10., &nbsp;10., <p>&nbsp;</p>
&nbsp;10.)</p>
<p># create a vertex and a vector</p>
<p class="whs1">p2 = geompy.MakeVertex(
&nbsp;15., &nbsp;15., <p class="whs1">p1 = geompy.MakeVertex(
&nbsp;50.)</p> &nbsp;10., &nbsp;10.,
&nbsp;10.)</p>
<p class="whs1">p3 = geompy.MakeVertex(
&nbsp;40., &nbsp;40., <p class="whs1">p2 = geompy.MakeVertex(
&nbsp;&nbsp;0.)</p> &nbsp;15., &nbsp;15.,
&nbsp;50.)</p>
<p>&nbsp;</p>
<p class="whs1">p3 = geompy.MakeVertex(
<p>#create vectors from two points</p> &nbsp;40., &nbsp;40.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">vector1 = geompy.MakeVector(p1,
p2)</p> <p>&nbsp;</p>
<p class="whs1">vector2 = geompy.MakeVector(p1, <p>#create vectors from two points</p>
p3)</p>
<p class="whs1">vector1 = geompy.MakeVector(p1,
<p>&nbsp;</p> p2)</p>
<p># create a vector from the given components</p> <p class="whs1">vector2 = geompy.MakeVector(p1,
p3)</p>
<p class="whs1">vector3 = geompy.MakeVectorDXDYDZ(-20.,
-20., 100.)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a vector from the given components</p>
<p># create a wire</p> <p class="whs1">vector3 = geompy.MakeVectorDXDYDZ(-20.,
-20., 100.)</p>
<p class="whs1">wire = geompy.MakeWire([vector1,
vector2])</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a wire</p>
<p># create a revolution</p> <p class="whs1">wire = geompy.MakeWire([vector1,
vector2])</p>
<p class="whs1">revolution = geompy.MakeRevolution(wire,
vector3, 2.3)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a revolution</p>
<p># add objects in the study</p> <p class="whs1">revolution = geompy.MakeRevolution(wire,
vector3, 2.3)</p>
<p class="whs1">id_vector3 &nbsp;&nbsp;&nbsp;=
geompy.addToStudy(vector3,&quot;Axis&quot;)</p> <p>&nbsp;</p>
<p class="whs1">id_wire &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= <p># add objects in the study</p>
geompy.addToStudy(wire,&quot;Wire&quot;)</p>
<p class="whs1">id_vector3 &nbsp;&nbsp;&nbsp;=
<p class="whs1">id_revolution = geompy.addToStudy(revolution,&quot;Revolution&quot;)</p> geompy.addToStudy(vector3,&quot;Axis&quot;)</p>
<p>&nbsp;</p> <p class="whs1">id_wire &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(wire,&quot;Wire&quot;)</p>
<p># display the vector, the wire and the revolution</p>
<p class="whs1">id_revolution = geompy.addToStudy(revolution,&quot;Revolution&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_vector3)</p>
<p>&nbsp;</p>
<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
<p># display the vector, the wire and the revolution</p>
<p class="whs1">gg.createAndDisplayGO(id_revolution)</p>
<p class="whs1">gg.createAndDisplayGO(id_vector3)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_revolution,1)</span>
</p> <p class="whs1">gg.createAndDisplayGO(id_wire)</p>
<h3><a name=bookmark2>Creation of a Filling</a></h3> <p class="whs1">gg.createAndDisplayGO(id_revolution)</p>
<p class="whs1">import geompy</p> <p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_revolution,1)</span>
</p>
<p class="whs1">import salome</p>
<h3><a name=bookmark2>Creation of a Filling</a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p class="whs1">mindeg = 2</p>
<p class="whs1">import salome</p>
<p class="whs1">maxdeg = 5</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">tol3d &nbsp;&nbsp;=
0.0001</p> <p class="whs1">mindeg = 2</p>
<p class="whs1">tol2d &nbsp;&nbsp;= <p class="whs1">maxdeg = 5</p>
0.0001</p>
<p class="whs1">tol3d &nbsp;&nbsp;=
<p class="whs1">nbiter = 5</p> 0.0001</p>
<p>&nbsp;</p> <p class="whs1">tol2d &nbsp;&nbsp;=
0.0001</p>
<p># create a vertex and a vector</p>
<p class="whs1">nbiter = 5</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;-30., &nbsp;-30., <p>&nbsp;</p>
&nbsp;50.)</p>
<p># create a vertex and a vector</p>
<p class="whs1">p2 = geompy.MakeVertex(
&nbsp;-60., &nbsp;-60., <p class="whs1">p1 = geompy.MakeVertex(
&nbsp;30.)</p> &nbsp;-30., &nbsp;-30.,
&nbsp;50.)</p>
<p class="whs1">p3 = geompy.MakeVertex(
&nbsp;-30., &nbsp;-30., <p class="whs1">p2 = geompy.MakeVertex(
&nbsp;10.)</p> &nbsp;-60., &nbsp;-60.,
&nbsp;30.)</p>
<p>&nbsp;</p>
<p class="whs1">p3 = geompy.MakeVertex(
<p># create an arc from three points</p> &nbsp;-30., &nbsp;-30.,
&nbsp;10.)</p>
<p class="whs1">arc = geompy.MakeArc(p1,
p2, p3)</p> <p>&nbsp;</p>
<p class="whs1">ShapeListCompound <p># create an arc from three points</p>
= []</p>
<p class="whs1">arc = geompy.MakeArc(p1,
<p class="whs1">i = 0</p> p2, p3)</p>
<p class="whs1">while i &lt;= 3 :</p> <p class="whs1">ShapeListCompound
= []</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;S
= geompy.MakeTranslation(arc, i * 50., 0., 0.)</p> <p class="whs1">i = 0</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;ShapeListCompound.append(S)</p> <p class="whs1">while i &lt;= 3 :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;i <p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;S
= i + 1</p> = geompy.MakeTranslation(arc, i * 50., 0., 0.)</p>
<p class="whs1">compound = geompy.MakeCompound(ShapeListCompound)</p> <p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;ShapeListCompound.append(S)</p>
<p>&nbsp;</p> <p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;i
= i + 1</p>
<p># create a filling</p>
<p class="whs1">compound = geompy.MakeCompound(ShapeListCompound)</p>
<p class="whs1">filling = geompy.MakeFilling(compound,
mindeg, maxdeg, tol3d, tol2d, nbiter)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a filling</p>
<p># add objects in the study</p> <p class="whs1">filling = geompy.MakeFilling(compound,
mindeg, maxdeg, tol3d, tol2d, nbiter)</p>
<p class="whs1">id_compound = geompy.addToStudy(compound,&quot;Compound&quot;)</p>
<p>&nbsp;</p>
<p class="whs1">id_filling = geompy.addToStudy(filling,&quot;Filling&quot;)</p>
<p># add objects in the study</p>
<p>&nbsp;</p>
<p class="whs1">id_compound = geompy.addToStudy(compound,&quot;Compound&quot;)</p>
<p># display the compound and the filling</p>
<p class="whs1">id_filling = geompy.addToStudy(filling,&quot;Filling&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_compound)</p>
<p>&nbsp;</p>
<p class="whs1">gg.createAndDisplayGO(id_filling)</p>
<p># display the compound and the filling</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_filling,1)</span>
</p> <p class="whs1">gg.createAndDisplayGO(id_compound)</p>
<p>&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_filling)</p>
<h3><a name=bookmark3>Creation of a Pipe</a></h3> <p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_filling,1)</span>
</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<h3><a name=bookmark3>Creation of a Pipe</a></h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create vertices</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;, <p>&nbsp;</p>
0. &nbsp;, 0.
&nbsp;)</p> <p># create vertices</p>
<p class="whs1">px &nbsp;&nbsp;= <p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex(100., 0. &nbsp;, geompy.MakeVertex(0. &nbsp;,
0. &nbsp;)</p> 0. &nbsp;, 0.
&nbsp;)</p>
<p class="whs1">py &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;, <p class="whs1">px &nbsp;&nbsp;=
100., 0. &nbsp;)</p> geompy.MakeVertex(100., 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">pz &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;, <p class="whs1">py &nbsp;&nbsp;=
0. &nbsp;, 100.)</p> geompy.MakeVertex(0. &nbsp;,
100., 0. &nbsp;)</p>
<p class="whs1">pxyz = geompy.MakeVertex(100.,
100., 100.)</p> <p class="whs1">pz &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
<p>&nbsp;</p> 0. &nbsp;, 100.)</p>
<p># create a vector from two points</p> <p class="whs1">pxyz = geompy.MakeVertex(100.,
100., 100.)</p>
<p class="whs1">vxy = geompy.MakeVector(px,
py)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a vector from two points</p>
<p># create an arc from three points</p> <p class="whs1">vxy = geompy.MakeVector(px,
py)</p>
<p class="whs1">arc = geompy.MakeArc(py,
pz, px)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create an arc from three points</p>
<p># create a wire</p> <p class="whs1">arc = geompy.MakeArc(py,
pz, px)</p>
<p class="whs1">wire = geompy.MakeWire([vxy,
arc])</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a wire</p>
<p># create an edge</p> <p class="whs1">wire = geompy.MakeWire([vxy,
arc])</p>
<p class="whs1">edge = geompy.MakeEdge(p0,
pxyz)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create an edge</p>
<p># create a pipe</p> <p class="whs1">edge = geompy.MakeEdge(p0,
pxyz)</p>
<p class="whs1">pipe = geompy.MakePipe(wire,
edge)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a pipe</p>
<p># add objects in the study</p> <p class="whs1">pipe = geompy.MakePipe(wire,
edge)</p>
<p class="whs1">id_wire = geompy.addToStudy(wire,&quot;Wire&quot;)</p>
<p>&nbsp;</p>
<p class="whs1">id_edge = geompy.addToStudy(edge,&quot;Edge&quot;)</p>
<p># add objects in the study</p>
<p class="whs1">id_pipe = geompy.addToStudy(pipe,&quot;Pipe&quot;)</p>
<p class="whs1">id_wire = geompy.addToStudy(wire,&quot;Wire&quot;)</p>
<p>&nbsp;</p>
<p class="whs1">id_edge = geompy.addToStudy(edge,&quot;Edge&quot;)</p>
<p># display the wire, the edge (path) and the pipe</p>
<p class="whs1">id_pipe = geompy.addToStudy(pipe,&quot;Pipe&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
<p>&nbsp;</p>
<p class="whs1">gg.createAndDisplayGO(id_edge)</p>
<p># display the wire, the edge (path) and the pipe</p>
<p class="whs1">gg.createAndDisplayGO(id_pipe)</p>
<p class="whs1">gg.createAndDisplayGO(id_wire)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_pipe,1)</span>
</p> <p class="whs1">gg.createAndDisplayGO(id_edge)</p>
<script type="text/javascript" language="javascript1.2"> <p class="whs1">gg.createAndDisplayGO(id_pipe)</p>
<!--
if (window.writeIntopicBar) <p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_pipe,1)</span>
writeIntopicBar(0); </p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,133 +1,138 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Compound</title> <title>Compound</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; } p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:289px; float:none; border-style:none; } 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; } img_whs5 { border:none; width:195px; height:174px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nCompound"); addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nCompound");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: normal;">T</b>o create writeIntopicBar(4);
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> </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>&nbsp;</p>
<p class="whs2"><b style="font-weight: normal;">T</b>o create
<p class="whs2">You can create a compound from a list of shells. a <span style="font-weight: bold;"><B>Compound </B></span>in the Main Menu select
</p> New Entity - &gt; Build - &gt; <span style="font-weight: bold;"><B>Compound.</B></span></p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p>&nbsp;</p>
Result <span style="font-weight: normal;">will be a</span> </b>GEOM_Object
(COMPOUND).</p> <p class="whs2">You can create a compound from a list of shells.
</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> Result <span style="font-weight: normal;">will be a</span> </b>GEOM_Object
</i><span style="font-style: italic;"><I>geompy.MakeCompound(ListOfShape)</I></span></p> (COMPOUND).</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> <p class="whs2">&nbsp;</p>
Name + List of shapes.</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
<p class="whs2">&nbsp;</p> </i><span style="font-style: italic;"><I>geompy.MakeCompound(ListOfShape)</I></span></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="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + List of shapes.</p>
<p class="whs3">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></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="whs2">&nbsp;</p>
<p class="whs3">&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="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs3">&nbsp;</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#bookmark4">Advanced Geometric <p class="whs3"><img src="pics/compoundsn.png" x-maintain-ratio="TRUE" width="195px" height="174px" border="0" class="img_whs5"></p>
Objects</a>. </p>
<p class="whs3">&nbsp;</p>
<p>&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
<p class="whs3">&nbsp;</p> of creation of <a href="geometrical_objects.htm#bookmark4">Advanced Geometric
Objects</a>. </p>
<p class="whs3">&nbsp;</p>
<p>&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!-- <p class="whs3">&nbsp;</p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p class="whs2">&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,169 +1,166 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Cone</title> <title>Cone</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-weight:bold; } p.whs3 { font-weight:bold; }
img_whs4 { border:none; width:312px; height:402px; float:none; border-style:none; } p.whs4 { margin-left:40px; }
p.whs5 { margin-left:0px; } img_whs5 { border:none; width:312px; height:402px; float:none; border-style:none; }
p.whs6 { font-size:12pt; margin-left:40px; } p.whs6 { font-weight:bold; margin-left:40px; }
img_whs7 { border:none; width:276px; height:282px; float:none; border-style:none; } img_whs7 { border:none; width:312px; height:402px; float:none; border-style:none; }
--> p.whs8 { font-size:12pt; margin-left:40px; }
</style><script type="text/javascript" language="JavaScript"> img_whs9 { border:none; width:276px; height:282px; float:none; border-style:none; }
<!-- -->
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
{ <!--
var strNSS = "<style type='text/css'>"; function reDo() {
strNSS += "p.whs5 {margin-left:1pt; }"; if (innerWidth != origWidth || innerHeight != origHeight)
strNSS +="</style>"; location.reload();
document.write(strNSS); }
} if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
//--> origWidth = innerWidth;
</script> origHeight = innerHeight;
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> onresize = reDo;
<!-- }
function reDo() { onerror = null;
if (innerWidth != origWidth || innerHeight != origHeight) //-->
location.reload(); </script>
} <style type="text/css">
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { <!--
origWidth = innerWidth; div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
origHeight = innerHeight; p.WebHelpNavBar { text-align:right; }
onresize = reDo; -->
} </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
onerror = null; <script type="text/javascript" language="javascript" src="whver.js"></script>
//--> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
</script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<style type="text/css"> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<!-- <script type="text/javascript" language="javascript1.2">
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } <!--
--> if (window.gbWhTopic)
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> {
<script type="text/javascript" language="javascript" src="whver.js"></script> if (window.setRelStartPage)
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> {
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> addTocInfo("Geometry module\nCreating geometrical objects\nCreating Primitives\nCone");
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
</head> addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
<body><script type="text/javascript" language="javascript1.2">
<!-- }
if (window.gbWhTopic)
{
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCone"); setRelStartPage("index.htm");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
autoSync(1);
} sendSyncInfo();
if (window.writeBtnStyle) sendAveInfoOut();
writeBtnStyle(); }
if (window.writeIntopicBar) }
writeIntopicBar(1); else
if (window.gbIE4)
if (window.setRelStartPage) document.location.reload();
{ //-->
setRelStartPage("geom.htm"); </script>
</head>
autoSync(1); <body><script type="text/javascript" language="javascript1.2">
sendSyncInfo(); <!--
sendAveInfoOut(); if (window.writeIntopicBar)
} writeIntopicBar(4);
} //-->
else </script>
if (window.gbIE4) <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>
document.location.reload();
//--> <p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cone</B></span>
</script> in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
<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> style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Cone</B></span></p>
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cone</B></span> <p>&nbsp;</p>
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>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Cone</B></span>.
</p>
<p>&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
<p>There are two algorithms for creation of a <span style="font-weight: bold;"><B>Cone</B></span>. Result <span style="font-weight: normal;">of each operation will be a</span></b>
</p> GEOM_Object (SOLID).</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p>&nbsp;</p>
Result <span style="font-weight: normal;">of each operation will be a</span></b>
GEOM_Object (SOLID).</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
<p>&nbsp;</p> 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
<p>Firstly, you can define a <span style="font-weight: bold;"><B>Cone</B></span> second <span style="font-weight: bold;"><B>Radiuses</B></span>. </p>
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>, <p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point,
the <span style="font-weight: bold;"><B>Height</B></span> and the first and the Axis, Radius1, Radius2)</I></span></p>
second <span style="font-weight: bold;"><B>Radiuses</B></span>. </p>
<p class="whs3"><b style="font-weight: bold;">Arguments:
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point, </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 1 vertex
Axis, Radius1, Radius2)</I></span></p> + 1 vector (for direction) + 3 values (Radius of the base part, radius
of the upper part, height).</font></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 <p class="whs3">&nbsp;</p>
+ 1 vector (for direction) + 3 values (Radius of the base part, radius
of the upper part, height).</font></span></p> <p class="whs4"><img src="pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs5"></p>
<p><img src="pics/cone1.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs4"></p> <p>&nbsp;</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>
<p>Secondly, you can define a <span style="font-weight: bold;"><B>Cone</B></span> and <span style="font-weight: bold;"><B>Radiuses</B></span>. The <span style="font-weight: bold;"><B>Axis</B></span>
with the center at the origin of coordinates by its <span style="font-weight: bold;"><B>Height</B></span> of the <span style="font-weight: bold;"><B>Cone</B></span> will be collinear
and <span style="font-weight: bold;"><B>Radiuses</B></span>. The <span style="font-weight: bold;"><B>Axis</B></span> to the OZ axis of the coordinate system. </p>
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><b style="font-weight: bold;">TUI Command:</b> <span style="font-weight: bold;"><B>geompy.MakeConeR1R2H(Radius1,
Radius2, Height)</B></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="whs3"><b style="font-weight: bold;">Arguments:
</b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 3 values <p class="whs6"><img src="pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs7"></p>
(Radius of the base part, radius of the upper part, height).</font></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs5">&nbsp;&nbsp;<img src="pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs4"></p>
<p><span style="font-weight: bold;"><B>Note:</B></span> If both radiuses are non-zero,
<p>&nbsp;</p> 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>
<p><span style="font-weight: bold;"><B>Note:</B></span> If both radiuses are non-zero, will be created instead. </p>
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> <p>&nbsp;</p>
will be created instead. </p>
<p><b style="font-weight: bold;">Example:</b></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><b style="font-weight: bold;">Example:</b></p>
<p class="whs8"><img src="pics/cones.png" x-maintain-ratio="TRUE" width="276px" height="282px" border="0" class="img_whs9"></p>
<p>&nbsp;</p>
<p class="whs8">&nbsp;</p>
<p class="whs6"><img src="pics/cones.png" x-maintain-ratio="TRUE" width="276px" height="282px" border="0" class="img_whs7"></p>
<p class="whs2">Our TUI Scripts provide you with useful examples
<p class="whs6">&nbsp;</p> of creation of <a href="primitives.htm#bookmark4">Primitives</a>. </p>
<p class="whs2">Our TUI Scripts provide you with useful examples <p>&nbsp;</p>
of creation of <a href="primitives.htm#bookmark4">Primitives</a>. </p>
<script type="text/javascript" language="javascript1.2">
<p>&nbsp;</p> <!--
if (window.writeIntopicBar)
<script type="text/javascript" language="javascript1.2"> writeIntopicBar(0);
<!-- //-->
if (window.writeIntopicBar) </script>
writeIntopicBar(0); </body>
//--> </html>
</script>
</body>
</html>

View File

@ -1,258 +1,258 @@
<html> <html>
<head> <head>
<title>GEOM reference manual</title> <title>Geometry Module Reference Manual</title>
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<meta name="description" content="WebHelp 5.50"> <meta name="description" content="WebHelp 5.50">
</head> </head>
<body> <body>
<script language="JavaScript"> <script language="JavaScript">
<!-- <!--
var gArrayCsh = new Array(); var gArrayCsh = new Array();
var gstrWindowOption = ""; var gstrWindowOption = "";
var gstrURL = ""; var gstrURL = "";
var gbWithNavPane = false; var gbWithNavPane = false;
function CshEntityItem(strAliasId, nTopicNum, strUrl) function CshEntityItem(strAliasId, nTopicNum, strUrl)
{ {
this.strAliasId = strAliasId; this.strAliasId = strAliasId;
this.nTopicNum = nTopicNum; this.nTopicNum = nTopicNum;
this.strUrl = strUrl; this.strUrl = strUrl;
} }
//Try to get to topic number from hash string //Try to get to topic number from hash string
function GetTopicNumberAuto(strMayBeNumber) function GetTopicNumberAuto(strMayBeNumber)
{ {
var nNum = -1; var nNum = -1;
if (strMayBeNumber.length >= 1) if (strMayBeNumber.length >= 1)
{ {
var strTmp = strMayBeNumber; var strTmp = strMayBeNumber;
var iEnd = strTmp.length; var iEnd = strTmp.length;
for (var i=0; i<iEnd; i++) for (var i=0; i<iEnd; i++)
{ {
var ch = strTmp.charAt(i); var ch = strTmp.charAt(i);
if (!((ch == "0") || (ch == "1") || if (!((ch == "0") || (ch == "1") ||
(ch == "2") || (ch == "3") || (ch == "2") || (ch == "3") ||
(ch == "4") || (ch == "5") || (ch == "4") || (ch == "5") ||
(ch == "6") || (ch == "7") || (ch == "6") || (ch == "7") ||
(ch == "8") || (ch == "9"))) (ch == "8") || (ch == "9")))
return GetTopicNumberById(strTmp); return GetTopicNumberById(strTmp);
} }
nNum = parseInt(strTmp); nNum = parseInt(strTmp);
} }
return nNum; return nNum;
} }
function GetTopicNumber(strHashString) function GetTopicNumber(strHashString)
{ {
var nTopicEndPos = strHashString.indexOf(',') var nTopicEndPos = strHashString.indexOf(',')
if (nTopicEndPos == -1) { // no window option. if (nTopicEndPos == -1) { // no window option.
return GetTopicNumberOnly(strHashString); return GetTopicNumberOnly(strHashString);
} }
else { else {
var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length); var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);
var strWithNavPane = 'withnavpane=true'; var strWithNavPane = 'withnavpane=true';
if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0) if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)
{ {
if (strWindowOption.length > strWithNavPane.length) if (strWindowOption.length > strWithNavPane.length)
gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1); gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);
else else
gstrWindowOption = ""; gstrWindowOption = "";
gbWithNavPane = true; gbWithNavPane = true;
} }
else else
gstrWindowOption = strWindowOption; gstrWindowOption = strWindowOption;
return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos)); return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));
} }
} }
function GetTopicNumberOnly(strTopicString) function GetTopicNumberOnly(strTopicString)
{ {
var nEqualPos = strTopicString.indexOf('='); var nEqualPos = strTopicString.indexOf('=');
if (nEqualPos == -1) { if (nEqualPos == -1) {
return GetTopicNumberAuto(strTopicString); return GetTopicNumberAuto(strTopicString);
} }
else { else {
var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length); var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);
if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) { if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {
return parseInt(strValue); return parseInt(strValue);
} else if (strTopicString.toLowerCase().indexOf("context") == 0) { } else if (strTopicString.toLowerCase().indexOf("context") == 0) {
return GetTopicNumberById(strValue); return GetTopicNumberById(strValue);
} else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) { } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {
gstrURL = strValue; gstrURL = strValue;
return -1; return -1;
} }
} }
} }
//Find HomePage of the WebHelp system //Find HomePage of the WebHelp system
// we try to get the topic from remote project if it exists. // we try to get the topic from remote project if it exists.
function RedirectToHomePage() function RedirectToHomePage()
{ {
if (parent && parent != this && parent.goNext) if (parent && parent != this && parent.goNext)
{ {
var sHome = parent.goNext(); var sHome = parent.goNext();
if (sHome != "") if (sHome != "")
RedirectTo(sHome); RedirectTo(sHome);
} }
} }
function getHomePage() function getHomePage()
{ {
if (parent && parent != this && parent.getRelHomePage) if (parent && parent != this && parent.getRelHomePage)
{ {
return parent.getRelHomePage(document.location.href); return parent.getRelHomePage(document.location.href);
} }
return ""; return "";
} }
function addRemoteProject(strPath) function addRemoteProject(strPath)
{ {
if (parent && parent != this && parent.addProject) if (parent && parent != this && parent.addProject)
{ {
parent.addProject(strPath); parent.addProject(strPath);
} }
} }
//Redirect page to... //Redirect page to...
function RedirectTo(strUrl) function RedirectTo(strUrl)
{ {
if (gstrWindowOption.length != 0) { if (gstrWindowOption.length != 0) {
var wnd = window.open(strUrl, "HelpStub", gstrWindowOption); var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);
// close current window and rename the stub window to current window. // close current window and rename the stub window to current window.
if (wnd) if (wnd)
wnd.focus(); wnd.focus();
if (parent) if (parent)
parent.close(); parent.close();
} }
else { else {
parent.document.location.href = strUrl; parent.document.location.href = strUrl;
window.focus(); window.focus();
} }
} }
//Prompt the user that we can not find... //Prompt the user that we can not find...
function FailToFind(strMsg) function FailToFind(strMsg)
{ {
RedirectToHomePage(); RedirectToHomePage();
} }
//Find topic by topic number (defined in h file) //Find topic by topic number (defined in h file)
function FindTopicByTopicNum(nTopicNum) function FindTopicByTopicNum(nTopicNum)
{ {
var i = 0; var i = 0;
var iEnd = gArrayCsh.length; var iEnd = gArrayCsh.length;
for (i=0; i<iEnd; i++) for (i=0; i<iEnd; i++)
{ {
if (gArrayCsh[i].nTopicNum == nTopicNum) if (gArrayCsh[i].nTopicNum == nTopicNum)
{ {
var strURL = gArrayCsh[i].strUrl; var strURL = gArrayCsh[i].strUrl;
if (gbWithNavPane) if (gbWithNavPane)
{ {
var strHomePage = getHomePage(); var strHomePage = getHomePage();
if (strHomePage.length != 0) if (strHomePage.length != 0)
strURL = strHomePage + strURL; strURL = strHomePage + strURL;
} }
RedirectTo(strURL); RedirectTo(strURL);
return true; return true;
} }
} }
FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum); FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);
return false; return false;
} }
var oldPrefix = "HelpIdFromHTMLHelp_" var oldPrefix = "HelpIdFromHTMLHelp_"
//Find topic by topic id (alias id defined in ali file) //Find topic by topic id (alias id defined in ali file)
function GetTopicNumberById(strTopicId) function GetTopicNumberById(strTopicId)
{ {
if (strTopicId.indexOf(oldPrefix) == 0) if (strTopicId.indexOf(oldPrefix) == 0)
{ {
strTopicId = strTopicId.substring(oldPrefix.length); strTopicId = strTopicId.substring(oldPrefix.length);
} }
var i = 0; var i = 0;
var iEnd = gArrayCsh.length; var iEnd = gArrayCsh.length;
for (i=0; i<iEnd; i++) for (i=0; i<iEnd; i++)
{ {
if (gArrayCsh[i].strAliasId.toLowerCase() == strTopicId.toLowerCase()) if (gArrayCsh[i].strAliasId.toLowerCase() == strTopicId.toLowerCase())
{ {
return gArrayCsh[i].nTopicNum; return gArrayCsh[i].nTopicNum;
} }
} }
gstrURL = ""; gstrURL = "";
return -1; return -1;
} }
//Set Context-sensitive help entity... //Set Context-sensitive help entity...
function SetCsh(n, strAliasId, nTopicNum, strUrl) function SetCsh(n, strAliasId, nTopicNum, strUrl)
{ {
gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl); gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);
} }
function getHash() function getHash()
{ {
if (parent && parent != this) if (parent && parent != this)
return parent.location.hash; return parent.location.hash;
else else
return ""; return "";
} }
//--> //-->
</script> </script>
<script language="javascript"> <script language="javascript">
<!-- <!--
//--> //-->
</script> </script>
<script language="javascript"> <script language="javascript">
<!-- <!--
//Find CSH according to hash string after this page //Find CSH according to hash string after this page
if (getHash().length > 0) if (getHash().length > 0)
{ {
// VH 05/16/00 now support // VH 05/16/00 now support
// TopicID= // TopicID=
// TopicNumber= // TopicNumber=
// RemoteURL= // RemoteURL=
// and WindowsOptions // and WindowsOptions
// with the format #a=xxx,b=xxx,c=xxx... // with the format #a=xxx,b=xxx,c=xxx...
var strHashString = getHash().toString(); 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. // 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. // so here need to change it back.
strHashString = strHashString.substring(1,strHashString.length); strHashString = strHashString.substring(1,strHashString.length);
strHashString = strHashString.replace("%072%057%057", "://"); strHashString = strHashString.replace("%072%057%057", "://");
var nTopicNum = GetTopicNumber(strHashString); var nTopicNum = GetTopicNumber(strHashString);
if (nTopicNum != -1) if (nTopicNum != -1)
{ {
FindTopicByTopicNum(nTopicNum); FindTopicByTopicNum(nTopicNum);
} }
else else
{ {
if (gstrURL.length > 0) if (gstrURL.length > 0)
RedirectTo(gstrURL); RedirectTo(gstrURL);
else else
RedirectToHomePage(); RedirectToHomePage();
} }
} }
else else
{ {
RedirectToHomePage(); RedirectToHomePage();
} }
//--> //-->
</script> </script>
<noscript> <noscript>
<p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p> <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>
</noscript> </noscript>
</body> </body>
</html> </html>

View File

@ -1,251 +1,251 @@
<html> <html>
<head> <head>
<title>GEOM reference manual</title> <title>Geometry Module Reference Manual</title>
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<meta name="description" content="WebHelp 5.50"> <meta name="description" content="WebHelp 5.50">
</head> </head>
<body> <body>
<script language="JavaScript"> <script language="JavaScript">
<!-- <!--
var gArrayCsh = new Array(); var gArrayCsh = new Array();
var gstrWindowOption = ""; var gstrWindowOption = "";
var gstrURL = ""; var gstrURL = "";
var gbWithNavPane = false; var gbWithNavPane = false;
function CshEntityItem(strAliasId, nTopicNum, strUrl) function CshEntityItem(strAliasId, nTopicNum, strUrl)
{ {
this.strAliasId = strAliasId; this.strAliasId = strAliasId;
this.nTopicNum = nTopicNum; this.nTopicNum = nTopicNum;
this.strUrl = strUrl; this.strUrl = strUrl;
} }
//Try to get to topic number from hash string //Try to get to topic number from hash string
function GetTopicNumberAuto(strMayBeNumber) function GetTopicNumberAuto(strMayBeNumber)
{ {
var nNum = -1; var nNum = -1;
if (strMayBeNumber.length >= 1) if (strMayBeNumber.length >= 1)
{ {
var strTmp = strMayBeNumber; var strTmp = strMayBeNumber;
var iEnd = strTmp.length; var iEnd = strTmp.length;
for (var i=0; i<iEnd; i++) for (var i=0; i<iEnd; i++)
{ {
var ch = strTmp.charAt(i); var ch = strTmp.charAt(i);
if (!((ch == "0") || (ch == "1") || if (!((ch == "0") || (ch == "1") ||
(ch == "2") || (ch == "3") || (ch == "2") || (ch == "3") ||
(ch == "4") || (ch == "5") || (ch == "4") || (ch == "5") ||
(ch == "6") || (ch == "7") || (ch == "6") || (ch == "7") ||
(ch == "8") || (ch == "9"))) (ch == "8") || (ch == "9")))
return GetTopicNumberById(strTmp); return GetTopicNumberById(strTmp);
} }
nNum = parseInt(strTmp); nNum = parseInt(strTmp);
} }
return nNum; return nNum;
} }
function GetTopicNumber(strHashString) function GetTopicNumber(strHashString)
{ {
var nTopicEndPos = strHashString.indexOf(',') var nTopicEndPos = strHashString.indexOf(',')
if (nTopicEndPos == -1) { // no window option. if (nTopicEndPos == -1) { // no window option.
return GetTopicNumberOnly(strHashString); return GetTopicNumberOnly(strHashString);
} }
else { else {
var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length); var strWindowOption = strHashString.substring(nTopicEndPos + 1, strHashString.length);
var strWithNavPane = 'withnavpane=true'; var strWithNavPane = 'withnavpane=true';
if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0) if (strWindowOption.toLowerCase().indexOf(strWithNavPane) == 0)
{ {
if (strWindowOption.length > strWithNavPane.length) if (strWindowOption.length > strWithNavPane.length)
gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1); gstrWindowOption = strWindowOption.substring(strWithNavPane.length + 1);
else else
gstrWindowOption = ""; gstrWindowOption = "";
gbWithNavPane = true; gbWithNavPane = true;
} }
else else
gstrWindowOption = strWindowOption; gstrWindowOption = strWindowOption;
return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos)); return GetTopicNumberOnly(strHashString.substring(0, nTopicEndPos));
} }
} }
function GetTopicNumberOnly(strTopicString) function GetTopicNumberOnly(strTopicString)
{ {
var nEqualPos = strTopicString.indexOf('='); var nEqualPos = strTopicString.indexOf('=');
if (nEqualPos == -1) { if (nEqualPos == -1) {
return GetTopicNumberAuto(strTopicString); return GetTopicNumberAuto(strTopicString);
} }
else { else {
var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length); var strValue=strTopicString.substring(nEqualPos + 1, strTopicString.length);
if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) { if (strTopicString.toLowerCase().indexOf("topicnumber") == 0) {
return parseInt(strValue); return parseInt(strValue);
} else if (strTopicString.toLowerCase().indexOf("topicid") == 0) { } else if (strTopicString.toLowerCase().indexOf("topicid") == 0) {
return GetTopicNumberById(strValue); return GetTopicNumberById(strValue);
} else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) { } else if (strTopicString.toLowerCase().indexOf("remoteurl") == 0) {
gstrURL = strValue; gstrURL = strValue;
return -1; return -1;
} }
} }
} }
//Find HomePage of the WebHelp system //Find HomePage of the WebHelp system
// we try to get the topic from remote project if it exists. // we try to get the topic from remote project if it exists.
function RedirectToHomePage() function RedirectToHomePage()
{ {
if (parent && parent != this && parent.goNext) if (parent && parent != this && parent.goNext)
{ {
var sHome = parent.goNext(); var sHome = parent.goNext();
if (sHome != "") if (sHome != "")
RedirectTo(sHome); RedirectTo(sHome);
} }
} }
function getHomePage() function getHomePage()
{ {
if (parent && parent != this && parent.getRelHomePage) if (parent && parent != this && parent.getRelHomePage)
{ {
return parent.getRelHomePage(document.location.href); return parent.getRelHomePage(document.location.href);
} }
return ""; return "";
} }
function addRemoteProject(strPath) function addRemoteProject(strPath)
{ {
if (parent && parent != this && parent.addProject) if (parent && parent != this && parent.addProject)
{ {
parent.addProject(strPath); parent.addProject(strPath);
} }
} }
//Redirect page to... //Redirect page to...
function RedirectTo(strUrl) function RedirectTo(strUrl)
{ {
if (gstrWindowOption.length != 0) { if (gstrWindowOption.length != 0) {
var wnd = window.open(strUrl, "HelpStub", gstrWindowOption); var wnd = window.open(strUrl, "HelpStub", gstrWindowOption);
// close current window and rename the stub window to current window. // close current window and rename the stub window to current window.
wnd.focus(); wnd.focus();
if (parent) if (parent)
parent.close(); parent.close();
} }
else { else {
parent.document.location.href = strUrl; parent.document.location.href = strUrl;
window.focus(); window.focus();
} }
} }
//Prompt the user that we can not find... //Prompt the user that we can not find...
function FailToFind(strMsg) function FailToFind(strMsg)
{ {
RedirectToHomePage(); RedirectToHomePage();
} }
//Find topic by topic number (defined in h file) //Find topic by topic number (defined in h file)
function FindTopicByTopicNum(nTopicNum) function FindTopicByTopicNum(nTopicNum)
{ {
var i = 0; var i = 0;
var iEnd = gArrayCsh.length; var iEnd = gArrayCsh.length;
for (i=0; i<iEnd; i++) for (i=0; i<iEnd; i++)
{ {
if (gArrayCsh[i].nTopicNum == nTopicNum) if (gArrayCsh[i].nTopicNum == nTopicNum)
{ {
var strURL = gArrayCsh[i].strUrl; var strURL = gArrayCsh[i].strUrl;
if (gbWithNavPane) if (gbWithNavPane)
{ {
var strHomePage = getHomePage(); var strHomePage = getHomePage();
if (strHomePage.length != 0) if (strHomePage.length != 0)
strURL = strHomePage + strURL; strURL = strHomePage + strURL;
} }
RedirectTo(strURL); RedirectTo(strURL);
return true; return true;
} }
} }
FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum); FailToFind("Fail to find topic assocaite with topic number: " + nTopicNum);
return false; return false;
} }
//Find topic by topic id (alias id defined in ali file) //Find topic by topic id (alias id defined in ali file)
function GetTopicNumberById(strTopicId) function GetTopicNumberById(strTopicId)
{ {
var i = 0; var i = 0;
var iEnd = gArrayCsh.length; var iEnd = gArrayCsh.length;
for (i=0; i<iEnd; i++) for (i=0; i<iEnd; i++)
{ {
if (gArrayCsh[i].strAliasId == strTopicId) if (gArrayCsh[i].strAliasId == strTopicId)
{ {
return gArrayCsh[i].nTopicNum; return gArrayCsh[i].nTopicNum;
} }
} }
gstrURL = ""; gstrURL = "";
return -1; return -1;
} }
//Set Context-sensitive help entity... //Set Context-sensitive help entity...
function SetCsh(n, strAliasId, nTopicNum, strUrl) function SetCsh(n, strAliasId, nTopicNum, strUrl)
{ {
gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl); gArrayCsh[n] = new CshEntityItem(strAliasId,nTopicNum,strUrl);
} }
function getHash() function getHash()
{ {
if (parent && parent != this) if (parent && parent != this)
return parent.location.hash; return parent.location.hash;
else else
return ""; return "";
} }
//--> //-->
</script> </script>
<script language="javascript"> <script language="javascript">
<!-- <!--
//--> //-->
</script> </script>
<script language="javascript"> <script language="javascript">
<!-- <!--
//Find CSH according to hash string after this page //Find CSH according to hash string after this page
if (getHash().length > 0) if (getHash().length > 0)
{ {
// VH 05/16/00 now support // VH 05/16/00 now support
// TopicID= // TopicID=
// TopicNumber= // TopicNumber=
// RemoteURL= // RemoteURL=
// and WindowsOptions // and WindowsOptions
// with the format #a=xxx,b=xxx,c=xxx... // with the format #a=xxx,b=xxx,c=xxx...
var strHashString = getHash().toString(); 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. // 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. // so here need to change it back.
strHashString = strHashString.substring(1,strHashString.length); strHashString = strHashString.substring(1,strHashString.length);
strHashString = strHashString.replace("%072%057%057", "://"); strHashString = strHashString.replace("%072%057%057", "://");
var nTopicNum = GetTopicNumber(strHashString); var nTopicNum = GetTopicNumber(strHashString);
if (nTopicNum != -1) if (nTopicNum != -1)
{ {
FindTopicByTopicNum(nTopicNum); FindTopicByTopicNum(nTopicNum);
} }
else else
{ {
if (gstrURL.length > 0) if (gstrURL.length > 0)
RedirectTo(gstrURL); RedirectTo(gstrURL);
else else
RedirectToHomePage(); RedirectToHomePage();
} }
} }
else else
{ {
RedirectToHomePage(); RedirectToHomePage();
} }
//--> //-->
</script> </script>
<noscript> <noscript>
<p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p> <p> Your browser does not support JavaScript. WebHelp Context-Sensitive Help requires JavaScript support to run.</p>
</noscript> </noscript>
</body> </body>
</html> </html>

View File

@ -1,162 +1,168 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Curve</title> <title>Curve</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { border:none; width:20px; height:20px; border-style:none; } img_whs1 { border:none; width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
ul.whs3 { list-style:disc; } ul.whs3 { list-style:disc; }
p.whs4 { font-size:12pt; font-style:italic; } p.whs4 { font-size:12pt; font-style:italic; }
img_whs5 { border:none; width:312px; height:289px; float:none; border-style:none; } p.whs5 { font-size:12pt; font-style:italic; margin-left:40px; }
p.whs6 { font-size:12pt; font-style:normal; font-weight:bold; } img_whs6 { border:none; width:312px; height:289px; float:none; border-style:none; }
p.whs7 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; } p.whs7 { font-size:12pt; font-style:normal; font-weight:bold; }
img_whs8 { border:none; float:none; width:310px; height:308px; border-style:none; } p.whs8 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }
img_whs9 { border:none; width:313px; height:310px; float:none; border-style:none; } img_whs9 { border:none; float:none; width:310px; height:308px; border-style:none; }
img_whs10 { border:none; float:none; width:291px; height:313px; border-style:none; } img_whs10 { border:none; width:313px; height:310px; float:none; border-style:none; }
p.whs11 { font-size:12pt; margin-left:40px; } 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"> -->
<!-- </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
function reDo() { <!--
if (innerWidth != origWidth || innerHeight != origHeight) function reDo() {
location.reload(); if (innerWidth != origWidth || innerHeight != origHeight)
} location.reload();
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { }
origWidth = innerWidth; if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origHeight = innerHeight; origWidth = innerWidth;
onresize = reDo; origHeight = innerHeight;
} onresize = reDo;
onerror = null; }
//--> onerror = null;
</script> //-->
<style type="text/css"> </script>
<!-- <style type="text/css">
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } <!--
--> div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> p.WebHelpNavBar { text-align:right; }
<script type="text/javascript" language="javascript" src="whver.js"></script> -->
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<!-- <script type="text/javascript" language="javascript1.2">
if (window.gbWhTopic) <!--
{ if (window.gbWhTopic)
if (window.addTocInfo) {
{ if (window.setRelStartPage)
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nCurve"); {
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle)
writeBtnStyle(); }
if (window.writeIntopicBar)
writeIntopicBar(1); if (window.setRelStartPage)
{
if (window.setRelStartPage) setRelStartPage("index.htm");
{
setRelStartPage("geom.htm"); autoSync(1);
sendSyncInfo();
autoSync(1); sendAveInfoOut();
sendSyncInfo(); }
sendAveInfoOut();
} }
} else
else if (window.gbIE4)
if (window.gbIE4) document.location.reload();
document.location.reload(); //-->
//--> </script>
</script> </head>
<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> <body><script type="text/javascript" language="javascript1.2">
<!--
<p>To create a <span style="font-weight: bold;"><B>Curve</B></span> in the <span if (window.writeIntopicBar)
style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New writeIntopicBar(4);
Entity - &gt; Basic - &gt; Curve</B></span></p> //-->
</script>
<p>&nbsp;</p> <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>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create <p>To create a <span style="font-weight: bold;"><B>Curve</B></span> in the <span
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-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> in the 3D space. Each time you define it by Entity - &gt; Basic - &gt; Curve</B></span></p>
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 <p>&nbsp;</p>
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 <p>There are three algorithms to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">create
of curves: Polyline, Besier or B-spline (Interpolated). </font></span></p> 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
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span 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-weight: normal;">The</span> Result <span style="font-weight: normal;">of style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> through which the curve passes. The three </font></span><span
each operation will be a</span></b> GEOM_Object (edge).</font></span></p> 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
<p>&nbsp;</p> of curves: Polyline, Besier or B-spline (Interpolated). </font></span></p>
<p class="whs2"><b style="font-weight: bold;">TUI Commands:</b> <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
</p> 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>
<ul type="disc" class="whs3">
<p>&nbsp;</p>
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span></p></li>
<p class="whs2"><b style="font-weight: bold;">TUI Commands:</b>
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span></p></li> </p>
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span></p></li> <ul type="disc" class="whs3">
</ul>
<li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span></p></li>
<p class="whs2">ListOfShape is a list of points through which
the curve passes.</p> <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span></p></li>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> <li class=kadov-p><p class="whs2"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span></p></li>
Name + at least 2 points which will serve as nodes on the curve.</font></span></p> </ul>
<p class="whs4">&nbsp;</p> <p class="whs2">ListOfShape is a list of points through which
the curve passes.</p>
<p class="whs4"><img src="pics/curve.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs5"> </p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
<p class="whs4">&nbsp;</p> Name + at least 2 points which will serve as nodes on the curve.</font></span></p>
<p class="whs6">Examples:</p> <p class="whs4">&nbsp;</p>
<p class="whs2">&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="whs7">Polyline <p class="whs4">&nbsp;</p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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; <p class="whs7">Examples:</p>
font-weight: bold;
font-style: italic; <p class="whs2">&nbsp;</p>
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 <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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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;
<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> font-weight: bold;
font-style: italic;
<p class="whs11">&nbsp;</p> 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
<p class="whs2">Our TUI Scripts provide you with useful examples &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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>
of creation of <a href="basic_geometrical_objects.htm#bookmark4">Basic
Geometric Objects</a>. </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>&nbsp;</p> <p class="whs12">&nbsp;</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#bookmark4">Basic
<script type="text/javascript" language="javascript1.2"> Geometric Objects</a>. </p>
<!--
if (window.writeIntopicBar) <p>&nbsp;</p>
writeIntopicBar(0);
//--> <p class="whs2">&nbsp;</p>
</script>
</body> <script type="text/javascript" language="javascript1.2">
</html> <!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,138 +1,144 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Cut</title> <title>Cut</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; } 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; } 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_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_whs6 { border:none; border-style:none; width:253px; height:266px; float:none; }
img_whs7 { border:none; border-style:none; width:231px; height:267px; float:none; } img_whs7 { border:none; width:231px; height:267px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; 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.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
//--> //-->
</script> </script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nCut"); addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nCut");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: normal;">T</b>o produce writeIntopicBar(4);
a <span style="font-weight: bold;"><B>Cut</B></span> in the Main Menu select //-->
<span style="font-weight: bold;"><B>Operations - &gt; Boolean - &gt; Cut</B></span></p> </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>&nbsp;</p>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
<p class="whs3">This operation cuts a shape with another a <span style="font-weight: bold;"><B>Cut</B></span> operation in the Main Menu
one.</p> select <span style="font-weight: bold;"><B>Operations - &gt; Boolean - &gt;
Cut</B></span></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 <p>&nbsp;</p>
(COMPOUND).</p>
<p class="whs3">This operation cuts a shape with another
<p class="whs3"><b style="font-weight: bold;">Arguments:</b> one.</p>
Name + 2 shapes.</p>
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
<p class="whs3">&nbsp;</p> Result <span style="font-weight: normal;">will be a</span> </b>&nbsp;GEOM_Object
(COMPOUND).</p>
<p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs3"><b style="font-weight: bold;">Arguments:</b>
<p class="whs3">&nbsp;</p> Name + 2 shapes.</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="whs3">&nbsp;</p>
<p class="whs4">&nbsp;</p> <p class="whs3"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs3"><b style="font-weight: bold;">Example:</b></p> <p class="whs3">&nbsp;</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"><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="whs4">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples <p class="whs3"><b style="font-weight: bold;">Example:</b></p>
of the use of <a href="boolean_operations.htm#bookmark3">Boolean Operations</a>.
</p> <p class="whs3">&nbsp;</p>
<p>&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>
<script type="text/javascript" language="javascript1.2"> <p class="whs2">Our TUI Scripts provide you with useful examples
<!-- of the use of <a href="boolean_operations.htm#bookmark3">Boolean Operations</a>.
if (window.writeIntopicBar) </p>
writeIntopicBar(0);
//--> <p>&nbsp;</p>
</script>
</body> <script type="text/javascript" language="javascript1.2">
</html> <!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,160 +1,168 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Cylinder</title> <title>Cylinder</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-weight:bold; } p.whs3 { font-weight:bold; }
img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; } p.whs4 { margin-left:40px; }
p.whs5 { margin-left:0px; } img_whs5 { border:none; width:312px; height:376px; float:none; border-style:none; }
p.whs6 { margin-left:40px; } img_whs6 { border:none; width:312px; height:376px; border-style:none; float:none; }
img_whs7 { border:none; width:287px; height:272px; float:none; border-style: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"> -->
<!-- </style><script type="text/javascript" language="JavaScript">
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) <!--
{ if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
var strNSS = "<style type='text/css'>"; {
strNSS += "p.whs5 {margin-left:1pt; }"; var strNSS = "<style type='text/css'>";
strNSS +="</style>"; strNSS += "p.whs7 {margin-left:1pt; }";
document.write(strNSS); strNSS +="</style>";
} document.write(strNSS);
//--> }
</script> //-->
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </script>
<!-- <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
function reDo() { <!--
if (innerWidth != origWidth || innerHeight != origHeight) function reDo() {
location.reload(); if (innerWidth != origWidth || innerHeight != origHeight)
} location.reload();
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { }
origWidth = innerWidth; if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origHeight = innerHeight; origWidth = innerWidth;
onresize = reDo; origHeight = innerHeight;
} onresize = reDo;
onerror = null; }
//--> onerror = null;
</script> //-->
<style type="text/css"> </script>
<!-- <style type="text/css">
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } <!--
--> div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> p.WebHelpNavBar { text-align:right; }
<script type="text/javascript" language="javascript" src="whver.js"></script> -->
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<!-- <script type="text/javascript" language="javascript1.2">
if (window.gbWhTopic) <!--
{ if (window.gbWhTopic)
if (window.addTocInfo) {
{ if (window.setRelStartPage)
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Primitives\nCylinder"); {
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle)
writeBtnStyle(); }
if (window.writeIntopicBar)
writeIntopicBar(1); if (window.setRelStartPage)
{
if (window.setRelStartPage) setRelStartPage("index.htm");
{
setRelStartPage("geom.htm"); autoSync(1);
sendSyncInfo();
autoSync(1); sendAveInfoOut();
sendSyncInfo(); }
sendAveInfoOut();
} }
} else
else if (window.gbIE4)
if (window.gbIE4) document.location.reload();
document.location.reload(); //-->
//--> </script>
</script> </head>
<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> <body><script type="text/javascript" language="javascript1.2">
<!--
<p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cylinder</B></span> if (window.writeIntopicBar)
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span writeIntopicBar(4);
style="font-weight: bold;"><B>New Entity - &gt; Primitives - &gt; Cylinder</B></span></p> //-->
</script>
<p>&nbsp;</p> <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>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Cylinder</B></span>. <p><b><span style="font-weight: normal;">T</b>o</span> create a <span style="font-weight: bold;"><B>Cylinder</B></span>
</p> 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 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> <p>&nbsp;</p>
GEOM_Object (SOLID).</p>
<p>There are 2 algorithms for creation of a <span style="font-weight: bold;"><B>Cylinder</B></span>.
<p class="whs2">&nbsp;</p> </p>
<p class="whs2">Firstly, you can define a <span style="font-weight: bold;"><B>Cylinder</B></span> <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
by the <span style="font-weight: bold;"><B>Base Point</B></span> (the central Result <span style="font-weight: normal;">of each operation will be a</span></b>
point of the cylinder base), the <span style="font-weight: bold;"><B>Vector</B></span> GEOM_Object (SOLID).</p>
(the axis of the cylinder), and its dimensions: the Radius and the Height.</p>
<p class="whs2">&nbsp;</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="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
<p class="whs3"><b style="font-weight: bold;">Arguments: point of the cylinder base), the <span style="font-weight: bold;"><B>Vector</B></span>
<span style="font-weight: normal;">&nbsp;</span></b><span (the axis of the cylinder), and its dimensions: the Radius and the Height.</p>
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><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCylinder(Point,
Axis, Radius, Height)</I></span>, </p>
<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>
<p class="whs3"><b style="font-weight: bold;">Arguments:
<p>&nbsp;</p> <span style="font-weight: normal;">&nbsp;</span></b><span
style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name
<p><b><span style="font-weight: normal;">Secondly, you can define</b> a + 1 vertex + 1 vector + 2 values (Dimensions: radius and height).</font></span></p>
</span><span style="font-weight: bold;"><B>Cylinder</B></span> by the given radius
and the height at &nbsp;the <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>
origin of coordinate system. The axis of the cylinder will be collinear
to the OZ axis of the coordinate system. </p> <p>&nbsp;</p>
<p><b style="font-weight: bold;">TUI Command: </b><span style="font-style: italic;"><I>geompy.MakeCylinderRH(Radius, <p><b><span style="font-weight: normal;">Secondly, you can define</b> a
Height)</I></span></p> </span><span style="font-weight: bold;"><B>Cylinder</B></span> by the given radius
and the height at &nbsp;the
<p><span><b style="font-weight: bold;">Arguments</span>: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name origin of coordinate system. The axis of the cylinder will be collinear
+ </font></span>2 values (Dimensions at origin: radius and height).</p> to the OZ axis of the coordinate system. </p>
<p class="whs5">&nbsp;&nbsp;<img src="pics/cylinder2.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p> <p><b style="font-weight: bold;">TUI Command: </b><span style="font-style: italic;"><I>geompy.MakeCylinderRH(Radius,
Height)</I></span></p>
<p>&nbsp;</p>
<p><b>Arguments: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + </font></span>2 values
<p><b style="font-weight: bold;">Example:</b></p> (Dimensions at origin: radius and height).</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p class="whs6"><img src="pics/cylinders.png" x-maintain-ratio="TRUE" width="287px" height="272px" border="0" class="img_whs7"></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="whs6">&nbsp;</p> <p class="whs7">&nbsp;&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples <p><b style="font-weight: bold;">Example:</b></p>
of creation of <a href="primitives.htm#bookmark1">Primitives</a>. </p>
<p>&nbsp;</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>
<script type="text/javascript" language="javascript1.2">
<!-- <p class="whs4">&nbsp;</p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p class="whs2">Our TUI Scripts provide you with useful examples
//--> of creation of <a href="primitives.htm#bookmark1">Primitives</a>. </p>
</script>
</body> <p>&nbsp;</p>
</html>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,101 +1,101 @@
BODY { BODY {
background-color:#ffffff; background-color:#ffffff;
font-family:"Times New Roman" , serif; } font-family:"Times New Roman" , serif; }
H1 { H1 {
font-weight:bold; font-weight:bold;
font-size:24.0pt; } font-size:24.0pt; }
LI.kadov-H1 { LI.kadov-H1 {
font-weight:bold; font-weight:bold;
font-size:24.0pt; } font-size:24.0pt; }
H2 { H2 {
font-weight:bold; font-weight:bold;
font-size:18.0pt; } font-size:18.0pt; }
LI.kadov-H2 { LI.kadov-H2 {
font-weight:bold; font-weight:bold;
font-size:18.0pt; } font-size:18.0pt; }
H3 { H3 {
font-weight:bold; font-weight:bold;
font-size:14.0pt; } font-size:14.0pt; }
LI.kadov-H3 { LI.kadov-H3 {
font-weight:bold; font-weight:bold;
font-size:14.0pt; } font-size:14.0pt; }
H4 { H4 {
font-weight:bold; font-weight:bold;
font-size:12.0pt; } font-size:12.0pt; }
LI.kadov-H4 { LI.kadov-H4 {
font-weight:bold; font-weight:bold;
font-size:12.0pt; } font-size:12.0pt; }
H5 { H5 {
font-weight:bold; font-weight:bold;
font-size:10.0pt; } font-size:10.0pt; }
LI.kadov-H5 { LI.kadov-H5 {
font-weight:bold; font-weight:bold;
font-size:10.0pt; } font-size:10.0pt; }
H6 { H6 {
font-weight:bold; font-weight:bold;
font-size:8.0pt; } font-size:8.0pt; }
LI.kadov-H6 { LI.kadov-H6 {
font-weight:bold; font-weight:bold;
font-size:8.0pt; } font-size:8.0pt; }
P { P {
font-size:12.0pt; font-size:12.0pt;
margin-top:0pt; margin-top:0pt;
margin-bottom:0pt; } margin-bottom:0pt; }
LI.kadov-P { LI.kadov-P {
font-size:12.0pt; } font-size:12.0pt; }
A.expandspot { A.expandspot {
color:#008000; color:#008000;
cursor:hand; cursor:hand;
font-style:italic; font-style:italic;
x-text-underline:off; x-text-underline:off;
x-text-overline:off; x-text-overline:off;
x-text-line-through:off; x-text-line-through:off;
text-decoration:none none none; } text-decoration:none none none; }
SPAN.expandtext { SPAN.expandtext {
font-style:italic; font-style:italic;
font-weight:normal; font-weight:normal;
color:#ff0000; } color:#ff0000; }
A.dropspot { A.dropspot {
cursor:hand; cursor:hand;
color:#008000; color:#008000;
font-style:italic; font-style:italic;
x-text-underline:off; x-text-underline:off;
x-text-overline:off; x-text-overline:off;
x-text-line-through:off; x-text-line-through:off;
text-decoration:none none none; } text-decoration:none none none; }
A.glossterm { A.glossterm {
color:#800000; color:#800000;
cursor:hand; cursor:hand;
font-style:italic; font-style:italic;
x-text-underline:off; x-text-underline:off;
x-text-overline:off; x-text-overline:off;
x-text-line-through:off; x-text-line-through:off;
text-decoration:none none none; } text-decoration:none none none; }
SPAN.glosstext { SPAN.glosstext {
font-style:italic; font-style:italic;
font-weight:normal; font-weight:normal;
color:#0000ff; } color:#0000ff; }
OL { OL {
margin-top:0px; margin-top:0px;
margin-bottom:0px; } margin-bottom:0px; }
UL { UL {
margin-top:0px; margin-top:0px;
margin-bottom:0px; } margin-bottom:0px; }
A:active { } A:active { }
A:hover { A:hover {
x-text-underline:Off; x-text-underline:Off;
text-decoration:none; } text-decoration:none; }
A:link { A:link {
x-text-underline:Off; x-text-underline:Off;
text-decoration:none; } text-decoration:none; }
A:visited { A:visited {
x-text-underline:Off; x-text-underline:Off;
text-decoration:none; } text-decoration:none; }
P.TODO { P.TODO {
font-weight:normal; font-weight:normal;
font-style:italic; font-style:italic;
font-family:"Arial Black" , sans-serif; } font-family:"Arial Black" , sans-serif; }
LI.kadov-P-CTODO { LI.kadov-P-CTODO {
font-weight:normal; font-weight:normal;
font-style:italic; font-style:italic;
font-family:"Arial Black" , sans-serif; } font-family:"Arial Black" , sans-serif; }

View File

@ -1,118 +1,118 @@
BODY { BODY {
background-color:#ffffff; background-color:#ffffff;
font-family:"Times New Roman" , serif; } font-family:"Times New Roman" , serif; }
H1 { H1 {
font-weight:bold; font-weight:bold;
font-size:24.0pt; font-size:24.0pt;
font-family:"Times New Roman" , serif; } font-family:"Times New Roman" , serif; }
LI.kadov-H1 { LI.kadov-H1 {
font-weight:bold; font-weight:bold;
font-size:24.0pt; } font-size:24.0pt; }
H2 { H2 {
font-weight:bold; font-weight:bold;
font-size:18.0pt; font-size:18.0pt;
font-family:"Times New Roman" , serif; } font-family:"Times New Roman" , serif; }
LI.kadov-H2 { LI.kadov-H2 {
font-weight:bold; font-weight:bold;
font-size:18.0pt; } font-size:18.0pt; }
H3 { H3 {
font-weight:bold; font-weight:bold;
font-size:14.0pt; font-size:14.0pt;
font-family:"Times New Roman" , serif; } font-family:"Times New Roman" , serif; }
LI.kadov-H3 { LI.kadov-H3 {
font-weight:bold; font-weight:bold;
font-size:14.0pt; } font-size:14.0pt; }
H4 { H4 {
font-weight:bold; font-weight:bold;
font-size:12.0pt; font-size:12.0pt;
font-family:"Times New Roman" , serif; } font-family:"Times New Roman" , serif; }
LI.kadov-H4 { LI.kadov-H4 {
font-weight:bold; font-weight:bold;
font-size:12.0pt; } font-size:12.0pt; }
H5 { H5 {
font-weight:bold; font-weight:bold;
font-size:10.0pt; font-size:10.0pt;
font-family:"Times New Roman" , serif; } font-family:"Times New Roman" , serif; }
LI.kadov-H5 { LI.kadov-H5 {
font-weight:bold; font-weight:bold;
font-size:10.0pt; } font-size:10.0pt; }
H6 { H6 {
font-weight:bold; font-weight:bold;
font-size:8.0pt; font-size:8.0pt;
font-family:"Times New Roman" , serif; } font-family:"Times New Roman" , serif; }
LI.kadov-H6 { LI.kadov-H6 {
font-weight:bold; font-weight:bold;
font-size:8.0pt; } font-size:8.0pt; }
P { P {
font-size:12.0pt; font-size:12.0pt;
margin-top:1pt; margin-top:1pt;
margin-bottom:1pt; margin-bottom:1pt;
font-family:"Times New Roman" , serif; } font-family:"Times New Roman" , serif; }
LI.kadov-P { LI.kadov-P {
font-size:12.0pt; } font-size:12.0pt; }
A.expandspot { A.expandspot {
color:#008000; color:#008000;
cursor:hand; cursor:hand;
font-style:italic; font-style:italic;
x-text-underline:off; x-text-underline:off;
x-text-overline:off; x-text-overline:off;
x-text-line-through:off; x-text-line-through:off;
text-decoration:none none none; } text-decoration:none none none; }
SPAN.expandtext { SPAN.expandtext {
font-style:italic; font-style:italic;
font-weight:normal; font-weight:normal;
color:#ff0000; } color:#ff0000; }
A.dropspot { A.dropspot {
cursor:hand; cursor:hand;
color:#008000; color:#008000;
font-style:italic; font-style:italic;
x-text-underline:off; x-text-underline:off;
x-text-overline:off; x-text-overline:off;
x-text-line-through:off; x-text-line-through:off;
text-decoration:none none none; } text-decoration:none none none; }
A.glossterm { A.glossterm {
color:#800000; color:#800000;
cursor:hand; cursor:hand;
font-style:italic; font-style:italic;
x-text-underline:off; x-text-underline:off;
x-text-overline:off; x-text-overline:off;
x-text-line-through:off; x-text-line-through:off;
text-decoration:none none none; } text-decoration:none none none; }
SPAN.glosstext { SPAN.glosstext {
font-style:italic; font-style:italic;
font-weight:normal; font-weight:normal;
color:#0000ff; } color:#0000ff; }
OL { OL {
margin-top:0px; margin-top:0px;
margin-bottom:0px; margin-bottom:0px;
font-family:"Times New Roman" , serif; } font-family:"Times New Roman" , serif; }
UL { UL {
margin-top:0px; margin-top:0px;
margin-bottom:0px; margin-bottom:0px;
font-family:"Times New Roman" , serif; } font-family:"Times New Roman" , serif; }
A:active { } A:active { }
A:hover { A:hover {
x-text-underline:Off; x-text-underline:Off;
text-decoration:none; } text-decoration:none; }
A:link { A:link {
x-text-underline:Off; x-text-underline:Off;
text-decoration:none; } text-decoration:none; }
A:visited { A:visited {
x-text-underline:Off; x-text-underline:Off;
text-decoration:none; } text-decoration:none; }
P.TODO { P.TODO {
font-weight:normal; font-weight:normal;
font-style:italic; font-style:italic;
font-family:"Arial Black" , sans-serif; } font-family:"Arial Black" , sans-serif; }
LI.kadov-P-CTODO { LI.kadov-P-CTODO {
font-weight:normal; font-weight:normal;
font-style:italic; font-style:italic;
font-family:"Arial Black" , sans-serif; } font-family:"Arial Black" , sans-serif; }
ol ol { ol ol {
margin-top:1px; } margin-top:1px; }
ol ul { ol ul {
margin-top:1px; } margin-top:1px; }
ul ul { ul ul {
margin-top:1px; } margin-top:1px; }
ul ol { ul ol {
margin-top:1px; } margin-top:1px; }

View File

@ -1,130 +1,135 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Edge</title> <title>Edge</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; } p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; } 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; } img_whs5 { border:none; width:195px; height:202px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nEdge"); addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nEdge");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2"><b><span style="font-weight: normal;">T</b>o</span> writeIntopicBar(4);
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; </script>
Build - &gt; Edge</B></span></p> <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">&nbsp;</p> <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
<p class="whs2">You can create an <span style="font-weight: bold;"><B>Edge</B></span> Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt;
from two points (<span style="font-weight: bold;"><B>Point1</B></span> and <span Build - &gt; Edge</B></span></p>
style="font-weight: bold;"><B>Point2</B></span>), being the first and the last
vertices of the edge.</p> <p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p class="whs2">You can create an <span style="font-weight: bold;"><B>Edge</B></span>
Result <span style="font-weight: normal;">&nbsp;will from two points (<span style="font-weight: bold;"><B>Point1</B></span> and <span
be a</span></b> GEOM_Object (EDGE).</p> 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;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeEdge(Vertex1, Vertex2)</I></span>, <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
where Vertex1 and Vertex2 are correspondingly the first and the last vertex Result <span style="font-weight: normal;">&nbsp;will
of the edge.</p> be a</span></b> GEOM_Object (EDGE).</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
Name + 2 vertices.</p> </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
<p class="whs2">&nbsp;</p> of the edge.</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="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 2 vertices.</p>
<p class="whs3">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></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="whs2">&nbsp;</p>
<p class="whs3">&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="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs3">&nbsp;</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#bookmark">Advanced Geometric <p class="whs3"><img src="pics/edgesn.png" x-maintain-ratio="TRUE" width="195px" height="202px" border="0" class="img_whs5"></p>
Objects</a>. </p>
<p class="whs3">&nbsp;</p>
<p>&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
<script type="text/javascript" language="javascript1.2"> of creation of <a href="geometrical_objects.htm#bookmark">Advanced Geometric
<!-- Objects</a>. </p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,10 +1,10 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!DOCTYPE SYSTEM "ehelpopt.dtd"> <!DOCTYPE SYSTEM "ehelpopt.dtd">
<FILE-OPTIONS FILE-VERSION="2" FILE-KEY="a306ebd6_4870_4c36_a066_58c07171acf6"> <FILE-OPTIONS FILE-VERSION="2" FILE-KEY="a306ebd6_4870_4c36_a066_58c07171acf6">
</FILE-OPTIONS> </FILE-OPTIONS>
<EHELP-OPTIONS FORMAT-VERSION="1.0"> <EHELP-OPTIONS FORMAT-VERSION="1.0">
<OPTIONS ENABLED="NO" EMBEDDED="YES" MAIN-WINDOW-ONLY="NO" COMMUNITY-NOTIFY="NO" FIRST-PAGE="NOT-SET"> <OPTIONS ENABLED="NO" EMBEDDED="YES" MAIN-WINDOW-ONLY="NO" COMMUNITY-NOTIFY="NO" FIRST-PAGE="NOT-SET">
</OPTIONS> </OPTIONS>
<BUTTON-LABEL>WebSearch <BUTTON-LABEL>WebSearch
</BUTTON-LABEL> </BUTTON-LABEL>
</EHELP-OPTIONS> </EHELP-OPTIONS>

View File

@ -1,148 +1,153 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Ellipse</title> <title>Ellipse</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; } p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; } 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.whs5 { font-size:12pt; font-weight:bold; margin-left:0px; }
p.whs6 { font-size:12pt; color:#000000; } p.whs6 { font-size:12pt; color:#000000; }
p.whs7 { color:#808080; font-size:12pt; } p.whs7 { color:#808080; font-size:12pt; }
p.whs8 { color:#808080; font-size:12pt; margin-left:40px; } p.whs8 { color:#808080; font-size:12pt; margin-left:40px; }
img_whs9 { border:none; width:354px; height:323px; float:none; border-style:none; } img_whs9 { border:none; width:354px; height:323px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs5 {margin-left:1pt; }"; strNSS += "p.whs5 {margin-left:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
//--> //-->
</script> </script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nEllipse"); addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nEllipse");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p><b><span style="font-weight: normal;">T</span></b>o create an <span writeIntopicBar(4);
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; </script>
Basic - &gt; Ellipse</B></span></p> <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 class="whs2">&nbsp;</p> <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
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">You Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt;
can define an</span> Ellipse <span style="font-weight: normal;">by its</span> Basic - &gt; Ellipse</B></span></p>
Center Point, <span style="font-weight: normal;">a</span> Vector <span
style="font-weight: normal;">giving its normal, and its</span> Major &amp; <p class="whs2">&nbsp;</p>
Minor Radiuses.</b></p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">You
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> can define an</span> Ellipse <span style="font-weight: normal;">by its</span>
Result <span style="font-weight: normal;">of the operation will be a</span></b><b> Center Point, <span style="font-weight: normal;">a</span> Vector <span
GEOM_Object (edge).</b></p> style="font-weight: normal;">giving its normal, and its</span> Major &amp;
Minor Radiuses.</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b><span style="font-weight: normal;">The</span>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><span Result <span style="font-weight: normal;">of the operation will be a</span></b><b>
style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor, <span style="font-weight: normal;">GEOM_Object (edge).</span></b></p>
RadiusMinor)</I></span>, </p>
<p class="whs2">&nbsp;</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 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><span
+ 1 Y Radius.</p> style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor,
RadiusMinor)</I></span>, </p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
<p class="whs3"><img src="pics/ellipse.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs4"></p> Name + 1 vertex (for the center) + 1 edge (for the direction) + 1 X Radius
+ 1 Y Radius.</p>
<p class="whs5">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;">Example:</b></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="whs7">&nbsp;</p>
<p class="whs5">&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="whs6"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs7">&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 <p class="whs8"><img src="pics/ellipsesn.png" x-maintain-ratio="TRUE" width="354px" height="323px" border="0" class="img_whs9"></p>
Geometric Objects</a>. </p>
<p class="whs2">&nbsp;</p>
<p>&nbsp;</p>
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
<script type="text/javascript" language="javascript1.2"> provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark3">Basic
<!-- Geometric Objects</a>. </p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,180 +1,185 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Explode</title> <title>Explode</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { margin-left:0px; } p.whs2 { margin-left:0px; }
p.whs3 { font-family:'Times New Roman' , serif; font-size:12pt; font-weight:normal; } 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.whs4 { font-family:'Times New Roman' , serif; font-size:14pt; }
p.whs5 { font-size:12pt; } p.whs5 { font-size:12pt; }
ul.whs6 { list-style:disc; } ul.whs6 { list-style:disc; }
p.whs7 { font-size:12pt; font-style:italic; } p.whs7 { font-size:12pt; font-style:italic; }
p.whs8 { font-size:12pt; font-style:normal; } p.whs8 { font-size:12pt; font-style:normal; }
p.whs9 { font-size:12pt; margin-left:40px; } p.whs9 { font-size:12pt; margin-left:40px; }
img_whs10 { border:none; width:312px; height:283px; float:none; border-style:none; } img_whs10 { border:none; width:312px; height:283px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs2 {margin-left:1pt; }"; strNSS += "p.whs2 {margin-left:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
//--> //-->
</script> </script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nExplode"); addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nExplode");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2">To<span style="font-weight: bold;"><B> Explode</B></span> writeIntopicBar(4);
an object into subshapes, in the main menu select <span style="font-weight: bold;"><B>New //-->
Entity &gt; Explode</B></span>.</p> </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="whs3">&nbsp;</p>
<p class="whs2">To<span style="font-weight: bold;"><B> Explode</B></span>
<p class="whs4"><span an object into subshapes, in the main menu select <span style="font-weight: bold;"><B>New
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">To create a list of &nbsp;subshapes Entity &gt; Explode</B></span>.</p>
(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;"> <p class="whs3">&nbsp;</p>
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 <p class="whs4"><span
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;">To create a list of &nbsp;subshapes
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> (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;">
<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> 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
Result <span style="font-weight: normal;">of the operation will be a List</span> Object,</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> which will be exploded and
of</b> GEOM_Objects (edges, faces, solids or compsolids).</p> 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">&nbsp;</p>
<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">Using</span> Result <span style="font-weight: normal;">of the operation will be a List</span>
TUI Commands<span style="font-weight: normal;"> you can perform this operation of</b> GEOM_Objects (edges, faces, solids or compsolids).</p>
in a variety of ways:</span> </b></p>
<p class="whs5">&nbsp;</p>
<ul type="disc" class="whs6">
<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">Using</span>
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAll(Shape, TUI Commands<span style="font-weight: normal;"> you can perform this operation
Type)</I></span> explodes a Shape on subshapes of a given Type and returns in a variety of ways:</span> </b></p>
a <span style="font-weight: bold;"><B>List</B></span> of sub-shapes. </p></li>
<ul type="disc" class="whs6">
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllIDs(Shape,
Type)</I></span> &nbsp;explodes <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAll(Shape,
a Shape on subshapes of a given Type and returns a List of IDs of sub-shapes. Type)</I></span> explodes a Shape on subshapes of a given Type and returns
</p></li> 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.SubShapeAllSorted(Shape, <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllIDs(Shape,
Type)</I></span> &nbsp;explodes 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 a Shape on subshapes of a given Type and returns a List of IDs of sub-shapes.
them by coordinates of their gravity centers, returning &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a </p></li>
list of sub-shapes. </font></span></p></li>
<li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.SubShapeAllSorted(Shape,
<li class=kadov-p><p class="whs7">geompy.SubShapeAllSortedIDs(Shape, Type)</I></span> &nbsp;explodes
Type) &nbsp;<span style="font-style: normal;">explodes a shape on subshapes of a given type and <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">sorts
a shape on subshapes of a given type</span> <span style="font-style: normal;">and them by coordinates of their gravity centers, returning &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a
sorts them by coordinates of their gravity centers, &nbsp;returning list of sub-shapes. </font></span></p></li>
a List of IDs of sub-shapes.</span></p></li>
<li class=kadov-p><p class="whs7">geompy.SubShapeAllSortedIDs(Shape,
<li class=kadov-p><p class="whs7"><span Type) &nbsp;<span style="font-style: normal;">explodes
style="font-style: normal;">g</span>eompy.SubShape(Shape, Type, ListOfInd) a shape on subshapes of a given type</span> <span style="font-style: normal;">and
&nbsp;<span style="font-style: normal;">allows sorts them by coordinates of their gravity centers, &nbsp;returning
to obtain a compound of sub-shapes of &nbsp;the a List of IDs of sub-shapes.</span></p></li>
Shape, &nbsp;selected
by they indices in a list of all sub-shapes of the given Type. Each index <li class=kadov-p><p class="whs7"><span
is in the range [1, Nb_Sub-Shapes_Of_Given_Type].</span> </p></li> style="font-style: normal;">g</span>eompy.SubShape(Shape, Type, ListOfInd)
&nbsp;<span style="font-style: normal;">allows
<li class=kadov-p><p class="whs8"><span to obtain a compound of sub-shapes of &nbsp;the
style="font-size: 12pt; font-style: normal;"><font size=3 style="font-size:12pt;">geompy.SubShapeSorted(Shape, Shape, &nbsp;selected
Type, ListOfInd) allows to obtain a compound of sub-shapes of the Shape, by they indices in a list of all sub-shapes of the given Type. Each index
selected by they indices in sorted list of all sub-shapes of the given is in the range [1, Nb_Sub-Shapes_Of_Given_Type].</span> </p></li>
Type. Each index is in the range [1, Nb_Sub-Shapes_Of_Given_Type] </font></span></p></li>
</ul> <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,
<p class="whs5">&nbsp;</p> 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
<p class="whs5"><b style="font-weight: bold;">Arguments:</b> Type. Each index is in the range [1, Nb_Sub-Shapes_Of_Given_Type] </font></span></p></li>
1 SHAPE + 1 type of SubShape.</p> </ul>
<p class="whs5">&nbsp;</p> <p class="whs5">&nbsp;</p>
<p class="whs5">&nbsp;</p> <p class="whs5"><b style="font-weight: bold;">Arguments:</b>
1 SHAPE + 1 type of SubShape.</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="whs5">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs5">&nbsp;</p>
<p>&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>
<script type="text/javascript" language="javascript1.2">
<!-- <p class="whs4">&nbsp;</p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,163 +1,168 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Explode on Blocks</title> <title>Explode on Blocks</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { border:none; width:23px; height:22px; border-style:none; } img_whs1 { border:none; width:23px; height:22px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; } p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:372px; float:none; border-style:none; } img_whs4 { border:none; width:312px; height:372px; float:none; border-style:none; }
p.whs5 { font-size:12pt; margin-left:0px; } p.whs5 { font-size:12pt; margin-left:0px; }
p.whs6 { font-size:12pt; margin-left:0px; font-weight:bold; } p.whs6 { font-size:12pt; margin-left:0px; font-weight:bold; }
p.whs7 { margin-left:40px; font-size:12pt; } p.whs7 { margin-left:40px; font-size:12pt; }
img_whs8 { border:none; width:316px; height:278px; float:none; border-style:none; } 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.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.whs10 { font-size:12pt; text-indent:-36px; margin-left:40px; font-weight:bold; }
p.whs11 { font-weight:bold; } p.whs11 { font-weight:bold; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs5 {margin-left:1pt; }"; strNSS += "p.whs5 {margin-left:1pt; }";
strNSS += "p.whs6 {margin-left:1pt; }"; strNSS += "p.whs6 {margin-left:1pt; }";
strNSS += "p.whs9 {text-indent:1pt; }"; strNSS += "p.whs9 {text-indent:1pt; }";
strNSS += "p.whs10 {text-indent:1pt; }"; strNSS += "p.whs10 {text-indent:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
//--> //-->
</script> </script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTransforming geometrical objects\nBlocks Operations\nExplode on Blocks"); addTocInfo("Geometry module\nTransforming geometrical objects\nBlocks Operations\nExplode on Blocks");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<h1><img src="image53.gif" width="23px" height="22px" border="0" class="img_whs1"> Explode on Blocks</h1> <!--
if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: normal;">T</b>o produce writeIntopicBar(4);
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 - </script>
&gt; Blocks - &gt; Explode on Blocks.</B></span></p> <h1><img src="image53.gif" width="23px" height="22px" border="0" class="img_whs1"> Explode on Blocks</h1>
<p class="whs2">&nbsp;</p> <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
<p class="whs2"><b style="font-weight: normal;">This operation</b> in the Main Menu select <span style="font-weight: bold;"><B>Operations -
returns blocks of the given compound. The user may define the type of &gt; Blocks - &gt; Explode on Blocks.</B></span></p>
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 <p class="whs2">&nbsp;</p>
interactively choose the blocks from a compound .</p>
<p class="whs2"><b style="font-weight: normal;">This operation</b>
<p class="whs2">&nbsp;</p> 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
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> in the target block. By checking the corresponding box the user may also
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p> interactively choose the blocks from a compound .</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
</i><span style="font-style: italic;"><I>geompy.MakeBlockExplode(Compound, Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
MinNbFaces, MaxNbFaces)</I></span>, where Compound is a compound to be exploded
into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal <p class="whs2">&nbsp;</p>
and &nbsp;the
maximal number of faces of the resulting blocks.</p> <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeBlockExplode(Compound,
<p class="whs2"><b style="font-weight: bold;">Arguments: <span MinNbFaces, MaxNbFaces)</I></span>, where Compound is a compound to be exploded
style="font-weight: normal;">1 compound + 2 integers (min. and max. number into the blocks, MinNbFaces, MaxNbFaces are correspondingly the minimal
of faces in the block to be extracted).</span></b></p> and &nbsp;the
maximal number of faces of the resulting blocks.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Arguments: <span
<p class="whs2">&nbsp;</p> 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="whs3"><img src="pics/mtransf3.png" x-maintain-ratio="TRUE" width="312px" height="372px" border="0" class="img_whs4"></p>
<p class="whs2">&nbsp;</p>
<p class="whs5">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs6">Example:</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="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="whs6">Example:</p>
<p class="whs9">&nbsp;</p>
<p class="whs5">&nbsp;</p>
<p class="whs10">&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="whs11">&nbsp;&nbsp;&nbsp;<span
style="font-weight: normal;">Our</span> TUI <p class="whs9">&nbsp;</p>
Scripts <span style="font-weight: normal;">provide you with useful examples
of the use of</span> <a href="blocks_operations.htm#bookmark5">Blocks <p class="whs10">&nbsp;</p>
Operations</a>. </p>
<p class="whs11">&nbsp;&nbsp;&nbsp;<span
<p>&nbsp;</p> style="font-weight: normal;">Our</span> TUI
Scripts <span style="font-weight: normal;">provide you with useful examples
<script type="text/javascript" language="javascript1.2"> of the use of</span> <a href="blocks_operations.htm#bookmark5">Blocks
<!-- Operations</a>. </p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,168 +1,161 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Extrusion</title> <title>Extrusion</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
img_whs3 { border:none; width:312px; height:350px; float:none; border-style:none; } p.whs3 { font-size:12pt; margin-left:40px; }
p.whs4 { font-size:12pt; font-weight:bold; } img_whs4 { border:none; width:312px; height:350px; float:none; border-style:none; }
p.whs5 { font-size:12pt; margin-left:40px; } p.whs5 { font-size:12pt; font-weight:bold; }
p.whs6 { font-size:12pt; font-style:italic; } p.whs6 { font-size:12pt; font-style:italic; margin-left:40px; }
p.whs7 { font-size:12pt; margin-left:0px; } img_whs7 { border:none; float:none; width:300px; height:175px; border-style:none; }
img_whs8 { border:none; float:none; width:300px; height:175px; border-style:none; } img_whs8 { border:none; width:350px; height:175px; float:none; border-style:none; }
img_whs9 { border:none; width:350px; height:175px; float:none; border-style:none; } -->
--> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
</style><script type="text/javascript" language="JavaScript"> <!--
<!-- function reDo() {
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if (innerWidth != origWidth || innerHeight != origHeight)
{ location.reload();
var strNSS = "<style type='text/css'>"; }
strNSS += "p.whs7 {margin-left:1pt; }"; if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
strNSS +="</style>"; origWidth = innerWidth;
document.write(strNSS); origHeight = innerHeight;
} onresize = reDo;
//--> }
</script> onerror = null;
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> //-->
<!-- </script>
function reDo() { <style type="text/css">
if (innerWidth != origWidth || innerHeight != origHeight) <!--
location.reload(); div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
} p.WebHelpNavBar { text-align:right; }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { -->
origWidth = innerWidth; </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
origHeight = innerHeight; <script type="text/javascript" language="javascript" src="whver.js"></script>
onresize = reDo; <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
} <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
onerror = null; <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
//--> <script type="text/javascript" language="javascript1.2">
</script> <!--
<style type="text/css"> if (window.gbWhTopic)
<!-- {
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } if (window.setRelStartPage)
--> {
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nExtrusion");
<script type="text/javascript" language="javascript" src="whver.js"></script> addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> }
</head>
<body><script type="text/javascript" language="javascript1.2">
<!-- if (window.setRelStartPage)
if (window.gbWhTopic) {
{ setRelStartPage("index.htm");
if (window.addTocInfo)
{ autoSync(1);
addTocInfo("GEOM module\nCreating geometrical objects\nGeneration of Complex Objects\nExtrusion"); sendSyncInfo();
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); sendAveInfoOut();
}
}
if (window.writeBtnStyle) }
writeBtnStyle(); else
if (window.gbIE4)
if (window.writeIntopicBar) document.location.reload();
writeIntopicBar(1); //-->
</script>
if (window.setRelStartPage) </head>
{ <body><script type="text/javascript" language="javascript1.2">
setRelStartPage("geom.htm"); <!--
if (window.writeIntopicBar)
autoSync(1); writeIntopicBar(4);
sendSyncInfo(); //-->
sendAveInfoOut(); </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>
}
else <p><b><span style="font-weight: normal;">T</b>o</span> generate an <span
if (window.gbIE4) style="font-weight: bold;"><B>Extrusion</B></span> on an object in the <span
document.location.reload(); style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New
//--> Entity - &gt; Generation &nbsp;-
</script> &gt; Extrusion</B></span></p>
<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 class="whs2">&nbsp;</p>
<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 <p class="whs2">To create an Extrusion (Prism) you should define
style="font-weight: bold;"><B>Main Menu</B></span> select <span style="font-weight: bold;"><B>New the <span style="font-weight: bold;"><B>Base Shape </B></span>(a basis of the
Entity - &gt; Generation &nbsp;- extrusion)<span style="font-weight: bold;"><B>, </B></span>the <span style="font-weight: bold;"><B>Vector</B></span>
&gt; Extrusion</B></span></p> (a direction of the extrusion) and the <span style="font-weight: bold;"><B>Height</B></span>
of extrusion. &nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
<p class="whs2">To create an Extrusion (Prism) you should define Result <span style="font-weight: normal;">of the operation will be a</span></b>
the <span style="font-weight: bold;"><B>Base Shape </B></span>(a basis of the GEOM_Object (edge, face, solid or compsolid).</p>
extrusion)<span style="font-weight: bold;"><B>, </B></span>the <span style="font-weight: bold;"><B>Vector</B></span>
(a normal of the extrusion) and the <span style="font-weight: bold;"><B>Height</B></span> <p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
of extrusion. &nbsp;</p> Command :</b><i> </i></B></span><span style="font-style: italic;"><I>geompy.MakePrismVecH(Base,
Vector, Height)</I></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> <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
GEOM_Object (edge, face, solid or compsolid).</p> 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 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, <p>&nbsp;</p>
Vector, Height)</I></span></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"><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 <p class="whs2">&nbsp;</p>
+ 1 vector (for direction of the extrusion) + 1 value (dimension).</font></span></p>
<p class="whs5">NB! <span style="font-weight: normal;">The
<p>&nbsp;</p> 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="whs2"><img src="pics/extrusion.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"></p>
<p class="whs5"><span style="font-weight: normal;">You
<p class="whs2">&nbsp;</p> 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
<p class="whs4">NB! <span style="font-weight: normal;">The style="font-weight: normal;"> and </span>End Point<span style="font-weight: normal;">
is another way to create an</span> Extrusion, <span style="font-weight: normal;">which of the </span>Vector<span style="font-weight: normal;"> &nbsp;(in
is currently accessible only via</span> TUI commands.</p> this way you don't need to create it in advance).</span> </p>
<p class="whs4"><span style="font-weight: normal;">You <p class="whs5"><b style="font-weight: bold;">TUI
can define the</span> Extrusion <span style="font-weight: normal;">by Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakePrism(Base,
the </span>Base Shape<span style="font-weight: normal;"> and the </span>Start<span Point1, Point2) </I></span></p>
style="font-weight: normal;"> and </span>End Point<span style="font-weight: normal;">
of the </span>Vector<span style="font-weight: normal;"> &nbsp;(in <p>&nbsp;</p>
this way you don't need to create it in advance).</span> </p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">TUI
Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakePrism(Base, <p class="whs2"><b style="font-weight: bold;">Examples:</b></p>
Point1, Point2) </I></span></p>
<p class="whs2">&nbsp;</p>
<p>&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="whs5">&nbsp;</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"><b style="font-weight: bold;">Examples:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
<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> provide you with useful examples of creation of <a href="complex_objects.htm#bookmark">Complex
Geometric Objects</a>. </p>
<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>
<p>&nbsp;</p>
<p class="whs2">&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<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 if (window.writeIntopicBar)
Geometric Objects</a>. </p> writeIntopicBar(0);
//-->
<p>&nbsp;</p> </script>
</body>
<script type="text/javascript" language="javascript1.2"> </html>
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,150 +1,155 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Face</title> <title>Face</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; } p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; } img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
p.whs5 { font-size:12pt; font-style:italic; } p.whs5 { font-size:12pt; font-style:italic; }
img_whs6 { border:none; width:180px; height:180px; float:none; border-style:none; } 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; } img_whs7 { border:none; float:none; width:180px; height:180px; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Advanced Geometrical Objects\nFace"); addTocInfo("Geometry module\nCreating geometrical objects\nCreating Advanced Geometrical Objects\nFace");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: normal;">T</b>o create writeIntopicBar(4);
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> </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">&nbsp;</p>
<p class="whs2"><b style="font-weight: normal;">T</b>o create
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">To a <span style="font-weight: bold;"><B>Face</B></span> in the Main Menu select
create a </span><span style="font-weight: bold;"><B>Face</B></span><span style="font-weight: normal;"> <span style="font-weight: bold;"><B>New Entity - &gt; Build - &gt; Face</B></span></p>
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 <p class="whs2">&nbsp;</p>
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;">To
create a </span><span style="font-weight: bold;"><B>Face</B></span><span style="font-weight: normal;">
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> you need to select a wire, whose elements will be connected so that the
Result<span style="font-weight: normal;"> will be a</span></b> GEOM_Object surface of the resulting object was minimal. Check </span><span style="font-weight: bold;"><B>Try
(FACE).</p> 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">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> Result<span style="font-weight: normal;"> will be a</span></b> GEOM_Object
</i><span style="font-style: italic;"><I>geompy.MakeFace(Wire, isPlanarWanted</I></span>)</p> (FACE).</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> <p class="whs2">&nbsp;</p>
Name + 1 wire.</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
<p class="whs2">&nbsp;</p> </i><span style="font-style: italic;"><I>geompy.MakeFace(Wire, isPlanarWanted</I></span>)</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"><b style="font-weight: bold;">Arguments:</b>
Name + 1 wire.</p>
<p class="whs2">&nbsp;</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="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">&nbsp;</p>
<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaceWires(Wires, <p class="whs2">There are some advanced possibilities accessible
isPlanarWanted)</I></span> - Creates a face on the given wires set. The argument only via<span style="font-weight: bold;"><B> TUI commands</B></span>.</p>
is not a single wire, but a list of wires. </p>
<p class="whs2">&nbsp;</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(). <p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaceWires(Wires,
</I></span></p> 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="whs5">&nbsp;</p>
<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaces(Wires,
<p class="whs2">&nbsp;</p> isPlanarWanted)</I></span> is a shortcut to <span style="font-style: italic;"><I>MakeFaceWires().
</I></span></p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs5">&nbsp;</p>
<p class="whs2">&nbsp;</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="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs3">&nbsp;</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#bookmark1">Advanced Geometric <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>
Objects</a>. </p>
<p class="whs3">&nbsp;</p>
<p>&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
<script type="text/javascript" language="javascript1.2"> of creation of <a href="geometrical_objects.htm#bookmark1">Advanced Geometric
<!-- Objects</a>. </p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,179 +1,182 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Fillet</title> <title>Fillet</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
img_whs3 { border:none; width:312px; height:315px; float:none; border-style:none; } p.whs3 { font-size:12pt; margin-left:40px; }
p.whs4 { font-size:12pt; margin-left:0px; } 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; } img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
p.whs6 { font-size:12pt; font-style:italic; } 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_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_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; } 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; } p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs4 {margin-left:1pt; }"; strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; strNSS +="</style>";
strNSS +="</style>"; document.write(strNSS);
document.write(strNSS); }
} //-->
//--> </script>
</script> <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> <!--
<!-- function reDo() {
function reDo() { if (innerWidth != origWidth || innerHeight != origHeight)
if (innerWidth != origWidth || innerHeight != origHeight) location.reload();
location.reload(); }
} if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { origWidth = innerWidth;
origWidth = innerWidth; origHeight = innerHeight;
origHeight = innerHeight; onresize = reDo;
onresize = reDo; }
} onerror = null;
onerror = null; //-->
//--> </script>
</script> <style type="text/css">
<style type="text/css"> <!--
<!-- div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
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> </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="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.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="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head> <script type="text/javascript" language="javascript1.2">
<body><script type="text/javascript" language="javascript1.2"> <!--
<!-- if (window.gbWhTopic)
if (window.gbWhTopic) {
{ if (window.setRelStartPage)
if (window.addTocInfo) {
{ addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nFillet");
addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nFillet"); addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
} }
if (window.writeBtnStyle)
writeBtnStyle();
if (window.setRelStartPage)
if (window.writeIntopicBar) {
writeIntopicBar(1); setRelStartPage("index.htm");
if (window.setRelStartPage) autoSync(1);
{ sendSyncInfo();
setRelStartPage("geom.htm"); sendAveInfoOut();
}
autoSync(1);
sendSyncInfo(); }
sendAveInfoOut(); else
} if (window.gbIE4)
} document.location.reload();
else //-->
if (window.gbIE4) </script>
document.location.reload(); </head>
//--> <body><script type="text/javascript" language="javascript1.2">
</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> if (window.writeIntopicBar)
writeIntopicBar(4);
<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 </script>
<span style="font-weight: bold;"><B>Operations - &gt; Transformation - &gt; <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>
Fillet</B></span> &nbsp;</p>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
<p>&nbsp;</p> 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;
<p class="whs2">This operation creates<span style="font-weight: bold;"> Fillet</B></span> &nbsp;</p>
<B></B></span>fillets on the edges of a shape.</p>
<p>&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">This operation creates<span style="font-weight: bold;">
<B></B></span>fillets on the edges of a shape.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
<p class="whs2">To create fillets on all edges of the given Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>
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> <p class="whs2">&nbsp;</p>
of the Fillet. &nbsp;</p>
<p class="whs2">To create fillets on all edges of the given
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> shape, you need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
</i>geompy.MakeFilletAll(Shape, R) </p> to create a fillet on and the <span style="font-weight: bold;"><B>Radius</B></span>
of the Fillet. &nbsp;</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 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
(fillet radius).</p> </i>geompy.MakeFilletAll(Shape, R) </p>
<p class="whs2">&nbsp;</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
<p class="whs2"><img src="pics/fillet1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs3"></p> (fillet radius).</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2">To create fillets &nbsp;on <p class="whs3"><img src="pics/fillet1.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs4"></p>
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> <p class="whs2">&nbsp;</p>
to create a fillet on, select the necessary edges or faces in the object
browser or in the OCC Viewer and define the &nbsp;<span <p class="whs2">To create fillets on the specified edges or
style="font-weight: bold;"><B>Radius</B></span> faces of the given shape, &nbsp;you
of the Fillet. </p> 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
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI Viewer and define the &nbsp;<span style="font-weight: bold;"><B>Radius</B></span>
Command:</b><i> </i>geompy.MakeFillet(Shape, R, ShapeType, ListShapes) of the Fillet. </p>
</I></span></p>
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span Command:</b><i> </i>geompy.MakeFillet(Shape, R, ShapeType, ListShapes)
style="font-weight: bold;"><B>rguments: </B></span></b>Name + 1 shape + 1 Selection </I></span></p>
of edges (or faces) + 1 value (Fillet radius).</p>
<p class="whs2"><span style="font-style: italic;"><I><b style="font-weight: bold;">A</I></span><span
<p class="whs2">&nbsp;</p> 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="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>
<p class="whs2">&nbsp;</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"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp; </p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></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 <p class="whs2">&nbsp;</p>
on a Face</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
<p class="whs2">&nbsp;</p> 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"><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="whs2">&nbsp;</p>
<p class="whs10">&nbsp;&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"><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;"> <p class="whs10">&nbsp;&nbsp;</p>
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark3">Transformation
Operations</a>. </font></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;">
<p>&nbsp;</p> provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark3">Transformation
Operations</a>. </font></span></p>
<script type="text/javascript" language="javascript1.2">
<!-- <p>&nbsp;</p>
if (window.writeIntopicBar)
writeIntopicBar(0); <script type="text/javascript" language="javascript1.2">
//--> <!--
</script> if (window.writeIntopicBar)
</body> writeIntopicBar(0);
</html> //-->
</script>
</body>
</html>

View File

@ -1,152 +1,145 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Filling</title> <title>Filling</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:0px; } p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:367px; float:none; border-style:none; } img_whs4 { border:none; width:312px; height:367px; float:none; border-style:none; }
p.whs5 { font-size:12pt; margin-left:40px; } img_whs5 { border:none; float:none; width:260px; height:230px; border-style:none; }
img_whs6 { border:none; float:none; width:260px; height:230px; border-style:none; } -->
--> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
</style><script type="text/javascript" language="JavaScript"> <!--
<!-- function reDo() {
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if (innerWidth != origWidth || innerHeight != origHeight)
{ location.reload();
var strNSS = "<style type='text/css'>"; }
strNSS += "p.whs3 {margin-left:1pt; }"; if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
strNSS +="</style>"; origWidth = innerWidth;
document.write(strNSS); origHeight = innerHeight;
} onresize = reDo;
//--> }
</script> onerror = null;
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> //-->
<!-- </script>
function reDo() { <style type="text/css">
if (innerWidth != origWidth || innerHeight != origHeight) <!--
location.reload(); div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
} p.WebHelpNavBar { text-align:right; }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { -->
origWidth = innerWidth; </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
origHeight = innerHeight; <script type="text/javascript" language="javascript" src="whver.js"></script>
onresize = reDo; <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
} <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
onerror = null; <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
//--> <script type="text/javascript" language="javascript1.2">
</script> <!--
<style type="text/css"> if (window.gbWhTopic)
<!-- {
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } if (window.setRelStartPage)
--> {
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nFilling");
<script type="text/javascript" language="javascript" src="whver.js"></script> addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> }
</head>
<body><script type="text/javascript" language="javascript1.2">
<!-- if (window.setRelStartPage)
if (window.gbWhTopic) {
{ setRelStartPage("index.htm");
if (window.addTocInfo)
{ autoSync(1);
addTocInfo("GEOM module\nCreating geometrical objects\nGeneration of Complex Objects\nFilling"); sendSyncInfo();
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); sendAveInfoOut();
}
}
if (window.writeBtnStyle) }
writeBtnStyle(); else
if (window.gbIE4)
if (window.writeIntopicBar) document.location.reload();
writeIntopicBar(1); //-->
</script>
if (window.setRelStartPage) </head>
{ <body><script type="text/javascript" language="javascript1.2">
setRelStartPage("geom.htm"); <!--
if (window.writeIntopicBar)
autoSync(1); writeIntopicBar(4);
sendSyncInfo(); //-->
sendAveInfoOut(); </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>
else
if (window.gbIE4) <p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate
document.location.reload(); 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
</script> Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt;
<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 Generation &nbsp;-
Surface with Curves</h1> &gt; Filling</B></span></p>
<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate <p class="whs2">&nbsp;</p>
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 <p class="whs2">To create a curving face using several curves
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt; you need to define the <span style="font-weight: bold;"><B>Curves</B></span>,
Generation &nbsp;- which will be the components of your face, <span style="font-weight: bold;"><B>Minimum</B></span>
&gt; Filling</B></span></p> 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
<p class="whs2">&nbsp;</p> </B></span>&nbsp;and
the <span style="font-weight: bold;"><B>Number of Iterations</B></span>. </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>, <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
which will be the components of your face, <span style="font-weight: bold;"><B>Minimum</B></span> Result <span style="font-weight: normal;">of the operation will be a</span></b>
and <span style="font-weight: bold;"><B>Maximum Degree</B></span>, <span style="font-weight: bold;"><B>Tolerance GEOM_Object (face).</p>
</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 <p class="whs2">&nbsp;</p>
the <span style="font-weight: bold;"><B>Number of Iterations</B></span>. </p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> </i><span style="font-style: italic;"><I>geompy.MakeFilling(Shape, MinDegree,
Result <span style="font-weight: normal;">of the operation will be a</span></b> MaxDegree, Tol2D, Tol3D, NbIter)</I></span>,</p>
GEOM_Object (face).</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
<p class="whs2">&nbsp;</p> Name + 1 List of edges + 5 Parameters (Min. degree, Max. degree, Number
of iterations, 2D tolerance, 3D tolerance).</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeFilling(Shape, MinDegree, <p class="whs2">&nbsp;</p>
MaxDegree, Tol2D, Tol3D, NbIter)</I></span>,</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"><b style="font-weight: bold;">Arguments:</b>
Name + 1 List of edges + 5 Parameters (Min. degree, Max. degree, Number <p class="whs2">&nbsp;</p>
of iterations, 2D tolerance, 3D tolerance).</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></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="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="whs2">&nbsp;</p>
<p class="whs3">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">Our TUI Scripts provide you with useful examples
<p class="whs2">&nbsp;</p> of creation of <a href="complex_objects.htm#bookmark2">Complex Geometric
Objects</a>. </p>
<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>
<p>&nbsp;</p>
<p class="whs5">&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<p class="whs2">Our TUI Scripts provide you with useful examples <!--
of creation of <a href="complex_objects.htm#bookmark2">Complex Geometric if (window.writeIntopicBar)
Objects</a>. </p> writeIntopicBar(0);
//-->
<p>&nbsp;</p> </script>
</body>
<script type="text/javascript" language="javascript1.2"> </html>
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,146 +1,152 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Fuse</title> <title>Fuse</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; } 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; } 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_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; } 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; } img_whs7 { border:none; float:none; width:252px; height:265px; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; 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.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
//--> //-->
</script> </script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTransforming geometrical objects\nBoolean Operations\nFuse"); addTocInfo("Geometry module\nTransforming geometrical objects\nBoolean Operations\nFuse");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: normal;">T</b>o produce writeIntopicBar(4);
a <span style="font-weight: bold;"><B>Fuse</B></span> in the Main Menu select //-->
<span style="font-weight: bold;"><B>Operations - &gt; Boolean - &gt; Fuse</B></span></p> </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="whs3">&nbsp;</p>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span a <span style="font-weight: bold;"><B>Fuse</B></span> operation in the Main Menu
style="font-weight: normal;">This operation creates a shape from two</span> select <span style="font-weight: bold;"><B>Operations - &gt; Boolean - &gt;
</b>shapes.</font></span></p> Fuse</B></span></p>
<p class="whs3">&nbsp;</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 <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;"> style="font-weight: normal;">This operation creates a shape from two</span>
will be a</span></b> GEOM_Object (COMPOUND).</font></span></p> </b>shapes.</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> <p class="whs3">&nbsp;</p>
Name + 2 shapes.</font></span></p>
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>TUI style="font-weight: normal;">The</span> Result<span style="font-weight: normal;">
Command:</B></span> &nbsp;<span style="font-style: italic;"><I>geompy.MakeFuse(s1, will be a</span></b> GEOM_Object (COMPOUND).</font></span></p>
s2)</I></span> </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>
<p class="whs3">&nbsp;</p> Name + 2 shapes.</font></span></p>
<p class="whs3">&nbsp;</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,
<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> s2)</I></span> </font></span></p>
<p class="whs3">&nbsp;</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="whs3">&nbsp;</p>
<p class="whs6">&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="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="whs3">&nbsp;</p>
<p class="whs2">&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="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> <p class="whs6">&nbsp;</p>
provide you with useful examples of the use of <a href="boolean_operations.htm#bookmark">Boolean
Operations</a>. </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>&nbsp;</p> <p class="whs2">&nbsp;</p>
<script type="text/javascript" language="javascript1.2"> <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
if (window.writeIntopicBar) Operations</a>. </p>
writeIntopicBar(0);
//--> <p>&nbsp;</p>
</script>
</body> <script type="text/javascript" language="javascript1.2">
</html> <!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,139 +0,0 @@
<html>
<head><script language="javascript">
<!--
var sIcon="whstart.ico";
var sPath=document.location.href;
if (sPath.indexOf("http")!= -1)
document.write("<link REL=\"SHORTCUT ICON\" href=\""+ sIcon +"\">");
//-->
</script>
<title>GEOM reference manual</title>
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<meta name="description" content="WebHelp 5.50">
</head>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript" src="whutils.js"></script>
<script type="text/javascript" language="javascript" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" >
<!--
if (!window.gbWhVer||!window.gbWhUtil||!window.gbWhMsg)
document.location.reload();
//-->
</script>
<script type="text/javascript" language="javascript" src="whstub.js"></script>
<script language="javascript">
<!--
var nWebhelpNavPaneMode = 1; //1: DHTML 2:Applet 3:PureHTML 4:NoframeAt all
var strPaneDHTML = "whskin_pdhtml.htm"; //whd_nvp10.htm if tab enabled, whnframe.htm if tab disabled.
var strPaneApplet = "whskin_papplet.htm";
var strPaneList = "whskin_plist.htm";
var bNoApplet = false;
var strPane = "";
var nViewFrameType = -1;
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 (gbNav4&&gbSunOS&&nViewFrameType==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
// ReplaceMark:nViewFrameType = 1
if (nViewFrameType == 1)
{
if (gbNav4 && !gbNav6)
strPane = strPaneList;
else
strPane = strPaneDHTML;
}
else if (nViewFrameType == 2)
strPane = strPaneApplet;
else
strPane = strPaneList;
}
//-->
</script>
<script type="text/javascript" language="javascript" src="whstart.js"></script>
<script type="text/javascript" language="javascript">
<!--
if (!gbIE4&&!gbNav4&&!gbOpera7&&!gbSafari)
document.location = "whnjs.htm";
function CMRAgent( strID, strURL, strLabel, strFrameAttr )
{
this.m_strID = strID;
this.m_strURL = strURL;
this.m_strLabel = strLabel;
this.m_strFrameAttr = strFrameAttr;
}
function CMRServer()
{
this.m_cAgents = new Array;
}
var cMRServer = new CMRServer;
// GetServerInfo
// Registry the agent array handled by webhelp
// ReplaceMark:MRServer.strServerData
//-->
</script>
<script type="text/javascript" language="javascript">
<!--
if (nViewFrameType!=-1)
{
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>";
document.write(strHTML);
}
//-->
</script>
<frameset cols="100%,*" frameborder=no border=0>
<frame src="whnjs.htm">
<frame src="whskin_blank.htm" noresize>
</frameset>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -1,106 +0,0 @@
<html>
<head>
<title>GEOM 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>

View File

@ -1,106 +0,0 @@
<html>
<head>
<title>GEOM 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>

File diff suppressed because it is too large Load Diff

View File

@ -1,144 +1,144 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>geometry</title> <title>geometry</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; } img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }
ul.whs2 { list-style:disc; } ul.whs2 { list-style:disc; }
table.whs3 { x-cell-content-align:top; width:100%; border-spacing:0px; } table.whs3 { x-cell-content-align:top; width:100%; border-spacing:0px; }
col.whs4 { width:50%; } col.whs4 { width:50%; }
tr.whs5 { x-cell-content-align:top; } 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.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; } 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; } img_whs8 { border:none; width:400px; height:292px; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; } p.WebHelpNavBar { text-align:right; }
--> -->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script> </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="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.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="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.setRelStartPage) if (window.setRelStartPage)
{ {
addTocInfo("Geometry module\nIntroduction to Geometry"); addTocInfo("Geometry module\nIntroduction to Geometry");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif"); 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"); addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
} }
if (window.setRelStartPage) if (window.setRelStartPage)
{ {
setRelStartPage("index.htm"); setRelStartPage("index.htm");
autoSync(1); autoSync(1);
sendSyncInfo(); sendSyncInfo();
sendAveInfoOut(); sendAveInfoOut();
} }
} }
else else
if (window.gbIE4) if (window.gbIE4)
document.location.reload(); document.location.reload();
//--> //-->
</script> </script>
</head> </head>
<body><script type="text/javascript" language="javascript1.2"> <body><script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.writeIntopicBar) if (window.writeIntopicBar)
writeIntopicBar(4); writeIntopicBar(4);
//--> //-->
</script> </script>
<h1>Introduction to Geometry</h1> <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 <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> of SALOME is destined for: </p>
<p>&nbsp;</p> <p>&nbsp;</p>
<ul type="disc" class="whs2"> <ul type="disc" class="whs2">
<li class=kadov-p><p>Import and export of geometrical models in IGES, <li class=kadov-p><p>Import and export of geometrical models in IGES,
BREP and STEP formats.</p></li> BREP and STEP formats.</p></li>
<li class=kadov-p><p>Construction and optimization of geometrical models <li class=kadov-p><p>Construction and optimization of geometrical models
using a wide range of &nbsp;CAD using a wide range of &nbsp;CAD
functions:</p></li> functions:</p></li>
</ul> </ul>
<p>&nbsp;</p> <p>&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="100%" class="whs3"> <table x-use-null-cells cellspacing="0" width="100%" class="whs3">
<col class="whs4"> <col class="whs4">
<col class="whs4"> <col class="whs4">
<tr valign="top" class="whs5"> <tr valign="top" class="whs5">
<td width="50%" class="whs6"> <td width="50%" class="whs6">
<ul type="disc" class="whs2"> <ul type="disc" class="whs2">
<li class=kadov-p><p>Creation of basic geometrical objects</p></li> <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>Construction of primitives</p></li>
<li class=kadov-p><p>Building shapes</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>Generation of complex shapes</p></li>
<li class=kadov-p><p>Working with groups</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 repairing of objects</p></li>
<li class=kadov-p><p>Geometrical boolean operations</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>Geometrical transformations</p></li>
<li class=kadov-p><p>Building by blocks</p></li> <li class=kadov-p><p>Building by blocks</p></li>
</ul> </ul>
<p>&nbsp;</td> <p>&nbsp;</td>
<td width="50%" class="whs7"> <td width="50%" class="whs7">
<p><img src="image3.jpg" width="400px" height="292px" border="0" class="img_whs8"></td></tr> <p><img src="image3.jpg" width="400px" height="292px" border="0" class="img_whs8"></td></tr>
</table> </table>
<p>&nbsp;</p> <p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.writeIntopicBar) if (window.writeIntopicBar)
writeIntopicBar(0); writeIntopicBar(0);
//--> //-->
</script> </script>
</body> </body>
</html> </html>

View File

@ -1,158 +1,165 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Glue Faces</title> <title>Glue Faces</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { border:none; width:25px; height:24px; border-style:none; } img_whs1 { border:none; width:25px; height:24px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; text-indent:-68px; margin-left:72px; font-weight:normal; } 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.whs4 { font-size:12pt; text-indent:-68px; margin-left:72px; }
p.whs5 { font-size:12pt; text-indent:-68px; margin-left:112px; } p.whs5 { font-size:12pt; text-indent:-68px; margin-left:112px; }
img_whs6 { border:none; width:312px; height:315px; float:none; border-style:none; } 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.whs7 { font-size:12pt; margin-left:112px; text-indent:-112px; }
p.whs8 { font-size:12pt; text-indent:-112px; margin-left:152px; } 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_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; } 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.whs11 { font-size:12pt; text-indent:-40px; margin-left:80px; }
p.whs12 { font-weight:bold; } p.whs12 { font-weight:bold; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs3 {text-indent:1pt; }"; strNSS += "p.whs3 {text-indent:1pt; }";
strNSS += "p.whs4 {text-indent:1pt; }"; strNSS += "p.whs4 {text-indent:1pt; }";
strNSS += "p.whs5 {text-indent:1pt; }"; strNSS += "p.whs5 {text-indent:1pt; }";
strNSS += "p.whs7 {text-indent:1pt; }"; strNSS += "p.whs7 {text-indent:1pt; }";
strNSS += "p.whs8 {text-indent:1pt; }"; strNSS += "p.whs8 {text-indent:1pt; }";
strNSS += "p.whs11 {text-indent:1pt; }"; strNSS += "p.whs11 {text-indent:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
//--> //-->
</script> </script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nGlue Faces"); addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nGlue Faces");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<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> <!--
if (window.writeIntopicBar)
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: normal;">T</b>o writeIntopicBar(4);
Glue Faces in the Main Menu select Repair - &gt; Glue Faces.</font></span></p> //-->
</script>
<p class="whs3">&nbsp;</p> <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="whs4"><b style="font-weight: normal;">This operation <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: normal;">T</b>o
g</b>lues faces that are coincident with respect to the given tolerance Glue Faces in the Main Menu select Repair - &gt; Glue Faces.</font></span></p>
value.</p>
<p class="whs3">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: normal;">This operation
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b> g</b>lues faces that are coincident with respect to the given tolerance
GEOM_Object.</font></span></p> value.</p>
<p class="whs4"><b style="font-weight: bold;">TUI Command <p class="whs4">&nbsp;</p>
: </b><span style="font-style: italic;"><I>geompy.MakeGlueFaces(theShape,
theTolerance)</I></span>, where theShape is a compound of shapes to be glued, <p class="whs2"><b><span style="font-weight: normal;">T</span></b><b><span
theTolerance is a maximum distance between two faces, which can be considered style="font-weight: normal;">he</span> Result <span style="font-weight: normal;">will
as coincident.</p> be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object. </B></span></b></p>
<p class="whs4"><b style="font-weight: bold;">Arguments: <p class="whs2">&nbsp;</p>
<span style="font-weight: normal;">Name +</span> </b>1 <i><span style="font-style: normal;">Compound
+ Tolerance value</span></i></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,
<p class="whs4">&nbsp;</p> theTolerance is a maximum distance between two faces, which can be considered
as coincident.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Arguments:
<p class="whs5"><img src="pics/repair7.png" x-maintain-ratio="TRUE" width="312px" height="315px" border="0" class="img_whs6"></p> <span style="font-weight: normal;">Name +</span> </b>1 <i><span style="font-style: normal;">Compound
+ Tolerance value</span></i></p>
<p class="whs7">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs7"><b style="font-weight: bold;">Example:</b></p>
<p class="whs4">&nbsp;</p>
<p class="whs7">&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="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="whs7">&nbsp;</p>
<p class="whs11">&nbsp;</p>
<p class="whs7"><b style="font-weight: bold;">Example:</b></p>
<p class="whs11">&nbsp;</p>
<p class="whs7">&nbsp;</p>
<p class="whs12"><span style="font-weight: normal;">Our</span>
TUI Scripts <span style="font-weight: normal;">provide you with useful <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>
examples of the use of</span> <a href="repairing_operations.htm#bookmark6">Repairing
Operations</a>. </p> <p class="whs11">&nbsp;</p>
<p>&nbsp;</p> <p class="whs11">&nbsp;</p>
<script type="text/javascript" language="javascript1.2"> <p class="whs12"><span style="font-weight: normal;">Our</span>
<!-- TUI Scripts <span style="font-weight: normal;">provide you with useful
if (window.writeIntopicBar) examples of the use of</span> <a href="repairing_operations.htm#bookmark6">Repairing
writeIntopicBar(0); Operations</a>. </p>
//-->
</script> <p>&nbsp;</p>
</body>
</html> <script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,322 +1,327 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"> <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html> <html>
<head> <head>
<title>Groups</title> <title>Groups</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"> <meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com"> <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"> <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!-- <!--
if (navigator.appName !="Netscape") if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");} { document.write("<link rel='stylesheet' href='default.css'>");}
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
p.whs1 { font-family:'Lucida Console' , monospace; } p.whs1 { font-family:'Lucida Console' , monospace; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
function reDo() { function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight) if (innerWidth != origWidth || innerHeight != origHeight)
location.reload(); location.reload();
} }
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) { if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth; origWidth = innerWidth;
origHeight = innerHeight; origHeight = innerHeight;
onresize = reDo; onresize = reDo;
} }
onerror = null; onerror = null;
//--> //-->
</script> </script>
<style type="text/css"> <style type="text/css">
<!-- <!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; } 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> </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script> <script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script> <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script> <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
</head> <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<body><script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.gbWhTopic) if (window.gbWhTopic)
{ {
if (window.addTocInfo) if (window.setRelStartPage)
{ {
addTocInfo("GEOM module\nTUI Scripts\nCreation of Geometric Objects\nWorking with Groups"); addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nWorking with Groups");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","",""); 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.writeBtnStyle) }
writeBtnStyle();
if (window.writeIntopicBar) if (window.setRelStartPage)
writeIntopicBar(1); {
setRelStartPage("index.htm");
if (window.setRelStartPage)
{ autoSync(1);
setRelStartPage("geom.htm"); sendSyncInfo();
sendAveInfoOut();
autoSync(1); }
sendSyncInfo();
sendAveInfoOut(); }
} else
} if (window.gbIE4)
else document.location.reload();
if (window.gbIE4) //-->
document.location.reload(); </script>
//--> </head>
</script> <body><script type="text/javascript" language="javascript1.2">
<h1>Groups</h1> <!--
if (window.writeIntopicBar)
<h3>Creation of a group</h3> writeIntopicBar(4);
//-->
<p class="whs1">import geompy</p> </script>
<h1>Groups</h1>
<p class="whs1">import salome</p>
<h3>Creation of a group</h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create two vertices</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p0 = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;, <p>&nbsp;</p>
0. &nbsp;)</p>
<p># create two vertices</p>
<p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p> <p class="whs1">p0 = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
<p>&nbsp;</p> 0. &nbsp;)</p>
<p># create a box from two points</p> <p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p>
<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
p200)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a box from two points</p>
<p># create a group from the faces of the box</p> <p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
p200)</p>
<p class="whs1">group = geompy.CreateGroup(Box,
geompy.ShapeType[&quot;FACE&quot;])</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a group from the faces of the box</p>
<p># add objects to the group</p> <p class="whs1">group = geompy.CreateGroup(Box,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
geompy.ShapeType[&quot;FACE&quot;])</p> <p>&nbsp;</p>
<p class="whs1">for i in [0, 3, 5] <p># add objects to the group</p>
:</p>
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID geompy.ShapeType[&quot;FACE&quot;])</p>
= geompy.GetSubShapeID(Box, SubFaceList[i])</p>
<p class="whs1">for i in [0, 3, 5]
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group, :</p>
FaceID)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID
<p>&nbsp;</p> = geompy.GetSubShapeID(Box, SubFaceList[i])</p>
<p># add all selected shapes from the list to the group </p> <p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group,
FaceID)</p>
<p># (the program doesn't raise error, if some shapes are already included)</p>
<p>&nbsp;</p>
<p class="whs1">geompy.UnionList(group,
[SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p> <p># add all selected shapes from the list to the group </p>
<p>&nbsp;</p> <p># (the program doesn't raise error, if some shapes are already included)</p>
<p># remove an object from the group</p> <p class="whs1">geompy.UnionList(group,
[SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p>
<p class="whs1">geompy.RemoveObject(group,
FaceID)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># remove an object from the group</p>
<p># remove all selected shapes from the group </p> <p class="whs1">geompy.RemoveObject(group,
FaceID)</p>
<p># (the program doesn't raise error, if some shapes are not included)</p>
<p>&nbsp;</p>
<p class="whs1">geompy.DifferenceList(group,
[SubFaceList[2], SubFaceList[3], SubFaceList[4]])</p> <p># remove all selected shapes from the group </p>
<p class="whs1">id_group1 = geompy.addToStudy(group, <p># (the program doesn't raise error, if some shapes are not included)</p>
&quot;Group1&quot;)</p>
<p class="whs1">geompy.DifferenceList(group,
<p>&nbsp;</p> [SubFaceList[2], SubFaceList[3], SubFaceList[4]])</p>
<p># display the contents of the group</p> <p class="whs1">id_group1 = geompy.addToStudy(group,
&quot;Group1&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
<p>&nbsp;</p>
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
</p> <p># display the contents of the group</p>
<h3>Adding an object to the group.</h3> <p class="whs1">gg.createAndDisplayGO(id_group1)</p>
<p class="whs1">import geompy</p> <p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
</p>
<p class="whs1">import salome</p>
<h3>Adding an object to the group.</h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create two vertices</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p0 = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;, <p>&nbsp;</p>
0. &nbsp;)</p>
<p># create two vertices</p>
<p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p> <p class="whs1">p0 = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
<p>&nbsp;</p> 0. &nbsp;)</p>
<p># create a box from two points</p> <p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p>
<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
p200)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a box from two points</p>
<p># create a group from the faces of the box</p> <p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
p200)</p>
<p class="whs1">group = geompy.CreateGroup(Box,
geompy.ShapeType[&quot;FACE&quot;])</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a group from the faces of the box</p>
<p># add objects to the group</p> <p class="whs1">group = geompy.CreateGroup(Box,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
geompy.ShapeType[&quot;FACE&quot;])</p> <p>&nbsp;</p>
<p class="whs1">for i in [0, 3, 5] <p># add objects to the group</p>
:</p>
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID geompy.ShapeType[&quot;FACE&quot;])</p>
= geompy.GetSubShapeID(Box, SubFaceList[i])</p>
<p class="whs1">for i in [0, 3, 5]
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group, :</p>
FaceID)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID
<p class="whs1">id_group1 = geompy.addToStudy(group, = geompy.GetSubShapeID(Box, SubFaceList[i])</p>
&quot;Group1&quot;)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group,
<p>&nbsp;</p> FaceID)</p>
<p># display the contents of the group</p> <p class="whs1">id_group1 = geompy.addToStudy(group,
&quot;Group1&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
<p>&nbsp;</p>
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
</p> <p># display the contents of the group</p>
<p>&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_group1)</p>
<h3>Removing an object from the group</h3> <p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<h3>Removing an object from the group</h3>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">import geompy</p>
<p>&nbsp;</p>
<p class="whs1">import salome</p>
<p># create two vertices</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">p0 = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;, <p>&nbsp;</p>
0. &nbsp;)</p>
<p># create two vertices</p>
<p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p> <p class="whs1">p0 = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
<p>&nbsp;</p> 0. &nbsp;)</p>
<p># create a box from two points</p> <p class="whs1">p200 = geompy.MakeVertex(200.,
200., 200.)</p>
<p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
p200)</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a box from two points</p>
<p># create a group from the faces of the box</p> <p class="whs1">Box = geompy.MakeBoxTwoPnt(p0,
p200)</p>
<p class="whs1">group = geompy.CreateGroup(Box,
geompy.ShapeType[&quot;FACE&quot;])</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p># create a group from the faces of the box</p>
<p># add objects to the group</p> <p class="whs1">group = geompy.CreateGroup(Box,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
geompy.ShapeType[&quot;FACE&quot;])</p> <p>&nbsp;</p>
<p class="whs1">for i in [0, 3, 5] <p># add objects to the group</p>
:</p>
<p class="whs1">SubFaceList = geompy.SubShapeAllSorted(Box,
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID geompy.ShapeType[&quot;FACE&quot;])</p>
= geompy.GetSubShapeID(Box, SubFaceList[i])</p>
<p class="whs1">for i in [0, 3, 5]
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group, :</p>
FaceID)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;FaceID
<p>&nbsp;</p> = geompy.GetSubShapeID(Box, SubFaceList[i])</p>
<p># add all selected shapes from the list to the group </p> <p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.AddObject(group,
FaceID)</p>
<p># (the program doesn't raise errors, if some shapes are already included)</p>
<p>&nbsp;</p>
<p class="whs1">geompy.UnionList(group,
[SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p> <p># add all selected shapes from the list to the group </p>
<p>&nbsp;</p> <p># (the program doesn't raise errors, if some shapes are already included)</p>
<p># remove an object from the group</p> <p class="whs1">geompy.UnionList(group,
[SubFaceList[0], SubFaceList[2], SubFaceList[5]])</p>
<p class="whs1">geompy.RemoveObject(group,
FaceID)</p> <p>&nbsp;</p>
<p class="whs1">id_group1 = geompy.addToStudy(group, <p># remove an object from the group</p>
&quot;Group1&quot;)</p>
<p class="whs1">geompy.RemoveObject(group,
<p>&nbsp;</p> FaceID)</p>
<p># display the contents of the group</p> <p class="whs1">id_group1 = geompy.addToStudy(group,
&quot;Group1&quot;)</p>
<p class="whs1">gg.createAndDisplayGO(id_group1)</p>
<p>&nbsp;</p>
<p><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
</p> <p># display the contents of the group</p>
<p>&nbsp;</p> <p class="whs1">gg.createAndDisplayGO(id_group1)</p>
<p>&nbsp;</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>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!-- <p>&nbsp;</p>
if (window.writeIntopicBar)
writeIntopicBar(0); <p>&nbsp;</p>
//-->
</script> <script type="text/javascript" language="javascript1.2">
</body> <!--
</html> if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 979 B

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Some files were not shown because too many files have changed in this diff Show More