]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/files/salome2_sp3_repairgui_functions.htm
Salome HOME
1caa9c1bd4653535c43494db033b2abaab0dfd1d
[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=8452>\r
33 <meta name=layout-width content=532>\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: -40px; margin-left: 80px;}\r
105 p.whs46 {font-size: 12pt; margin-left: 80px; text-indent: -80px;}\r
106 p.whs47 {font-size: 12pt; margin-left: 80px; text-indent: -68px;}\r
107 img_whs48 {border-style: none; border: none; width: 200px; height: 180px;}\r
108 p.whs49 {font-size: 12pt; margin-left: 0px;}\r
109 img_whs50 {border-style: none; border: none; width: 209px; height: 138px;}\r
110 img_whs51 {border-style: none; border: none; width: 192px; height: 138px;}\r
111 img_whs52 {border-style: none; border: none; width: 191px; height: 138px;}\r
112 -->\r
113 </style>\r
114 <script type="text/javascript" language="JavaScript">\r
115 <!--\r
116 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
117 {\r
118   var strNSS = "<style type='text/css'>";\r
119   strNSS += "p.whs39 {text-indent:1; }";\r
120   strNSS += "p.whs40 {text-indent:1; }";\r
121   strNSS += "p.whs41 {text-indent:1; }";\r
122   strNSS += "p.whs44 {text-indent:1; }";\r
123   strNSS += "p.whs45 {text-indent:1; }";\r
124   strNSS += "p.whs46 {text-indent:1; }";\r
125   strNSS += "p.whs47 {text-indent:1; }";\r
126   strNSS += "p.whs49 {margin-left:1; }";\r
127   strNSS +="</style>";\r
128   document.write(strNSS);\r
129 }\r
130 //-->\r
131 </script>\r
132 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
133 <!--\r
134 function reDo() {\r
135   if (innerWidth != origWidth || innerHeight != origHeight)\r
136      location.reload();\r
137 }\r
138 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
139         origWidth = innerWidth;\r
140         origHeight = innerHeight;\r
141         onresize = reDo;\r
142 }\r
143 onerror = null; \r
144 //-->\r
145 </script>\r
146 <style type="text/css">\r
147 <!--\r
148   div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}\r
149 -->\r
150 </style>\r
151 <script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
152 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
153 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
154 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
155 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
156 </head>\r
157 \r
158 <!--(Body)==========================================================-->\r
159 \r
160 \r
161 <body>\r
162 \r
163 <script type="text/javascript" language="javascript1.2">\r
164 <!--\r
165 if (window.gbWhTopic)\r
166 {\r
167         if (window.addTocInfo)\r
168         {\r
169         addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing geometrical objects");\r
170 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
171 \r
172         }\r
173         if (window.writeBtnStyle)\r
174                 writeBtnStyle();\r
175 \r
176         if (window.writeIntopicBar)\r
177                 writeIntopicBar(1);\r
178 \r
179         if (window.setRelStartPage)\r
180         {\r
181         setRelStartPage("../geom_help.html");\r
182 \r
183                 autoSync(0);\r
184                 sendSyncInfo();\r
185                 sendAveInfoOut();\r
186         }\r
187 }\r
188 else\r
189         document.location.reload();\r
190 //-->\r
191 </script>\r
192 <h1>Repairing geometrical objects</h1>\r
193 \r
194 <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
195  used for adjustment and modification of created geometrical shapes. The \r
196  are:</span> </b></p>\r
197 \r
198 <p class="whs1"><a HREF="#sewing">&nbsp;</a></p>\r
199 \r
200 <ul type="disc" class="whs3">\r
201         \r
202         <li class=kadov-p><p class="whs1">&nbsp;<a \r
203  href="#Shape">Shape processing</a></p></li>\r
204         \r
205         <li class=kadov-p><p class="whs1">&nbsp;<a \r
206  HREF="#_Toc57113182">Suppress faces&#9;</a></p></li>\r
207         \r
208         <li class=kadov-p><p class="whs1">&nbsp;<a \r
209  href="#CloseContour">Close contour</a></p></li>\r
210         \r
211         <li class=kadov-p><p class="whs1">&nbsp;<a \r
212  href="#SuppressInternalWires">Suppress internal \r
213  wires</a><a HREF="#sewing">&#9;</a></p></li>\r
214         \r
215         <li class=kadov-p><p class="whs1"><a \r
216  HREF="#_Toc57113181">&nbsp;<a HREF="#_Toc57113183">Suppress \r
217  holes&#9;</a></a></p></li>\r
218         \r
219         <li class=kadov-p><p class="whs1"><a \r
220  HREF="#_Toc57113182">&nbsp;</a><a HREF="#sewing">Sewing</a></p></li>\r
221         \r
222         <li class=kadov-p><p class="whs1"><a \r
223  HREF="#_Toc57113183">&nbsp;</a><a href="#AddPointOnEdge">Add \r
224  point on edge</a></p></li>\r
225         \r
226         <li class=kadov-p><p class="whs1">&nbsp;<a \r
227  href="#CheckFreeBound">Check free boundaries</a><a \r
228  HREF="#_Toc57113183">&#9;</a></p></li>\r
229 </ul>\r
230 \r
231 <p class="whs4">&nbsp;</p>\r
232 \r
233 <p class=TODO>To apply repairing operations:</p>\r
234 \r
235 <p class=TODO>&nbsp;</p>\r
236 \r
237 <p class="whs5">In the main menu select <span style="font-weight: bold;"><B>Repair \r
238  </B></span>submenu.</p>\r
239 \r
240 <p class="whs4">&nbsp;</p>\r
241 \r
242 <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
243  processing</B></font></span></a></p>\r
244 \r
245 <p class="whs4">&nbsp;</p>\r
246 \r
247 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
248  Processes a shape using various operators.</font></span></p>\r
249 \r
250 <p class="whs4">&nbsp;</p>\r
251 \r
252 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
253 \r
254 <p class="whs4">&nbsp;</p>\r
255 \r
256 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
257  </i><span style="font-style: italic;"><I>geompy.ProcessShape(Shape, Operators, \r
258  Parameters, Values)</I></span>, where Shape is a processed shape, Operators \r
259  is a list of names of operators (&quot;FixShape&quot;, &quot;SplitClosedFaces&quot;, \r
260  etc.), Parameters is a list of names of parameters (\93FixShape.Tolerance3d\94\r
261  etc), Values is a list of values of parameters in the same order as the \r
262  Parameters list.</p>\r
263 \r
264 <p class="whs4">&nbsp;</p>\r
265 \r
266 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
267  1 or more shapes.</p>\r
268 \r
269 <!--(Table)=========================================================-->\r
270 <table x-use-null-cells cellspacing="0" width="100%" class="whs7">\r
271 <script language='JavaScript'><!--\r
272 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
273 //--></script>\r
274 <col class="whs8">\r
275 <col class="whs9">\r
276 \r
277 <tr valign="top" class="whs10">\r
278 <td width="8.851%" class="whs11">\r
279 <p>1</td>\r
280 <td width="91.149%" class="whs12">\r
281 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitAngle \96 \r
282  this operator is intended for splitting faces based on conical surfaces, \r
283  surfaces of revolution and cylindrical surfaces by angle</font></span></p>\r
284 <p class="whs4">SplitAngle.Angle \96 angle (in radians) defining \r
285  size of result segments.</p>\r
286 <p class="whs4">SplitAngle.MaxTolerance \96 maximal possible \r
287  tolerance on result shape</td></tr>\r
288 \r
289 <tr valign="top" class="whs10">\r
290 <td width="8.851%" class="whs13">\r
291 <p>2</td>\r
292 <td width="91.149%" class="whs14">\r
293 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitClosedFaces \r
294  \96 this operator is intended for dividing all closed faces in the shape \r
295  according to the number of points.</font></span></p>\r
296 <p class="whs4">SplitClosedFaces.NbSplitPoints \96 number of \r
297  points for cutting each closed faces.</td></tr>\r
298 \r
299 <tr valign="top" class="whs10">\r
300 <td width="8.851%" class="whs13">\r
301 <p>3</td>\r
302 <td width="91.149%" class="whs14">\r
303 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixFaceSize \r
304  \96 this operator is intended for removing small faces (case of the spot \r
305  face and strip face)</font></span></p>\r
306 <p class="whs4">FixFaceSize.Tolerance \96 work tolerance defining \r
307  which faces will be removed.</td></tr>\r
308 \r
309 <tr valign="top" class="whs10">\r
310 <td width="8.851%" class="whs13">\r
311 <p>4</td>\r
312 <td width="91.149%" class="whs14">\r
313 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">DropSmallEdges \r
314  \96 this operator is intended for removing small edges or merging with neigbour. \r
315  &nbsp;</font></span></p>\r
316 <p class="whs4">DropSmallEdges.Tolerance3d \96 work tolerance \r
317  for detection and removing small edges.</td></tr>\r
318 \r
319 <tr valign="top" class="whs10">\r
320 <td width="8.851%" class="whs13">\r
321 <p>5</td>\r
322 <td width="91.149%" class="whs14">\r
323 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">BsplineRestriction \r
324  \96this operator is intended for re-approximation BSplines curves and surfaces \r
325  or conversion of the curves and surfaces to BSplines with specified parameters. \r
326  </font></span></p>\r
327 <p class="whs4">BSplineRestriction.SurfaceMode - mode of approximation \r
328  of surfaces if restriction is necessary</p>\r
329 <p class="whs4">BSplineRestriction.Curve3dMode -mode of conversion \r
330  of any 3D curve to BSpline and approximation.</p>\r
331 <p class="whs4">BSplineRestriction.Curve2dMode - mode of conversion \r
332  of any 2D curve to BSpline and approximation</p>\r
333 <p class="whs4">BSplineRestriction.Tolerance3d \96 work tolerance \r
334  for definition of the possibility of the approximation of the surfaces \r
335  and 3D curves with specified parameters.</p>\r
336 <p class="whs4">BSplineRestriction.Tolerance2d - work tolerance \r
337  for definition of the possibility of the approximation of the 2D curves \r
338  with specified parameters.</p>\r
339 <p class="whs4">BSplineRestriction.Continuity3d \96 desired continuity \r
340  of the resultant surfaces and 3D curves.</p>\r
341 <p class="whs4">BSplineRestriction.Continuity2d \96 desired continuity \r
342  of the resultant 2D curves.</p>\r
343 <p class="whs4">BSplineRestriction.RequiredDegree - required \r
344  degree of the resultant BSplines</p>\r
345 <p class="whs4">BSplineRestriction.RequiredNbSegments - required \r
346  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
347 \r
348 <tr valign="top" class="whs10">\r
349 <td width="8.851%" class="whs13">\r
350 <p>6</td>\r
351 <td width="91.149%" class="whs14">\r
352 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitContinuity \r
353  \96 this operator is intended for splitting shapes to achieve continuities \r
354  of curves and surfaces less than specified ones. </font></span></p>\r
355 <p class="whs4">SplitContinuity.Tolerance3d - 3D tolerance \r
356  for correction of geometry.</p>\r
357 <p class="whs4">SplitContinuity.SurfaceContinuity - required \r
358  continuity for surfaces.</p>\r
359 <p class="whs4">SplitContinuity.CurveContinuity - required \r
360  continuity for curves.</td></tr>\r
361 \r
362 <tr valign="top" class="whs10">\r
363 <td width="8.851%" class="whs13">\r
364 <p>7</td>\r
365 <td width="91.149%" class="whs14">\r
366 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">ToBezier - this \r
367  operator is intended for conversion of the curves and surfaces of the \r
368  all types into Bezier curves and surfaces. </font></span></p>\r
369 <p class="whs4">ToBezier.SurfaceMode - mode of conversion of \r
370  the surfaces.</p>\r
371 <p class="whs4">ToBezier.Curve3dMode \96 mode for conversion \r
372  of the 3D curves.</p>\r
373 <p class="whs4">ToBezier.Curve2dMode \96 mode for conversion \r
374  of the 2D curves.</p>\r
375 <p class="whs4">ToBezier.MaxTolerance \96 max possible tolerance \r
376  on the resultant shape.</td></tr>\r
377 \r
378 <tr valign="top" class="whs10">\r
379 <td width="8.851%" class="whs13">\r
380 <p>8</td>\r
381 <td width="91.149%" class="whs14">\r
382 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixShape \96 this \r
383  operator is intended for correction of the invalid shapes </font></span></p>\r
384 <p class="whs4">FixShape.Tolerance3d \96 work tolerance for detection \r
385  of the problems and correction of them.</p>\r
386 <p class="whs4">FixShape.MaxTolerance3d - maximal possible \r
387  tolerance of the shape after correction.</td></tr>\r
388 \r
389 <tr valign="top" class="whs10">\r
390 <td width="8.851%" class="whs13">\r
391 <p>9</td>\r
392 <td width="91.149%" class="whs14">\r
393 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SameParameter \r
394  \96 this operator is intended for fixing edges having not same parameter \r
395  2D and 3D curves. </font></span></p>\r
396 <p class="whs4">SameParameter.Tolerance3d \96 tolerance for detection \r
397  and fix problems. </td></tr>\r
398 <script language='JavaScript'><!--\r
399 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");\r
400 //--></script>\r
401 </table>\r
402 \r
403 <p class="whs4">&nbsp;</p>\r
404 \r
405 <p class="whs4">&nbsp;</p>\r
406 \r
407 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
408 \r
409 <p class="whs4">&nbsp;</p>\r
410 \r
411 <p class="whs15"><img src="../image158.jpg" width="300px" height="291px" border="0" class="img_whs16"> &nbsp;</p>\r
412 \r
413 <p class="whs4">&nbsp;</p>\r
414 \r
415 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
416 \r
417 <p>&nbsp;</p>\r
418 \r
419 <p class="whs4">Shape before applying Shape Processing (FixShape \r
420  operator).</p>\r
421 \r
422 <p class="whs4">&nbsp;</p>\r
423 \r
424 <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
425 \r
426 <p class="whs19">&nbsp;</p>\r
427 \r
428 <p class="whs1">The \r
429  same shape after applying Shape Processing.</p>\r
430 \r
431 <p class="whs19">&nbsp;</p>\r
432 \r
433 <p class="whs15"><img src="../image160.jpg" width="239px" height="214px" border="0" class="img_whs20"></p>\r
434 \r
435 <p class="whs19">&nbsp;</p>\r
436 \r
437 <p class="whs19">&nbsp;</p>\r
438 \r
439 <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
440 \r
441 <p class="whs1">&nbsp;</p>\r
442 \r
443 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
444  Suppresses a face of a shape.</p>\r
445 \r
446 <p class="whs4">&nbsp;</p>\r
447 \r
448 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
449  (ListOfGeomShapes).</p>\r
450 \r
451 <p class="whs4">&nbsp;</p>\r
452 \r
453 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
454  </i><span style="font-style: italic;"><I>geompy.SuppressFaces(Shape, ListOfID)</I></span>, \r
455  where Shape is a shape to be processed, ListOfID is a list of faces ID's \r
456  to be removed.</p>\r
457 \r
458 <p class="whs4">&nbsp;</p>\r
459 \r
460 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
461  1 shape + 1 selection of a face (Local Context).</p>\r
462 \r
463 <p class="whs4">&nbsp;</p>\r
464 \r
465 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
466 \r
467 <p class="whs4">&nbsp;</p>\r
468 \r
469 <p class="whs15"><img src="../image115.jpg" width="200px" height="164px" border="0" class="img_whs22"></p>\r
470 \r
471 <p class="whs15">&nbsp;</p>\r
472 \r
473 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
474 \r
475 <p class="whs4">&nbsp;</p>\r
476 \r
477 <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
478 \r
479 <p class="whs4">&nbsp;</p>\r
480 \r
481 <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
482 \r
483 <p class="whs4">&nbsp;</p>\r
484 \r
485 <p class="whs4"><b style="font-weight: bold;">Description :</b> \r
486  Closes an open contour and modifies the underlying face (if needed) in \r
487  accordance with user specified mode:</p>\r
488 \r
489 <ul type="disc" class="whs3">\r
490         \r
491         <li class=kadov-p><p class="whs4">By common vertex \96 a \r
492  vertex is created between the end points of the contour and its tolerance \r
493  is increased to a value of the gap between the ends of the contour;</p></li>\r
494         \r
495         <li class=kadov-p><p class="whs4">By new edge \96 a new edge \r
496  is inserted between the end points of the contour.</p></li>\r
497 </ul>\r
498 \r
499 <p class="whs4">&nbsp;</p>\r
500 \r
501 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
502 \r
503 <p class="whs4">&nbsp;</p>\r
504 \r
505 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
506  </i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires, \r
507  IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires \r
508  is a list of edges or wires ID\92s which has to be closed within the shape \r
509  (if the list contains only one element = -1, the shape itself is considered \r
510  as a wire), &nbsp;IsCommonVertex \r
511  if this parameter is True a closure has to be done by creation of a common \r
512  vertex, otherwise an edge is added between the end vertices.</p>\r
513 \r
514 <p class="whs4">&nbsp;</p>\r
515 \r
516 <p class="whs4"><b style="font-weight: bold;">Arguments: <span \r
517  style="font-weight: normal;">Contour</span> <span style="font-weight: normal;">(</span></b>Wire, \r
518  or a set of Edges) + mode of closure (by vertex or by edge)</p>\r
519 \r
520 <p class="whs4">&nbsp;</p>\r
521 \r
522 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
523 \r
524 <p class="whs4">&nbsp;</p>\r
525 \r
526 <p class="whs15"><b style="font-weight: bold;"><img src="../image161.jpg" width="199px" height="199px" border="0" class="img_whs25"></b></p>\r
527 \r
528 <p class="whs26">&nbsp;</p>\r
529 \r
530 <p class="whs26">Example:</p>\r
531 \r
532 <p class="whs4">&nbsp;</p>\r
533 \r
534 <p class="whs4"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B><a \r
535  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
536  internal wires</B></font></span></a></p>\r
537 \r
538 <p class="whs4">&nbsp;</p>\r
539 \r
540 <p class="whs4"><b style="font-weight: bold;">Description :</b> \r
541  Removes all internal wires or specified internal wires from user specified \r
542  faces.</p>\r
543 \r
544 <p class="whs4">&nbsp;</p>\r
545 \r
546 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
547 \r
548 <p class="whs4">&nbsp;</p>\r
549 \r
550 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
551  </i><span style="font-style: italic;"><I>geompy.SuppressInternalWires(Shape, \r
552  Wires)</I></span>, where Shape is a shape where wires are to be removed, Wires \r
553  is a list of wires ID\92s to be removed; if the list is empty then all internal \r
554  wires are removed.</p>\r
555 \r
556 <p class="whs4">&nbsp;</p>\r
557 \r
558 <p class="whs4">&nbsp;</p>\r
559 \r
560 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>\r
561 \r
562 <ul type="disc" class="whs3">\r
563         \r
564         <li class=kadov-p><p class="whs4">User specified face</p></li>\r
565         \r
566         <li class=kadov-p><p class="whs4">User specified internal \r
567  wires (lying on this face except for its boundary), or, in case the &quot;Remove \r
568  all internal wires&quot; box is checked, all internal wires</p></li>\r
569 </ul>\r
570 \r
571 <p class="whs4">&nbsp;</p>\r
572 \r
573 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
574 \r
575 <p class="whs4">&nbsp;</p>\r
576 \r
577 <p class="whs15"><img src="../image165.jpg" width="200px" height="177px" border="0" class="img_whs27"></p>\r
578 \r
579 <p class="whs4">&nbsp;</p>\r
580 \r
581 <p class="whs26">Example:</p>\r
582 \r
583 <p class="whs4">&nbsp;</p>\r
584 \r
585 <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
586 \r
587 <p class="whs4">&nbsp;</p>\r
588 \r
589 <p class="whs4">&nbsp;</p>\r
590 \r
591 <p class="whs19"><span \r
592  style="font-family: 'Times New Roman', serif;"><a NAME=_Toc57113183><span \r
593  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
594  holes</b></a> </font></span></span></p>\r
595 \r
596 <p class="whs1">&nbsp;</p>\r
597 \r
598 <p class="whs4"><b style="font-weight: bold;">Description :</b> \r
599  </p>\r
600 \r
601 <ul>\r
602         \r
603         <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st \r
604  Constructor :</b> Suppresses a hole in a shape.</p></li>\r
605         \r
606         <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd \r
607  Constructor :</b> Suppresses a hole in a face.</p></li>\r
608 </ul>\r
609 \r
610 <p class="whs4">&nbsp;</p>\r
611 \r
612 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
613 \r
614 <p class="whs4">&nbsp;</p>\r
615 \r
616 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i> \r
617  </i><span style="font-size: 12pt; font-style: italic;"><font size=3 style="font-size:12pt;"><I>geompy.SuppressHoles(Shape, \r
618  ListOfWireID)</I></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Shape is a \r
619  shape where holes must be removed, ListOfWireID is a list of wire sub \r
620  shapes ID\92s. If it is empty, then all holes are removed.</font></span></p>\r
621 \r
622 <p class="whs4">&nbsp;</p>\r
623 \r
624 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>\r
625 \r
626 <ul>\r
627         \r
628         <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st \r
629  Constructor :</b> 1 shape + 1 selection of 1 face (Local Context) + 1 \r
630  selection of a wire in the selected face + 1 selection of the back face \r
631  (if the hole is traversing).</p></li>\r
632         \r
633         <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd \r
634  Constructor :</b> 1 shape (face or shell) + 1 selection of a wire in a \r
635  face.</p></li>\r
636 </ul>\r
637 \r
638 <p class="whs4">&nbsp;</p>\r
639 \r
640 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
641 \r
642 <p class="whs4">&nbsp;</p>\r
643 \r
644 <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
645 \r
646 <p class="whs15">&nbsp;&nbsp;</p>\r
647 \r
648 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
649 \r
650 <p class="whs15">&nbsp;</p>\r
651 \r
652 <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
653 \r
654 <p class="whs4">&nbsp;</p>\r
655 \r
656 <p class="whs4">&nbsp;</p>\r
657 \r
658 <p class="whs4">&nbsp;</p>\r
659 \r
660 <p class="whs1"><b style="font-weight: bold;"><a \r
661  NAME=sewing\r
662         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
663 \r
664 <p class="whs1">&nbsp;</p>\r
665 \r
666 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
667  Sew several &nbsp;shapes.</p>\r
668 \r
669 <p class="whs4">&nbsp;</p>\r
670 \r
671 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
672 \r
673 <p class="whs4">&nbsp;</p>\r
674 \r
675 <p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i> \r
676  </i><span style="font-style: italic;"><I>geompy.MakeSewing(ListOfShape, Precision)</I></span>, \r
677  where ListOfShape is list of shapes to be sewed, Precision is a precision \r
678  for sewing.</p>\r
679 \r
680 <p class="whs4">&nbsp;</p>\r
681 \r
682 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
683  1 or more shapes + 1 value (sew precision).</p>\r
684 \r
685 <p class="whs4">&nbsp;</p>\r
686 \r
687 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
688 \r
689 <p class="whs4">&nbsp;</p>\r
690 \r
691 <p class="whs15"><img src="../image111.jpg" width="200px" height="166px" border="0" class="img_whs33"></p>\r
692 \r
693 <p class="whs4">&nbsp;</p>\r
694 \r
695 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>\r
696 \r
697 <p class="whs4">&nbsp;</p>\r
698 \r
699 <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
700 \r
701 <p class="whs4">&nbsp;</p>\r
702 \r
703 <p class="whs4">&nbsp;</p>\r
704 \r
705 <p class="whs4">&nbsp;</p>\r
706 \r
707 <p class="whs4"><a name=AddPointOnEdge><img src="../image42.gif" width="22px" height="22px" border="0" class="img_whs35"> <span \r
708  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
709 \r
710 <p class="whs4">&nbsp;</p>\r
711 \r
712 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
713  Splits an edge in two in accordance with the specified mode (by length \r
714  or by parameter) and a value specifying the position of the point on edge \r
715  (for example val =0.5; mode = Length). </p>\r
716 \r
717 <p class="whs4">&nbsp;</p>\r
718 \r
719 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
720 \r
721 <p class="whs4">&nbsp;</p>\r
722 \r
723 <p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i> \r
724  </i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID, \r
725  Value, IsByParameter)</I></span>, where Shape is a shape which contains an \r
726  edge to be divided, EdgeID is the ID of the edge to be divided, if it \r
727  = -1, then Shape is an edge, Value is a paramter on the edge or a length. \r
728  IsByParameter if it is True then Value is the edge parameter in the range \r
729  [0:1] otherwise it is a length of the edge in the range [0:1]</p>\r
730 \r
731 <p class="whs4">&nbsp;</p>\r
732 \r
733 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
734  Edge, user-defined point</p>\r
735 \r
736 <p class="whs4">&nbsp;</p>\r
737 \r
738 <p class="whs36"><b style="font-weight: bold;">Dialog \r
739  Box:</b></p>\r
740 \r
741 <p class="whs36">&nbsp;</p>\r
742 \r
743 <p class="whs37"><b style="font-weight: bold;"><img src="../image166.jpg" width="200px" height="210px" border="0" class="img_whs38"></b></p>\r
744 \r
745 <p class="whs39">&nbsp;</p>\r
746 \r
747 <p class="whs40">Example:</p>\r
748 \r
749 <p class="whs39">&nbsp;</p>\r
750 \r
751 <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
752 \r
753 <p class="whs44">&nbsp;</p>\r
754 \r
755 <p class="whs45">&nbsp;</p>\r
756 \r
757 <p class="whs46"><a name=CheckFreeBound><img src="../image44.gif" width="22px" height="22px" border="0" class="img_whs35"> <span \r
758  style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check free boundaries</B></font></span></a></p>\r
759 \r
760 <p class="whs47">&nbsp;</p>\r
761 \r
762 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
763  Detects wires and edges that correspond to the shape's boundary, and highlights \r
764  it</p>\r
765 \r
766 <p class="whs4">&nbsp;</p>\r
767 \r
768 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
769 \r
770 <p class="whs4">&nbsp;</p>\r
771 \r
772 <p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i><span \r
773  style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>, \r
774  where Shape is a shape to be checked, NoError is false if an error occurred \r
775  while checking free boundaries, ClosedWires is a list of closed free boundary \r
776  wires, OpenWires is a list of open free boundary wires.</p>\r
777 \r
778 <p class="whs4">&nbsp;</p>\r
779 \r
780 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
781  Shape</p>\r
782 \r
783 <p class="whs4">&nbsp;</p>\r
784 \r
785 <p class="whs36"><b style="font-weight: bold;">Dialog \r
786  Box:</b></p>\r
787 \r
788 <p class="whs36">&nbsp;</p>\r
789 \r
790 <p class="whs15"><b style="font-weight: bold;"><img src="../image169.jpg" width="200px" height="180px" border="0" class="img_whs48"></b></p>\r
791 \r
792 <p class="whs49">&nbsp;</p>\r
793 \r
794 <p class="whs49"><b style="font-weight: bold;">Example:</b></p>\r
795 \r
796 <p class="whs49">&nbsp;</p>\r
797 \r
798 <p class="whs49"><img src="../image170.jpg" width="209px" height="138px" border="0" class="img_whs50"> &nbsp;<img src="../image171.jpg" width="192px" height="138px" border="0" class="img_whs51">&nbsp; <img src="../image172.jpg" width="191px" height="138px" border="0" class="img_whs52"></p>\r
799 \r
800 <p class="whs49">&nbsp;</p>\r
801 \r
802 <p class="whs49">&nbsp;</p>\r
803 \r
804 <script type="text/javascript" language="javascript1.2">\r
805 <!--\r
806 if (window.writeIntopicBar)\r
807         writeIntopicBar(0);\r
808 //-->\r
809 </script>\r
810 </body>\r
811 \r
812 </html>\r