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