Salome HOME
Update GEOM documentation.
[modules/geom.git] / doc / salome / gui / GEOM / close_contour.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Close Contour</title>\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
9 <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\r
17 img_whs1 { width:20px; height:20px; border-style:none; }\r
18 p.whs2 { font-size:12pt; }\r
19 ul.whs3 { list-style:disc; }\r
20 p.whs4 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
21 img_whs5 { border:none; width:312px; height:397px; float:none; border-style:none; }\r
22 p.whs6 { font-size:12pt; font-weight:bold; }\r
23 p.whs7 { font-weight:bold; }\r
24 -->\r
25 </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
26 <!--\r
27 function reDo() {\r
28   if (innerWidth != origWidth || innerHeight != origHeight)\r
29      location.reload();\r
30 }\r
31 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
32         origWidth = innerWidth;\r
33         origHeight = innerHeight;\r
34         onresize = reDo;\r
35 }\r
36 onerror = null; \r
37 //-->\r
38 </script>\r
39 <style type="text/css">\r
40 <!--\r
41 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
42 -->\r
43 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
44 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
45 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
46 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
47 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
48 </head>\r
49 <body><script type="text/javascript" language="javascript1.2">\r
50 <!--\r
51 if (window.gbWhTopic)\r
52 {\r
53         if (window.addTocInfo)\r
54         {\r
55         addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nClose Contour");\r
56 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
57 \r
58         }\r
59         if (window.writeBtnStyle)\r
60                 writeBtnStyle();\r
61 \r
62         if (window.writeIntopicBar)\r
63                 writeIntopicBar(1);\r
64 \r
65         if (window.setRelStartPage)\r
66         {\r
67         setRelStartPage("geom.htm");\r
68 \r
69                 autoSync(1);\r
70                 sendSyncInfo();\r
71                 sendAveInfoOut();\r
72         }\r
73 }\r
74 else\r
75         if (window.gbIE4)\r
76                 document.location.reload();\r
77 //-->\r
78 </script>\r
79 <h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Close Contour</h1>\r
80 \r
81 <p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
82  a <span style="font-weight: bold;"><B>Close Contour</B></span> operation in the \r
83  Main Menu select <span style="font-weight: bold;"><B>Repair - &gt; Close \r
84  Contour.</B></span></p>\r
85 \r
86 <p class="whs2">&nbsp;</p>\r
87 \r
88 <p class="whs2">This operation closes an open contour and modifies \r
89  the underlying face (if needed) in accordance with user specified mode:</p>\r
90 \r
91 <ul type="disc" class="whs3">\r
92         \r
93         <li class=kadov-p><p class="whs2">By common vertex \96 a \r
94  vertex is created between the end points of the contour and its tolerance \r
95  is increased to a value of the gap between the ends of the contour;</p></li>\r
96         \r
97         <li class=kadov-p><p class="whs2">By new edge \96 a new edge \r
98  is inserted between the end points of the contour.</p></li>\r
99 </ul>\r
100 \r
101 <p class="whs2">This operation is available in <span style="font-weight: bold;"><B>OCC \r
102  Viewer</B></span> only. </p>\r
103 \r
104 <p class="whs2">&nbsp;</p>\r
105 \r
106 <p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
107 \r
108 <p class="whs2">&nbsp;</p>\r
109 \r
110 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
111  </i><span style="font-style: italic;"><I>geompy.CloseContour(Shape, Wires, \r
112  IsCommonVertex)</I></span>, where Shape is a shape to be processed, Wires \r
113  is a list of edges or wires ID\92s which has to be closed within the shape \r
114  (if the list contains only one element = -1, the shape itself is considered \r
115  as a wire), &nbsp;IsCommonVertex \r
116  if this parameter is True a closure has to be done by creation of a common \r
117  vertex, otherwise an edge is added between the end vertices.</p>\r
118 \r
119 <p class="whs2">&nbsp;</p>\r
120 \r
121 <p class="whs2"><b style="font-weight: bold;">Arguments: <span \r
122  style="font-weight: normal;">Name + 1 shape + contour</span> <span style="font-weight: normal;">(</span></b>Wire, \r
123  or a set of Edges) + mode of closure (by vertex or by edge)</p>\r
124 \r
125 <p class="whs2">&nbsp;</p>\r
126 \r
127 <p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>\r
128 \r
129 <p class="whs2">&nbsp;</p>\r
130 \r
131 <p class="whs4"><img src="pics/repair3.png" x-maintain-ratio="TRUE" width="312px" height="397px" border="0" class="img_whs5"></p>\r
132 \r
133 <p class="whs6">&nbsp;</p>\r
134 \r
135 <p class="whs7"><span style="font-weight: normal;">Our</span> \r
136  TUI Scripts <span style="font-weight: normal;">provide you with useful \r
137  examples of the use of</span> <a href="repairing_operations.htm#bookmark2">Repairing \r
138  Operations</a>. </p>\r
139 \r
140 <p>&nbsp;</p>\r
141 \r
142 <script type="text/javascript" language="javascript1.2">\r
143 <!--\r
144 if (window.writeIntopicBar)\r
145         writeIntopicBar(0);\r
146 //-->\r
147 </script>\r
148 </body>\r
149 </html>\r