Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[modules/geom.git] / doc / salome / gui / GEOM / chamfer.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>Chamfer</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 p.whs3 { font-size:12pt; margin-left:40px; }\r
20 img_whs4 { border:none; width:312px; height:319px; float:none; border-style:none; }\r
21 img_whs5 { border:none; width:225px; height:239px; float:none; border-style:none; }\r
22 img_whs6 { border:none; width:312px; height:381px; float:none; border-style:none; }\r
23 img_whs7 { border:none; width:230px; height:245px; float:none; border-style:none; }\r
24 img_whs8 { border:none; width:221px; height:238px; float:none; border-style:none; }\r
25 p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
26 -->\r
27 </style><script type="text/javascript" language="JavaScript">\r
28 <!--\r
29 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
30 {\r
31   var strNSS = "<style type='text/css'>";\r
32   strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
33   strNSS +="</style>";\r
34   document.write(strNSS);\r
35 }\r
36 //-->\r
37 </script>\r
38 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
39 <!--\r
40 function reDo() {\r
41   if (innerWidth != origWidth || innerHeight != origHeight)\r
42      location.reload();\r
43 }\r
44 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
45         origWidth = innerWidth;\r
46         origHeight = innerHeight;\r
47         onresize = reDo;\r
48 }\r
49 onerror = null; \r
50 //-->\r
51 </script>\r
52 <style type="text/css">\r
53 <!--\r
54 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
55 p.WebHelpNavBar { text-align:right; }\r
56 -->\r
57 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
58 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
59 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
60 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
61 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
62 <script type="text/javascript" language="javascript1.2">\r
63 <!--\r
64 if (window.gbWhTopic)\r
65 {\r
66         if (window.setRelStartPage)\r
67         {\r
68         addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nChamfer");\r
69 addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");\r
70 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");\r
71 \r
72         }\r
73 \r
74 \r
75         if (window.setRelStartPage)\r
76         {\r
77         setRelStartPage("index.htm");\r
78 \r
79                 autoSync(1);\r
80                 sendSyncInfo();\r
81                 sendAveInfoOut();\r
82         }\r
83 \r
84 }\r
85 else\r
86         if (window.gbIE4)\r
87                 document.location.reload();\r
88 //-->\r
89 </script>\r
90 </head>\r
91 <body><script type="text/javascript" language="javascript1.2">\r
92 <!--\r
93 if (window.writeIntopicBar)\r
94         writeIntopicBar(4);\r
95 //-->\r
96 </script>\r
97 <h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Chamfer</h1>\r
98 \r
99 <p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
100  a <span style="font-weight: bold;"><B>Chamfer</B></span> in the Main Menu select \r
101  <span style="font-weight: bold;"><B>Operations - &gt; Transformation - &gt; \r
102  Chamfer</B></span> </p>\r
103 \r
104 <p>&nbsp;</p>\r
105 \r
106 <p>This operation allows you to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">make chamfer \r
107  of the edges of a Shape.</font></span></p>\r
108 \r
109 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span \r
110  style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will \r
111  be a</span></b> GEOM_Object.</font></span></p>\r
112 \r
113 <p>&nbsp;</p>\r
114 \r
115 <p class="whs2"><b style="font-weight: normal;">T</b>o create \r
116  chamfer on all edges of the given shape, you need to define the <span \r
117  style="font-weight: bold;"><B>Main Object</B></span> to create a chamfer on and \r
118  the <span style="font-weight: bold;"><B>Dimension</B></span> (radius) of the \r
119  chamfer. &nbsp;</p>\r
120 \r
121 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
122  </i><span style="font-style: italic;"><I>geompy.MakeChamferAll(Shape, D)</I></span> \r
123  </p>\r
124 \r
125 <p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
126  + 1 SHAPE + 1 value (Chamfer dimension).</p>\r
127 \r
128 <p class="whs2">&nbsp;</p>\r
129 \r
130 <p class="whs3"><img src="pics/chamfer1.png" x-maintain-ratio="TRUE" width="312px" height="319px" border="0" class="img_whs4"> &nbsp;<img src="pics/chamfer_all.png" x-maintain-ratio="TRUE" width="225px" height="239px" border="0" class="img_whs5"></p>\r
131 \r
132 <p class="whs2">&nbsp;</p>\r
133 \r
134 <p class="whs2">To create chamfer on the specified edges of \r
135  the given shape, &nbsp;you \r
136  need to define the <span style="font-weight: bold;"><B>Main Object</B></span> \r
137  to create a fillet on, select the two faces to which belongs the <span \r
138  style="font-size: 12pt;"><font size=3 style="font-size:12pt;">necessary common edge in the viewer and define \r
139  the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Dimension</B></font></span><span \r
140  style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> of the Chamfer.</font></span></p>\r
141 \r
142 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
143  </i><span style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape, D1, \r
144  D2, Face1, Face2)</I></span>, where Shape is a shape to create a chamfer on, \r
145  D1 is a chamfer size along Face1, D2 is a chamfer size along Face2, Face1 \r
146  and Face2 are indices of faces in Shape.</p>\r
147 \r
148 <p class="whs2">&nbsp;</p>\r
149 \r
150 <p class="whs3"><img src="pics/chamfer2.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs6"> &nbsp;<img src="pics/chamfer_edge.png" x-maintain-ratio="TRUE" width="230px" height="245px" border="0" class="img_whs7"></p>\r
151 \r
152 <p class="whs2">&nbsp;</p>\r
153 \r
154 <p class="whs2">To create chamfer on the specified faces of \r
155  the given shape, &nbsp;you \r
156  need to define the <span style="font-weight: bold;"><B>Main Object</B></span> \r
157  to create a fillet on, select the necessary faces the OCC Viewer and define \r
158  the <span style="font-weight: bold;"><B>Dimension</B></span> of the Chamfer.</p>\r
159 \r
160 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
161  </i><span style="font-style: italic;"><I>geompy.MakeChamferFaces(Shape, D1, \r
162  D2, ListOfFaceID)</I></span>, where Shape is a shape to create chamfer on, \r
163  D1 is a chamfer size along a face from &nbsp;ListOfFaceID, \r
164  &nbsp;D2 is a \r
165  chamfer size along two faces connected to the edge to which the chamfer \r
166  is applied, ListOfFaceID is a list of indices of faces in Shape.</p>\r
167 \r
168 <p class="whs2">&nbsp;</p>\r
169 \r
170 <p class="whs3"><img src="pics/chamfer3.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs6"> &nbsp;<img src="pics/chamfer_faces.png" x-maintain-ratio="TRUE" width="221px" height="238px" border="0" class="img_whs8"></p>\r
171 \r
172 <p class="whs3">&nbsp;</p>\r
173 \r
174 <p class="whs9">&nbsp;&nbsp;<span \r
175  style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
176  style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
177  provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark4">Transformation \r
178  Operations</a>. </font></span></p>\r
179 \r
180 <p>&nbsp;</p>\r
181 \r
182 <p class="whs2">&nbsp;</p>\r
183 \r
184 <p class="whs2">&nbsp;</p>\r
185 \r
186 <p class="whs2">&nbsp;</p>\r
187 \r
188 <p>&nbsp;</p>\r
189 \r
190 <script type="text/javascript" language="javascript1.2">\r
191 <!--\r
192 if (window.writeIntopicBar)\r
193         writeIntopicBar(0);\r
194 //-->\r
195 </script>\r
196 </body>\r
197 </html>\r