1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
6 <title>Partition</title>
\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">
\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
\r
9 <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
\r
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
15 <style type="text/css">
\r
17 img_whs1 { width:20px; height:20px; border-style:none; }
\r
18 p.whs2 { font-size:12pt; }
\r
19 p.whs3 { font-size:12pt; font-weight:normal; }
\r
20 p.whs4 { font-weight:bold; font-size:14pt; }
\r
21 p.whs5 { font-size:12pt; font-weight:bold; }
\r
22 p.whs6 { font-size:12pt; margin-left:40px; }
\r
23 img_whs7 { border:none; width:312px; height:483px; float:none; border-style:none; }
\r
24 img_whs8 { border:none; width:448px; height:302px; float:none; border-style:none; }
\r
25 img_whs9 { border:none; float:none; width:297px; height:245px; border-style:none; }
\r
26 img_whs10 { border:none; float:none; width:273px; height:245px; border-style:none; }
\r
28 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
31 if (innerWidth != origWidth || innerHeight != origHeight)
\r
34 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
35 origWidth = innerWidth;
\r
36 origHeight = innerHeight;
\r
42 <style type="text/css">
\r
44 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
45 p.WebHelpNavBar { text-align:right; }
\r
47 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
\r
48 <script type="text/javascript" language="javascript" src="whver.js"></script>
\r
49 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
\r
50 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
\r
51 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
\r
52 <script type="text/javascript" language="javascript1.2">
\r
54 if (window.gbWhTopic)
\r
56 if (window.setRelStartPage)
\r
58 addTocInfo("Geometry module\nTransforming geometrical objects\nBasic Operations\nPartition");
\r
59 addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
\r
60 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
\r
65 if (window.setRelStartPage)
\r
67 setRelStartPage("index.htm");
\r
77 document.location.reload();
\r
81 <body><script type="text/javascript" language="javascript1.2">
\r
83 if (window.writeIntopicBar)
\r
87 <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>
\r
89 <p class="whs2"><b style="font-weight: normal;">T</b>o produce
\r
90 a <span style="font-weight: bold;"><B>Partition</B></span> in the <span style="font-weight: bold;"><B>Main
\r
91 Menu</B></span> select <span style="font-weight: bold;"><B>Operations - >
\r
92 Partition</B></span></p>
\r
94 <p class="whs3"> </p>
\r
96 <p class="whs3"><b><span style="font-weight: normal;">This
\r
97 operation </b>builds a shape by intersection of two shapes or a shape
\r
98 and a plane.</span></p>
\r
100 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
\r
101 Result <span style="font-weight: normal;">will be any</span> </b>GEOM_Object.</p>
\r
103 <p class="whs2"> </p>
\r
105 <p class="whs4"><b><span style="font-weight: bold;"><B>Intersection
\r
106 of two shapes.</B></span></b></p>
\r
108 <p class="whs5"> </p>
\r
110 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
\r
111 </i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes,
\r
112 ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs,
\r
113 ListOfMaterials)</I></span>, where ListOfShapes is a list of shapes to be
\r
114 intersected, ListOfTools is a list of shapes to intersect the shapes from
\r
115 ListOfShapes, ListOfKeepInside is a list of shapes outside which the results
\r
116 will be deleted, ListOfRemoveInside is a list of shapes inside which the
\r
117 results will be deleted, Limit is a type of the result shapes, if RemoveWebs
\r
118 is True the Glue 3D algorithm will be performed on the results, ListOfMaterials
\r
119 is a list of materials indices for each shape, it makes sense only if
\r
120 RemoveWebs is True.</p>
\r
122 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
\r
123 </font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + 2 shapes (the first shape
\r
124 will be intersected by the second shape) + reconstruction limit.</font></span></p>
\r
126 <p class="whs2"> </p>
\r
128 <p class="whs6"><img src="pics/partition1.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs7"></p>
\r
130 <p class="whs2"> </p>
\r
132 <p class="whs6"><img src="pics/neo-materials.png" x-maintain-ratio="TRUE" width="448px" height="302px" border="0" class="img_whs8"></p>
\r
134 <p class="whs2"> </p>
\r
136 <p class="whs2"> </p>
\r
138 <p class="whs4">Intersection of a Shape
\r
141 <p class="whs2"> </p>
\r
143 <p class="whs2"><span style="font-weight: bold;"><B>TUI Command</B></span>
\r
144 <span style="font-style: italic;"><I>geompy.MakeHalfPartition(Shape,
\r
145 Plane), </I></span>where<span style="font-style: italic;"><I> Shape</I></span> is
\r
146 a Shape to be intersected and <span style="font-style: italic;"><I>Plane</I></span>
\r
147 is a Tool shape, to intersect the <span style="font-style: italic;"><I>Shape</I></span>.</p>
\r
149 <p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
\r
150 + 1 shape which will be intersected + 1 cutting face.</p>
\r
152 <p class="whs2"> </p>
\r
154 <p class="whs6"><img src="pics/partition2.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs7"></p>
\r
156 <p class="whs6"> </p>
\r
158 <p class="whs6"> </p>
\r
160 <p class="whs2"><b style="font-weight: bold;">Example:</b></p>
\r
162 <p class="whs2"> </p>
\r
164 <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>
\r
166 <p class="whs6"> </p>
\r
168 <p class="whs2">Our TUI Scripts provide you with useful examples
\r
169 of the use of <a href="basic_operations.htm#bookmark">Basic Operations</a>.
\r
174 <script type="text/javascript" language="javascript1.2">
\r
176 if (window.writeIntopicBar)
\r
177 writeIntopicBar(0);
\r