1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
5 <!--(==============================================================)-->
\r
6 <!--(Document created with RoboEditor. )============================-->
\r
7 <!--(==============================================================)-->
\r
11 <title>Titre</title>
\r
13 <!--(Meta)==========================================================-->
\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йveloppements spй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
36 <!--(Links)=========================================================-->
\r
38 <link rel='stylesheet' href='../default_ns.css'>
\r
39 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
\r
41 if (navigator.appName !="Netscape")
\r
42 { document.write("<link rel='stylesheet' href='../default.css'>");}
\r
45 <!--(Style Sheet)===================================================-->
\r
58 <style type="text/css">
\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
114 <script type="text/javascript" language="JavaScript">
\r
116 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\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
132 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
135 if (innerWidth != origWidth || innerHeight != origHeight)
\r
138 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
139 origWidth = innerWidth;
\r
140 origHeight = innerHeight;
\r
146 <style type="text/css">
\r
148 div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}
\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
158 <!--(Body)==========================================================-->
\r
163 <script type="text/javascript" language="javascript1.2">
\r
165 if (window.gbWhTopic)
\r
167 if (window.addTocInfo)
\r
169 addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing geometrical objects");
\r
170 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
173 if (window.writeBtnStyle)
\r
176 if (window.writeIntopicBar)
\r
177 writeIntopicBar(1);
\r
179 if (window.setRelStartPage)
\r
181 setRelStartPage("../geom_help.html");
\r
189 document.location.reload();
\r
192 <h1>Repairing geometrical objects</h1>
\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
198 <p class="whs1"><a HREF="#sewing"> </a></p>
\r
200 <ul type="disc" class="whs3">
\r
202 <li class=kadov-p><p class="whs1"> <a
\r
203 href="#Shape">Shape processing</a></p></li>
\r
205 <li class=kadov-p><p class="whs1"> <a
\r
206 HREF="#_Toc57113182">Suppress faces	</a></p></li>
\r
208 <li class=kadov-p><p class="whs1"> <a
\r
209 href="#CloseContour">Close contour</a></p></li>
\r
211 <li class=kadov-p><p class="whs1"> <a
\r
212 href="#SuppressInternalWires">Suppress internal
\r
213 wires</a><a HREF="#sewing">	</a></p></li>
\r
215 <li class=kadov-p><p class="whs1"><a
\r
216 HREF="#_Toc57113181"> <a HREF="#_Toc57113183">Suppress
\r
217 holes	</a></a></p></li>
\r
219 <li class=kadov-p><p class="whs1"><a
\r
220 HREF="#_Toc57113182"> </a><a HREF="#sewing">Sewing</a></p></li>
\r
222 <li class=kadov-p><p class="whs1"><a
\r
223 HREF="#_Toc57113183"> </a><a href="#AddPointOnEdge">Add
\r
224 point on edge</a></p></li>
\r
226 <li class=kadov-p><p class="whs1"> <a
\r
227 href="#CheckFreeBound">Check free boundaries</a><a
\r
228 HREF="#_Toc57113183">	</a></p></li>
\r
231 <p class="whs4"> </p>
\r
233 <p class=TODO>To apply repairing operations:</p>
\r
235 <p class=TODO> </p>
\r
237 <p class="whs5">In the main menu select <span style="font-weight: bold;"><B>Repair
\r
238 </B></span>submenu.</p>
\r
240 <p class="whs4"> </p>
\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
245 <p class="whs4"> </p>
\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
250 <p class="whs4"> </p>
\r
252 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
254 <p class="whs4"> </p>
\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 ("FixShape", "SplitClosedFaces",
\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
264 <p class="whs4"> </p>
\r
266 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
267 1 or more shapes.</p>
\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
277 <tr valign="top" class="whs10">
\r
278 <td width="8.851%" class="whs11">
\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
289 <tr valign="top" class="whs10">
\r
290 <td width="8.851%" class="whs13">
\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
299 <tr valign="top" class="whs10">
\r
300 <td width="8.851%" class="whs13">
\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
309 <tr valign="top" class="whs10">
\r
310 <td width="8.851%" class="whs13">
\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 </font></span></p>
\r
316 <p class="whs4">DropSmallEdges.Tolerance3d
\96 work tolerance
\r
317 for detection and removing small edges.</td></tr>
\r
319 <tr valign="top" class="whs10">
\r
320 <td width="8.851%" class="whs13">
\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
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
348 <tr valign="top" class="whs10">
\r
349 <td width="8.851%" class="whs13">
\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
362 <tr valign="top" class="whs10">
\r
363 <td width="8.851%" class="whs13">
\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
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
378 <tr valign="top" class="whs10">
\r
379 <td width="8.851%" class="whs13">
\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
389 <tr valign="top" class="whs10">
\r
390 <td width="8.851%" class="whs13">
\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
403 <p class="whs4"> </p>
\r
405 <p class="whs4"> </p>
\r
407 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
409 <p class="whs4"> </p>
\r
411 <p class="whs15"><img src="../image158.jpg" width="300px" height="291px" border="0" class="img_whs16"> </p>
\r
413 <p class="whs4"> </p>
\r
415 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
419 <p class="whs4">Shape before applying Shape Processing (FixShape
\r
422 <p class="whs4"> </p>
\r
424 <p class="whs15"><img src="../image154.jpg" width="300px" height="214px" border="0" class="img_whs17"> <img src="../image156.jpg" width="244px" height="214px" border="0" class="img_whs18"></p>
\r
426 <p class="whs19"> </p>
\r
428 <p class="whs1">The
\r
429 same shape after applying Shape Processing.</p>
\r
431 <p class="whs19"> </p>
\r
433 <p class="whs15"><img src="../image160.jpg" width="239px" height="214px" border="0" class="img_whs20"></p>
\r
435 <p class="whs19"> </p>
\r
437 <p class="whs19"> </p>
\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
441 <p class="whs1"> </p>
\r
443 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
444 Suppresses a face of a shape.</p>
\r
446 <p class="whs4"> </p>
\r
448 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
449 (ListOfGeomShapes).</p>
\r
451 <p class="whs4"> </p>
\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
458 <p class="whs4"> </p>
\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
463 <p class="whs4"> </p>
\r
465 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
467 <p class="whs4"> </p>
\r
469 <p class="whs15"><img src="../image115.jpg" width="200px" height="164px" border="0" class="img_whs22"></p>
\r
471 <p class="whs15"> </p>
\r
473 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
475 <p class="whs4"> </p>
\r
477 <p class="whs15"><img src="../image53.jpg" width="150px" height="131px" border="0" class="img_whs23"> <img src="../image54.jpg" width="150px" height="131px" border="0" class="img_whs23"></p>
\r
479 <p class="whs4"> </p>
\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
483 <p class="whs4"> </p>
\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
489 <ul type="disc" class="whs3">
\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
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
499 <p class="whs4"> </p>
\r
501 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
503 <p class="whs4"> </p>
\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), 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
514 <p class="whs4"> </p>
\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
520 <p class="whs4"> </p>
\r
522 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
524 <p class="whs4"> </p>
\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
528 <p class="whs26"> </p>
\r
530 <p class="whs26">Example:</p>
\r
532 <p class="whs4"> </p>
\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
538 <p class="whs4"> </p>
\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
544 <p class="whs4"> </p>
\r
546 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
548 <p class="whs4"> </p>
\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
556 <p class="whs4"> </p>
\r
558 <p class="whs4"> </p>
\r
560 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
\r
562 <ul type="disc" class="whs3">
\r
564 <li class=kadov-p><p class="whs4">User specified face</p></li>
\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 "Remove
\r
568 all internal wires" box is checked, all internal wires</p></li>
\r
571 <p class="whs4"> </p>
\r
573 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
575 <p class="whs4"> </p>
\r
577 <p class="whs15"><img src="../image165.jpg" width="200px" height="177px" border="0" class="img_whs27"></p>
\r
579 <p class="whs4"> </p>
\r
581 <p class="whs26">Example:</p>
\r
583 <p class="whs4"> </p>
\r
585 <p class="whs15"><img src="../image163.jpg" width="200px" height="214px" border="0" class="img_whs28"> <img src="../image164.jpg" width="176px" height="214px" border="0" class="img_whs29"></p>
\r
587 <p class="whs4"> </p>
\r
589 <p class="whs4"> </p>
\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
596 <p class="whs1"> </p>
\r
598 <p class="whs4"><b style="font-weight: bold;">Description :</b>
\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
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
610 <p class="whs4"> </p>
\r
612 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
614 <p class="whs4"> </p>
\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
622 <p class="whs4"> </p>
\r
624 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
\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
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
638 <p class="whs4"> </p>
\r
640 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
642 <p class="whs4"> </p>
\r
644 <p class="whs15"><img src="../image116.jpg" x-maintain-ratio="FALSE" width="200px" height="185px" border="0" class="img_whs30"> <img src="../image117.jpg" width="200px" height="185px" border="0" class="img_whs31"></p>
\r
646 <p class="whs15"> </p>
\r
648 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
650 <p class="whs15"> </p>
\r
652 <p class="whs15"> <img src="../image109.jpg" width="150px" height="136px" border="0" class="img_whs32"> <img src="../image110.jpg" width="150px" height="136px" border="0" class="img_whs32"></p>
\r
654 <p class="whs4"> </p>
\r
656 <p class="whs4"> </p>
\r
658 <p class="whs4"> </p>
\r
660 <p class="whs1"><b style="font-weight: bold;"><a
\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
664 <p class="whs1"> </p>
\r
666 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
667 Sew several shapes.</p>
\r
669 <p class="whs4"> </p>
\r
671 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
673 <p class="whs4"> </p>
\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
680 <p class="whs4"> </p>
\r
682 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
683 1 or more shapes + 1 value (sew precision).</p>
\r
685 <p class="whs4"> </p>
\r
687 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
689 <p class="whs4"> </p>
\r
691 <p class="whs15"><img src="../image111.jpg" width="200px" height="166px" border="0" class="img_whs33"></p>
\r
693 <p class="whs4"> </p>
\r
695 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
697 <p class="whs4"> </p>
\r
699 <p class="whs15"><img src="../image112.jpg" width="150px" height="132px" border="0" class="img_whs34"> <img src="../image113.jpg" width="150px" height="132px" border="0" class="img_whs34"></p>
\r
701 <p class="whs4"> </p>
\r
703 <p class="whs4"> </p>
\r
705 <p class="whs4"> </p>
\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
710 <p class="whs4"> </p>
\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
717 <p class="whs4"> </p>
\r
719 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
721 <p class="whs4"> </p>
\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
731 <p class="whs4"> </p>
\r
733 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
734 Edge, user-defined point</p>
\r
736 <p class="whs4"> </p>
\r
738 <p class="whs36"><b style="font-weight: bold;">Dialog
\r
741 <p class="whs36"> </p>
\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
745 <p class="whs39"> </p>
\r
747 <p class="whs40">Example:</p>
\r
749 <p class="whs39"> </p>
\r
751 <p class="whs41"><img src="../image167.jpg" width="200px" height="231px" border="0" class="img_whs42"> <img src="../image168.jpg" width="185px" height="231px" border="0" class="img_whs43"></p>
\r
753 <p class="whs44"> </p>
\r
755 <p class="whs45"> </p>
\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
760 <p class="whs47"> </p>
\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
766 <p class="whs4"> </p>
\r
768 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
770 <p class="whs4"> </p>
\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
778 <p class="whs4"> </p>
\r
780 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
783 <p class="whs4"> </p>
\r
785 <p class="whs36"><b style="font-weight: bold;">Dialog
\r
788 <p class="whs36"> </p>
\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
792 <p class="whs49"> </p>
\r
794 <p class="whs49"><b style="font-weight: bold;">Example:</b></p>
\r
796 <p class="whs49"> </p>
\r
798 <p class="whs49"><img src="../image170.jpg" width="209px" height="138px" border="0" class="img_whs50"> <img src="../image171.jpg" width="192px" height="138px" border="0" class="img_whs51"> <img src="../image172.jpg" width="191px" height="138px" border="0" class="img_whs52"></p>
\r
800 <p class="whs49"> </p>
\r
802 <p class="whs49"> </p>
\r
804 <script type="text/javascript" language="javascript1.2">
\r
806 if (window.writeIntopicBar)
\r
807 writeIntopicBar(0);
\r