geom/doc/salome/gui/GEOM/partition.htm

180 lines
6.6 KiB
HTML
Raw Normal View History

2007-02-07 16:23:40 +05:00
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Partition</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; font-weight:normal; }
p.whs4 { font-weight:bold; font-size:14pt; }
p.whs5 { font-size:12pt; margin-left:40px; }
img_whs6 { border:none; width:400px; height:350px; float:none; border-style:none; }
img_whs7 { border:none; width:400px; height:324px; float:none; border-style:none; }
img_whs8 { border:none; float:none; width:297px; height:245px; border-style:none; }
img_whs9 { border:none; float:none; width:273px; height:245px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addTocInfo("Geometry module\nTransforming geometrical objects\nBasic Operations\nPartition");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif" width="20px" height="20px" border="0" class="img_whs1"> &nbsp;</font></span></b>Partition</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
a <span style="font-weight: bold;"><B>Partition</B></span> in the <span style="font-weight: bold;"><B>Main
Menu</B></span> select <span style="font-weight: bold;"><B>Operations - &gt;
Partition</B></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs3"><b><span style="font-weight: normal;">This
operation </b>builds a shape by intersection of two shapes or a shape
and a plane.</span></p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">will be any</span> </b>GEOM_Object.</p>
<p class="whs2">&nbsp;</p>
<p class="whs4"><b><span style="font-weight: bold;"><B>Intersection
of two shapes.</B></span></b></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">As far as the intersection
of two objects can produce any type of geometrical objects, <span style="font-weight: bold;"><B>Reconstruction
Limit</B></span> box allows to choose the preferrable result, i.e. a solid,
a shell, a list of faces, etc.</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes,
ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs,
ListOfMaterials)</I></span>, where <span style="font-style: italic;"><I>ListOfShapes</I></span>
is a list of shapes to be intersected and &nbsp;<span
style="font-style: italic;"><I>ListOfTools</I></span>
is a list of shapes to intersect the shapes from ListOfShapes. </p>
<p class="whs2">Since the implementation of a new version of
PartitionAlgo other parameters are ignored by the current functionality
and remain there only to support the old scripts. &nbsp;</p>
<p class="whs2"><b>Arguments:</b> Name + 2 lists of shapes
(the shapes from the first list will be intersected with the shapes from
the second list) + reconstruction limit.</p>
<p class="whs2">&nbsp;</p>
<p class="whs5"><img src="pics/partition1.png" x-maintain-ratio="TRUE" width="400px" height="350px" border="0" class="img_whs6"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs4">Intersection of a Shape
and a Plane.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><span style="font-weight: bold;"><B>TUI Command</B></span>
&nbsp;<span style="font-style: italic;"><I>geompy.MakeHalfPartition(Shape,
Plane), </I></span>where<span style="font-style: italic;"><I> Shape</I></span> is
a Shape to be intersected and <span style="font-style: italic;"><I>Plane</I></span>
is a Tool shape, to intersect the <span style="font-style: italic;"><I>Shape</I></span>.</p>
<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
+ 1 shape which will be intersected + 1 cutting face.</p>
<p class="whs2">&nbsp;</p>
<p class="whs5"><img src="pics/partition2.png" x-maintain-ratio="TRUE" width="400px" height="324px" border="0" class="img_whs7"></p>
<p class="whs5">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs5"><img src="pics/partitionsn1.png" x-maintain-ratio="TRUE" width="297px" height="245px" border="0" class="img_whs8"> &nbsp;<img src="pics/partitionsn2.png" x-maintain-ratio="TRUE" width="273px" height="245px" border="0" class="img_whs9"></p>
<p class="whs5">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of the use of <a href="basic_operations.htm#bookmark">Basic Operations</a>.
</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>