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