mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 17:12:05 +05:00
280 lines
11 KiB
HTML
Executable File
280 lines
11 KiB
HTML
Executable File
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<title>Chamfer</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
|
|
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
|
|
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
|
|
<!--
|
|
if (navigator.appName !="Netscape")
|
|
{ document.write("<link rel='stylesheet' href='default.css'>");}
|
|
//-->
|
|
</script>
|
|
<style type="text/css">
|
|
<!--
|
|
img_whs1 { width:20px; height:20px; border-style:none; }
|
|
p.whs2 { font-size:12pt; }
|
|
p.whs3 { font-size:12pt; margin-left:40px; }
|
|
img_whs4 { border:none; width:400px; height:319px; float:none; border-style:none; }
|
|
img_whs5 { border:none; width:225px; height:239px; float:none; border-style:none; }
|
|
img_whs6 { border:none; width:400px; height:426px; float:none; border-style:none; }
|
|
img_whs7 { border:none; width:230px; height:245px; float:none; border-style:none; }
|
|
img_whs8 { border:none; width:221px; height:238px; float:none; border-style:none; }
|
|
p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
|
p.whs10 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-size:12pt; }
|
|
p.whs11 { list-style:disc; margin-right:0in; margin-top:0px; margin-bottom:0px; font-size:12pt; margin-left:40px; }
|
|
img_whs12 { border:none; width:400px; height:426px; float:none; }
|
|
-->
|
|
</style><script type="text/javascript" language="JavaScript">
|
|
<!--
|
|
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
|
{
|
|
var strNSS = "<style type='text/css'>";
|
|
strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
|
strNSS += "p.whs10 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
|
strNSS += "p.whs11 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
|
strNSS +="</style>";
|
|
document.write(strNSS);
|
|
}
|
|
//-->
|
|
</script>
|
|
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
|
<!--
|
|
function reDo() {
|
|
if (innerWidth != origWidth || innerHeight != origHeight)
|
|
location.reload();
|
|
}
|
|
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
|
|
origWidth = innerWidth;
|
|
origHeight = innerHeight;
|
|
onresize = reDo;
|
|
}
|
|
onerror = null;
|
|
//-->
|
|
</script>
|
|
<style type="text/css">
|
|
<!--
|
|
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
|
|
p.WebHelpNavBar { text-align:right; }
|
|
-->
|
|
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
|
|
<script type="text/javascript" language="javascript" src="whver.js"></script>
|
|
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
|
|
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
|
|
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
|
|
<script type="text/javascript" language="javascript1.2">
|
|
<!--
|
|
if (window.gbWhTopic)
|
|
{
|
|
if (window.setRelStartPage)
|
|
{
|
|
addTocInfo("Geometry module\nTransforming geometrical objects\nTransformation Operations\nChamfer");
|
|
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
|
|
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
|
|
|
|
}
|
|
|
|
|
|
if (window.setRelStartPage)
|
|
{
|
|
setRelStartPage("index.htm");
|
|
|
|
autoSync(1);
|
|
sendSyncInfo();
|
|
sendAveInfoOut();
|
|
}
|
|
|
|
}
|
|
else
|
|
if (window.gbIE4)
|
|
document.location.reload();
|
|
//-->
|
|
</script>
|
|
</head>
|
|
<body><script type="text/javascript" language="javascript1.2">
|
|
<!--
|
|
if (window.writeIntopicBar)
|
|
writeIntopicBar(4);
|
|
//-->
|
|
</script>
|
|
<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>
|
|
|
|
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
|
a <span style="font-weight: bold;"><B>Chamfer</B></span> in the Main Menu select
|
|
<span style="font-weight: bold;"><B>Operations - > Transformation - >
|
|
Chamfer</B></span> </p>
|
|
|
|
<p> </p>
|
|
|
|
<p>This operation allows you to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">make chamfer
|
|
of the edges of a Shape.</font></span></p>
|
|
|
|
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span
|
|
style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">will
|
|
be a</span></b> GEOM_Object.</font></span></p>
|
|
|
|
<p> </p>
|
|
|
|
<p class="whs2"><b style="font-weight: normal;">T</b>o create
|
|
chamfer on all edges of the given shape, you need to define the <span
|
|
style="font-weight: bold;"><B>Main Object</B></span> to create a chamfer on and
|
|
the <span style="font-weight: bold;"><B>Dimension</B></span> (radius) of the
|
|
chamfer. </p>
|
|
|
|
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
</i><span style="font-style: italic;"><I>geompy.MakeChamferAll(Shape,
|
|
D)</I></span> </p>
|
|
|
|
<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
|
|
+ 1 SHAPE + 1 value (Chamfer dimension).</p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs3"><img src="pics/chamfer1.png" x-maintain-ratio="TRUE" width="400px" 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>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs2">In the algorithms below there exist two ways
|
|
to define the <span style="font-weight: bold;"><B>Dimension</B></span> of the
|
|
Chamfer.</p>
|
|
|
|
<p class="whs2">Firstly the <span style="font-weight: bold;"><B>Dimension</B></span>
|
|
can be defined via <span style="font-weight: bold;"><B>D1</B></span>
|
|
and <span style="font-weight: bold;"><B>D2</B></span>,
|
|
which represent the offset on the first and the second face forming the
|
|
edge. </p>
|
|
|
|
<p class="whs2">Secondly the <span style="font-weight: bold;"><B>Dimension</B></span>
|
|
can be defined via <span style="font-weight: bold;"><B>D,</B></span> which represents
|
|
the offset on the first face, and the <span style="font-weight: bold;"><B>Angle,</B></span>
|
|
which is the angle between the first face and the chamfer plane. </p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs2">To create chamfer on the edges lying between
|
|
the specified faces of the given shape, you
|
|
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
|
|
to create a fillet on, select the two (or more) faces to which belongs
|
|
the necessary common edge(s)
|
|
in the viewer and define the <span style="font-weight: bold;"><B>Dimension</B></span>
|
|
of the Chamfer.</p>
|
|
|
|
<p class="whs2"><b>TUI Command:</b><i> </i><span style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape,
|
|
D1, D2,
|
|
Face1, Face2)</I></span>,
|
|
where Shape is a shape to create a chamfer on, D1
|
|
is a chamfer size along Face1,
|
|
D2 is a chamfer
|
|
size along Face2
|
|
and Face1 and
|
|
Face2 are indices
|
|
of faces in Shape.</p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs2"><b>Alternative TUI Command:</b><i> </i><span
|
|
style="font-style: italic;"><I>geompy.MakeChamferEdge(Shape,
|
|
D, Angle, Face1,
|
|
Face2), where
|
|
</I></span>D is a chamfer size along Face1
|
|
and Angle is the angle between Face1
|
|
and the chamfer plane.</p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs3"><img src="pics/chamfer2.png" x-maintain-ratio="TRUE" width="400px" height="426px" 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>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs2">To create chamfer on the specified faces of
|
|
the given shape, you
|
|
need to define the <span style="font-weight: bold;"><B>Main Object</B></span>
|
|
to create a fillet on, select the necessary faces the OCC Viewer and define
|
|
the <span style="font-weight: bold;"><B>Dimension</B></span> of the Chamfer.</p>
|
|
|
|
<p class="whs2"><b>TUI Command:</b><i> </i><span style="font-style: italic;"><I>geompy.MakeChamferFaces(Shape,
|
|
D1, D2,
|
|
ListOfFaceID)</I></span>,
|
|
where Shape is a shape to create chamfer on, D1
|
|
and D2 are
|
|
chamfer sizes along faces from ListOfFaceID.
|
|
For each Edge Face1
|
|
and Face2 are
|
|
defined basing on their indices. </p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs2"><b>Alternative TUI Command:</b><i> </i><span
|
|
style="font-style: italic;"><I>geompy.MakeChamferFaces(Shape,
|
|
D, Angle, ListOfFaceID),
|
|
where </I></span>D is a chamfer size along Face1
|
|
and Angle is the angle between Face1
|
|
and the chamfer plane.</p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs3"><img src="pics/chamfer3.png" x-maintain-ratio="TRUE" width="400px" height="426px" 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>
|
|
|
|
<p class="whs3"> </p>
|
|
|
|
<p class="whs9">To create chamfer on an arbitrary set
|
|
of edges of the given shape <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">you need to
|
|
define the </font></span><span style="font-weight: bold;"><B>Main Object</B></span><span
|
|
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> to create a fillet on, select the necessary
|
|
edges in the OCC Viewer and define the </font></span><span style="font-weight: bold;"><B>Dimension</B></span><span
|
|
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> of the Chamfer.</font></span> </p>
|
|
|
|
<p class="whs9"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b>TUI
|
|
Command:</b><i> </i></font></span><span style="font-style: italic;"><I>geompy.MakeChamferEdges(Shape,
|
|
D1, D2,
|
|
ListOfEdgeID)</I></span><span
|
|
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Shape is a shape to create a chamfer
|
|
on, D1 and
|
|
D2 are chamfer
|
|
sizes faces defined by the algorithm basing on ListOfEdgeID,
|
|
which is a list of indices
|
|
of edges in Shape. For each Edge the algorithm selects Face1
|
|
and Face2 basing
|
|
on their indices. </font></span></p>
|
|
|
|
<p class="whs9"> </p>
|
|
|
|
<p class="whs10"><b>Alternative TUI Command:</b><i> </i><span
|
|
style="font-style: italic;"><I>geompy.MakeChamferEdges(Shape,
|
|
D, Angle, ListOfEdgeID),
|
|
where </I></span>D is a chamfer size along Face1
|
|
and Angle is the angle between Face1
|
|
and the chamfer plane.</p>
|
|
|
|
<p class="whs9"> </p>
|
|
|
|
<p class="whs11"><img src="pics/chamfer4.png" x-maintain-ratio="TRUE" width="400px" height="426px" border="0" class="img_whs12"></p>
|
|
|
|
<p class="whs9"> </p>
|
|
|
|
<p class="whs9"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
|
|
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
|
|
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark4">Transformation
|
|
Operations</a>. </font></span></p>
|
|
|
|
<p> </p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p> </p>
|
|
|
|
<script type="text/javascript" language="javascript1.2">
|
|
<!--
|
|
if (window.writeIntopicBar)
|
|
writeIntopicBar(0);
|
|
//-->
|
|
</script>
|
|
</body>
|
|
</html>
|