Salome HOME
Merge with PAL/SALOME 2.1.0d
[modules/geom.git] / doc / salome / gui / GEOM / files / salome2_sp3_repairgui_functions.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <!--(==============================================================)-->\r
6 <!--(Document created with RoboEditor. )============================-->\r
7 <!--(==============================================================)-->\r
8 \r
9 <head>\r
10 \r
11 <title>Titre</title>\r
12 \r
13 <!--(Meta)==========================================================-->\r
14 \r
15 <meta HTTP-EQUIV=Content-Type CONTENT="text/html; charset=windows-1252">\r
16 <meta NAME=subject CONTENT=Sujet>\r
17 <meta NAME=keywords CONTENT=Etude>\r
18 <meta NAME=Client CONTENT=Client>\r
19 <meta NAME=Department CONTENT="D&#1081;veloppements sp&#1081;cifiques open cascade">\r
20 <meta NAME=Division CONTENT="Une filiale EADS Matra Datavision">\r
21 <meta NAME=Owner CONTENT=OCC>\r
22 <meta NAME=Project CONTENT=ProjectRef>\r
23 <meta NAME=Folder CONTENT=FF>\r
24 <meta NAME=Study CONTENT=SSS>\r
25 <meta NAME=Reference CONTENT=Reference>\r
26 <meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">\r
27 <meta name=generator-major-version content=0.1>\r
28 <meta name=generator-minor-version content=1>\r
29 <meta name=filetype content=kadov>\r
30 <meta name=filetype-version content=1>\r
31 <meta name=page-count content=1>\r
32 <meta name=layout-height content=8252>\r
33 <meta name=layout-width content=766>\r
34 \r
35 \r
36 <!--(Links)=========================================================-->\r
37 \r
38  <link rel='stylesheet' href='../default_ns.css'>\r
39 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
40 <!--\r
41 if (navigator.appName !="Netscape")\r
42 {   document.write("<link rel='stylesheet' href='../default.css'>");}\r
43 //-->\r
44 </script>\r
45 <!--(Style Sheet)===================================================-->\r
46 \r
47 <style>\r
48 <!--\r
49 \r
50 A:link {\r
51         color: #0000ff;\r
52 }\r
53 \r
54 -->\r
55 </style>\r
56 \r
57 \r
58 <style type="text/css">\r
59 <!--\r
60 p.whs1 {font-family: 'Times New Roman', serif; font-size: 12pt;}\r
61 img_whs2 {border-style: none; border: none; float: none; width: 30px; height: 30px;}\r
62 ul.whs3 {list-style: disc;}\r
63 p.whs4 {font-size: 12pt;}\r
64 p.whs5 {margin-left: 40px;}\r
65 img_whs6 {border-style: none; border: none; width: 25px; height: 24px;}\r
66 table.whs7 {x-cell-content-align: top; width: 100%; border-spacing: 0px; border-spacing: 0px;}\r
67 col.whs8 {width: 8.851%;}\r
68 col.whs9 {width: 91.149%;}\r
69 tr.whs10 {x-cell-content-align: top;}\r
70 td.whs11 {width: 8.851%; border-left-width: 1px; border-left-color: #000000; border-left-style: Solid; border-top-style: Solid; border-top-color: #000000; border-top-width: 1px; border-right-width: 1px; border-right-color: #000000; border-right-style: Solid; border-bottom-style: Solid; border-bottom-color: #000000; border-bottom-width: 1px; padding-right: 10px; padding-left: 10px;}\r
71 td.whs12 {width: 91.149%; border-top-style: Solid; border-top-color: #000000; border-top-width: 1px; border-right-width: 1px; border-right-color: #000000; border-right-style: Solid; border-bottom-style: Solid; border-bottom-color: #000000; border-bottom-width: 1px; padding-right: 10px; padding-left: 10px;}\r
72 td.whs13 {width: 8.851%; border-left-width: 1px; border-left-color: #000000; border-left-style: Solid; border-right-width: 1px; border-right-color: #000000; border-right-style: Solid; border-bottom-style: Solid; border-bottom-color: #000000; border-bottom-width: 1px; padding-right: 10px; padding-left: 10px;}\r
73 td.whs14 {width: 91.149%; border-right-width: 1px; border-right-color: #000000; border-right-style: Solid; border-bottom-style: Solid; border-bottom-color: #000000; border-bottom-width: 1px; padding-right: 10px; padding-left: 10px;}\r
74 p.whs15 {font-size: 12pt; margin-left: 40px;}\r
75 img_whs16 {border-style: none; border: none; width: 300px; height: 291px;}\r
76 img_whs17 {border-style: none; border: none; width: 300px; height: 214px;}\r
77 img_whs18 {border-style: none; border: none; width: 244px; height: 214px;}\r
78 p.whs19 {font-family: 'Times New Roman', serif; font-size: 14pt;}\r
79 img_whs20 {border-style: none; border: none; width: 239px; height: 214px;}\r
80 img_whs21 {border-style: none; width: 20px; height: 20px;}\r
81 img_whs22 {border-style: none; border: none; width: 200px; height: 164px;}\r
82 img_whs23 {border-style: none; border: none; width: 150px; height: 131px;}\r
83 p.whs24 {font-size: 14pt; font-weight: bold;}\r
84 img_whs25 {border-style: none; border: none; width: 199px; height: 199px;}\r
85 p.whs26 {font-size: 12pt; font-weight: bold;}\r
86 img_whs27 {border-style: none; border: none; width: 200px; height: 177px;}\r
87 img_whs28 {border-style: none; border: none; width: 200px; height: 214px;}\r
88 img_whs29 {border-style: none; border: none; width: 176px; height: 214px;}\r
89 img_whs30 {border-style: none; border: none; width: 200px; height: 185px; float: none;}\r
90 img_whs31 {border-style: none; border: none; width: 200px; height: 185px;}\r
91 img_whs32 {border-style: none; border: none; width: 150px; height: 136px;}\r
92 img_whs33 {border-style: none; border: none; width: 200px; height: 166px;}\r
93 img_whs34 {border-style: none; border: none; width: 150px; height: 132px;}\r
94 img_whs35 {border-style: none; border: none; width: 22px; height: 22px;}\r
95 p.whs36 {font-size: 12pt; font-weight: normal;}\r
96 p.whs37 {margin-left: 40px; font-size: 12pt;}\r
97 img_whs38 {border-style: none; border: none; width: 200px; height: 210px;}\r
98 p.whs39 {font-size: 12pt; margin-left: 40px; text-indent: -40px;}\r
99 p.whs40 {font-size: 12pt; margin-left: 40px; text-indent: -40px; font-weight: bold;}\r
100 p.whs41 {margin-left: 80px; font-size: 12pt; text-indent: -40px;}\r
101 img_whs42 {border-style: none; border: none; width: 200px; height: 231px;}\r
102 img_whs43 {border-style: none; border: none; width: 185px; height: 231px;}\r
103 p.whs44 {font-size: 12pt; text-indent: -68px; margin-left: 72px;}\r
104 p.whs45 {font-size: 12pt; text-indent: -68px; margin-left: 112px;}\r
105 img_whs46 {border-style: none; border: none; width: 200px; height: 216px;}\r
106 p.whs47 {font-size: 12pt; margin-left: 112px; text-indent: -112px;}\r
107 p.whs48 {font-size: 12pt; text-indent: -112px; margin-left: 152px;}\r
108 img_whs49 {border-style: none; border: none; width: 200px; height: 150px; float: none;}\r
109 img_whs50 {border-style: none; border: none; width: 204px; height: 150px;}\r
110 p.whs51 {font-size: 12pt; text-indent: -40px; margin-left: 80px;}\r
111 p.whs52 {font-size: 12pt; margin-left: 80px; text-indent: -80px;}\r
112 p.whs53 {font-size: 12pt; margin-left: 80px; text-indent: -68px;}\r
113 img_whs54 {border-style: none; border: none; width: 200px; height: 180px;}\r
114 p.whs55 {font-size: 12pt; margin-left: 0px;}\r
115 img_whs56 {border-style: none; border: none; width: 209px; height: 138px;}\r
116 img_whs57 {border-style: none; border: none; width: 192px; height: 138px;}\r
117 img_whs58 {border-style: none; border: none; width: 191px; height: 138px;}\r
118 -->\r
119 </style>\r
120 <script type="text/javascript" language="JavaScript">\r
121 <!--\r
122 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
123 {\r
124   var strNSS = "<style type='text/css'>";\r
125   strNSS += "p.whs39 {text-indent:1; }";\r
126   strNSS += "p.whs40 {text-indent:1; }";\r
127   strNSS += "p.whs41 {text-indent:1; }";\r
128   strNSS += "p.whs44 {text-indent:1; }";\r
129   strNSS += "p.whs45 {text-indent:1; }";\r
130   strNSS += "p.whs47 {text-indent:1; }";\r
131   strNSS += "p.whs48 {text-indent:1; }";\r
132   strNSS += "p.whs51 {text-indent:1; }";\r
133   strNSS += "p.whs52 {text-indent:1; }";\r
134   strNSS += "p.whs53 {text-indent:1; }";\r
135   strNSS += "p.whs55 {margin-left:1; }";\r
136   strNSS +="</style>";\r
137   document.write(strNSS);\r
138 }\r
139 //-->\r
140 </script>\r
141 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
142 <!--\r
143 function reDo() {\r
144   if (innerWidth != origWidth || innerHeight != origHeight)\r
145      location.reload();\r
146 }\r
147 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
148         origWidth = innerWidth;\r
149         origHeight = innerHeight;\r
150         onresize = reDo;\r
151 }\r
152 onerror = null; \r
153 //-->\r
154 </script>\r
155 <style type="text/css">\r
156 <!--\r
157   div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}\r
158 -->\r
159 </style>\r
160 <script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
161 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
162 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
163 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
164 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
165 </head>\r
166 \r
167 <!--(Body)==========================================================-->\r
168 \r
169 \r
170 <body>\r
171 \r
172 <script type="text/javascript" language="javascript1.2">\r
173 <!--\r
174 if (window.gbWhTopic)\r
175 {\r
176         if (window.addTocInfo)\r
177         {\r
178         addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing geometrical objects");\r
179 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
180 \r
181         }\r
182         if (window.writeBtnStyle)\r
183                 writeBtnStyle();\r
184 \r
185         if (window.writeIntopicBar)\r
186                 writeIntopicBar(1);\r
187 \r
188         if (window.setRelStartPage)\r
189         {\r
190         setRelStartPage("../geom.html");\r
191 \r
192                 autoSync(0);\r
193                 sendSyncInfo();\r
194                 sendAveInfoOut();\r
195         }\r
196 }\r
197 else\r
198         document.location.reload();\r
199 //-->\r
200 </script>\r
201 <h1>Repairing geometrical objects</h1>\r
202 \r
203 <p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"><span style="font-weight: normal;">Repairing operations are \r
204  used for adjustment and modification of created geometrical shapes. The \r
205  are:</span> </b></p>\r
206 \r
207 <p class="whs1"><a HREF="#sewing">&nbsp;</a></p>\r
208 \r
209 <ul type="disc" class="whs3">\r
210         \r
211         <li class=kadov-p><p class="whs1">&nbsp;<a \r
212  href="#Shape">Shape processing</a></p></li>\r
213         \r
214         <li class=kadov-p><p class="whs1">&nbsp;<a \r
215  HREF="#_Toc57113182">Suppress faces&#9;</a></p></li>\r
216         \r
217         <li class=kadov-p><p class="whs1">&nbsp;<a \r
218  href="#CloseContour">Close contour</a></p></li>\r
219         \r
220         <li class=kadov-p><p class="whs1">&nbsp;<a \r
221  href="#SuppressInternalWires">Suppress internal \r
222  wires</a><a HREF="#sewing">&#9;</a></p></li>\r
223         \r
224         <li class=kadov-p><p class="whs1"><a \r
225  HREF="#_Toc57113181">&nbsp;<a HREF="#_Toc57113183">Suppress \r
226  holes&#9;</a></a></p></li>\r
227         \r
228         <li class=kadov-p><p class="whs1"><a \r
229  HREF="#_Toc57113182">&nbsp;</a><a HREF="#sewing">Sewing</a></p></li>\r
230         \r
231         <li class=kadov-p><p class="whs1">&nbsp;<a \r
232  href="#Glue_faces">Glue faces</a></p></li>\r
233         \r
234         <li class=kadov-p><p class="whs1"><a \r
235  HREF="#_Toc57113183">&nbsp;</a><a href="#AddPointOnEdge">Add \r
236  point on edge</a></p></li>\r
237         \r
238         <li class=kadov-p><p class="whs1">&nbsp;<a \r
239  href="#CheckFreeBound">Check free boundaries</a><a \r
240  HREF="#_Toc57113183">&#9;</a></p></li>\r
241 </ul>\r
242 \r
243 <p class="whs4">&nbsp;</p>\r
244 \r
245 <p class=TODO>To apply repairing operations:</p>\r
246 \r
247 <p class=TODO>&nbsp;</p>\r
248 \r
249 <p class="whs5">In the main menu select <span style="font-weight: bold;"><B>Repair \r
250  </B></span>submenu.</p>\r
251 \r
252 <p class="whs4">&nbsp;</p>\r
253 \r
254 <p class="whs4"><a name=Shape><img src="../image41.gif" width="25px" height="24px" border="0" class="img_whs6"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Shape \r
255  processing</B></font></span></a></p>\r
256 \r
257 <p class="whs4">&nbsp;</p>\r
258 \r
259 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
260  Processes a shape using various operators.</font></span></p>\r
261 \r
262 <p class="whs4">&nbsp;</p>\r
263 \r
264 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
265 \r
266 <p class="whs4">&nbsp;</p>\r
267 \r
268 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
269  </i><span style="font-style: italic;"><I>geompy.ProcessShape(Shape, Operators, \r
270  Parameters, Values)</I></span>, where Shape is a processed shape, Operators \r
271  is a list of names of operators (&quot;FixShape&quot;, &quot;SplitClosedFaces&quot;, \r
272  etc.), Parameters is a list of names of parameters (\93FixShape.Tolerance3d\94\r
273  etc), Values is a list of values of parameters in the same order as the \r
274  Parameters list.</p>\r
275 \r
276 <p class="whs4">&nbsp;</p>\r
277 \r
278 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
279  1 or more shapes.</p>\r
280 \r
281 <!--(Table)=========================================================-->\r
282 <table x-use-null-cells cellspacing="0" width="100%" class="whs7">\r
283 <script language='JavaScript'><!--\r
284 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='100%' border='1' bordercolor='black' bordercolorlight='black' bordercolordark='black'>");\r
285 //--></script>\r
286 <col class="whs8">\r
287 <col class="whs9">\r
288 \r
289 <tr valign="top" class="whs10">\r
290 <td width="8.851%" class="whs11">\r
291 <p>1</td>\r
292 <td width="91.149%" class="whs12">\r
293 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitAngle \96 \r
294  this operator is intended for splitting faces based on conical surfaces, \r
295  surfaces of revolution and cylindrical surfaces by angle</font></span></p>\r
296 <p class="whs4">SplitAngle.Angle \96 angle (in radians) defining \r
297  size of result segments.</p>\r
298 <p class="whs4">SplitAngle.MaxTolerance \96 maximal possible \r
299  tolerance on result shape</td></tr>\r
300 \r
301 <tr valign="top" class="whs10">\r
302 <td width="8.851%" class="whs13">\r
303 <p>2</td>\r
304 <td width="91.149%" class="whs14">\r
305 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitClosedFaces \r
306  \96 this operator is intended for dividing all closed faces in the shape \r
307  according to the number of points.</font></span></p>\r
308 <p class="whs4">SplitClosedFaces.NbSplitPoints \96 number of \r
309  points for cutting each closed faces.</td></tr>\r
310 \r
311 <tr valign="top" class="whs10">\r
312 <td width="8.851%" class="whs13">\r
313 <p>3</td>\r
314 <td width="91.149%" class="whs14">\r
315 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixFaceSize \r
316  \96 this operator is intended for removing small faces (case of the spot \r
317  face and strip face)</font></span></p>\r
318 <p class="whs4">FixFaceSize.Tolerance \96 work tolerance defining \r
319  which faces will be removed.</td></tr>\r
320 \r
321 <tr valign="top" class="whs10">\r
322 <td width="8.851%" class="whs13">\r
323 <p>4</td>\r
324 <td width="91.149%" class="whs14">\r
325 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">DropSmallEdges \r
326  \96 this operator is intended for removing small edges or merging with neigbour. \r
327  &nbsp;</font></span></p>\r
328 <p class="whs4">DropSmallEdges.Tolerance3d \96 work tolerance \r
329  for detection and removing small edges.</td></tr>\r
330 \r
331 <tr valign="top" class="whs10">\r
332 <td width="8.851%" class="whs13">\r
333 <p>5</td>\r
334 <td width="91.149%" class="whs14">\r
335 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">BsplineRestriction \r
336  \96this operator is intended for re-approximation BSplines curves and surfaces \r
337  or conversion of the curves and surfaces to BSplines with specified parameters. \r
338  </font></span></p>\r
339 <p class="whs4">BSplineRestriction.SurfaceMode - mode of approximation \r
340  of surfaces if restriction is necessary</p>\r
341 <p class="whs4">BSplineRestriction.Curve3dMode -mode of conversion \r
342  of any 3D curve to BSpline and approximation.</p>\r
343 <p class="whs4">BSplineRestriction.Curve2dMode - mode of conversion \r
344  of any 2D curve to BSpline and approximation</p>\r
345 <p class="whs4">BSplineRestriction.Tolerance3d \96 work tolerance \r
346  for definition of the possibility of the approximation of the surfaces \r
347  and 3D curves with specified parameters.</p>\r
348 <p class="whs4">BSplineRestriction.Tolerance2d - work tolerance \r
349  for definition of the possibility of the approximation of the 2D curves \r
350  with specified parameters.</p>\r
351 <p class="whs4">BSplineRestriction.Continuity3d \96 desired continuity \r
352  of the resultant surfaces and 3D curves.</p>\r
353 <p class="whs4">BSplineRestriction.Continuity2d \96 desired continuity \r
354  of the resultant 2D curves.</p>\r
355 <p class="whs4">BSplineRestriction.RequiredDegree - required \r
356  degree of the resultant BSplines</p>\r
357 <p class="whs4">BSplineRestriction.RequiredNbSegments - required \r
358  maximum number of segments of resultant BSp<span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">lines.</font></span></td></tr>\r
359 \r
360 <tr valign="top" class="whs10">\r
361 <td width="8.851%" class="whs13">\r
362 <p>6</td>\r
363 <td width="91.149%" class="whs14">\r
364 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitContinuity \r
365  \96 this operator is intended for splitting shapes to achieve continuities \r
366  of curves and surfaces less than specified ones. </font></span></p>\r
367 <p class="whs4">SplitContinuity.Tolerance3d - 3D tolerance \r
368  for correction of geometry.</p>\r
369 <p class="whs4">SplitContinuity.SurfaceContinuity - required \r
370  continuity for surfaces.</p>\r
371 <p class="whs4">SplitContinuity.CurveContinuity - required \r
372  continuity for curves.</td></tr>\r
373 \r
374 <tr valign="top" class="whs10">\r
375 <td width="8.851%" class="whs13">\r
376 <p>7</td>\r
377 <td width="91.149%" class="whs14">\r
378 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">ToBezier - this \r
379  operator is intended for conversion of the curves and surfaces of the \r
380  all types into Bezier curves and surfaces. </font></span></p>\r
381 <p class="whs4">ToBezier.SurfaceMode - mode of conversion of \r
382  the surfaces.</p>\r
383 <p class="whs4">ToBezier.Curve3dMode \96 mode for conversion \r
384  of the 3D curves.</p>\r
385 <p class="whs4">ToBezier.Curve2dMode \96 mode for conversion \r
386  of the 2D curves.</p>\r
387 <p class="whs4">ToBezier.MaxTolerance \96 max possible tolerance \r
388  on the resultant shape.</td></tr>\r
389 \r
390 <tr valign="top" class="whs10">\r
391 <td width="8.851%" class="whs13">\r
392 <p>8</td>\r
393 <td width="91.149%" class="whs14">\r
394 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixShape \96 this \r
395  operator is intended for correction of the invalid shapes </font></span></p>\r
396 <p class="whs4">FixShape.Tolerance3d \96 work tolerance for detection \r
397  of the problems and correction of them.</p>\r
398 <p class="whs4">FixShape.MaxTolerance3d - maximal possible \r
399  tolerance of the shape after correction.</td></tr>\r
400 \r
401 <tr valign="top" class="whs10">\r
402 <td width="8.851%" class="whs13">\r
403 <p>9</td>\r
404 <td width="91.149%" class="whs14">\r
405 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SameParameter \r
406  \96 this operator is intended for fixing edges having not same parameter \r
407  2D and 3D curves. </font></span></p>\r
408 <p class="whs4">SameParameter.Tolerance3d \96 tolerance for detection \r
409  and fix problems. </td></tr>\r
410 <script language='JavaScript'><!--\r
411 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");\r
412 //--></script>\r
413 </table>\r
414 \r
415 <p class="whs4">&nbsp;</p>\r
416 \r
417 <p class="whs4">&nbsp;</p>\r
418 \r
419 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
420 \r
421 <p class="whs4">&nbsp;</p>\r
422 \r
423 <p class="whs15"><img src="../image158.jpg" width="300px" height="291px" border="0" class="img_whs16"> &nbsp;</p>\r
424 \r
425 <p class="whs4">&nbsp;</p>\r
426 \r
427 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
428 \r
429 <p>&nbsp;</p>\r
430 \r
431 <p class="whs4">Shape before applying Shape Processing (FixShape \r
432  operator).</p>\r
433 \r
434 <p class="whs4">&nbsp;</p>\r
435 \r
436 <p class="whs15"><img src="../image154.jpg" width="300px" height="214px" border="0" class="img_whs17"> &nbsp;&nbsp;&nbsp;<img src="../image156.jpg" width="244px" height="214px" border="0" class="img_whs18"></p>\r
437 \r
438 <p class="whs19">&nbsp;</p>\r
439 \r
440 <p class="whs1">The \r
441  same shape after applying Shape Processing.</p>\r
442 \r
443 <p class="whs19">&nbsp;</p>\r
444 \r
445 <p class="whs15"><img src="../image160.jpg" width="239px" height="214px" border="0" class="img_whs20"></p>\r
446 \r
447 <p class="whs19">&nbsp;</p>\r
448 \r
449 <p class="whs19">&nbsp;</p>\r
450 \r
451 <p class="whs19"><a NAME=_Toc57113182><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs21"><b> Suppress faces</b></a></p>\r
452 \r
453 <p class="whs1">&nbsp;</p>\r
454 \r
455 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
456  Suppresses a face of a shape.</p>\r
457 \r
458 <p class="whs4">&nbsp;</p>\r
459 \r
460 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
461  (ListOfGeomShapes).</p>\r
462 \r
463 <p class="whs4">&nbsp;</p>\r
464 \r
465 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
466  </i><span style="font-style: italic;"><I>geompy.SuppressFaces(Shape, ListOfID)</I></span>, \r
467  where Shape is a shape to be processed, ListOfID is a list of faces ID's \r
468  to be removed.</p>\r
469 \r
470 <p class="whs4">&nbsp;</p>\r
471 \r
472 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
473  1 shape + 1 selection of a face (Local Context).</p>\r
474 \r
475 <p class="whs4">&nbsp;</p>\r
476 \r
477 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
478 \r
479 <p class="whs4">&nbsp;</p>\r
480 \r
481 <p class="whs15"><img src="../image115.jpg" width="200px" height="164px" border="0" class="img_whs22"></p>\r
482 \r
483 <p class="whs15">&nbsp;</p>\r
484 \r
485 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
486 \r
487 <p class="whs4">&nbsp;</p>\r
488 \r
489 <p class="whs15"><img src="../image53.jpg" width="150px" height="131px" border="0" class="img_whs23"> &nbsp;<img src="../image54.jpg" width="150px" height="131px" border="0" class="img_whs23"></p>\r
490 \r
491 <p class="whs4">&nbsp;</p>\r
492 \r
493 <p class="whs24"><a name=CloseContour><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs21"> Close contour</a></p>\r
494 \r
495 <p class="whs4">&nbsp;</p>\r
496 \r
497 <p class="whs4"><b style="font-weight: bold;">Description :</b> \r
498  Closes an open contour and modifies the underlying face (if needed) in \r
499  accordance with user specified mode:</p>\r
500 \r
501 <ul type="disc" class="whs3">\r
502         \r
503         <li class=kadov-p><p class="whs4">By common vertex \96 a \r
504  vertex is created between the end points of the contour and its tolerance \r
505  is increased to a value of the gap between the ends of the contour;</p></li>\r
506         \r
507         <li class=kadov-p><p class="whs4">By new edge \96 a new edge \r
508  is inserted between the end points of the contour.</p></li>\r
509 </ul>\r
510 \r
511 <p class="whs4">&nbsp;</p>\r
512 \r
513 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
514 \r
515 <p class="whs4">&nbsp;</p>\r
516 \r
517 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
518  </i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires, \r
519  IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires \r
520  is a list of edges or wires ID\92s which has to be closed within the shape \r
521  (if the list contains only one element = -1, the shape itself is considered \r
522  as a wire), &nbsp;IsCommonVertex \r
523  if this parameter is True a closure has to be done by creation of a common \r
524  vertex, otherwise an edge is added between the end vertices.</p>\r
525 \r
526 <p class="whs4">&nbsp;</p>\r
527 \r
528 <p class="whs4"><b style="font-weight: bold;">Arguments: <span \r
529  style="font-weight: normal;">Contour</span> <span style="font-weight: normal;">(</span></b>Wire, \r
530  or a set of Edges) + mode of closure (by vertex or by edge)</p>\r
531 \r
532 <p class="whs4">&nbsp;</p>\r
533 \r
534 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
535 \r
536 <p class="whs4">&nbsp;</p>\r
537 \r
538 <p class="whs15"><b style="font-weight: bold;"><img src="../image161.jpg" width="199px" height="199px" border="0" class="img_whs25"></b></p>\r
539 \r
540 <p class="whs26">&nbsp;</p>\r
541 \r
542 <p class="whs26">Example:</p>\r
543 \r
544 <p class="whs4">&nbsp;</p>\r
545 \r
546 <p class="whs4"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B><a \r
547  name=SuppressInternalWires><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs21"></B></font></span> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Suppress \r
548  internal wires</B></font></span></a></p>\r
549 \r
550 <p class="whs4">&nbsp;</p>\r
551 \r
552 <p class="whs4"><b style="font-weight: bold;">Description :</b> \r
553  Removes all internal wires or specified internal wires from user specified \r
554  faces.</p>\r
555 \r
556 <p class="whs4">&nbsp;</p>\r
557 \r
558 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
559 \r
560 <p class="whs4">&nbsp;</p>\r
561 \r
562 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
563  </i><span style="font-style: italic;"><I>geompy.SuppressInternalWires(Shape, \r
564  Wires)</I></span>, where Shape is a shape where wires are to be removed, Wires \r
565  is a list of wires ID\92s to be removed; if the list is empty then all internal \r
566  wires are removed.</p>\r
567 \r
568 <p class="whs4">&nbsp;</p>\r
569 \r
570 <p class="whs4">&nbsp;</p>\r
571 \r
572 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>\r
573 \r
574 <ul type="disc" class="whs3">\r
575         \r
576         <li class=kadov-p><p class="whs4">User specified face</p></li>\r
577         \r
578         <li class=kadov-p><p class="whs4">User specified internal \r
579  wires (lying on this face except for its boundary), or, in case the &quot;Remove \r
580  all internal wires&quot; box is checked, all internal wires</p></li>\r
581 </ul>\r
582 \r
583 <p class="whs4">&nbsp;</p>\r
584 \r
585 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
586 \r
587 <p class="whs4">&nbsp;</p>\r
588 \r
589 <p class="whs15"><img src="../image165.jpg" width="200px" height="177px" border="0" class="img_whs27"></p>\r
590 \r
591 <p class="whs4">&nbsp;</p>\r
592 \r
593 <p class="whs26">Example:</p>\r
594 \r
595 <p class="whs4">&nbsp;</p>\r
596 \r
597 <p class="whs15"><img src="../image163.jpg" width="200px" height="214px" border="0" class="img_whs28"> &nbsp;&nbsp;&nbsp;<img src="../image164.jpg" width="176px" height="214px" border="0" class="img_whs29"></p>\r
598 \r
599 <p class="whs4">&nbsp;</p>\r
600 \r
601 <p class="whs4">&nbsp;</p>\r
602 \r
603 <p class="whs19"><span \r
604  style="font-family: 'Times New Roman', serif;"><a NAME=_Toc57113183><span \r
605  style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif" width="20px" height="20px" border="0" class="img_whs21"><b style="font-size: 14pt;"> Suppress \r
606  holes</b></a> </font></span></span></p>\r
607 \r
608 <p class="whs1">&nbsp;</p>\r
609 \r
610 <p class="whs4"><b style="font-weight: bold;">Description :</b> \r
611  </p>\r
612 \r
613 <ul>\r
614         \r
615         <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st \r
616  Constructor :</b> Suppresses a hole in a shape.</p></li>\r
617         \r
618         <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd \r
619  Constructor :</b> Suppresses a hole in a face.</p></li>\r
620 </ul>\r
621 \r
622 <p class="whs4">&nbsp;</p>\r
623 \r
624 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
625 \r
626 <p class="whs4">&nbsp;</p>\r
627 \r
628 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
629  </i><span style="font-size: 12pt; font-style: italic;"><font size=3 style="font-size:12pt;"><I>geompy.SuppressHoles(Shape, \r
630  ListOfWireID)</I></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Shape is a \r
631  shape where holes must be removed, ListOfWireID is a list of wire sub \r
632  shapes ID\92s. If it is empty, then all holes are removed.</font></span></p>\r
633 \r
634 <p class="whs4">&nbsp;</p>\r
635 \r
636 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>\r
637 \r
638 <ul>\r
639         \r
640         <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st \r
641  Constructor :</b> 1 shape + 1 selection of 1 face (Local Context) + 1 \r
642  selection of a wire in the selected face + 1 selection of the back face \r
643  (if the hole is traversing).</p></li>\r
644         \r
645         <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd \r
646  Constructor :</b> 1 shape (face or shell) + 1 selection of a wire in a \r
647  face.</p></li>\r
648 </ul>\r
649 \r
650 <p class="whs4">&nbsp;</p>\r
651 \r
652 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
653 \r
654 <p class="whs4">&nbsp;</p>\r
655 \r
656 <p class="whs15"><img src="../image116.jpg" x-maintain-ratio="FALSE" width="200px" height="185px" border="0" class="img_whs30"> &nbsp;<img src="../image117.jpg" width="200px" height="185px" border="0" class="img_whs31"></p>\r
657 \r
658 <p class="whs15">&nbsp;&nbsp;</p>\r
659 \r
660 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
661 \r
662 <p class="whs15">&nbsp;</p>\r
663 \r
664 <p class="whs15">&nbsp;<img src="../image109.jpg" width="150px" height="136px" border="0" class="img_whs32"> &nbsp;<img src="../image110.jpg" width="150px" height="136px" border="0" class="img_whs32"></p>\r
665 \r
666 <p class="whs4">&nbsp;</p>\r
667 \r
668 <p class="whs4">&nbsp;</p>\r
669 \r
670 <p class="whs4">&nbsp;</p>\r
671 \r
672 <p class="whs1"><b style="font-weight: bold;"><a \r
673  NAME=sewing\r
674         style="font-size: 14pt;"><img src="salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif" width="20px" height="20px" border="0" class="img_whs21"> Sewing</a></b> </p>\r
675 \r
676 <p class="whs1">&nbsp;</p>\r
677 \r
678 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
679  Sew several &nbsp;shapes.</p>\r
680 \r
681 <p class="whs4">&nbsp;</p>\r
682 \r
683 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
684 \r
685 <p class="whs4">&nbsp;</p>\r
686 \r
687 <p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i> \r
688  </i><span style="font-style: italic;"><I>geompy.MakeSewing(ListOfShape, Precision)</I></span>, \r
689  where ListOfShape is list of shapes to be sewed, Precision is a precision \r
690  for sewing.</p>\r
691 \r
692 <p class="whs4">&nbsp;</p>\r
693 \r
694 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
695  1 or more shapes + 1 value (sew precision).</p>\r
696 \r
697 <p class="whs4">&nbsp;</p>\r
698 \r
699 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
700 \r
701 <p class="whs4">&nbsp;</p>\r
702 \r
703 <p class="whs15"><img src="../image111.jpg" width="200px" height="166px" border="0" class="img_whs33"></p>\r
704 \r
705 <p class="whs4">&nbsp;</p>\r
706 \r
707 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
708 \r
709 <p class="whs4">&nbsp;</p>\r
710 \r
711 <p class="whs15"><img src="../image112.jpg" width="150px" height="132px" border="0" class="img_whs34"> &nbsp;<img src="../image113.jpg" width="150px" height="132px" border="0" class="img_whs34"></p>\r
712 \r
713 <p class="whs4">&nbsp;</p>\r
714 \r
715 <p class="whs4">&nbsp;</p>\r
716 \r
717 <p class="whs4">&nbsp;</p>\r
718 \r
719 <p class="whs4"><a name=AddPointOnEdge><img src="../image42.gif" width="22px" height="22px" border="0" class="img_whs35"> <span \r
720  style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Add point on edge</B></font></span></a></p>\r
721 \r
722 <p class="whs4">&nbsp;</p>\r
723 \r
724 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
725  Splits an edge in two in accordance with the specified mode (by length \r
726  or by parameter) and a value specifying the position of the point on edge \r
727  (for example val =0.5; mode = Length). </p>\r
728 \r
729 <p class="whs4">&nbsp;</p>\r
730 \r
731 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
732 \r
733 <p class="whs4">&nbsp;</p>\r
734 \r
735 <p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i> \r
736  </i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID, \r
737  Value, IsByParameter)</I></span>, where Shape is a shape which contains an \r
738  edge to be divided, EdgeID is the ID of the edge to be divided, if it \r
739  = -1, then Shape is an edge, Value is a paramter on the edge or a length. \r
740  IsByParameter if it is True then Value is the edge parameter in the range \r
741  [0:1] otherwise it is a length of the edge in the range [0:1]</p>\r
742 \r
743 <p class="whs4">&nbsp;</p>\r
744 \r
745 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
746  Edge, user-defined point</p>\r
747 \r
748 <p class="whs4">&nbsp;</p>\r
749 \r
750 <p class="whs36"><b style="font-weight: bold;">Dialog \r
751  Box:</b></p>\r
752 \r
753 <p class="whs36">&nbsp;</p>\r
754 \r
755 <p class="whs37"><b style="font-weight: bold;"><img src="../image166.jpg" width="200px" height="210px" border="0" class="img_whs38"></b></p>\r
756 \r
757 <p class="whs39">&nbsp;</p>\r
758 \r
759 <p class="whs40">Example:</p>\r
760 \r
761 <p class="whs39">&nbsp;</p>\r
762 \r
763 <p class="whs41"><img src="../image167.jpg" width="200px" height="231px" border="0" class="img_whs42"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../image168.jpg" width="185px" height="231px" border="0" class="img_whs43"></p>\r
764 \r
765 <p class="whs44">&nbsp;</p>\r
766 \r
767 <p class="whs44">&nbsp;</p>\r
768 \r
769 <p class="whs44">&nbsp;</p>\r
770 \r
771 <p class="whs44"><a name=Glue_faces><img src="../image61.gif" width="25px" height="24px" border="0" class="img_whs6"><span \r
772  style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B> Glue faces</B></font></span></a></p>\r
773 \r
774 <p class="whs44">&nbsp;</p>\r
775 \r
776 <p class="whs44"><b style="font-weight: bold;">Description:</b> \r
777  Glues faces that are coincident with respect to the given tolerance </p>\r
778 \r
779 <p class="whs44">value.</p>\r
780 \r
781 <p class="whs44">&nbsp;</p>\r
782 \r
783 <p class="whs44"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b> \r
784  GEOM_Object.</font></span></p>\r
785 \r
786 <p class="whs44">&nbsp;</p>\r
787 \r
788 <p class="whs44"><b style="font-weight: bold;">TUI Command \r
789  : </b><span style="font-style: italic;"><I>geompy.MakeGlueFaces(theShape, \r
790  theTolerance)</I></span>, where theShape is a compound of shapesto be glued, \r
791  theTolerance is a maximum distance between two faces, which can be considered \r
792  as coincident.</p>\r
793 \r
794 <p class="whs44"><i><span style="font-style: italic;"><I>&nbsp;</I></span></i></p>\r
795 \r
796 <p class="whs44"><b style="font-weight: bold;">Arguments: \r
797  </b>1 <i><span style="font-style: normal;">Compound + Tolerance Value</span></i></p>\r
798 \r
799 <p class="whs44">&nbsp;</p>\r
800 \r
801 <p class="whs44"><b style="font-weight: bold;">Dialog Box:</b></p>\r
802 \r
803 <p class="whs44">&nbsp;</p>\r
804 \r
805 <p class="whs45"><img src="../image200.jpg" width="200px" height="216px" border="0" class="img_whs46"></p>\r
806 \r
807 <p class="whs47">&nbsp;</p>\r
808 \r
809 <p class="whs47"><b style="font-weight: bold;">Example:</b></p>\r
810 \r
811 <p class="whs47">&nbsp;</p>\r
812 \r
813 <p class="whs48"><img src="../image201.jpg" x-maintain-ratio="TRUE" width="200px" height="150px" border="0" class="img_whs49"> &nbsp;&nbsp;<img src="../image202.jpg" width="204px" height="150px" border="0" class="img_whs50"></p>\r
814 \r
815 <p class="whs51">&nbsp;</p>\r
816 \r
817 <p class="whs51">&nbsp;</p>\r
818 \r
819 <p class="whs51">&nbsp;</p>\r
820 \r
821 <p class="whs52"><a name=CheckFreeBound><img src="../image44.gif" width="22px" height="22px" border="0" class="img_whs35"> <span \r
822  style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check free boundaries</B></font></span></a></p>\r
823 \r
824 <p class="whs53">&nbsp;</p>\r
825 \r
826 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
827  Detects wires and edges that correspond to the shape's boundary, and highlights \r
828  it</p>\r
829 \r
830 <p class="whs4">&nbsp;</p>\r
831 \r
832 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
833 \r
834 <p class="whs4">&nbsp;</p>\r
835 \r
836 <p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i><span \r
837  style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>, \r
838  where Shape is a shape to be checked, NoError is false if an error occurred \r
839  while checking free boundaries, ClosedWires is a list of closed free boundary \r
840  wires, OpenWires is a list of open free boundary wires.</p>\r
841 \r
842 <p class="whs4">&nbsp;</p>\r
843 \r
844 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
845  Shape</p>\r
846 \r
847 <p class="whs4">&nbsp;</p>\r
848 \r
849 <p class="whs36"><b style="font-weight: bold;">Dialog \r
850  Box:</b></p>\r
851 \r
852 <p class="whs36">&nbsp;</p>\r
853 \r
854 <p class="whs15"><b style="font-weight: bold;"><img src="../image169.jpg" width="200px" height="180px" border="0" class="img_whs54"></b></p>\r
855 \r
856 <p class="whs55">&nbsp;</p>\r
857 \r
858 <p class="whs55"><b style="font-weight: bold;">Example:</b></p>\r
859 \r
860 <p class="whs55">&nbsp;</p>\r
861 \r
862 <p class="whs55"><img src="../image170.jpg" width="209px" height="138px" border="0" class="img_whs56"> &nbsp;<img src="../image171.jpg" width="192px" height="138px" border="0" class="img_whs57">&nbsp; <img src="../image172.jpg" width="191px" height="138px" border="0" class="img_whs58"></p>\r
863 \r
864 <p class="whs55">&nbsp;</p>\r
865 \r
866 <p class="whs55">&nbsp;</p>\r
867 \r
868 <script type="text/javascript" language="javascript1.2">\r
869 <!--\r
870 if (window.writeIntopicBar)\r
871         writeIntopicBar(0);\r
872 //-->\r
873 </script>\r
874 </body>\r
875 \r
876 </html>\r