Merge from BR_Dev_For_4_0 branch (from tag mergeto_BR_QT4_Dev_17Jan08)

This commit is contained in:
vsr 2008-02-06 15:43:50 +00:00
parent 26f1aaf3ed
commit 04f3d723da
924 changed files with 39151 additions and 52385 deletions

View File

@ -38,7 +38,7 @@ if test "x$GEOM_DIR" == "x" ; then
#
fi
if test -f ${GEOM_DIR}/bin/salome/libGEOM_Swig.py ; then
if test -f ${GEOM_DIR}/bin/salome/geompy.py ; then
Geom_ok=yes
AC_MSG_RESULT(Using Geom module distribution in ${GEOM_DIR})

View File

@ -14,6 +14,7 @@
ORIG_DIR=`pwd`
CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"`
GEOM_WITH_GUI="yes"
########################################################################
# Test if the KERNEL_ROOT_DIR is set correctly
@ -28,31 +29,51 @@ fi
# echo "failed : KERNEL_SRC variable is not correct !"
# exit
#fi
for option
do
case $option in
-with-ihm | --with-ihm)
GEOM_WITH_GUI="yes"
break;;
-without-ihm | --without-ihm | -with-ihm=no | --with-ihm=no)
GEOM_WITH_GUI="no"
break;;
esac
done
########################################################################
# Test if the GUI_ROOT_DIR is set correctly
if test ! -d "${GUI_ROOT_DIR}"; then
echo "failed : GUI_ROOT_DIR variable is not correct !"
exit
if test ${GEOM_WITH_GUI} = yes; then
if test ! -d "${GUI_ROOT_DIR}"; then
echo "failed : GUI_ROOT_DIR variable is not correct !"
exit
fi
fi
cd ${CONF_DIR}
ABS_CONF_DIR=`pwd`
#######################################################################
# Update configure.ac script: to set NETGENPLUGIN_WITH_GUI variable
sed -e s/GEOM_WITH_GUI=[a-z]*/GEOM_WITH_GUI=${GEOM_WITH_GUI}/g configure.ac > configure.tmp
mv -f configure.tmp configure.ac
mkdir -p salome_adm/unix/config_files
cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files/* salome_adm/unix/config_files
cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/pythonbe.py salome_adm/unix
#cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files/* salome_adm/unix/config_files
#cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/pythonbe.py salome_adm/unix
cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/SALOMEconfig.h.in salome_adm/unix
cp -f ${GUI_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files
#cp -f ${GUI_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files
# remove KERNEL deprecated configure files
for deprecated in ac_cc_warnings.m4 ac_cxx_partial_specialization.m4 \
check_mico.m4 config.guess ltmain.sh ac_cxx_bool.m4 ltconfig ac_cxx_typename.m4 \
check_pthreads.m4 config.sub libtool.m4 ac_cxx_mutable.m4 missing
do
rm -f salome_adm/unix/config_files/${deprecated}
done
#for deprecated in ac_cc_warnings.m4 ac_cxx_partial_specialization.m4 \
# check_mico.m4 config.guess ltmain.sh ac_cxx_bool.m4 ltconfig ac_cxx_typename.m4 \
# check_pthreads.m4 config.sub libtool.m4 ac_cxx_mutable.m4 missing
# do
# rm -f salome_adm/unix/config_files/${deprecated}
# done
# ____________________________________________________________________
@ -64,7 +85,14 @@ for deprecated in ac_cc_warnings.m4 ac_cxx_partial_specialization.m4 \
# autom4te.cache (directory)
echo "====================================================== aclocal"
aclocal -I adm_local/unix/config_files -I salome_adm/unix/config_files || exit 1
if test ${GEOM_WITH_GUI} = yes; then
aclocal -I adm_local/unix/config_files \
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
-I ${GUI_ROOT_DIR}/adm_local/unix/config_files || exit 1
else
aclocal -I adm_local/unix/config_files \
-I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files || exit 1
fi
# ____________________________________________________________________
# libtoolize creates some configuration files (ltmain.sh,

View File

@ -213,29 +213,56 @@ corba=make_$ORB
CORBA=adm_local/unix/$corba
fi
echo
echo ---------------------------------------------
echo testing openGL
echo ---------------------------------------------
echo
CHECK_OPENGL
GEOM_WITH_GUI=yes
echo
echo ---------------------------------------------
echo testing QT
echo ---------------------------------------------
echo
AM_CONDITIONAL(GEOM_ENABLE_GUI, [test "${GEOM_WITH_GUI}" = "yes"])
CHECK_QT
if test "${GEOM_WITH_GUI}" = "yes"; then
echo
echo ---------------------------------------------
echo testing openGL
echo ---------------------------------------------
echo
echo
echo ---------------------------------------------
echo testing VTK
echo ---------------------------------------------
echo
CHECK_OPENGL
CHECK_VTK
echo
echo ---------------------------------------------
echo testing QT
echo ---------------------------------------------
echo
CHECK_QT
echo
echo ---------------------------------------------
echo testing VTK
echo ---------------------------------------------
echo
CHECK_VTK
echo
echo ---------------------------------------------
echo Testing GUI
echo ---------------------------------------------
echo
CHECK_SALOME_GUI
echo
echo ---------------------------------------------
echo Testing full GUI
echo ---------------------------------------------
echo
CHECK_CORBA_IN_GUI
if test "x${CORBA_IN_GUI}" != "xyes"; then
echo "failed : For configure GEOM module necessary full GUI !"
exit
fi
fi
echo
echo ---------------------------------------------
@ -271,40 +298,12 @@ CHECK_HTML_GENERATORS
echo
echo ---------------------------------------------
echo Testing GUI
echo ---------------------------------------------
echo
CHECK_SALOME_GUI
echo
echo ---------------------------------------------
echo Testing full GUI
echo ---------------------------------------------
echo
CHECK_CORBA_IN_GUI
if test "x${CORBA_IN_GUI}" != "xyes"; then
echo "failed : For configure GEOM module necessary full GUI !"
exit
fi
echo
echo ---------------------------------------------
echo Testing SALOME KERNEL module
echo Testing Kernel
echo ---------------------------------------------
echo
CHECK_KERNEL
echo
echo ---------------------------------------------
echo Testing SALOME GUI module
echo ---------------------------------------------
echo
CHECK_SALOME_GUI
echo
echo ---------------------------------------------
echo Summary
@ -312,7 +311,13 @@ echo ---------------------------------------------
echo
echo Configure
if test "${GEOM_WITH_GUI}" = "yes"; then
variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok omniORB_ok boost_ok occ_ok doxygen_ok graphviz_ok Kernel_ok SalomeGUI_ok"
fi
if test "${GEOM_WITH_GUI}" = "no"; then
variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok hdf5_ok omniORB_ok boost_ok occ_ok doxygen_ok graphviz_ok Kernel_ok"
fi
for var in $variables
do
@ -362,6 +367,8 @@ AC_OUTPUT([ \
./doc/Makefile \
./doc/salome/Makefile \
./doc/salome/gui/Makefile \
./doc/salome/gui/GEOM/doxyfile \
./doc/salome/gui/GEOM/doxyfile_py \
./doc/salome/tui/Makefile \
./doc/salome/tui/GEOM/doxyfile \
./doc/salome/tui/GEOM/sources/static/tree.js \
@ -387,6 +394,7 @@ AC_OUTPUT([ \
./src/GEOM_I/Makefile \
./src/GEOM_I_Superv/Makefile \
./src/GEOM_SWIG/Makefile \
./src/GEOM_SWIG_WITHIHM/Makefile \
./src/GenerationGUI/Makefile \
./src/GroupGUI/Makefile \
./src/IGESExport/Makefile \

View File

@ -1,166 +0,0 @@
<!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,268 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Arc</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; font-weight:normal; }
p.whs4 { font-size:12pt; margin-left:40px; }
img_whs5 { border:none; width:312px; height:359px; float:none; border-style:none; }
p.whs6 { color:#808080; font-size:12pt; }
p.whs7 { font-size:12pt; color:#000000; font-weight:normal; }
img_whs8 { border:none; width:400px; height:385px; float:none; border-style:none; }
p.whs9 { font-size:12pt; color:#000000; }
table.whs10 { x-cell-content-align:top; width:86.687%; border-spacing:0px; }
col.whs11 { width:38.452%; }
col.whs12 { width:28.09%; }
col.whs13 { width:16.729%; }
tr.whs14 { x-cell-content-align:top; }
td.whs15 { width:38.452%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; }
td.whs16 { width:28.09%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-top-style:none; }
td.whs17 { width:16.729%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; }
td.whs18 { width:38.452%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-bottom-style:none; }
img_whs19 { border:none; float:none; width:316px; height:270px; border-style:none; }
td.whs20 { width:28.09%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; }
img_whs21 { border:none; width:212px; height:270px; float:none; border-style:none; }
td.whs22 { width:16.729%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; }
table.whs23 { x-cell-content-align:top; width:100%; border-spacing:0px; }
col.whs24 { width:100%; }
tr.whs25 { x-cell-content-align:top; height:40px; }
td.whs26 { width:100%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-left-style:none; border-top-style:none; border-right-style:none; }
p.whs27 { margin-right:-6px; }
tr.whs28 { x-cell-content-align:top; height:22px; }
td.whs29 { width:100%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-left-style:none; border-right-style:none; }
tr.whs30 { x-cell-content-align:top; height:41px; }
tr.whs31 { x-cell-content-align:top; height:30px; }
td.whs32 { width:100%; padding-right:10px; padding-left:10px; border-left-style:none; border-bottom-style:none; border-right-style:none; }
p.whs33 { margin-left:0px; }
img_whs34 { border:none; float:none; border-style:none; width:318px; height:269px; }
p.whs35 { color:#808080; font-size:12pt; margin-left:40px; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs27 {margin-right:1pt; }";
strNSS += "p.whs33 {margin-left:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Basic Geometric Objects\nArc");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Arc</h1>
<p><b><span style="font-weight: normal;">T</b>o</span> create an <span
style="font-weight: bold;"><B>Arc</B></span> in the <span style="font-weight: bold;"><B>Main
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt;
Basic - &gt; Arc</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;"><span
style="font-weight: normal;">There are 2 algorithms to create an </span><span
style="font-weight: bold;"><B>Arc</B></span><span style="font-weight: normal;">
in the 3D space. </span></b></p>
<p class="whs2"><b><span style="font-weight: normal;">The Result
of each operation will be a</span></b><b> <span style="font-weight: normal;">GEOM_Object
(edge).</span></b></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
you can define an</span> Arc <span style="font-weight: normal;">by</span>
<span style="font-weight: normal;">three</span><span style="font-weight: bold;"><B>
Points </B></span><span style="font-weight: normal;">that lie on it, where
</span></b>Point1
is the starting point, Point2
is a middle point of the arc and Point3
is the ending point of the arc.</p>
<p class="whs2"><b style="font-weight: bold;">TUI
Command:</b> <span style="font-style: italic;"><I>geompy.MakeArc(Point1,
Point2, Point3)</I></span></p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 3 vertices.</p>
<p class="whs2">&nbsp;</p>
<p class="whs4"><img src="pics/arc.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs5"></p>
<p class="whs6">&nbsp;</p>
<p class="whs7"><b style="font-weight: normal;">Secondly,
you can define an <span style="font-weight: bold;"><B>Arc</B></span> by </b><span
style="font-weight: bold;"><B>Center, Start</B></span> and <span style="font-weight: bold;"><B>End</B></span>
points. The arc is built from the <span style="font-weight: bold;"><B>Start</B></span>
point to the <span style="font-weight: bold;"><B>End</B></span> point. The radius
of the arc is defined by the distance between the <span style="font-weight: bold;"><B>Center</B></span>
point and the <span style="font-weight: bold;"><B>Start</B></span> point. The
<span style="font-weight: bold;"><B>End</B></span> point defines the angle of
the arc. If the distance between the <span style="font-weight: bold;"><B>Center</B></span>
point and the <span style="font-weight: bold;"><B>End</B></span> point is not
equal to the radius, the arc will be built anyway.</p>
<p class="whs7"><span style="font-weight: bold;"><B>Reverse</B></span>
radio button allows to change the direction of the arc.</p>
<p class="whs7"><b style="font-weight: bold;">TUI Command:</b>
<span style="font-style: italic;"><I>geompy.MakeArcCenter(Center Point, Start
Point, End Point, boolean Sense)</I></span></p>
<p class="whs7"><span style="font-style: italic;"><I><b
style="font-weight: bold;">A</I></span>rguments:</b> Name + 3 vertices + Boolean.</p>
<p class="whs7">&nbsp;</p>
<p class="whs4"><img src="pics/arc2.png" x-maintain-ratio="TRUE" width="400px" height="385px" border="0" class="img_whs8"></p>
<p class="whs9">&nbsp;</p>
<p class="whs9"><b style="font-weight: bold;">Example:</b></p>
<p class="whs9">&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="86.687%" class="whs10">
<col class="whs11">
<col class="whs12">
<col class="whs13">
<col class="whs13">
<tr valign="top" class="whs14">
<td width="38.452%" class="whs15">
<p>Arc by three points lying on it.</td>
<td width="28.09%" class="whs16">
<p>Arc by Start, End and Center.</td>
<td colspan="1" rowspan="1" width="16.729%" class="whs17">
<p>&nbsp;</td>
<td width="16.729%" class="whs17">
<p>Reversed arc.</td></tr>
<tr valign="top" class="whs14">
<td width="38.452%" class="whs18">
<p class="whs6"><img src="pics/arcsn.png" x-maintain-ratio="TRUE" width="316px" height="270px" border="0" class="img_whs19"></td>
<td width="28.09%" class="whs20">
<p><img src="pics/arcsn1.png" x-maintain-ratio="TRUE" width="212px" height="270px" border="0" class="img_whs21"></td>
<td colspan="1" rowspan="1" width="16.729%" class="whs22">
<table x-use-null-cells cellspacing="0" width="100%" class="whs23">
<col class="whs24">
<tr valign="top" class="whs25">
<td width="100%" class="whs26">
<p class="whs27">Start Point</td></tr>
<tr valign="top" class="whs28">
<td width="100%" class="whs29">
<p>&nbsp;</td></tr>
<tr valign="top" class="whs30">
<td width="100%" class="whs29">
<p>&nbsp;</td></tr>
<tr valign="top" class="whs25">
<td width="100%" class="whs29">
<p>Center Point</td></tr>
<tr valign="top" class="whs31">
<td width="100%" class="whs29">
<p>&nbsp;</td></tr>
<tr valign="top" class="whs25">
<td width="100%" class="whs32">
<p>End Point</td></tr>
</table>
<p class="whs33">&nbsp;</p>
<p>&nbsp;</td>
<td width="16.729%" class="whs22">
<p><img src="pics/arcsn2.png" x-maintain-ratio="TRUE" width="318px" height="269px" border="0" class="img_whs34"></td></tr>
</table>
<p class="whs35">&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,140 +0,0 @@
<!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>

View File

@ -1,661 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Basic Geometrical Objects</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nBasic Geometrical Objects");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Basic Geometrical Objects</h1>
<h3><a name=bookmark>Creation of a Point</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.,
0., 0.)</p>
<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
100., 100., 100.)</p>
<p class="whs1">px = geompy.MakeVertex(100.,
0., 0.)</p>
<p class="whs1">py = geompy.MakeVertex(0.,
100., 0.)</p>
<p class="whs1">pz = geompy.MakeVertex(0.,
0., 100.)</p>
<p>&nbsp;</p>
<p># create a curve and a vertex on it</p>
<p class="whs1">Arc = geompy.MakeArc(py,
pz, px)</p>
<p class="whs1">p_on_arc = geompy.MakeVertexOnCurve(Arc,
0.25)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_p0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p0, &nbsp;&nbsp;&quot;Vertex
0&quot;)</p>
<p class="whs1">id_p100 &nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p100, &quot;Vertex 100&quot;)</p>
<p class="whs1">id_px &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(px, &nbsp;&nbsp;&quot;Vertex
X&quot;)</p>
<p class="whs1">id_py &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(py, &nbsp;&nbsp;&quot;Vertex
Y&quot;)</p>
<p class="whs1">id_pz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(pz, &nbsp;&nbsp;&quot;Vertex
Z&quot;)</p>
<p class="whs1">id_Arc &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(Arc, &nbsp;&quot;Arc&quot;)</p>
<p class="whs1">id_p_on_arc = geompy.addToStudy(p_on_arc,
&quot;Vertex on Arc&quot;)</p>
<p>&nbsp;</p>
<p># display vertices</p>
<p class="whs1">gg.createAndDisplayGO(id_p0)</p>
<p class="whs1">gg.createAndDisplayGO(id_p100)</p>
<p class="whs1">gg.createAndDisplayGO(id_Arc)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_p_on_arc)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark1>Creation of a Line</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.,
0., 0.)</p>
<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
100., 100., 100.)</p>
<p class="whs1">px = geompy.MakeVertex(100.,
0. &nbsp;, 0.
&nbsp;)</p>
<p class="whs1">py = geompy.MakeVertex(0.
&nbsp;, 100.,
0. &nbsp;)</p>
<p class="whs1">pz = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
100.)</p>
<p>&nbsp;</p>
<p># create a vector from two points</p>
<p class="whs1">vxy &nbsp;=
geompy.MakeVector(px, py)</p>
<p>&nbsp;</p>
<p># create a line from a point and a vector</p>
<p class="whs1">line1 = geompy.MakeLine(pz,
vxy)</p>
<p>&nbsp;</p>
<p>#create a line from two points</p>
<p class="whs1">line2 = geompy.MakeLineTwoPnt(p0,
p100)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_vxy &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(vxy, &nbsp;&quot;Vector&quot;)</p>
<p class="whs1">id_line1 &nbsp;&nbsp;&nbsp;=
geompy.addToStudy(line1,&quot;Line1&quot;)</p>
<p class="whs1">id_line2 &nbsp;&nbsp;&nbsp;=
geompy.addToStudy(line2,&quot;Line2&quot;)</p>
<p>&nbsp;</p>
<p># display lines</p>
<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>
<p class="whs1">gg.createAndDisplayGO(id_line1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_line2)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark2>Creation of &nbsp;a
Circle</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.,
0., 0.)</p>
<p class="whs1">px = geompy.MakeVertex(100.,
0. &nbsp;, 0.
&nbsp;)</p>
<p class="whs1">py = geompy.MakeVertex(0.
&nbsp;, 100.,
0. &nbsp;)</p>
<p class="whs1">pz = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
100.)</p>
<p>&nbsp;</p>
<p># create a vector on two points</p>
<p class="whs1">vxy &nbsp;=
geompy.MakeVector(px, py)</p>
<p>&nbsp;</p>
<p># create a circle from a point, a vector and a radius</p>
<p class="whs1">circle1 = geompy.MakeCircle(pz,
vxy, 30)</p>
<p>&nbsp;</p>
<p>#create a circle from three points</p>
<p class="whs1">circle2 = geompy.MakeCircleThreePnt(p0,
px, py)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_vxy &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(vxy, &nbsp;&nbsp;&nbsp;&quot;Vector&quot;)</p>
<p class="whs1">id_circle1 &nbsp;=
geompy.addToStudy(circle1,&quot;Circle1&quot;)</p>
<p class="whs1">id_circle2 &nbsp;=
geompy.addToStudy(circle2,&quot;Circle2&quot;)</p>
<p>&nbsp;</p>
<p># display circles</p>
<p class="whs1">gg.createAndDisplayGO(id_vxy)</p>
<p class="whs1">gg.createAndDisplayGO(id_circle1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_circle2)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark3>Creation of an Ellipse</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.,
0., 0.)</p>
<p class="whs1">p50 = geompy.MakeVertex(50.,
50., 50.)</p>
<p>&nbsp;</p>
<p># create a vector from two points</p>
<p class="whs1">vector &nbsp;=
geompy.MakeVector(p0, p50)</p>
<p>&nbsp;</p>
<p># create an ellipse from a point, a vector and radiuses</p>
<p class="whs1">ellipse = geompy.MakeEllipse(p50,
vector, 50, 25)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_vector &nbsp;=
geompy.addToStudy(vector, &quot;Vector&quot;)</p>
<p class="whs1">id_ellipse = geompy.addToStudy(ellipse,&quot;Ellipse&quot;)</p>
<p>&nbsp;</p>
<p># display the ellipse and its normal vector</p>
<p class="whs1">gg.createAndDisplayGO(id_vector)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_ellipse)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark4>Creation of a Curve</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.
&nbsp;, 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">p1 = geompy.MakeVertex(50.
, 100., 200.)</p>
<p class="whs1">p2 = geompy.MakeVertex(150.,
&nbsp;50., 100.)</p>
<p class="whs1">p3 = geompy.MakeVertex(100.,
150., 170.)</p>
<p class="whs1">p4 = geompy.MakeVertex(200.,
200., 150.)</p>
<p>&nbsp;</p>
<p># create a polyline from a list of points</p>
<p class="whs1">polyline = geompy.MakePolyline([p0,
p1, p2, p3, p4])</p>
<p>&nbsp;</p>
<p># create a bezier curve from a list of points</p>
<p class="whs1">bezier = geompy.MakeBezier([p0,
p1, p2, p3, p4])</p>
<p>&nbsp;</p>
<p>#create a b-spline curve from a list of points</p>
<p class="whs1">interpol = geompy.MakeInterpol([p0,
p1, p2, p3, p4])</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_p0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p0, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point1&quot;)</p>
<p class="whs1">id_p1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p1, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point2&quot;)</p>
<p class="whs1">id_p2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p2, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point3&quot;)</p>
<p class="whs1">id_p3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p3, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point4&quot;)</p>
<p class="whs1">id_p4 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p4, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;Point5&quot;)</p>
<p class="whs1">id_polyline = geompy.addToStudy(polyline,
&quot;Polyline&quot;)</p>
<p class="whs1">id_bezier &nbsp;&nbsp;=
geompy.addToStudy(bezier, &nbsp;&nbsp;&quot;Bezier&quot;)</p>
<p class="whs1">id_interpol = geompy.addToStudy(interpol,
&quot;Interpol&quot;)</p>
<p class="whs1">&nbsp;</p>
<p># display the points and the curves</p>
<p class="whs1">gg.createAndDisplayGO(id_p0)</p>
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
<p class="whs1">gg.createAndDisplayGO(id_p3)</p>
<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
<p class="whs1">gg.createAndDisplayGO(id_polyline)</p>
<p class="whs1">gg.createAndDisplayGO(id_bezier)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_interpol)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark5>Creation of a Vector</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p1 = geompy.MakeVertex(10.,
50., 20.)</p>
<p class="whs1">p2 = geompy.MakeVertex(70.,
70., 70.)</p>
<p>&nbsp;</p>
<p># create a vector from two points</p>
<p class="whs1">vector1 = geompy.MakeVector(p1,
p2)</p>
<p>&nbsp;</p>
<p># create a vector from the given components</p>
<p class="whs1">vector2 = geompy.MakeVectorDXDYDZ(30,
30, 100)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_p1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p1, &nbsp;&nbsp;&nbsp;&nbsp;&quot;Point1&quot;)</p>
<p class="whs1">id_p2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p2, &nbsp;&nbsp;&nbsp;&nbsp;&quot;Point2&quot;)</p>
<p class="whs1">id_vector1 = geompy.addToStudy(vector1,&quot;Vector1&quot;)</p>
<p class="whs1">id_vector2 = geompy.addToStudy(vector2,&quot;Vector2&quot;)</p>
<p>&nbsp;</p>
<p># display the points and the vectors</p>
<p class="whs1">gg.createAndDisplayGO(id_p1)</p>
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
<p class="whs1">gg.createAndDisplayGO(id_vector1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_vector2)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark6>Creation of a Plane</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p1 = geompy.MakeVertex(
&nbsp;0., &nbsp;&nbsp;0.,
100.)</p>
<p class="whs1">p2 = geompy.MakeVertex(100.,
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p3 = geompy.MakeVertex(200.,
200., 200.)</p>
<p class="whs1">p4 = geompy.MakeVertex(100.,
100., &nbsp;&nbsp;0.)</p>
<p class="whs1">p5 = geompy.MakeVertex(0.
&nbsp;, 100.,
&nbsp;&nbsp;0.)</p>
<p>&nbsp;</p>
<p># create a vector from the given components</p>
<p class="whs1">vector = geompy.MakeVectorDXDYDZ(100.,
100., 100.)</p>
<p>&nbsp;</p>
<p># create a vector from two points</p>
<p class="whs1">vector_arc = geompy.MakeVector(p2,
p5)</p>
<p>&nbsp;</p>
<p># create an arc from three points</p>
<p class="whs1">arc = geompy.MakeArc(p2,
p4, p5)</p>
<p>&nbsp;</p>
<p># create a wire</p>
<p class="whs1">wire = geompy.MakeWire([vector_arc,
arc])</p>
<p>&nbsp;</p>
<p># create a face</p>
<p class="whs1">isPlanarWanted = 1</p>
<p class="whs1">face = geompy.MakeFace(wire,
isPlanarWanted)</p>
<p class="whs1">trimsize = 1000.</p>
<p>&nbsp;</p>
<p># create a plane from a point, a vector and a trimsize</p>
<p class="whs1">plane1 = geompy.MakePlane(p1,
vector, trimsize)</p>
<p>&nbsp;</p>
<p># create a plane from three points and a trimsize</p>
<p class="whs1">plane2 = geompy.MakePlaneThreePnt(p1,
p2, p3, trimsize)</p>
<p>&nbsp;</p>
<p># create a plane from the given face</p>
<p class="whs1">plane3 = geompy.MakePlaneFace(face,
trimsize)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_face &nbsp;&nbsp;=
geompy.addToStudy(face, &nbsp;&quot;Face&quot;)</p>
<p class="whs1">id_plane1 = geompy.addToStudy(plane1,&quot;Plane1&quot;)</p>
<p class="whs1">id_plane2 = geompy.addToStudy(plane2,&quot;Plane2&quot;)</p>
<p class="whs1">id_plane3 = geompy.addToStudy(plane3,&quot;Plane3&quot;)</p>
<p>&nbsp;</p>
<p># display the points and the vectors</p>
<p class="whs1">gg.createAndDisplayGO(id_face)</p>
<p class="whs1">gg.createAndDisplayGO(id_plane1)</p>
<p class="whs1">gg.createAndDisplayGO(id_plane2)</p>
<p class="whs1">gg.createAndDisplayGO(id_plane3)</p>
<p class="whs1">gg.setDisplayMode(id_plane1,1)</p>
<p class="whs1">gg.setTransparency(id_plane1,0.5)</p>
<p class="whs1">gg.setDisplayMode(id_plane2,1)</p>
<p class="whs1">gg.setTransparency(id_plane2,0.5)</p>
<p class="whs1">gg.setDisplayMode(id_plane3,1)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setTransparency(id_plane3,0.5)</span>
</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

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

View File

@ -1,353 +0,0 @@
<!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,178 +0,0 @@
<!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). The edges of the box will be parallel to the coordinate
axes.</p>
<p><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI Command
:</b> </B></span><span style="font-style: italic;"><I>geompy.MakeBoxTwoPnt(Point1,
Point2)</I></span></p>
<p><b style="font-weight: bold;">Arguments: </b><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name
+ </font></span>2 vertices (opposite corners of the box).</p>
<p class="whs3">&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,355 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Building by Blocks</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
p.whs2 { font-family:'Times New Roman' , serif; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nBuilding by Blocks");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Building by Blocks</h1>
<h3>Quadrangle Face</h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&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>
<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 class="whs1">&nbsp;</p>
<p class="whs2"># create vertices</p>
<p class="whs1">p0 &nbsp;=
geompy.MakeVertex( &nbsp;0.,
&nbsp;&nbsp;0.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p1 &nbsp;=
geompy.MakeVertex( &nbsp;0.,
&nbsp;&nbsp;0.,
&nbsp;40.)</p>
<p class="whs1">p2 &nbsp;=
geompy.MakeVertex( 70., -15., &nbsp;&nbsp;0.)</p>
<p class="whs1">p3 &nbsp;=
geompy.MakeVertex( 70., -15., &nbsp;70.)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">p4 &nbsp;=
geompy.MakeVertex( &nbsp;0.,
&nbsp;70., &nbsp;&nbsp;0.)</p>
<p class="whs1">p5 &nbsp;=
geompy.MakeVertex( &nbsp;0.,
&nbsp;70., &nbsp;40.)</p>
<p class="whs1">p6 &nbsp;=
geompy.MakeVertex( 70., &nbsp;70.,
&nbsp;&nbsp;0.)</p>
<p class="whs1">p7 &nbsp;=
geompy.MakeVertex( 70., &nbsp;70.,
&nbsp;70.)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">p8 &nbsp;=
geompy.MakeVertex( &nbsp;0.,
-50., &nbsp;&nbsp;0.)</p>
<p class="whs1">p9 &nbsp;=
geompy.MakeVertex( &nbsp;0.,
-50., &nbsp;40.)</p>
<p class="whs1">p10 = geompy.MakeVertex(
70., -35., &nbsp;&nbsp;0.)</p>
<p class="whs1">p11 = geompy.MakeVertex(
70., -35., &nbsp;70.)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create faces</p>
<p class="whs1">qface1 = geompy.MakeQuad4Vertices(p0,
p1, p2, p3)</p>
<p class="whs1">qface2 = geompy.MakeQuad4Vertices(p4,
p5, p6, p7)</p>
<p class="whs1">qface3 = geompy.MakeQuad4Vertices(p0,
p1, p4, p5)</p>
<p class="whs1">qface4 = geompy.MakeQuad4Vertices(p2,
p3, p6, p7)</p>
<p class="whs1">qface5 = geompy.MakeQuad4Vertices(p0,
p2, p4, p6)</p>
<p class="whs1">qface6 = geompy.MakeQuad4Vertices(p1,
p3, p5, p7)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">qface7 = geompy.MakeQuad4Vertices(p8,
p9, p10, p11)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a hexahedral
solid between two given faces</p>
<p class="whs1">solid1 = geompy.MakeHexa2Faces(qface1,
qface7)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a hexahedral
solid, bounded by six given faces</p>
<p class="whs1">solid2 = geompy.MakeHexa(qface1,
qface2, qface3, qface4, qface5, qface6)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># add objects in the
study</p>
<p class="whs1">geompy.addToStudy(qface1,&quot;qface1&quot;)</p>
<p class="whs1">geompy.addToStudy(qface2,&quot;qface2&quot;)</p>
<p class="whs1">geompy.addToStudy(qface3,&quot;qface3&quot;)</p>
<p class="whs1">geompy.addToStudy(qface4,&quot;qface4&quot;)</p>
<p class="whs1">geompy.addToStudy(qface5,&quot;qface5&quot;)</p>
<p class="whs1">geompy.addToStudy(qface6,&quot;qface6&quot;)</p>
<p class="whs1">geompy.addToStudy(qface7,&quot;qface7&quot;)</p>
<p class="whs1">&nbsp;</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 class="whs1">&nbsp;</p>
<p class="whs2"># display solids</p>
<p class="whs1">gg.createAndDisplayGO(id_solid1)</p>
<p class="whs1">gg.setDisplayMode(id_solid1,
1)</p>
<p class="whs1">gg.createAndDisplayGO(id_solid2)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_solid2,
1)</span> </p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,197 +0,0 @@
<!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,155 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Change Orientation</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:24px; }
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:400px; height:315px; float:none; border-style:none; }
table.whs6 { x-cell-content-align:top; border-spacing:0px; width:46.327%; }
col.whs7 { width:52.644%; }
col.whs8 { width:47.356%; }
tr.whs9 { x-cell-content-align:top; }
td.whs10 { width:52.644%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; }
img_whs11 { border:none; width:138px; height:143px; border-style:none; }
td.whs12 { width:47.356%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; }
img_whs13 { border:none; width:139px; height:144px; border-style:none; }
td.whs14 { width:52.644%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-bottom-style:none; }
td.whs15 { width:47.356%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nChange Orientation");
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="image43.gif" width="23px" height="24px" border="0" class="img_whs1"> Change Orientation</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
style="font-weight: bold;"><B>Change Orientation</B></span> in the Main Menu
select <span style="font-weight: bold;"><B>Repair - &gt; Change Orientation</B></span>.</p>
<p class="whs2">This operation reverses the normals of faces
composing the selected shell. </p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i><span
style="font-style: italic;"><I> geompy.ChangeOrientation(shape)</I></span></i></p>
<p class="whs2"><b style="font-weight: bold;">Arguments: <span
style="font-weight: normal;">Name + 1 shape (shell) </span></b></p>
<p class="whs3"><span style="font-weight: normal;">Uncheck</span>
Create a copy<span style="font-weight: normal;"> checkbox if you don't
wish to leave the initial object in the project (</span>Result name<span
style="font-weight: normal;"> field will be locked).</span></p>
<p class="whs2">&nbsp;</p>
<p class="whs4"><img src="pics/changeorientation.png" x-maintain-ratio="TRUE" width="400px" height="315px" border="0" class="img_whs5"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><span style="font-weight: bold;"><B>Example:</B></span>
</p>
<p class="whs2">&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="46.327%" class="whs6">
<col class="whs7">
<col class="whs8">
<tr valign="top" class="whs9">
<td width="52.644%" class="whs10">
<p><img src="image38.gif" width="138px" height="143px" border="0" class="img_whs11"></td>
<td width="47.356%" class="whs12">
<p><img src="image40.gif" width="139px" height="144px" border="0" class="img_whs13"></td></tr>
<tr valign="top" class="whs9">
<td width="52.644%" class="whs14">
<p>Inward orientation. </td>
<td width="47.356%" class="whs15">
<p>Outward orientation</td></tr>
</table>
<p class="whs2">&nbsp;</p>
<p class="whs2">&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,183 +0,0 @@
<!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,150 +0,0 @@
<!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,150 +0,0 @@
<!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,156 +0,0 @@
<!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,153 +0,0 @@
<!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,111 +0,0 @@
<!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,147 +0,0 @@
<!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,489 +0,0 @@
<!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,138 +0,0 @@
<!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,166 +0,0 @@
<!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 +0,0 @@
<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 +0,0 @@
<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,168 +0,0 @@
<!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,144 +0,0 @@
<!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,168 +0,0 @@
<!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 +0,0 @@
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 +0,0 @@
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; }

49
doc/salome/gui/GEOM/doxyfile.in Executable file
View File

@ -0,0 +1,49 @@
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "Geometry Module Reference Manual v.@VERSION@"
OUTPUT_DIRECTORY = ./
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
TAB_SIZE = 5
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
#---------------------------------------------------------------------------
#Input related options
#---------------------------------------------------------------------------
INPUT = @srcdir@/input
FILE_PATTERNS = *.doc
IMAGE_PATH = @srcdir@/images
#---------------------------------------------------------------------------
#HTML related options
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = ./
HTML_HEADER = @srcdir@/static/header.html
HTML_FOOTER = @srcdir@/static/footer.html
#HTML_STYLESHEET = @srcdir@/static/doxygen.css
TOC_EXPAND = YES
DISABLE_INDEX = NO
GENERATE_TREEVIEW = YES
TREEVIEW_WIDTH = 300
#---------------------------------------------------------------------------
#LaTeX related option
#---------------------------------------------------------------------------
GENERATE_LATEX = NO
#---------------------------------------------------------------------------
#RTF related options
#---------------------------------------------------------------------------
GENERATE_RTF = NO
#---------------------------------------------------------------------------
#External reference options
#---------------------------------------------------------------------------
TAGFILES = geompy_doc.tag=./geompy_doc

View File

@ -0,0 +1,137 @@
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "Geometry Module Reference Manual v.@VERSION@"
OUTPUT_DIRECTORY = ./
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = NO
ALWAYS_DETAILED_SEC = YES
INLINE_INHERITED_MEMB = YES
FULL_PATH_NAMES = NO
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = YES
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
SEPARATE_MEMBER_PAGES = NO
TAB_SIZE = 5
OPTIMIZE_OUTPUT_FOR_C = YES
OPTIMIZE_OUTPUT_JAVA = YES
BUILTIN_STL_SUPPORT = NO
DISTRIBUTE_GROUP_DOC = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related options
#---------------------------------------------------------------------------
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = YES
EXTRACT_LOCAL_METHODS = NO
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = YES
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = NO
SORT_BRIEF_DOCS = NO
SORT_BY_SCOPE_NAME = NO
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
MAX_INITIALIZER_LINES = 25
SHOW_USED_FILES = NO
SHOW_DIRECTORIES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = NO
REFERENCES_RELATION = YES
USE_HTAGS = NO
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_NO_PARAMDOC = NO
EXCLUDE_SYMLINKS = NO
EXAMPLE_RECURSIVE = NO
#---------------------------------------------------------------------------
#Input related options
#---------------------------------------------------------------------------
INPUT = @top_srcdir@/src/GEOM_SWIG
FILE_PATTERNS = geompyDC.py
IMAGE_PATH = @srcdir@/images
RECURSIVE = NO
#---------------------------------------------------------------------------
#HTML related options
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = ./geompy_doc
HTML_HEADER = @srcdir@/static/header.html
HTML_FOOTER = @srcdir@/static/footer.html
#HTML_STYLESHEET = @srcdir@/static/doxygen.css
TOC_EXPAND = YES
DISABLE_INDEX = YES
GENERATE_TREEVIEW = NO
#---------------------------------------------------------------------------
#LaTeX related option
#---------------------------------------------------------------------------
GENERATE_LATEX = NO
#---------------------------------------------------------------------------
#RTF related options
#---------------------------------------------------------------------------
GENERATE_RTF = NO
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HIDE_UNDOC_RELATIONS = NO
HAVE_DOT = YES
CLASS_GRAPH = YES
COLLABORATION_GRAPH = NO
GROUP_GRAPHS = NO
UML_LOOK = NO
TEMPLATE_RELATIONS = YES
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = NO
CALL_GRAPH = NO
GRAPHICAL_HIERARCHY = YES
DIRECTORY_GRAPH = YES
DOT_IMAGE_FORMAT = jpg
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1200
MAX_DOT_GRAPH_DEPTH = 0
DOT_TRANSPARENT = NO
DOT_MULTI_TARGETS = NO
GENERATE_LEGEND = NO
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
#External reference options
#---------------------------------------------------------------------------
GENERATE_TAGFILE = geompy_doc.tag

View File

@ -1,135 +0,0 @@
<!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 +0,0 @@
<?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>

File diff suppressed because it is too large Load Diff

View File

@ -1,153 +0,0 @@
<!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,185 +0,0 @@
<!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,168 +0,0 @@
<!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 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Extrusion</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:400px; height:350px; float:none; border-style:none; }
p.whs5 { font-size:12pt; font-weight:bold; }
p.whs6 { font-size:12pt; margin-left:40px; font-weight:normal; font-style:italic; }
img_whs7 { border:none; width:400px; height:359px; float:none; border-style:none; }
p.whs8 { font-size:12pt; font-style:italic; margin-left:40px; }
img_whs9 { border:none; float:none; width:300px; height:175px; border-style:none; }
img_whs10 { border:none; width:350px; height:175px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nExtrusion");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><b style="font-weight: bold;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif" width="20px" height="20px" border="0" class="img_whs1"> &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>There are 2 algorithms for creation of <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">an
Extrusion (Prism)</font></span>. </p>
<p class="whs2">Firstly, you can define the <span style="font-weight: bold;"><B>Base
Shape </B></span>(a basis of the extrusion)<span style="font-weight: bold;"><B>,
</B></span>the <span style="font-weight: bold;"><B>Vector</B></span> (a direction
of the extrusion) and the <span style="font-weight: bold;"><B>Height</B></span>
of extrusion. &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/extrusion1.png" x-maintain-ratio="TRUE" width="400px" height="350px" border="0" class="img_whs4"></p>
<p class="whs2">&nbsp;</p>
<p class="whs5"><span style="font-weight: normal;">Secondly,
you can define the</span> Extrusion <span style="font-weight: normal;">by
the </span>Base Shape<span style="font-weight: normal;"> and the </span>Start<span
style="font-weight: normal;"> and </span>End Point<span style="font-weight: normal;">
of the </span>Vector<span style="font-weight: normal;"> &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 class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 1 shape (vertex, edge, wire, face or shell) serving as base object
+ 2 vertices.</p>
<p>&nbsp;</p>
<p class="whs6"><img src="pics/extrusion2.png" x-maintain-ratio="TRUE" width="400px" height="359px" border="0" class="img_whs7"></p>
<p class="whs6">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Examples:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs8">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_whs9"> <img src="pics/prismssn.png" x-maintain-ratio="TRUE" width="350px" height="175px" border="0" class="img_whs10"> &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,155 +0,0 @@
<!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,182 +0,0 @@
<!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,145 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Filling</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:400px; height:367px; border-style:none; float:none; }
img_whs5 { border:none; float:none; width:260px; height:230px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nFilling");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</font></span>Filling
Surface with Edges</h1>
<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate
a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Filling</B></font></span><span
style="font-size: 12pt;"> <font size=3 style="font-size:12pt;"></font></span>in the <span style="font-weight: bold;"><B>Main
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - &gt;
Generation &nbsp;-
&gt; Filling</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">To create a curving face using several edges
you need to define the <span style="font-weight: bold;"><B>Edges Compound,</B></span>
&nbsp;<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="400px" 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,152 +0,0 @@
<!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,592 +0,0 @@
|SourceProjectName:GEOM.hpr
|DestinationProjectName:index.htm
whhost.js
whmsg.js
whmozemu.js
whproxy.js
whstub.js
whutils.js
whver.js
whform.js
whphost.js
whstart.js
whtopic.js
whframes.js
whlang.js
whskin_info.htm
whskin_blank.htm
whskin_pickup.htm
whskin_homepage.htm
whskin_tw.htm
whnjs.htm
whthost.js
whtdhtml.htm
whihost.js
whibody.htm
whiform.htm
whfhost.js
whfbody.htm
whfform.htm
whghost.js
whgbody.htm
whgdhtml.htm
whgdef.htm
whproj.js
whproj.xml
whproj.htm
whxdata\whtoc.xml
whxdata\whidx.xml
whxdata\whfts.xml
whxdata\whglo.xml
whdata\whtoc.js
whdata\whtoc.htm
whdata\whtdata.js
whdata\whidx.js
whdata\whidx.htm
whdata\whidata.js
whdata\whfts.js
whdata\whfts.htm
whdata\whglo.js
whdata\whglo.htm
whdata\whgdata.js
whdata\whftdata.js
whdata\whfwdata.js
whres.xml
webhelp.jar
webhelp.cab
whgdata\whnvp30.htm
whgdata\whnvp31.htm
whgdata\whnvp32.htm
whgdata\whnvp33.htm
whgdata\whnvt30.htm
whgdata\whnvt31.htm
whgdata\whnvt32.htm
whgdata\whnvt33.htm
whgdata\whnvf30.htm
whgdata\whnvf31.htm
whgdata\whnvf32.htm
whgdata\whnvf33.htm
whgdata\whnvl31.htm
whgdata\whnvl32.htm
whgdata\whnvl33.htm
whgdata\whexpbar.gif
cshdat_webhelp.htm
whcsh_home.htm
whcshdata.htm
cshdat_robohelp.htm
whd_topic.xml
whd_nvp10.htm
whd_nvp20.htm
whd_tabs.htm
whd_dpns.htm
whd_tab0.gif
whd_tab1.gif
whd_tab2.gif
whd_tab3.gif
whd_tab4.gif
whd_tab5.gif
whd_tab6.gif
whd_tab7.gif
whd_tab8.gif
whd_toc1.gif
whd_toc2.gif
whd_toc3.gif
whd_toc4.gif
whd_show0.gif
whd_show1.gif
whd_show2.gif
whd_hide0.gif
whd_hide1.gif
whd_hide2.gif
whd_sync0.gif
whd_sync1.gif
whd_sync2.gif
whd_prev0.gif
whd_prev1.gif
whd_prev2.gif
whd_next0.gif
whd_next1.gif
whd_next2.gif
whd_wbsh0.gif
whd_wbsh1.gif
whd_wbsh2.gif
whidhtml.htm
whfdhtml.htm
index_hha.hhk
index.hhc
index.hhk
add_point_on_edge.htm
arc.htm
archimede.htm
basic_geometrical_objects.htm
basic_operations.htm
blocks_operations.htm
boolean_operations.htm
box.htm
building_by_blocks.htm
chamfer.htm
change_orientation.htm
changing_display_parameters.htm
check_free_boundaries.htm
check_free_faces.htm
circle.htm
close_contour.htm
color.htm
common.htm
complex_objects.htm
compound.htm
cone.htm
curve.htm
cut.htm
cylinder.htm
edge.htm
ellipse.htm
explode.htm
explode_on_blocks.htm
extrusion.htm
face.htm
files\introduction_to_geom.htm
files\salome2_sp3_booleangui_functions.htm
files\salome2_sp3_geomtoolsgui_functions.htm
files\salome2_sp3_measuregui_functions.htm
fillet.htm
filling.htm
fuse.htm
geometrical_objects.htm
geometry.htm
glue_faces.htm
groups.htm
isos.htm
line.htm
local_coordinate_system.htm
measurement_tools.htm
mirror_image.htm
modify_the_location.htm
multi_rotation.htm
multi_transformation.htm
multi_translation.htm
newentity_blocks.htm
occ_viewer.htm
offset_surface.htm
partition.htm
pipe_creation.htm
plane.htm
point.htm
primitives.htm
propagate.htm
repairing_operations.htm
revolution.htm
rotation.htm
scale_transform.htm
section.htm
sewing.htm
shape_processing.htm
shell.htm
sketcher.htm
sketcher_tui.htm
solid.htm
sphere.htm
suppress_faces.htm
suppress_holes.htm
suppress_internal_wires.htm
transformation_operations.htm
translation.htm
transparency.htm
turus.htm
vector.htm
viewing_geometrical_objects.htm
wire.htm
wireframe_and_shading.htm
working_plane.htm
working_with_groups.htm
ehelp.xml
index.glo
default.css
pics\image86.gif
pics\image103.gif
pics\image97.gif
pics\chamfer_all.png
pics\edgesn.png
pics\boxes.png
pics\mtrans1.png
pics\transformation3.png
pics\mtransf2.png
image15.jpg
image204.jpg
image56.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif
pics\view_rotation_point.png
pics\clipping.png
pics\image98.gif
pics\archimedesn1.png
pics\neo-basicprop.png
pics\mtrans2.png
pics\transformation4.png
pics\mtransf3.png
pics\plane1.png
image16.jpg
image57.gif
image35.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif
pics\image105.gif
pics\image99.gif
pics\image88.gif
pics\image77.gif
pics\suppress_faces1.png
pics\mirror_axissn1.png
pics\archimedesn2.png
pics\revolutionsn.png
pics\ellipsesn.png
pics\transformation10.png
pics\transformation5.png
pics\mtransf4.png
pics\plane2.png
image206.jpg
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif
image26.gif
image1.jpg
pics\image106.gif
pics\image89.gif
pics\suppress_faces2.png
pics\multi_translation1dsn.png
pics\mirror_axissn2.png
pics\multi_transformationsn2d.png
pics\archimedesn3.png
pics\wiresn.png
pics\transformation11.png
pics\transformation6.png
pics\block1.png
pics\pipe.png
pics\torus1.png
pics\plane3.png
image59.gif
image37.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif
image38.gif
pics\multi_transformationsn1d.png
pics\fillingsn.png
pics\spheres.png
pics\polyline.png
pics\neo-obj1.png
pics\repair1.png
pics\transformation7.png
pics\block2.png
pics\torus2.png
image27.gif
image180.jpg
image49.gif
image109.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif
image28.gif
selectcolor.png
pics\glue_faces1.png
pics\supp_int_wires1.png
pics\fusesn1.png
pics\transparencysn.png
pics\arcsn.png
pics\points.png
pics\neo-obj2.png
pics\neo-localcs1.png
pics\measures10.png
pics\repair2.png
pics\transformation8.png
pics\block3.png
image181.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif
image3.jpg
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif
image18.gif
image1.gif
pics\geomimport.png
pics\neo-isos.png
pics\glue_faces2.png
pics\supp_int_wires2.png
pics\sectionsn.png
pics\fusesn2.png
pics\toruses.png
pics\circles.png
pics\neo-obj3.png
pics\neo-localcs2.png
pics\measures1.png
pics\repair3.png
pics\transformation9.png
pics\bool1.png
pics\partition1.png
pics\block4.png
pics\sphere1.png
image193.jpg
image29.gif
image160.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif
pics\partition2.png
pics\changeorientation.png
pics\pipesn.png
pics\pipe_wire_edgesn.png
image2.gif
pics\chamfer_faces.png
pics\fillet_prism.png
pics\rotationsn1.png
pics\disp_mode1sn.png
pics\cones.png
pics\planes1.png
pics\lines.png
pics\neo-obj4.png
pics\neo-localcs3.png
pics\repair4.png
pics\bool2.png
pics\block5.png
pics\sphere2.png
pics\point1.png
pics\rotationsn2.png
pics\disp_mode2sn.png
pics\neo-detect2.png
pics\neo-section.png
pics\neo-obj5.png
pics\measures3.png
pics\repair5.png
pics\bool3.png
pics\chamfer1.png
pics\filling.png
pics\revolution.png
pics\arc.png
pics\ellipse.png
pics\circle1.png
image3.gif
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif
pics\set_rotation_point_dialog1.png
pics\extrusion1.png
image4.gif
pics\isos_u12_v12sn.png
pics\free_boudaries1.png
pics\multi_rotation1d1.png
pics\multi_translation2dsn.png
pics\offsetsn.png
pics\compoundsn.png
pics\prisms_basessn.png
pics\cylinders.png
pics\vectors.png
pics\neo-obj6.png
pics\measures4.png
pics\repair6.png
pics\chamfer2.png
pics\cone1.png
pics\circle2.png
pics\point3.png
image185.jpg
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif
pics\set_rotation_point_dialog2.png
pics\extrusion2.png
image5.gif
pics\free_boudaries2.png
pics\multi_rotation2d1.png
pics\multi_rotation1d2.png
pics\mirror_pointsn1.png
pics\new-tolerance.png
pics\neo-obj7.png
pics\neo-point2.png
pics\measures5.png
pics\repair7.png
pics\chamfer3.png
pics\cone2.png
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif
pics\image91.gif
pics\chamfer_edge.png
pics\fillet_edge.png
pics\multi_rotation2d2.png
pics\scale_transformsn1.png
pics\mirror_pointsn2.png
pics\cutsn.png
pics\shellsn.png
pics\filling_compoundsn.png
pics\prismssn.png
pics\neo-mrot1.png
pics\repair8.png
pics\cylinder1.png
pics\vector1.png
image61.gif
image154.jpg
image110.jpg
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif
image40.gif
pics\scale_transformsn2.png
pics\translationsn1.png
pics\facesn1.png
pics\neo-mrot2.png
pics\repair9.png
pics\cylinder2.png
pics\vector2.png
image51.gif
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif
i_blue.jpg
image30.gif
pics\free_faces1.png
pics\fillet_all.png
pics\translationsn2.png
pics\partitionsn1.png
pics\colorsn.png
pics\facesn2.png
pics\interpol.png
pics\measures8.png
pics\fillet1.png
pics\archimede.png
pics\workplane4.png
image52.gif
image167.jpg
image156.jpg
image41.gif
image145.jpg
image112.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif
pics\transformation4a.png
pics\image100.gif
pics\geomcreategroup.png
pics\commonsn.png
pics\free_faces2.png
pics\mirror_planesn1.png
pics\block_explodesn.png
pics\partitionsn2.png
pics\solidsn.png
pics\facesn3.png
pics\distance.png
pics\neo-scetcher1.png
pics\neo-transparency.png
pics\measures9.png
pics\fillet2.png
pics\workplane5.png
image53.gif
image168.jpg
image42.gif
image113.jpg
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif
image43.gif
pics\image95.gif
pics\mirror_planesn2.png
pics\neo-scetcher2.png
pics\transformation1.png
pics\fillet3.png
pics\box1.png
pics\workplane6.png
pics\curve.png
pics\line.png
image10.gif
image32.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif
image33.gif
pics\image102.gif
pics\image96.gif
pics\geomexport.png
pics\multi_translation_initialsn.png
pics\plane_on_face.png
pics\bezier.png
pics\repair10.png
pics\transformation2.png
pics\mtransf1.png
pics\editgroup.png
pics\box2.png
image44.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif
ehlpdhtm.js
index.ppf
default_ns.css
whxdata\whtdata0.xml
whxdata\whftdata0.xml
whxdata\whfwdata0.xml
whxdata\whgdata0.xml
whdata\whtdata0.htm
whdata\whftdata0.htm
whdata\whfwdata0.htm
whdata\whgdata0.htm
whgdata\whlstt0.htm
whgdata\whlstt1.htm
whgdata\whlstt2.htm
whgdata\whlstt3.htm
whgdata\whlstt4.htm
whgdata\whlstt5.htm
whgdata\whlstt6.htm
whgdata\whlstt7.htm
whgdata\whlstt8.htm
whgdata\whlstt9.htm
whgdata\whlstt10.htm
whgdata\whlstt11.htm
whgdata\whlstt12.htm
whgdata\whlstt13.htm
whgdata\whlstt14.htm
whgdata\whlstt15.htm
whgdata\whlstt16.htm
whgdata\whlsti0.htm
whgdata\whlstfl0.htm
whgdata\whlstfl1.htm
whgdata\whlstfl2.htm
whgdata\whlstfl3.htm
whgdata\whlstfl4.htm
whgdata\whlstfl5.htm
whgdata\whlstfl6.htm
whgdata\whlstfl7.htm
whgdata\whlstfl8.htm
whgdata\whlstfl9.htm
whgdata\whlstfl10.htm
whgdata\whlstfl11.htm
whgdata\whlstfl12.htm
whgdata\whlstfl13.htm
whgdata\whlstfl14.htm
whgdata\whlstfl15.htm
whgdata\whlstfl16.htm
whgdata\whlstfl17.htm
whgdata\whlstfl18.htm
whgdata\whlstfl19.htm
whgdata\whlstfl20.htm
whgdata\whlstfl21.htm
whgdata\whlstfl22.htm
whgdata\whlstfl23.htm
whgdata\whlstfl24.htm
whgdata\whlstfl25.htm
whgdata\whlstfl26.htm
whgdata\whlstf0.htm
whgdata\whlstf1.htm
whgdata\whlstf2.htm
whgdata\whlstf3.htm
whgdata\whlstf4.htm
whgdata\whlstf5.htm
whgdata\whlstf6.htm
whgdata\whlstf7.htm
whgdata\whlstf8.htm
whgdata\whlstf9.htm
whgdata\whlstf10.htm
whgdata\whlstf11.htm
whgdata\whlstf12.htm
whgdata\whlstf13.htm
whgdata\whlstf14.htm
whgdata\whlstg0.htm
index.htm
index_csh.htm
index_rhc.htm

View File

@ -1,570 +0,0 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Geometrical Objects</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { font-family:'Lucida Console' , monospace; }
p.whs2 { font-family:'Times New Roman' , serif; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTUI Scripts\nCreating Geometric Objects\nAdvanced Geometrical Objects");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>Advanced Geometrical Objects</h1>
<h3><a name=bookmark>Creation of an Edge</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 0.
&nbsp;)</p>
<p class="whs1">pxyz = geompy.MakeVertex(100.,
100., 100.)</p>
<p>&nbsp;</p>
<p># create an edge</p>
<p class="whs1">edge = geompy.MakeEdge(p0,
pxyz)</p>
<p>&nbsp;</p>
<p># add object in the study</p>
<p class="whs1">id_edge = geompy.addToStudy(edge,&quot;Edge&quot;)</p>
<p>&nbsp;</p>
<p># display an edge</p>
<p class="whs1">gg.createAndDisplayGO(id_edge)
</p>
<p class="whs1">&nbsp;</p>
<h3><a name=Creation>Creation of a Wire</a></h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
geompy</span></p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># create vertices</p>
<p class="whs1">px &nbsp;&nbsp;=
geompy.MakeVertex(100., 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">py &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
100., 0. &nbsp;)</p>
<p class="whs1">pz &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 100.)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># create a vector from
two points</p>
<p class="whs1">vxy = geompy.MakeVector(px,
py)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create an arc from
three points</p>
<p class="whs1">arc = geompy.MakeArc(py,
pz, px)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># create a wire</p>
<p class="whs1">wire = geompy.MakeWire([vxy,
arc])</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># add an object in the
study</p>
<p class="whs1">id_wire = geompy.addToStudy(wire,&quot;Wire&quot;)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># display the wire</p>
<p class="whs1">gg.createAndDisplayGO(id_wire)
</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark1>Creation of a Face</a></h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
geompy</span></p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create vertices</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 0.
&nbsp;)</p>
<p class="whs1">px &nbsp;&nbsp;=
geompy.MakeVertex(100., 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">py &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
100., 0. &nbsp;)</p>
<p class="whs1">pz &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 100.)</p>
<p class="whs1">pxyz = geompy.MakeVertex(100.,
100., 100.)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a vector from
two points</p>
<p class="whs1">vxy = geompy.MakeVector(px,
py)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create an arc from
three points</p>
<p class="whs1">arc = geompy.MakeArc(py,
pz, px)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a wire</p>
<p class="whs1">wire = geompy.MakeWire([vxy,
arc])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create sketchers</p>
<p class="whs1">sketcher1 = geompy.MakeSketcher(&quot;Sketcher:F
-100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WW&quot;,</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[100,0,0,
1,1,1, -1,1,0])</p>
<p class="whs1">sketcher2 = geompy.MakeSketcher(&quot;Sketcher:F
0 0:TT 70 0:TT 70 70:TT 0 70:WW&quot;)</p>
<p class="whs1">sketcher3 = geompy.MakeSketcher(&quot;Sketcher:F
20 20:TT 50 20:TT 50 50:TT 20 50:WW&quot;)</p>
<p class="whs1">isPlanarFace = 1</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a face from
the wire</p>
<p class="whs1">face1 = geompy.MakeFace(wire,
isPlanarFace)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create faces from two
wires</p>
<p class="whs1">face2 = geompy.MakeFaceWires([wire,
sketcher1],isPlanarFace)</p>
<p class="whs1">face3 = geompy.MakeFaces([sketcher2,
sketcher3],isPlanarFace)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># add objects in the
study</p>
<p class="whs1">id_face1 = geompy.addToStudy(face1,&quot;Face1&quot;)</p>
<p class="whs1">id_face2 = geompy.addToStudy(face2,&quot;Face2&quot;)</p>
<p class="whs1">id_face3 = geompy.addToStudy(face3,&quot;Face3&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># display the faces</p>
<p class="whs1">gg.createAndDisplayGO(id_face1)</p>
<p class="whs1">gg.setDisplayMode(id_face1,1)</p>
<p class="whs1">gg.setTransparency(id_face1,0.2)</p>
<p class="whs1">gg.createAndDisplayGO(id_face2)</p>
<p class="whs1">gg.setDisplayMode(id_face2,1)</p>
<p class="whs1">gg.setTransparency(id_face2,0.2)</p>
<p class="whs1">gg.createAndDisplayGO(id_face3)</p>
<p class="whs1">gg.setDisplayMode(id_face3,1)</p>
<p class="whs1">gg.setTransparency(id_face3,0.2)
</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark2>Creation of a Shell</a></h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
geompy</span></p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2">#create vertices</p>
<p class="whs1">p0 &nbsp;&nbsp;=
geompy.MakeVertex( 0., &nbsp;0.,
&nbsp;0.)</p>
<p class="whs1">pxyz = geompy.MakeVertex(
5., &nbsp;5.,
40.)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create sketchers</p>
<p class="whs1">sketcher1 = geompy.MakeSketcher(&quot;Sketcher:F
0 0:TT 70 0:TT 70 70:TT 0 70:WW&quot;)</p>
<p class="whs1">sketcher2 = geompy.MakeSketcher(&quot;Sketcher:F
20 20:TT 50 20:TT 50 50:TT 20 50:WW&quot;)</p>
<p class="whs1">isPlanarFace = 1</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a face from
two wires</p>
<p class="whs1">face = geompy.MakeFaces([sketcher1,
sketcher2],isPlanarFace)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a prism</p>
<p class="whs1">prism = geompy.MakePrism(face,
p0, pxyz)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># explode the prism into
faces</p>
<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a shell from
a set of faces</p>
<p class="whs1">shell = geompy.MakeShell([prism_faces[0],
prism_faces[2], prism_faces[3],</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[7],
prism_faces[9]])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># add objects in the
study</p>
<p class="whs1">id_shell = geompy.addToStudy(shell,&quot;Shell&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># display the shell</p>
<p class="whs1">gg.createAndDisplayGO(id_shell)</p>
<p class="whs1">gg.setDisplayMode(id_shell,1)
</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark3>Creation of a Solid</a></h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
geompy</span></p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2">#create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(
0., &nbsp;0.,
&nbsp;0.)</p>
<p class="whs1">pz = geompy.MakeVertex(
0., &nbsp;0.,
40.)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create sketchers</p>
<p class="whs1">sketcher = geompy.MakeSketcher(&quot;Sketcher:F
-50 -50:TT 100 -50:R 0:C 50 70:R 0:L 100:WW&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create faces from two
wires</p>
<p class="whs1">face = geompy.MakeFace(sketcher,1)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a prism</p>
<p class="whs1">prism = geompy.MakePrism(face,
p0, pz)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># explode the prism into
faces</p>
<p class="whs1">prism_faces = geompy.SubShapeAllSorted(prism,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a shell from
a set of faces</p>
<p class="whs1">shell = geompy.MakeShell([prism_faces[0],
prism_faces[1],</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[3],
prism_faces[4],</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prism_faces[5],
prism_faces[2]])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create a solid, bounded
by the given shells</p>
<p class="whs1">solid = geompy.MakeSolid([shell])</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># add objects in the
study</p>
<p class="whs1">id_solid = geompy.addToStudy(solid,&quot;Solid&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># display the solid</p>
<p class="whs1">gg.createAndDisplayGO(id_solid)</p>
<p class="whs1">gg.setDisplayMode(id_solid,1)
</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark4>Creation of a Compound</a></h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
geompy</span></p>
<p class="whs1">import salome</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># create 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 class="whs1">&nbsp;</p>
<p class="whs2"># create an arc from
three points</p>
<p class="whs1">arc = geompy.MakeArc(p1,
p2, p3)</p>
<p class="whs1">ShapeListCompound
= []</p>
<p class="whs1">i = 0</p>
<p class="whs1">while i &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">&nbsp;</p>
<p class="whs2"># create a compund of
the given shapes</p>
<p class="whs1">compound = geompy.MakeCompound(ShapeListCompound)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># add object in the study</p>
<p class="whs1">id_compound = geompy.addToStudy(compound,&quot;Compound&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># display the compound</p>
<p class="whs1">gg.createAndDisplayGO(id_compound)
</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -1,144 +0,0 @@
<!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>

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -0,0 +1,77 @@
<!doctype html 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>Main Page</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body>
&nbsp;
</body>
</html>
<!-- Generated by Doxygen 1.4.7 -->
<div class="nav">
<a class="el" href="namespacegeompyDC.html">geompyDC</a>.<a class="el" href="classgeompyDC_1_1info.html">info</a></div>
<h1>geompyDC.info Class Reference</h1><!-- doxytag: class="geompyDC::info" --><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeompyDC_1_1info.html#ec486e837378c061897b2e1b8aefde41">UNKNOWN</a> = 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeompyDC_1_1info.html#e26dc8be1afb44222ab88b4a9852c6aa">CLOSED</a> = 1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeompyDC_1_1info.html#b717bbcea5e0faa48760b0be4706ec57">UNCLOSED</a> = 2</td></tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="ec486e837378c061897b2e1b8aefde41"></a><!-- doxytag: member="geompyDC::info::UNKNOWN" ref="ec486e837378c061897b2e1b8aefde41" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classgeompyDC_1_1info.html#ec486e837378c061897b2e1b8aefde41">geompyDC.info.UNKNOWN</a> = 0<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="e26dc8be1afb44222ab88b4a9852c6aa"></a><!-- doxytag: member="geompyDC::info::CLOSED" ref="e26dc8be1afb44222ab88b4a9852c6aa" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classgeompyDC_1_1info.html#e26dc8be1afb44222ab88b4a9852c6aa">geompyDC.info.CLOSED</a> = 1<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="b717bbcea5e0faa48760b0be4706ec57"></a><!-- doxytag: member="geompyDC::info::UNCLOSED" ref="b717bbcea5e0faa48760b0be4706ec57" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classgeompyDC_1_1info.html#b717bbcea5e0faa48760b0be4706ec57">geompyDC.info.UNCLOSED</a> = 2<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
</DIV>
<DIV class="div-footer">
Generated on Thu Jun 21 12:28:15 2007 for SALOME - GEOM - v.4.0.0 by&nbsp;<A href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></A> 1.4.7</DIV>
</BODY>
</HTML>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,65 @@
<!doctype html 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>Main Page</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head>
<body>
&nbsp;
</body>
</html>
<!-- Generated by Doxygen 1.4.7 -->
<h1>Package geompyDC</h1>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeompyDC_1_1info.html">info</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeompyDC_1_1geompyDC.html">geompyDC</a></td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">dictionary&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompyDC.html#d85aa7c933dca679752d28c67018a43c">ShapeType</a> = {&quot;COMPOUND&quot;:0, &quot;COMPSOLID&quot;:1, &quot;SOLID&quot;:2, &quot;SHELL&quot;:3, &quot;FACE&quot;:4, &quot;WIRE&quot;:5, &quot;EDGE&quot;:6, &quot;VERTEX&quot;:7, &quot;SHAPE&quot;:8}</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompyDC.html#55ea9fd7f9b97796036ae6996f4c0a83">kind</a> = GEOM.GEOM_IKindOfShape</td></tr>
</table>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="d85aa7c933dca679752d28c67018a43c"></a><!-- doxytag: member="geompyDC::ShapeType" ref="d85aa7c933dca679752d28c67018a43c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">dictionary <a class="el" href="namespacegeompyDC.html#d85aa7c933dca679752d28c67018a43c">geompyDC.ShapeType</a> = {&quot;COMPOUND&quot;:0, &quot;COMPSOLID&quot;:1, &quot;SOLID&quot;:2, &quot;SHELL&quot;:3, &quot;FACE&quot;:4, &quot;WIRE&quot;:5, &quot;EDGE&quot;:6, &quot;VERTEX&quot;:7, &quot;SHAPE&quot;:8}<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="55ea9fd7f9b97796036ae6996f4c0a83"></a><!-- doxytag: member="geompyDC::kind" ref="55ea9fd7f9b97796036ae6996f4c0a83" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacegeompyDC.html#55ea9fd7f9b97796036ae6996f4c0a83">geompyDC.kind</a> = GEOM.GEOM_IKindOfShape<code> [static]</code> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
</DIV>
<DIV class="div-footer">
Generated on Thu Jun 21 12:28:15 2007 for SALOME - GEOM - v.4.0.0 by&nbsp;<A href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></A> 1.4.7</DIV>
</BODY>
</HTML>

View File

@ -1,165 +0,0 @@
<!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,327 +0,0 @@
<!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: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 981 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1022 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 980 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 957 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 924 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 938 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 954 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 973 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 987 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 975 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

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