geom/doc/salome/GEOM/local_coordinate_system.htm
2005-10-19 15:30:29 +00:00

208 lines
7.7 KiB
HTML
Executable File
Raw Blame History

<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Local Coordinate System</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 { border:none; width:16px; height:16px; border-style:none; }
p.whs2 { font-size:12pt; }
table.whs3 { x-cell-content-align:top; width:63.512%; border-spacing:0px; }
col.whs4 { width:49.962%; }
col.whs5 { width:45.348%; }
col.whs6 { width:4.69%; }
tr.whs7 { x-cell-content-align:top; }
td.whs8 { width:49.962%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
p.whs9 { font-weight:bold; font-size:14pt; }
img_whs10 { border:none; width:312px; height:391px; float:none; border-style:none; }
td.whs11 { width:45.348%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
img_whs12 { border:none; width:312px; height:289px; float:none; border-style:none; }
td.whs13 { width:4.69%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
img_whs14 { border:none; width:312px; height:359px; float:none; border-style:none; }
p.whs15 { margin-left:40px; font-weight:bold; text-indent:-40px; font-size:14pt; }
p.whs16 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }
p.whs17 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }
p.whs18 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }
img_whs19 { border:none; width:200px; height:219px; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs15 {text-indent:1pt; }";
strNSS += "p.whs16 {text-indent:1pt; }";
strNSS += "p.whs17 {text-indent:1pt; }";
strNSS += "p.whs18 {text-indent: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; }
-->
</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>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nLocal Coordinate System");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
{
setRelStartPage("geom.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
<h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image35.gif" width="16px" height="16px" border="0" class="img_whs1"></font></span>Local Coordinate
System</h1>
<p>To create a <span style="font-weight: bold;"><B>Local Coordinate System</B></span>
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
style="font-weight: bold;"><B>New Entity - &gt; Basic - &gt; Local Coordinate
System</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">You can enter the values of X, Y, and Z coordinates
of origin in the corresponding fields of the dialog box, or select a point
in the object browser or 3D viewer, in this case the coordinates of origin
are automatically filled in with the coordinates of the selected point.
</p>
<p class="whs2">The user then specifies components of X and
Y axes direction.</p>
<p class="whs2">Preview of the new LCS (small trihedron located
and oriented according to parameters of LCS) is displayed in the 3D viewer
and updated as soon as the user modifies some parameter. </p>
<p class="whs2">Then the user presses <20>OK<4F> or <20>Apply<6C> button
to create an LCS at the location with the specified coordinates. The new
object is shown in the Object Browser and in 3D viewer.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><span style="font-weight: bold;"><B>TUI command:</B></span>
<span style="font-style: italic;"><I>geompy.MakeMarker(OX, OY, OZ, XDX, XDY,
XDZ, YDX, YDY, YDZ)</I></span>, where OX, OY, OZ are coordinates of the origin
of LCS, XDX, XDY, XDZ is a vector of OX &nbsp;direction
of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
</p>
<ul>
<li class=kadov-p><p class="whs2"><b style="font-weight: bold;">1st
Constructor :</b> Name + Coordinates of origin, X axis direction, Y axis
direction</p></li>
<li class=kadov-p><p class="whs2"><b style="font-weight: bold;">2nd
Constructor :</b> Name + reference object.</p></li>
<li class=kadov-p><p class="whs2"><b style="font-weight: bold;">3rd
Constructor :</b> Name + 1 point of origin + X axis direction, Y axis
direction.</p></li>
</ul>
<p class="whs2">&nbsp;</p>
<p class="whs2">.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs2">&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="63.512%" class="whs3">
<col class="whs4">
<col class="whs5">
<col class="whs6">
<tr valign="top" class="whs7">
<td width="49.962%" class="whs8">
<p class="whs9"><img src="pics/neo-localcs1.png" x-maintain-ratio="TRUE" width="312px" height="391px" border="0" class="img_whs10"></td>
<td width="45.348%" class="whs11">
<p class="whs9"><img src="pics/neo-localcs2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs12"></td>
<td width="4.69%" class="whs13">
<p class="whs9"><img src="pics/neo-localcs3.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs14"></td></tr>
</table>
<p class="whs15">&nbsp;</p>
<p class="whs16"><span style="font-weight: bold;
margin-left: 80px;
text-indent: -80px;
font-size: 12pt;"><font size=3 style="font-size:12pt;"><B>Example:</B></font></span></p>
<p class="whs17">&nbsp;</p>
<p class="whs18"><img src="image145.jpg" width="200px" height="219px" border="0" class="img_whs19"></p>
<p class="whs18">&nbsp;</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>