1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\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
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
15 <style type="text/css">
\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
27 </style><script type="text/javascript" language="JavaScript">
\r
29 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\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
38 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
41 if (innerWidth != origWidth || innerHeight != origHeight)
\r
44 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
45 origWidth = innerWidth;
\r
46 origHeight = innerHeight;
\r
52 <style type="text/css">
\r
54 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
55 p.WebHelpNavBar { text-align:right; }
\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
64 if (window.gbWhTopic)
\r
66 if (window.setRelStartPage)
\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
75 if (window.setRelStartPage)
\r
77 setRelStartPage("index.htm");
\r
87 document.location.reload();
\r
91 <body><script type="text/javascript" language="javascript1.2">
\r
93 if (window.writeIntopicBar)
\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
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 - > Transformation - >
\r
102 Chamfer</B></span> </p>
\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
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
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. </p>
\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
125 <p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
\r
126 + 1 SHAPE + 1 value (Chamfer dimension).</p>
\r
128 <p class="whs2"> </p>
\r
130 <p class="whs3"><img src="pics/chamfer1.png" x-maintain-ratio="TRUE" width="312px" height="319px" border="0" class="img_whs4"> <img src="pics/chamfer_all.png" x-maintain-ratio="TRUE" width="225px" height="239px" border="0" class="img_whs5"></p>
\r
132 <p class="whs2"> </p>
\r
134 <p class="whs2">To create chamfer on the specified edges of
\r
135 the given shape, 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
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
148 <p class="whs2"> </p>
\r
150 <p class="whs3"><img src="pics/chamfer2.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs6"> <img src="pics/chamfer_edge.png" x-maintain-ratio="TRUE" width="230px" height="245px" border="0" class="img_whs7"></p>
\r
152 <p class="whs2"> </p>
\r
154 <p class="whs2">To create chamfer on the specified faces of
\r
155 the given shape, 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
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 ListOfFaceID,
\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
168 <p class="whs2"> </p>
\r
170 <p class="whs3"><img src="pics/chamfer3.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs6"> <img src="pics/chamfer_faces.png" x-maintain-ratio="TRUE" width="221px" height="238px" border="0" class="img_whs8"></p>
\r
172 <p class="whs3"> </p>
\r
174 <p class="whs9"> <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
182 <p class="whs2"> </p>
\r
184 <p class="whs2"> </p>
\r
186 <p class="whs2"> </p>
\r
190 <script type="text/javascript" language="javascript1.2">
\r
192 if (window.writeIntopicBar)
\r
193 writeIntopicBar(0);
\r