]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/partition.htm
Salome HOME
Correct documentation style and pictures.
[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; margin-left:40px; }\r
22 img_whs6 { border:none; width:400px; height:350px; float:none; border-style:none; }\r
23 img_whs7 { border:none; width:400px; height:324px; float:none; border-style:none; }\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:245px; 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 p.WebHelpNavBar { text-align:right; }\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 <script type="text/javascript" language="javascript1.2">\r
52 <!--\r
53 if (window.gbWhTopic)\r
54 {\r
55         if (window.setRelStartPage)\r
56         {\r
57         addTocInfo("Geometry module\nTransforming geometrical objects\nBasic Operations\nPartition");\r
58 addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");\r
59 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");\r
60 \r
61         }\r
62 \r
63 \r
64         if (window.setRelStartPage)\r
65         {\r
66         setRelStartPage("index.htm");\r
67 \r
68                 autoSync(1);\r
69                 sendSyncInfo();\r
70                 sendAveInfoOut();\r
71         }\r
72 \r
73 }\r
74 else\r
75         if (window.gbIE4)\r
76                 document.location.reload();\r
77 //-->\r
78 </script>\r
79 </head>\r
80 <body><script type="text/javascript" language="javascript1.2">\r
81 <!--\r
82 if (window.writeIntopicBar)\r
83         writeIntopicBar(4);\r
84 //-->\r
85 </script>\r
86 <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
87 \r
88 <p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
89  a <span style="font-weight: bold;"><B>Partition</B></span> in the <span style="font-weight: bold;"><B>Main \r
90  Menu</B></span> select <span style="font-weight: bold;"><B>Operations - &gt; \r
91  Partition</B></span></p>\r
92 \r
93 <p class="whs3">&nbsp;</p>\r
94 \r
95 <p class="whs3"><b><span style="font-weight: normal;">This \r
96  operation </b>builds a shape by intersection of two shapes or a shape \r
97  and a plane.</span></p>\r
98 \r
99 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
100  Result <span style="font-weight: normal;">will be any</span> </b>GEOM_Object.</p>\r
101 \r
102 <p class="whs2">&nbsp;</p>\r
103 \r
104 <p class="whs4"><b><span style="font-weight: bold;"><B>Intersection \r
105  of two shapes.</B></span></b></p>\r
106 \r
107 <p class="whs3">&nbsp;</p>\r
108 \r
109 <p class="whs3">As far as the intersection \r
110  of two objects can produce any type of geometrical objects, <span style="font-weight: bold;"><B>Reconstruction \r
111  Limit</B></span> box allows to choose the preferrable result, i.e. a solid, \r
112  a shell, a list of faces, etc.</p>\r
113 \r
114 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
115  </i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes, \r
116  ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs, \r
117  ListOfMaterials)</I></span>, where <span style="font-style: italic;"><I>ListOfShapes</I></span> \r
118  is a list of shapes to be intersected and &nbsp;<span \r
119  style="font-style: italic;"><I>ListOfTools</I></span> \r
120  is a list of shapes to intersect the shapes from ListOfShapes. </p>\r
121 \r
122 <p class="whs2">Since the implementation of a new version of \r
123  PartitionAlgo other parameters are ignored by the current functionality \r
124  and remain there only to support the old scripts. &nbsp;</p>\r
125 \r
126 <p class="whs2"><b>Arguments:</b> Name + 2 lists of shapes \r
127  (the shapes from the first list will be intersected with the shapes from \r
128  the second list) + reconstruction limit.</p>\r
129 \r
130 <p class="whs2">&nbsp;</p>\r
131 \r
132 <p class="whs5"><img src="pics/partition1.png" x-maintain-ratio="TRUE" width="400px" height="350px" border="0" class="img_whs6"></p>\r
133 \r
134 <p class="whs2">&nbsp;</p>\r
135 \r
136 <p class="whs2">&nbsp;</p>\r
137 \r
138 <p class="whs4">Intersection of a Shape \r
139  and a Plane.</p>\r
140 \r
141 <p class="whs2">&nbsp;</p>\r
142 \r
143 <p class="whs2"><span style="font-weight: bold;"><B>TUI Command</B></span> \r
144  &nbsp;<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
148 \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
151 \r
152 <p class="whs2">&nbsp;</p>\r
153 \r
154 <p class="whs5"><img src="pics/partition2.png" x-maintain-ratio="TRUE" width="400px" height="324px" border="0" class="img_whs7"></p>\r
155 \r
156 <p class="whs5">&nbsp;</p>\r
157 \r
158 <p class="whs2"><b style="font-weight: bold;">Example:</b></p>\r
159 \r
160 <p class="whs2">&nbsp;</p>\r
161 \r
162 <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>\r
163 \r
164 <p class="whs5">&nbsp;</p>\r
165 \r
166 <p class="whs2">Our TUI Scripts provide you with useful examples \r
167  of the use of <a href="basic_operations.htm#bookmark">Basic Operations</a>. \r
168  </p>\r
169 \r
170 <p>&nbsp;</p>\r
171 \r
172 <script type="text/javascript" language="javascript1.2">\r
173 <!--\r
174 if (window.writeIntopicBar)\r
175         writeIntopicBar(0);\r
176 //-->\r
177 </script>\r
178 </body>\r
179 </html>\r