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

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

View File

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

View File

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

View File

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

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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

View File

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

View File

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

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