1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\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
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='../default.css'>");}
\r
17 A:link { color:#0000ff; }
\r
19 </style><style type="text/css">
\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
82 </style><script type="text/javascript" language="JavaScript">
\r
84 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\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
103 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
106 if (innerWidth != origWidth || innerHeight != origHeight)
\r
109 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
110 origWidth = innerWidth;
\r
111 origHeight = innerHeight;
\r
117 <style type="text/css">
\r
119 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\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
127 <body><script type="text/javascript" language="javascript1.2">
\r
129 if (window.gbWhTopic)
\r
131 if (window.addTocInfo)
\r
133 addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing geometrical objects");
\r
134 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
137 if (window.writeBtnStyle)
\r
140 if (window.writeIntopicBar)
\r
141 writeIntopicBar(1);
\r
143 if (window.setRelStartPage)
\r
145 setRelStartPage("../geom.htm");
\r
154 document.location.reload();
\r
157 <h1>Repairing geometrical objects</h1>
\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
163 <p class="whs1"><a HREF="#sewing"> </a></p>
\r
165 <ul type="disc" class="whs3">
\r
167 <li class=kadov-p><p class="whs1"> <a
\r
168 href="#Shape">Shape processing</a></p></li>
\r
170 <li class=kadov-p><p class="whs1"> <a
\r
171 HREF="#_Toc57113182">Suppress faces	</a></p></li>
\r
173 <li class=kadov-p><p class="whs1"> <a
\r
174 href="#CloseContour">Close contour</a></p></li>
\r
176 <li class=kadov-p><p class="whs1"> <a
\r
177 href="#SuppressInternalWires">Suppress internal
\r
178 wires</a><a HREF="#sewing">	</a></p></li>
\r
180 <li class=kadov-p><p class="whs1"><a
\r
181 HREF="#_Toc57113181"> <a HREF="#_Toc57113183">Suppress
\r
182 holes	</a></a></p></li>
\r
184 <li class=kadov-p><p class="whs1"><a
\r
185 HREF="#_Toc57113182"> </a><a HREF="#sewing">Sewing</a></p></li>
\r
187 <li class=kadov-p><p class="whs1"> <a
\r
188 href="#Glue_faces">Glue faces</a></p></li>
\r
190 <li class=kadov-p><p class="whs1"><a
\r
191 HREF="#_Toc57113183"> </a><a href="#AddPointOnEdge">Add
\r
192 point on edge</a></p></li>
\r
194 <li class=kadov-p><p class="whs1"> <a
\r
195 href="#CheckFreeBound">Check free boundaries</a><a
\r
196 HREF="#_Toc57113183">	</a></p></li>
\r
199 <p class="whs4"> </p>
\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
207 <p class="whs4"> </p>
\r
209 <p class=TODO>To apply repairing operations:</p>
\r
211 <p class=TODO> </p>
\r
213 <p class="whs6">In the main menu select <span style="font-weight: bold;"><B>Repair
\r
214 </B></span>submenu.</p>
\r
216 <p class="whs4"> </p>
\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
221 <p class="whs4"> </p>
\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
226 <p class="whs4"> </p>
\r
228 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
230 <p class="whs4"> </p>
\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 ("FixShape", "SplitClosedFaces",
\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
240 <p class="whs4"> </p>
\r
242 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
243 1 or more shapes.</p>
\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
250 <col class="whs10">
\r
252 <tr valign="top" class="whs11">
\r
253 <td width="8.851%" class="whs12">
\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
264 <tr valign="top" class="whs11">
\r
265 <td width="8.851%" class="whs14">
\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
274 <tr valign="top" class="whs11">
\r
275 <td width="8.851%" class="whs14">
\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
284 <tr valign="top" class="whs11">
\r
285 <td width="8.851%" class="whs14">
\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 </font></span></p>
\r
291 <p class="whs4">DropSmallEdges.Tolerance3d
\96 work tolerance
\r
292 for detection and removing small edges.</td></tr>
\r
294 <tr valign="top" class="whs11">
\r
295 <td width="8.851%" class="whs14">
\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
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
323 <tr valign="top" class="whs11">
\r
324 <td width="8.851%" class="whs14">
\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
337 <tr valign="top" class="whs11">
\r
338 <td width="8.851%" class="whs14">
\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
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
353 <tr valign="top" class="whs11">
\r
354 <td width="8.851%" class="whs14">
\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
364 <tr valign="top" class="whs11">
\r
365 <td width="8.851%" class="whs14">
\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
378 <p class="whs4"> </p>
\r
380 <p class="whs4"> </p>
\r
382 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
384 <p class="whs4"> </p>
\r
386 <p class="whs16"><img src="../image158.jpg" width="300px" height="291px" border="0" class="img_whs17"> </p>
\r
388 <p class="whs4"> </p>
\r
390 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
394 <p class="whs4">Shape before applying Shape Processing (FixShape
\r
397 <p class="whs4"> </p>
\r
399 <p class="whs16"><img src="../image154.jpg" width="300px" height="214px" border="0" class="img_whs18"> <img src="../image156.jpg" width="244px" height="214px" border="0" class="img_whs19"></p>
\r
401 <p class="whs20"> </p>
\r
403 <p class="whs1">The
\r
404 same shape after applying Shape Processing.</p>
\r
406 <p class="whs20"> </p>
\r
408 <p class="whs16"><img src="../image160.jpg" width="239px" height="214px" border="0" class="img_whs21"></p>
\r
410 <p class="whs20"> </p>
\r
412 <p class="whs20"> </p>
\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
416 <p class="whs1"> </p>
\r
418 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
419 Suppresses a face of a shape.</p>
\r
421 <p class="whs4"> </p>
\r
423 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
424 (ListOfGeomShapes).</p>
\r
426 <p class="whs4"> </p>
\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
433 <p class="whs4"> </p>
\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
438 <p class="whs4"> </p>
\r
440 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
442 <p class="whs4"> </p>
\r
444 <p class="whs16"><img src="../image288.jpg" width="263px" height="250px" border="0" class="img_whs23"></p>
\r
446 <p class="whs16"> </p>
\r
448 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
450 <p class="whs4"> </p>
\r
452 <p class="whs16"><img src="../image53.jpg" width="150px" height="131px" border="0" class="img_whs24"> <img src="../image54.jpg" width="150px" height="131px" border="0" class="img_whs24"></p>
\r
454 <p class="whs4"> </p>
\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
458 <p class="whs4"> </p>
\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
464 <ul type="disc" class="whs3">
\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
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
474 <p class="whs4"> </p>
\r
476 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
478 <p class="whs4"> </p>
\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), 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
489 <p class="whs4"> </p>
\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
495 <p class="whs4"> </p>
\r
497 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
499 <p class="whs4"> </p>
\r
501 <p class="whs26"><img src="../image287.jpg" width="186px" height="250px" border="0" class="img_whs27"></p>
\r
503 <p class="whs28"> </p>
\r
505 <p class="whs28">Example:</p>
\r
507 <p class="whs4"> </p>
\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
513 <p class="whs4"> </p>
\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
519 <p class="whs4"> </p>
\r
521 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
523 <p class="whs4"> </p>
\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
531 <p class="whs4"> </p>
\r
533 <p class="whs4"> </p>
\r
535 <p class="whs4"><b>Arguments:</b></p>
\r
537 <ul type="disc" class="whs3">
\r
539 <li class=kadov-p><p class="whs4">Name of the resulting
\r
542 <li class=kadov-p><p class="whs4">User specified face</p></li>
\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
550 <p class="whs4"> </p>
\r
552 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
554 <p class="whs4"> </p>
\r
556 <p class="whs16"><img src="../image286.jpg" width="214px" height="250px" border="0" class="img_whs29"></p>
\r
558 <p class="whs4"> </p>
\r
560 <p class="whs28">Example:</p>
\r
562 <p class="whs4"> </p>
\r
564 <p class="whs16"><img src="../image163.jpg" width="200px" height="214px" border="0" class="img_whs30"> <img src="../image164.jpg" width="176px" height="214px" border="0" class="img_whs31"></p>
\r
566 <p class="whs4"> </p>
\r
568 <p class="whs4"> </p>
\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
575 <p class="whs1"> </p>
\r
577 <p class="whs4"><b style="font-weight: bold;">Description :</b>
\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
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
589 <p class="whs4"> </p>
\r
591 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
593 <p class="whs4"> </p>
\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
601 <p class="whs4"> </p>
\r
603 <p class="whs4"><b>Arguments: </b>Name + 1 shape + Wires which
\r
604 should be removed.</p>
\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
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
612 <p class="whs16"> </p>
\r
614 <p class="whs16"><img src="../image285.jpg" width="348px" height="90px" border="0" class="img_whs32"></p>
\r
616 <p class="whs4"> </p>
\r
618 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
620 <p class="whs4"> </p>
\r
622 <p class="whs16"> <img src="../image274.jpg" width="198px" height="250px" border="0" class="img_whs33"></p>
\r
624 <p class="whs16"> </p>
\r
626 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
628 <p class="whs16"> </p>
\r
630 <p class="whs16"> <img src="../image109.jpg" width="150px" height="136px" border="0" class="img_whs34"> <img src="../image110.jpg" width="150px" height="136px" border="0" class="img_whs34"></p>
\r
632 <p class="whs4"> </p>
\r
634 <p class="whs4"> </p>
\r
636 <p class="whs4"> </p>
\r
638 <p class="whs1"><b style="font-weight: bold;"><a
\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
642 <p class="whs1"> </p>
\r
644 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
645 Sew several shapes.</p>
\r
647 <p class="whs4"> </p>
\r
649 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
651 <p class="whs4"> </p>
\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
658 <p class="whs4"> </p>
\r
660 <p class="whs4"><b>Arguments:</b> Name + 1 or more shapes +
\r
661 1 value (sew precision).</p>
\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
667 <p class="whs16"> </p>
\r
669 <p class="whs16"><img src="../image285.jpg" width="348px" height="90px" border="0" class="img_whs32"></p>
\r
671 <p class="whs4"> </p>
\r
673 <p class="whs4"> </p>
\r
675 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
677 <p class="whs4"> </p>
\r
679 <p class="whs16"><img src="../image289.jpg" width="216px" height="250px" border="0" class="img_whs35"></p>
\r
681 <p class="whs4"> </p>
\r
683 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
685 <p class="whs4"> </p>
\r
687 <p class="whs16"><img src="../image112.jpg" width="150px" height="132px" border="0" class="img_whs36"> <img src="../image113.jpg" width="150px" height="132px" border="0" class="img_whs36"></p>
\r
689 <p class="whs4"> </p>
\r
691 <p class="whs4"> </p>
\r
693 <p class="whs4"> </p>
\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
698 <p class="whs4"> </p>
\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
705 <p class="whs4"> </p>
\r
707 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
709 <p class="whs4"> </p>
\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
719 <p class="whs4"> </p>
\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
725 <p class="whs4"> </p>
\r
727 <p class="whs38"><b style="font-weight: bold;">Dialog
\r
730 <p class="whs38"> </p>
\r
732 <p class="whs39"><img src="../image291.jpg" width="191px" height="250px" border="0" class="img_whs40"></p>
\r
734 <p class="whs41"> </p>
\r
736 <p class="whs42">Example:</p>
\r
738 <p class="whs41"> </p>
\r
740 <p class="whs43"><img src="../image167.jpg" width="200px" height="231px" border="0" class="img_whs44"> <img src="../image168.jpg" width="185px" height="231px" border="0" class="img_whs45"></p>
\r
742 <p class="whs46"> </p>
\r
744 <p class="whs46"> </p>
\r
746 <p class="whs46"> </p>
\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
751 <p class="whs46"> </p>
\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
756 <p class="whs46">value.</p>
\r
758 <p class="whs46"> </p>
\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
763 <p class="whs46"> </p>
\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
771 <p class="whs46"><i><span style="font-style: italic;"><I> </I></span></i></p>
\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
777 <p class="whs46"> </p>
\r
779 <p class="whs46"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
781 <p class="whs46"> </p>
\r
783 <p class="whs47"><img src="../image290.jpg" width="240px" height="250px" border="0" class="img_whs48"></p>
\r
785 <p class="whs49"> </p>
\r
787 <p class="whs49"><b style="font-weight: bold;">Example:</b></p>
\r
789 <p class="whs49"> </p>
\r
791 <p class="whs50"><img src="../image201.jpg" x-maintain-ratio="TRUE" width="200px" height="150px" border="0" class="img_whs51"> <img src="../image202.jpg" width="204px" height="150px" border="0" class="img_whs52"></p>
\r
793 <p class="whs53"> </p>
\r
795 <p class="whs53"> </p>
\r
797 <p class="whs53"> </p>
\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
802 <p class="whs55"> </p>
\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
808 <p class="whs4"> </p>
\r
810 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
812 <p class="whs4"> </p>
\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
820 <p class="whs4"> </p>
\r
822 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
825 <p class="whs4"> </p>
\r
827 <p class="whs38"><b style="font-weight: bold;">Dialog
\r
830 <p class="whs38"> </p>
\r
832 <p class="whs26"><img src="../image64.gif" width="276px" height="192px" border="0" class="img_whs56"></p>
\r
834 <p class="whs57"> </p>
\r
836 <p class="whs57"><b style="font-weight: bold;">Example:</b></p>
\r
838 <p class="whs57"> </p>
\r
840 <p class="whs57"><img src="../image170.jpg" width="209px" height="138px" border="0" class="img_whs58"> <img src="../image171.jpg" width="192px" height="138px" border="0" class="img_whs59"> <img src="../image172.jpg" width="191px" height="138px" border="0" class="img_whs60"></p>
\r
842 <p class="whs57"> </p>
\r
844 <p class="whs57"> </p>
\r
846 <script type="text/javascript" language="javascript1.2">
\r
848 if (window.writeIntopicBar)
\r
849 writeIntopicBar(0);
\r