2005-11-24 20:34:00 +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; }
|
2006-02-07 20:58:35 +05:00
|
|
|
p.whs4 { font-weight:bold; font-size:14pt; }
|
|
|
|
p.whs5 { font-size:12pt; font-weight:bold; }
|
2006-05-06 14:44:32 +06:00
|
|
|
p.whs6 { font-size:12pt; margin-left:40px; }
|
|
|
|
img_whs7 { border:none; width:312px; height:483px; float:none; border-style:none; }
|
|
|
|
img_whs8 { border:none; width:448px; height:302px; float:none; border-style:none; }
|
2006-02-07 20:58:35 +05:00
|
|
|
img_whs9 { border:none; float:none; width:297px; height:245px; border-style:none; }
|
|
|
|
img_whs10 { border:none; float:none; width:273px; height:245px; border-style:none; }
|
2005-11-24 20:34:00 +05:00
|
|
|
-->
|
|
|
|
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
|
|
|
<!--
|
|
|
|
function reDo() {
|
|
|
|
if (innerWidth != origWidth || innerHeight != origHeight)
|
|
|
|
location.reload();
|
|
|
|
}
|
|
|
|
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
|
|
|
origWidth = innerWidth;
|
|
|
|
origHeight = innerHeight;
|
|
|
|
onresize = reDo;
|
|
|
|
}
|
|
|
|
onerror = null;
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
<style type="text/css">
|
|
|
|
<!--
|
|
|
|
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
|
|
|
-->
|
|
|
|
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
|
|
|
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
|
|
|
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
|
|
|
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
|
|
|
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
|
|
|
</head>
|
|
|
|
<body><script type="text/javascript" language="javascript1.2">
|
|
|
|
<!--
|
|
|
|
if (window.gbWhTopic)
|
|
|
|
{
|
|
|
|
if (window.addTocInfo)
|
|
|
|
{
|
2006-05-06 14:44:32 +06:00
|
|
|
addTocInfo("Geometry module\nTransforming geometrical objects\nBasic Operations\nPartition");
|
2005-11-24 20:34:00 +05:00
|
|
|
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
|
|
|
|
|
|
|
}
|
|
|
|
if (window.writeBtnStyle)
|
|
|
|
writeBtnStyle();
|
|
|
|
|
|
|
|
if (window.writeIntopicBar)
|
|
|
|
writeIntopicBar(1);
|
|
|
|
|
|
|
|
if (window.setRelStartPage)
|
|
|
|
{
|
|
|
|
setRelStartPage("geom.htm");
|
|
|
|
|
|
|
|
autoSync(1);
|
|
|
|
sendSyncInfo();
|
|
|
|
sendAveInfoOut();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
if (window.gbIE4)
|
|
|
|
document.location.reload();
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
<h1><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Partition</h1>
|
|
|
|
|
|
|
|
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
2006-05-06 14:44:32 +06:00
|
|
|
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 - >
|
|
|
|
Partition</B></span></p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
<p class="whs3"> </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"> </p>
|
|
|
|
|
|
|
|
<p class="whs4"><b><span style="font-weight: bold;"><B>Intersection
|
|
|
|
of two shapes.</B></span></b></p>
|
|
|
|
|
2006-02-07 20:58:35 +05:00
|
|
|
<p class="whs5"> </p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
|
|
</i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes,
|
|
|
|
ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs,
|
|
|
|
ListOfMaterials)</I></span>, where ListOfShapes is a list of shapes to be
|
|
|
|
intersected, ListOfTools is a list of shapes to intersect the shapes from
|
|
|
|
ListOfShapes, ListOfKeepInside is a list of shapes outside which the results
|
|
|
|
will be deleted, ListOfRemoveInside is a list of shapes inside which the
|
|
|
|
results will be deleted, Limit is a type of the result shapes, if RemoveWebs
|
|
|
|
is True the Glue 3D algorithm will be performed on the results, ListOfMaterials
|
|
|
|
is a list of materials indices for each shape, it makes sense only if
|
|
|
|
RemoveWebs is True.</p>
|
|
|
|
|
|
|
|
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
|
2006-02-07 20:58:35 +05:00
|
|
|
</font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + 2 shapes (the first shape
|
|
|
|
will be intersected by the second shape) + reconstruction limit.</font></span></p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs6"><img src="pics/partition1.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs7"></p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs6"><img src="pics/neo-materials.png" x-maintain-ratio="TRUE" width="448px" height="302px" border="0" class="img_whs8"></p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
|
2006-02-07 20:58:35 +05:00
|
|
|
<p class="whs4">Intersection of a Shape
|
|
|
|
and a Plane.</p>
|
|
|
|
|
|
|
|
<p class="whs2"> </p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
<p class="whs2"><span style="font-weight: bold;"><B>TUI Command</B></span>
|
|
|
|
<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"> </p>
|
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs6"><img src="pics/partition2.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs7"></p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs6"> </p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs6"> </p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
|
|
|
|
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs6"><img src="pics/partitionsn1.png" x-maintain-ratio="TRUE" width="297px" height="245px" border="0" class="img_whs9"> <img src="pics/partitionsn2.png" x-maintain-ratio="TRUE" width="273px" height="245px" border="0" class="img_whs10"></p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
2006-05-06 14:44:32 +06:00
|
|
|
<p class="whs6"> </p>
|
2005-11-24 20:34:00 +05:00
|
|
|
|
|
|
|
<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> </p>
|
|
|
|
|
|
|
|
<script type="text/javascript" language="javascript1.2">
|
|
|
|
<!--
|
|
|
|
if (window.writeIntopicBar)
|
|
|
|
writeIntopicBar(0);
|
|
|
|
//-->
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|