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; border-style:none; }
\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; border-style:none; }
\r
48 p.whs28 { font-size:12pt; font-weight:bold; }
\r
49 img_whs29 { border:none; width:214px; height:250px; border-style:none; }
\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; border-style:none; }
\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; border-style:none; }
\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; border-style:none; }
\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; border-style:none; }
\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; border-style:none; }
\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 img_whs61 { border:none; width:23px; height:22px; border-style:none; }
\r
82 img_whs62 { border:none; width:320px; height:143px; border-style:none; }
\r
84 </style><script type="text/javascript" language="JavaScript">
\r
86 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\r
88 var strNSS = "<style type='text/css'>";
\r
89 strNSS += "p.whs41 {text-indent:1pt; }";
\r
90 strNSS += "p.whs42 {text-indent:1pt; }";
\r
91 strNSS += "p.whs43 {text-indent:1pt; }";
\r
92 strNSS += "p.whs46 {text-indent:1pt; }";
\r
93 strNSS += "p.whs47 {text-indent:1pt; }";
\r
94 strNSS += "p.whs49 {text-indent:1pt; }";
\r
95 strNSS += "p.whs50 {text-indent:1pt; }";
\r
96 strNSS += "p.whs53 {text-indent:1pt; }";
\r
97 strNSS += "p.whs54 {text-indent:1pt; }";
\r
98 strNSS += "p.whs55 {text-indent:1pt; }";
\r
99 strNSS += "p.whs57 {margin-left:1pt; }";
\r
100 strNSS +="</style>";
\r
101 document.write(strNSS);
\r
105 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
108 if (innerWidth != origWidth || innerHeight != origHeight)
\r
111 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
112 origWidth = innerWidth;
\r
113 origHeight = innerHeight;
\r
119 <style type="text/css">
\r
121 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
123 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
\r
124 <script type="text/javascript" language="javascript" src="../whver.js"></script>
\r
125 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
\r
126 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
\r
127 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
\r
129 <body><script type="text/javascript" language="javascript1.2">
\r
131 if (window.gbWhTopic)
\r
133 if (window.addTocInfo)
\r
135 addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing geometrical objects");
\r
136 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
139 if (window.writeBtnStyle)
\r
142 if (window.writeIntopicBar)
\r
143 writeIntopicBar(1);
\r
145 if (window.setRelStartPage)
\r
147 setRelStartPage("../geom.htm");
\r
156 document.location.reload();
\r
159 <h1>Repairing geometrical objects</h1>
\r
161 <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
162 used for adjustment and modification of created geometrical shapes. The
\r
163 are:</span> </b></p>
\r
165 <p class="whs1"><a HREF="#sewing"> </a></p>
\r
167 <ul type="disc" class="whs3">
\r
169 <li class=kadov-p><p class="whs1"> <a
\r
170 href="#Shape">Shape processing</a></p></li>
\r
172 <li class=kadov-p><p class="whs1"> <a
\r
173 HREF="#_Toc57113182">Suppress faces	</a></p></li>
\r
175 <li class=kadov-p><p class="whs1"> <a
\r
176 href="#CloseContour">Close contour</a></p></li>
\r
178 <li class=kadov-p><p class="whs1"> <a
\r
179 href="#SuppressInternalWires">Suppress internal
\r
180 wires</a><a HREF="#sewing">	</a></p></li>
\r
182 <li class=kadov-p><p class="whs1"><a
\r
183 HREF="#_Toc57113181"> <a HREF="#_Toc57113183">Suppress
\r
184 holes	</a></a></p></li>
\r
186 <li class=kadov-p><p class="whs1"><a
\r
187 HREF="#_Toc57113182"> </a><a HREF="#sewing">Sewing</a></p></li>
\r
189 <li class=kadov-p><p class="whs1"> <a
\r
190 href="#Glue_faces">Glue faces</a></p></li>
\r
192 <li class=kadov-p><p class="whs1"><a
\r
193 HREF="#_Toc57113183"> </a><a href="#AddPointOnEdge">Add
\r
194 point on edge</a></p></li>
\r
196 <li class=kadov-p><p class="whs1"> <a
\r
197 href="#CheckFreeBound">Check free boundaries</a></p></li>
\r
199 <li class=kadov-p><p class="whs1"> <a
\r
200 href="#Check_free_faces">Check free faces</a><a
\r
201 HREF="#_Toc57113183">	</a></p></li>
\r
204 <p class="whs4"> </p>
\r
206 <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
207 faces, Close contour, Suppress internal wires, Suppress holes </B></span><span>and
\r
208 </span><span style="font-weight: bold;"><B>Add point on edge </B></span><span>are
\r
209 available only if you are using </span><span style="font-weight: bold;"><B>OCC
\r
210 viewer</B></span><span>. </span></p>
\r
212 <p class="whs4"> </p>
\r
214 <p class=TODO>To apply repairing operations:</p>
\r
216 <p class=TODO> </p>
\r
218 <p class="whs6">In the main menu select <span style="font-weight: bold;"><B>Repair
\r
219 </B></span>submenu.</p>
\r
221 <p class="whs4"> </p>
\r
223 <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
224 processing</B></font></span></a></p>
\r
226 <p class="whs4"> </p>
\r
228 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
\r
229 Processes a shape using various operators.</font></span></p>
\r
231 <p class="whs4"> </p>
\r
233 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
235 <p class="whs4"> </p>
\r
237 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
\r
238 </i><span style="font-style: italic;"><I>geompy.ProcessShape(Shape, Operators,
\r
239 Parameters, Values)</I></span>, where Shape is a processed shape, Operators
\r
240 is a list of names of operators ("FixShape", "SplitClosedFaces",
\r
241 etc.), Parameters is a list of names of parameters (
\93FixShape.Tolerance3d
\94,
\r
242 etc), Values is a list of values of parameters in the same order as the
\r
243 Parameters list.</p>
\r
245 <p class="whs4"> </p>
\r
247 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
248 1 or more shapes.</p>
\r
250 <table x-use-null-cells cellspacing="0" width="100%" class="whs8">
\r
251 <script language='JavaScript'><!--
\r
252 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
255 <col class="whs10">
\r
257 <tr valign="top" class="whs11">
\r
258 <td width="8.851%" class="whs12">
\r
260 <td width="91.149%" class="whs13">
\r
261 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitAngle
\96 \r
262 this operator is intended for splitting faces based on conical surfaces,
\r
263 surfaces of revolution and cylindrical surfaces by angle</font></span></p>
\r
264 <p class="whs4">SplitAngle.Angle
\96 angle (in radians) defining
\r
265 size of result segments.</p>
\r
266 <p class="whs4">SplitAngle.MaxTolerance
\96 maximal possible
\r
267 tolerance on result shape</td></tr>
\r
269 <tr valign="top" class="whs11">
\r
270 <td width="8.851%" class="whs14">
\r
272 <td width="91.149%" class="whs15">
\r
273 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitClosedFaces
\r
274 \96 this operator is intended for dividing all closed faces in the shape
\r
275 according to the number of points.</font></span></p>
\r
276 <p class="whs4">SplitClosedFaces.NbSplitPoints
\96 number of
\r
277 points for cutting each closed faces.</td></tr>
\r
279 <tr valign="top" class="whs11">
\r
280 <td width="8.851%" class="whs14">
\r
282 <td width="91.149%" class="whs15">
\r
283 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixFaceSize
\r
284 \96 this operator is intended for removing small faces (case of the spot
\r
285 face and strip face)</font></span></p>
\r
286 <p class="whs4">FixFaceSize.Tolerance
\96 work tolerance defining
\r
287 which faces will be removed.</td></tr>
\r
289 <tr valign="top" class="whs11">
\r
290 <td width="8.851%" class="whs14">
\r
292 <td width="91.149%" class="whs15">
\r
293 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">DropSmallEdges
\r
294 \96 this operator is intended for removing small edges or merging with neigbour.
\r
295 </font></span></p>
\r
296 <p class="whs4">DropSmallEdges.Tolerance3d
\96 work tolerance
\r
297 for detection and removing small edges.</td></tr>
\r
299 <tr valign="top" class="whs11">
\r
300 <td width="8.851%" class="whs14">
\r
302 <td width="91.149%" class="whs15">
\r
303 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">BsplineRestriction
\r
304 \96this operator is intended for re-approximation BSplines curves and surfaces
\r
305 or conversion of the curves and surfaces to BSplines with specified parameters.
\r
307 <p class="whs4">BSplineRestriction.SurfaceMode - mode of approximation
\r
308 of surfaces if restriction is necessary</p>
\r
309 <p class="whs4">BSplineRestriction.Curve3dMode -mode of conversion
\r
310 of any 3D curve to BSpline and approximation.</p>
\r
311 <p class="whs4">BSplineRestriction.Curve2dMode - mode of conversion
\r
312 of any 2D curve to BSpline and approximation</p>
\r
313 <p class="whs4">BSplineRestriction.Tolerance3d
\96 work tolerance
\r
314 for definition of the possibility of the approximation of the surfaces
\r
315 and 3D curves with specified parameters.</p>
\r
316 <p class="whs4">BSplineRestriction.Tolerance2d - work tolerance
\r
317 for definition of the possibility of the approximation of the 2D curves
\r
318 with specified parameters.</p>
\r
319 <p class="whs4">BSplineRestriction.Continuity3d
\96 desired continuity
\r
320 of the resultant surfaces and 3D curves.</p>
\r
321 <p class="whs4">BSplineRestriction.Continuity2d
\96 desired continuity
\r
322 of the resultant 2D curves.</p>
\r
323 <p class="whs4">BSplineRestriction.RequiredDegree - required
\r
324 degree of the resultant BSplines</p>
\r
325 <p class="whs4">BSplineRestriction.RequiredNbSegments - required
\r
326 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
328 <tr valign="top" class="whs11">
\r
329 <td width="8.851%" class="whs14">
\r
331 <td width="91.149%" class="whs15">
\r
332 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SplitContinuity
\r
333 \96 this operator is intended for splitting shapes to achieve continuities
\r
334 of curves and surfaces less than specified ones. </font></span></p>
\r
335 <p class="whs4">SplitContinuity.Tolerance3d - 3D tolerance
\r
336 for correction of geometry.</p>
\r
337 <p class="whs4">SplitContinuity.SurfaceContinuity - required
\r
338 continuity for surfaces.</p>
\r
339 <p class="whs4">SplitContinuity.CurveContinuity - required
\r
340 continuity for curves.</td></tr>
\r
342 <tr valign="top" class="whs11">
\r
343 <td width="8.851%" class="whs14">
\r
345 <td width="91.149%" class="whs15">
\r
346 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">ToBezier - this
\r
347 operator is intended for conversion of the curves and surfaces of the
\r
348 all types into Bezier curves and surfaces. </font></span></p>
\r
349 <p class="whs4">ToBezier.SurfaceMode - mode of conversion of
\r
351 <p class="whs4">ToBezier.Curve3dMode
\96 mode for conversion
\r
352 of the 3D curves.</p>
\r
353 <p class="whs4">ToBezier.Curve2dMode
\96 mode for conversion
\r
354 of the 2D curves.</p>
\r
355 <p class="whs4">ToBezier.MaxTolerance
\96 max possible tolerance
\r
356 on the resultant shape.</td></tr>
\r
358 <tr valign="top" class="whs11">
\r
359 <td width="8.851%" class="whs14">
\r
361 <td width="91.149%" class="whs15">
\r
362 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">FixShape
\96 this
\r
363 operator is intended for correction of the invalid shapes </font></span></p>
\r
364 <p class="whs4">FixShape.Tolerance3d
\96 work tolerance for detection
\r
365 of the problems and correction of them.</p>
\r
366 <p class="whs4">FixShape.MaxTolerance3d - maximal possible
\r
367 tolerance of the shape after correction.</td></tr>
\r
369 <tr valign="top" class="whs11">
\r
370 <td width="8.851%" class="whs14">
\r
372 <td width="91.149%" class="whs15">
\r
373 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">SameParameter
\r
374 \96 this operator is intended for fixing edges having not same parameter
\r
375 2D and 3D curves. </font></span></p>
\r
376 <p class="whs4">SameParameter.Tolerance3d
\96 tolerance for detection
\r
377 and fix problems. </td></tr>
\r
378 <script language='JavaScript'><!--
\r
379 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");
\r
383 <p class="whs4"> </p>
\r
385 <p class="whs4"> </p>
\r
387 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
389 <p class="whs4"> </p>
\r
391 <p class="whs16"><img src="../image158.jpg" width="300px" height="291px" border="0" class="img_whs17"> </p>
\r
393 <p class="whs4"> </p>
\r
395 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
399 <p class="whs4">Shape before applying Shape Processing (FixShape
\r
402 <p class="whs4"> </p>
\r
404 <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
406 <p class="whs20"> </p>
\r
408 <p class="whs1">The
\r
409 same shape after applying Shape Processing.</p>
\r
411 <p class="whs20"> </p>
\r
413 <p class="whs16"><img src="../image160.jpg" width="239px" height="214px" border="0" class="img_whs21"></p>
\r
415 <p class="whs20"> </p>
\r
417 <p class="whs20"> </p>
\r
419 <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
421 <p class="whs1"> </p>
\r
423 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
424 Suppresses a face of a shape.</p>
\r
426 <p class="whs4"> </p>
\r
428 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
429 (ListOfGeomShapes).</p>
\r
431 <p class="whs4"> </p>
\r
433 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
\r
434 </i><span style="font-style: italic;"><I>geompy.SuppressFaces(Shape, ListOfID)</I></span>,
\r
435 where Shape is a shape to be processed, ListOfID is a list of faces ID's
\r
438 <p class="whs4"> </p>
\r
440 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
441 Name + Faces which should be removed (you can select them in the 3D viewer).</p>
\r
443 <p class="whs4"> </p>
\r
445 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
447 <p class="whs4"> </p>
\r
449 <p class="whs16"><img src="../image288.jpg" width="263px" height="250px" border="0" class="img_whs23"></p>
\r
451 <p class="whs16"> </p>
\r
453 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
455 <p class="whs4"> </p>
\r
457 <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
459 <p class="whs4"> </p>
\r
461 <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
463 <p class="whs4"> </p>
\r
465 <p class="whs4"><b style="font-weight: bold;">Description :</b>
\r
466 Closes an open contour and modifies the underlying face (if needed) in
\r
467 accordance with user specified mode:</p>
\r
469 <ul type="disc" class="whs3">
\r
471 <li class=kadov-p><p class="whs4">By common vertex
\96 a
\r
472 vertex is created between the end points of the contour and its tolerance
\r
473 is increased to a value of the gap between the ends of the contour;</p></li>
\r
475 <li class=kadov-p><p class="whs4">By new edge
\96 a new edge
\r
476 is inserted between the end points of the contour.</p></li>
\r
479 <p class="whs4"> </p>
\r
481 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
483 <p class="whs4"> </p>
\r
485 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
\r
486 </i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires,
\r
487 IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires
\r
488 is a list of edges or wires ID
\92s which has to be closed within the shape
\r
489 (if the list contains only one element = -1, the shape itself is considered
\r
490 as a wire), IsCommonVertex
\r
491 if this parameter is True a closure has to be done by creation of a common
\r
492 vertex, otherwise an edge is added between the end vertices.</p>
\r
494 <p class="whs4"> </p>
\r
496 <p class="whs4"><b style="font-weight: bold;">Arguments: <span
\r
497 style="font-weight: normal;">Name + 1 shape + contour</span> <span style="font-weight: normal;">(</span></b>Wire,
\r
498 or a set of Edges) + mode of closure (by vertex or by edge)</p>
\r
500 <p class="whs4"> </p>
\r
502 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
504 <p class="whs4"> </p>
\r
506 <p class="whs26"><img src="../image287.jpg" width="186px" height="250px" border="0" class="img_whs27"></p>
\r
508 <p class="whs28"> </p>
\r
510 <p class="whs28">Example:</p>
\r
512 <p class="whs4"> </p>
\r
514 <p class="whs4"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B><a
\r
515 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
516 internal wires</B></font></span></a></p>
\r
518 <p class="whs4"> </p>
\r
520 <p class="whs4"><b style="font-weight: bold;">Description :</b>
\r
521 Removes all internal wires or specified internal wires from user specified
\r
524 <p class="whs4"> </p>
\r
526 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
528 <p class="whs4"> </p>
\r
530 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
\r
531 </i><span style="font-style: italic;"><I>geompy.SuppressInternalWires(Shape,
\r
532 Wires)</I></span>, where Shape is a shape where wires are to be removed, Wires
\r
533 is a list of wires ID
\92s to be removed; if the list is empty then all internal
\r
534 wires are removed.</p>
\r
536 <p class="whs4"> </p>
\r
538 <p class="whs4"> </p>
\r
540 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
\r
542 <ul type="disc" class="whs3">
\r
544 <li class=kadov-p><p class="whs4">Name of the resulting
\r
547 <li class=kadov-p><p class="whs4">User specified face</p></li>
\r
549 <li class=kadov-p><p class="whs4">User specified internal
\r
550 wires (lying on this face except for its boundary), or, in case the <span
\r
551 style="font-weight: bold;"><B>Remove all internal wires</B></span> box is checked,
\r
552 all internal wires</p></li>
\r
555 <p class="whs4"> </p>
\r
557 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
559 <p class="whs4"> </p>
\r
561 <p class="whs16"><img src="../image286.jpg" width="214px" height="250px" border="0" class="img_whs29"></p>
\r
563 <p class="whs4"> </p>
\r
565 <p class="whs28">Example:</p>
\r
567 <p class="whs4"> </p>
\r
569 <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
571 <p class="whs4"> </p>
\r
573 <p class="whs4"> </p>
\r
575 <p class="whs20"><span
\r
576 style="font-family: 'Times New Roman', serif;"><a NAME=_Toc57113183><span
\r
577 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
578 holes</b></a> </font></span></span></p>
\r
580 <p class="whs1"> </p>
\r
582 <p class="whs4"><b style="font-weight: bold;">Description :</b>
\r
587 <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
\r
588 Constructor :</b> Suppresses a hole in a shape.</p></li>
\r
590 <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
\r
591 Constructor :</b> Suppresses a hole in a face.</p></li>
\r
594 <p class="whs4"> </p>
\r
596 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
598 <p class="whs4"> </p>
\r
600 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
\r
601 </i><span style="font-size: 12pt; font-style: italic;"><font size=3 style="font-size:12pt;"><I>geompy.SuppressHoles(Shape,
\r
602 ListOfWireID)</I></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Shape is a
\r
603 shape where holes must be removed, ListOfWireID is a list of wire sub
\r
604 shapes ID
\92s. If it is empty, then all holes are removed.</font></span></p>
\r
606 <p class="whs4"> </p>
\r
608 <p class="whs4"><b style="font-weight: bold;">Arguments: </b>Name
\r
609 + 1 shape + Wires which should be removed.</p>
\r
611 <p class="whs4"><span style="font-weight: bold;"><B>Remove all
\r
612 holes </B></span>checkbox allows to fill all holes of a definite shape.</p>
\r
614 <p class="whs4"><span style="font-weight: bold;"><B>Detect </B></span>button
\r
615 allows to display the number of free boundaries in your shape:</p>
\r
617 <p class="whs16"> </p>
\r
619 <p class="whs16"><img src="../image285.jpg" width="348px" height="90px" border="0" class="img_whs32"></p>
\r
621 <p class="whs4"> </p>
\r
623 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
625 <p class="whs4"> </p>
\r
627 <p class="whs16"> <img src="../image274.jpg" width="198px" height="250px" border="0" class="img_whs33"></p>
\r
629 <p class="whs16"> </p>
\r
631 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
633 <p class="whs16"> </p>
\r
635 <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
637 <p class="whs4"> </p>
\r
639 <p class="whs4"> </p>
\r
641 <p class="whs4"> </p>
\r
643 <p class="whs1"><b style="font-weight: bold;"><a
\r
645 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
647 <p class="whs1"> </p>
\r
649 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
650 Sew several shapes.</p>
\r
652 <p class="whs4"> </p>
\r
654 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
656 <p class="whs4"> </p>
\r
658 <p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i>
\r
659 </i><span style="font-style: italic;"><I>geompy.MakeSewing(ListOfShape, Precision)</I></span>,
\r
660 where ListOfShape is list of shapes to be sewed, Precision is a precision
\r
663 <p class="whs4"> </p>
\r
665 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
666 Name + 1 or more shapes + 1 value (sew precision).</p>
\r
668 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>Detect
\r
669 </B></span>button allows to display the number of free boundaries in your
\r
670 shape:</font></span></p>
\r
672 <p class="whs16"> </p>
\r
674 <p class="whs16"><img src="../image285.jpg" width="348px" height="90px" border="0" class="img_whs32"></p>
\r
676 <p class="whs4"> </p>
\r
678 <p class="whs4"> </p>
\r
680 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
682 <p class="whs4"> </p>
\r
684 <p class="whs16"><img src="../image289.jpg" width="216px" height="250px" border="0" class="img_whs35"></p>
\r
686 <p class="whs4"> </p>
\r
688 <p class="whs4"><b style="font-weight: bold;">Example:</b></p>
\r
690 <p class="whs4"> </p>
\r
692 <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
694 <p class="whs4"> </p>
\r
696 <p class="whs4"> </p>
\r
698 <p class="whs4"> </p>
\r
700 <p class="whs4"><a name=AddPointOnEdge><img src="../image42.gif" width="22px" height="22px" border="0" class="img_whs37"> <span
\r
701 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
703 <p class="whs4"> </p>
\r
705 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
706 Splits an edge in two in accordance with the specified mode (by length
\r
707 or by parameter) and a value specifying the position of the point on edge
\r
708 (for example val =0.5; mode = Length). </p>
\r
710 <p class="whs4"> </p>
\r
712 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
714 <p class="whs4"> </p>
\r
716 <p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i>
\r
717 </i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID,
\r
718 Value, IsByParameter)</I></span>, where Shape is a shape which contains an
\r
719 edge to be divided, EdgeID is the ID of the edge to be divided, if it
\r
720 = -1, then Shape is an edge, Value is a paramter on the edge or a length.
\r
721 IsByParameter if it is True then Value is the edge parameter in the range
\r
722 [0:1] otherwise it is a length of the edge in the range [0:1]</p>
\r
724 <p class="whs4"> </p>
\r
726 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
727 Name + 1 Edge + 1 value setting the position of the point according one
\r
728 of the selected modes</p>
\r
730 <p class="whs4"> </p>
\r
732 <p class="whs38"><b style="font-weight: bold;">Dialog
\r
735 <p class="whs38"> </p>
\r
737 <p class="whs39"><img src="../image291.jpg" width="191px" height="250px" border="0" class="img_whs40"></p>
\r
739 <p class="whs41"> </p>
\r
741 <p class="whs42">Example:</p>
\r
743 <p class="whs41"> </p>
\r
745 <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
747 <p class="whs46"> </p>
\r
749 <p class="whs46"> </p>
\r
751 <p class="whs46"> </p>
\r
753 <p class="whs46"><a name=Glue_faces><img src="../image61.gif" width="25px" height="24px" border="0" class="img_whs7"><span
\r
754 style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B> Glue faces</B></font></span></a></p>
\r
756 <p class="whs46"> </p>
\r
758 <p class="whs46"><b style="font-weight: bold;">Description:</b>
\r
759 Glues faces that are coincident with respect to the given tolerance </p>
\r
761 <p class="whs46">value.</p>
\r
763 <p class="whs46"> </p>
\r
765 <p class="whs46"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b>
\r
766 GEOM_Object.</font></span></p>
\r
768 <p class="whs46"> </p>
\r
770 <p class="whs46"><b style="font-weight: bold;">TUI Command
\r
771 : </b><span style="font-style: italic;"><I>geompy.MakeGlueFaces(theShape,
\r
772 theTolerance)</I></span>, where theShape is a compound of shapesto be glued,
\r
773 theTolerance is a maximum distance between two faces, which can be considered
\r
776 <p class="whs46"><i><span style="font-style: italic;"><I> </I></span></i></p>
\r
778 <p class="whs46"><b style="font-weight: bold;">Arguments:
\r
779 <span style="font-weight: normal;">Name +</span> </b>1 <i><span style="font-style: normal;">Compound
\r
780 + Tolerance value</span></i></p>
\r
782 <p class="whs46"> </p>
\r
784 <p class="whs46"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
786 <p class="whs46"> </p>
\r
788 <p class="whs47"><img src="../image290.jpg" width="240px" height="250px" border="0" class="img_whs48"></p>
\r
790 <p class="whs49"> </p>
\r
792 <p class="whs49"><b style="font-weight: bold;">Example:</b></p>
\r
794 <p class="whs49"> </p>
\r
796 <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
798 <p class="whs53"> </p>
\r
800 <p class="whs53"> </p>
\r
802 <p class="whs53"> </p>
\r
804 <p class="whs54"><a name=CheckFreeBound><img src="../image44.gif" width="22px" height="22px" border="0" class="img_whs37"> <span
\r
805 style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check free boundaries</B></font></span></a></p>
\r
807 <p class="whs55"> </p>
\r
809 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
810 Detects wires and edges that correspond to the shape's boundary, and highlights
\r
813 <p class="whs4"> </p>
\r
815 <p class="whs4"><b>Result:</b> GEOM_Object. </p>
\r
817 <p class="whs4"> </p>
\r
819 <p class="whs4"><b style="font-weight: bold;">TUI Command :</b><i><span
\r
820 style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>,
\r
821 where Shape is a shape to be checked, NoError is false if an error occurred
\r
822 while checking free boundaries, ClosedWires is a list of closed free boundary
\r
823 wires, OpenWires is a list of open free boundary wires.</p>
\r
825 <p class="whs4"> </p>
\r
827 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
830 <p class="whs4"> </p>
\r
832 <p class="whs38"><b style="font-weight: bold;">Dialog
\r
835 <p class="whs38"> </p>
\r
837 <p class="whs26"><img src="../image64.gif" width="276px" height="192px" border="0" class="img_whs56"></p>
\r
839 <p class="whs57"> </p>
\r
841 <p class="whs57"><b style="font-weight: bold;">Example:</b></p>
\r
843 <p class="whs57"> </p>
\r
845 <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
847 <p class="whs57"> </p>
\r
849 <p class="whs57"> </p>
\r
851 <p class="whs57"> </p>
\r
853 <p class="whs57"><a name=Check_free_faces><img src="../image10.gif" width="23px" height="22px" border="0" class="img_whs61"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check free
\r
854 faces</B></font></span></a></p>
\r
856 <p class="whs57"> </p>
\r
858 <p class="whs4"><b>Description: </b>Retrieves all free faces
\r
859 from a given shape.<span> A free face is a face not shared between two
\r
860 shells of the shape. </span></p>
\r
862 <p class="whs4"> </p>
\r
864 <p class="whs4"><b>Result:</b> GEOM_Object. Returns a list
\r
865 of IDs of all free faces, contained in the shape.</p>
\r
867 <p class="whs4"> </p>
\r
869 <p class="whs4"><b>TUI Command :</b><i><span style="font-style: italic;">
\r
870 <I></i>GetFreeFacesIDs(Shape)</I></span>, where Shape is a shape to be checked.</p>
\r
872 <p class="whs4"> </p>
\r
874 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
877 <p class="whs4"> </p>
\r
879 <p class="whs38"><b style="font-weight: bold;">Dialog
\r
882 <p class="whs38"> </p>
\r
884 <p class="whs16"><img src="../image26.gif" width="320px" height="143px" border="0" class="img_whs62"></p>
\r
886 <p class="whs41"> </p>
\r
888 <p class="whs41"> </p>
\r
890 <script type="text/javascript" language="javascript1.2">
\r
892 if (window.writeIntopicBar)
\r
893 writeIntopicBar(0);
\r