]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/partition.htm
Salome HOME
Merge from OCC_development_generic_2006
[modules/geom.git] / doc / salome / gui / GEOM / partition.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\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
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\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 img_whs6 { border:none; width:312px; height:483px; float:none; border-style:none; }\r
23 img_whs7 { border:none; width:448px; height:302px; float:none; border-style:none; }\r
24 p.whs8 { font-size:12pt; margin-left:40px; }\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
27 -->\r
28 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
29 <!--\r
30 function reDo() {\r
31   if (innerWidth != origWidth || innerHeight != origHeight)\r
32      location.reload();\r
33 }\r
34 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
35         origWidth = innerWidth;\r
36         origHeight = innerHeight;\r
37         onresize = reDo;\r
38 }\r
39 onerror = null; \r
40 //-->\r
41 </script>\r
42 <style type="text/css">\r
43 <!--\r
44 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
45 -->\r
46 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
47 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
48 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
49 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
50 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
51 </head>\r
52 <body><script type="text/javascript" language="javascript1.2">\r
53 <!--\r
54 if (window.gbWhTopic)\r
55 {\r
56         if (window.addTocInfo)\r
57         {\r
58         addTocInfo("GEOM module\nTransforming geometrical objects\nBasic Operations\nPartition");\r
59 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
60 \r
61         }\r
62         if (window.writeBtnStyle)\r
63                 writeBtnStyle();\r
64 \r
65         if (window.writeIntopicBar)\r
66                 writeIntopicBar(1);\r
67 \r
68         if (window.setRelStartPage)\r
69         {\r
70         setRelStartPage("geom.htm");\r
71 \r
72                 autoSync(1);\r
73                 sendSyncInfo();\r
74                 sendAveInfoOut();\r
75         }\r
76 }\r
77 else\r
78         if (window.gbIE4)\r
79                 document.location.reload();\r
80 //-->\r
81 </script>\r
82 <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>\r
83 \r
84 <p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
85  a <span style="font-weight: bold;"><B>Partition</B></span> in the Main Menu select \r
86  <span style="font-weight: bold;"><B>Operations - &gt; Partition</B></span></p>\r
87 \r
88 <p class="whs3">&nbsp;</p>\r
89 \r
90 <p class="whs3"><b><span style="font-weight: normal;">This \r
91  operation </b>builds a shape by intersection of two shapes or a shape \r
92  and a plane.</span></p>\r
93 \r
94 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
95  Result <span style="font-weight: normal;">will be any</span> </b>GEOM_Object.</p>\r
96 \r
97 <p class="whs2">&nbsp;</p>\r
98 \r
99 <p class="whs4"><b><span style="font-weight: bold;"><B>Intersection \r
100  of two shapes.</B></span></b></p>\r
101 \r
102 <p class="whs5">&nbsp;</p>\r
103 \r
104 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
105  </i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes, \r
106  ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs, \r
107  ListOfMaterials)</I></span>, where ListOfShapes is a list of shapes to be \r
108  intersected, ListOfTools is a list of shapes to intersect the shapes from \r
109  ListOfShapes, ListOfKeepInside is a list of shapes outside which the results \r
110  will be deleted, ListOfRemoveInside is a list of shapes inside which the \r
111  results will be deleted, Limit is a type of the result shapes, if RemoveWebs \r
112  is True the Glue 3D algorithm will be performed on the results, ListOfMaterials \r
113  is a list of materials indices for each shape, it makes sense only if \r
114  RemoveWebs is True.</p>\r
115 \r
116 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> \r
117  </font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + 2 shapes (the first shape \r
118  will be intersected by the second shape) + reconstruction limit.</font></span></p>\r
119 \r
120 <p class="whs2">&nbsp;</p>\r
121 \r
122 <p class="whs2"><img src="pics/partition1.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs6"></p>\r
123 \r
124 <p class="whs2">&nbsp;</p>\r
125 \r
126 <p class="whs2"><img src="pics/neo-materials.png" x-maintain-ratio="TRUE" width="448px" height="302px" border="0" class="img_whs7"></p>\r
127 \r
128 <p class="whs2">&nbsp;</p>\r
129 \r
130 <p class="whs2">&nbsp;</p>\r
131 \r
132 <p class="whs4">Intersection of a Shape \r
133  and a Plane.</p>\r
134 \r
135 <p class="whs2">&nbsp;</p>\r
136 \r
137 <p class="whs2"><span style="font-weight: bold;"><B>TUI Command</B></span> \r
138  &nbsp;<span style="font-style: italic;"><I>geompy.MakeHalfPartition(Shape, \r
139  Plane), </I></span>where<span style="font-style: italic;"><I> Shape</I></span> is \r
140  a Shape to be intersected and <span style="font-style: italic;"><I>Plane</I></span> \r
141  is a Tool shape, to intersect the <span style="font-style: italic;"><I>Shape</I></span>.</p>\r
142 \r
143 <p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
144  + 1 shape which will be intersected + 1 cutting face.</p>\r
145 \r
146 <p class="whs2">&nbsp;</p>\r
147 \r
148 <p class="whs2"><img src="pics/partition2.png" x-maintain-ratio="TRUE" width="312px" height="483px" border="0" class="img_whs6"></p>\r
149 \r
150 <p class="whs8">&nbsp;</p>\r
151 \r
152 <p class="whs8">&nbsp;</p>\r
153 \r
154 <p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
155 \r
156 <p class="whs2">&nbsp;</p>\r
157 \r
158 <p class="whs8"><img src="pics/partitionsn1.png" x-maintain-ratio="TRUE" width="297px" height="245px" border="0" class="img_whs9"> &nbsp;<img src="pics/partitionsn2.png" x-maintain-ratio="TRUE" width="273px" height="245px" border="0" class="img_whs10"></p>\r
159 \r
160 <p class="whs8">&nbsp;</p>\r
161 \r
162 <p class="whs2">Our TUI Scripts provide you with useful examples \r
163  of the use of <a href="basic_operations.htm#bookmark">Basic Operations</a>. \r
164  </p>\r
165 \r
166 <p>&nbsp;</p>\r
167 \r
168 <script type="text/javascript" language="javascript1.2">\r
169 <!--\r
170 if (window.writeIntopicBar)\r
171         writeIntopicBar(0);\r
172 //-->\r
173 </script>\r
174 </body>\r
175 </html>\r