mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 18:18:35 +05:00
269 lines
11 KiB
HTML
Executable File
269 lines
11 KiB
HTML
Executable File
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
<title>Arc</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; font-weight:normal; }
|
|
p.whs4 { font-size:12pt; margin-left:40px; }
|
|
img_whs5 { border:none; width:312px; height:359px; float:none; border-style:none; }
|
|
p.whs6 { color:#808080; font-size:12pt; }
|
|
p.whs7 { font-size:12pt; color:#000000; font-weight:normal; }
|
|
img_whs8 { border:none; width:400px; height:385px; float:none; border-style:none; }
|
|
p.whs9 { font-size:12pt; color:#000000; }
|
|
table.whs10 { x-cell-content-align:top; width:86.687%; border-spacing:0px; }
|
|
col.whs11 { width:38.452%; }
|
|
col.whs12 { width:28.09%; }
|
|
col.whs13 { width:16.729%; }
|
|
tr.whs14 { x-cell-content-align:top; }
|
|
td.whs15 { width:38.452%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; }
|
|
td.whs16 { width:28.09%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-top-style:none; }
|
|
td.whs17 { width:16.729%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; }
|
|
td.whs18 { width:38.452%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-bottom-style:none; }
|
|
img_whs19 { border:none; float:none; width:316px; height:270px; border-style:none; }
|
|
td.whs20 { width:28.09%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; }
|
|
img_whs21 { border:none; width:212px; height:270px; float:none; border-style:none; }
|
|
td.whs22 { width:16.729%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; }
|
|
table.whs23 { x-cell-content-align:top; width:100%; border-spacing:0px; }
|
|
col.whs24 { width:100%; }
|
|
tr.whs25 { x-cell-content-align:top; height:40px; }
|
|
td.whs26 { width:100%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-left-style:none; border-top-style:none; border-right-style:none; }
|
|
p.whs27 { margin-right:-6px; }
|
|
tr.whs28 { x-cell-content-align:top; height:22px; }
|
|
td.whs29 { width:100%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-left-style:none; border-right-style:none; }
|
|
tr.whs30 { x-cell-content-align:top; height:41px; }
|
|
tr.whs31 { x-cell-content-align:top; height:30px; }
|
|
td.whs32 { width:100%; padding-right:10px; padding-left:10px; border-left-style:none; border-bottom-style:none; border-right-style:none; }
|
|
p.whs33 { margin-left:0px; }
|
|
img_whs34 { border:none; float:none; border-style:none; width:318px; height:269px; }
|
|
p.whs35 { color:#808080; font-size:12pt; margin-left:40px; }
|
|
-->
|
|
</style><script type="text/javascript" language="JavaScript">
|
|
<!--
|
|
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
|
{
|
|
var strNSS = "<style type='text/css'>";
|
|
strNSS += "p.whs27 {margin-right:1pt; }";
|
|
strNSS += "p.whs33 {margin-left: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\nCreating geometrical objects\nCreating Basic Geometric Objects\nArc");
|
|
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><b style="font-weight: bold;"><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Arc</h1>
|
|
|
|
<p><b><span style="font-weight: normal;">T</b>o</span> create an <span
|
|
style="font-weight: bold;"><B>Arc</B></span> in the <span style="font-weight: bold;"><B>Main
|
|
Menu</B></span> select <span style="font-weight: bold;"><B>New Entity - >
|
|
Basic - > Arc</B></span></p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs3"><b style="font-weight: bold;"><span
|
|
style="font-weight: normal;">There are 2 algorithms to create an </span><span
|
|
style="font-weight: bold;"><B>Arc</B></span><span style="font-weight: normal;">
|
|
in the 3D space. </span></b></p>
|
|
|
|
<p class="whs2"><b><span style="font-weight: normal;">The Result
|
|
of each operation will be a</span></b><b> <span style="font-weight: normal;">GEOM_Object
|
|
(edge).</span></b></p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Firstly,
|
|
you can define an</span> Arc <span style="font-weight: normal;">by</span>
|
|
<span style="font-weight: normal;">three</span><span style="font-weight: bold;"><B>
|
|
Points </B></span><span style="font-weight: normal;">that lie on it, where
|
|
</span></b>Point1
|
|
is the starting point, Point2
|
|
is a middle point of the arc and Point3
|
|
is the ending point of the arc.</p>
|
|
|
|
<p class="whs2"><b style="font-weight: bold;">TUI
|
|
Command:</b> <span style="font-style: italic;"><I>geompy.MakeArc(Point1,
|
|
Point2, Point3)</I></span></p>
|
|
|
|
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
|
Name + 3 vertices.</p>
|
|
|
|
<p class="whs2"> </p>
|
|
|
|
<p class="whs4"><img src="pics/arc.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs5"></p>
|
|
|
|
<p class="whs6"> </p>
|
|
|
|
<p class="whs7"><b style="font-weight: normal;">Secondly,
|
|
you can define an <span style="font-weight: bold;"><B>Arc</B></span> by </b><span
|
|
style="font-weight: bold;"><B>Center, Start</B></span> and <span style="font-weight: bold;"><B>End</B></span>
|
|
points. The arc is built from the <span style="font-weight: bold;"><B>Start</B></span>
|
|
point to the <span style="font-weight: bold;"><B>End</B></span> point. The radius
|
|
of the arc is defined by the distance between the <span style="font-weight: bold;"><B>Center</B></span>
|
|
point and the <span style="font-weight: bold;"><B>Start</B></span> point. The
|
|
<span style="font-weight: bold;"><B>End</B></span> point defines the angle of
|
|
the arc. If the distance between the <span style="font-weight: bold;"><B>Center</B></span>
|
|
point and the <span style="font-weight: bold;"><B>End</B></span> point is not
|
|
equal to the radius, the arc will be built anyway.</p>
|
|
|
|
<p class="whs7"><span style="font-weight: bold;"><B>Reverse</B></span>
|
|
radio button allows to change the direction of the arc.</p>
|
|
|
|
<p class="whs7"><b style="font-weight: bold;">TUI Command:</b>
|
|
<span style="font-style: italic;"><I>geompy.MakeArcCenter(Center Point, Start
|
|
Point, End Point, boolean Sense)</I></span></p>
|
|
|
|
<p class="whs7"><span style="font-style: italic;"><I><b
|
|
style="font-weight: bold;">A</I></span>rguments:</b> Name + 3 vertices + Boolean.</p>
|
|
|
|
<p class="whs7"> </p>
|
|
|
|
<p class="whs4"><img src="pics/arc2.png" x-maintain-ratio="TRUE" width="400px" height="385px" border="0" class="img_whs8"></p>
|
|
|
|
<p class="whs9"> </p>
|
|
|
|
<p class="whs9"><b style="font-weight: bold;">Example:</b></p>
|
|
|
|
<p class="whs9"> </p>
|
|
|
|
<table x-use-null-cells cellspacing="0" width="86.687%" class="whs10">
|
|
<col class="whs11">
|
|
<col class="whs12">
|
|
<col class="whs13">
|
|
<col class="whs13">
|
|
|
|
<tr valign="top" class="whs14">
|
|
<td width="38.452%" class="whs15">
|
|
<p>Arc by three points lying on it.</td>
|
|
<td width="28.09%" class="whs16">
|
|
<p>Arc by Start, End and Center.</td>
|
|
<td colspan="1" rowspan="1" width="16.729%" class="whs17">
|
|
<p> </td>
|
|
<td width="16.729%" class="whs17">
|
|
<p>Reversed arc.</td></tr>
|
|
|
|
<tr valign="top" class="whs14">
|
|
<td width="38.452%" class="whs18">
|
|
<p class="whs6"><img src="pics/arcsn.png" x-maintain-ratio="TRUE" width="316px" height="270px" border="0" class="img_whs19"></td>
|
|
<td width="28.09%" class="whs20">
|
|
<p><img src="pics/arcsn1.png" x-maintain-ratio="TRUE" width="212px" height="270px" border="0" class="img_whs21"></td>
|
|
<td colspan="1" rowspan="1" width="16.729%" class="whs22">
|
|
<table x-use-null-cells cellspacing="0" width="100%" class="whs23">
|
|
<col class="whs24">
|
|
|
|
<tr valign="top" class="whs25">
|
|
<td width="100%" class="whs26">
|
|
<p class="whs27">Start Point</td></tr>
|
|
|
|
<tr valign="top" class="whs28">
|
|
<td width="100%" class="whs29">
|
|
<p> </td></tr>
|
|
|
|
<tr valign="top" class="whs30">
|
|
<td width="100%" class="whs29">
|
|
<p> </td></tr>
|
|
|
|
<tr valign="top" class="whs25">
|
|
<td width="100%" class="whs29">
|
|
<p>Center Point</td></tr>
|
|
|
|
<tr valign="top" class="whs31">
|
|
<td width="100%" class="whs29">
|
|
<p> </td></tr>
|
|
|
|
<tr valign="top" class="whs25">
|
|
<td width="100%" class="whs32">
|
|
<p>End Point</td></tr>
|
|
</table>
|
|
<p class="whs33"> </p>
|
|
<p> </td>
|
|
<td width="16.729%" class="whs22">
|
|
<p><img src="pics/arcsn2.png" x-maintain-ratio="TRUE" width="318px" height="269px" border="0" class="img_whs34"></td></tr>
|
|
</table>
|
|
|
|
<p class="whs35"> </p>
|
|
|
|
<p class="whs2">Our TUI Scripts provide you with useful examples
|
|
of creation of <a href="basic_geometrical_objects.htm">Basic Geometric
|
|
Objects</a>. </p>
|
|
|
|
<p> </p>
|
|
|
|
<script type="text/javascript" language="javascript1.2">
|
|
<!--
|
|
if (window.writeIntopicBar)
|
|
writeIntopicBar(0);
|
|
//-->
|
|
</script>
|
|
</body>
|
|
</html>
|