geom/doc/salome/gui/GEOM/local_coordinate_system.htm

184 lines
6.6 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; }
p.whs3 { font-weight:bold; font-size:14pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:391px; float:none; border-style:none; }
p.whs5 { font-weight:bold; font-size:14pt; }
p.whs6 { font-size:12pt; font-weight:normal; }
img_whs7 { border:none; width:312px; height:289px; float:none; border-style:none; }
p.whs8 { font-size:12pt; font-weight:bold; }
img_whs9 { border:none; width:312px; height:359px; float:none; border-style:none; }
p.whs10 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }
p.whs11 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }
p.whs12 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }
img_whs13 { 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.whs10 {text-indent:1pt; }";
strNSS += "p.whs11 {text-indent:1pt; }";
strNSS += "p.whs12 {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; }
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\nLocal Coordinate System");
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: 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">There are three algorithms to choose from.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">Firstly, you can define the values of X, Y,
and Z coordinates of origin and the directions of X and Y axes directly
in the menu.</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"><b style="font-weight: bold;">Arguments:</b>
Name + Coordinates of origin, X axis direction, Y axis direction.</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/neo-localcs1.png" x-maintain-ratio="TRUE" width="312px" height="391px" border="0" class="img_whs4"></p>
<p class="whs5">&nbsp;</p>
<p class="whs6">Secondly, you can simply
select any object in the object browser or 3D viewer, in this case the
coordinates of origin and axes direction of the LCS are calculated automatically
basing on the selected object. </p>
<p class="whs6"><b style="font-weight: bold;">Arguments:
</b>Name + reference object.</p>
<p class="whs6">&nbsp;</p>
<p class="whs3"><img src="pics/neo-localcs2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs7"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">The last algorithm of LCS construction allows
to define the coordinates of origin by a point and axes directions by
a line or a vector. </p>
<p class="whs8"><b style="font-weight: bold;">Arguments:</b>
<span style="font-weight: normal;">Name + 1 point of origin + X axis direction,
Y axis direction.</span></p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/neo-localcs3.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs9"></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">Press <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="whs10">&nbsp;</p>
<p class="whs11">Example:</p>
<p class="whs12"><img src="image145.jpg" width="200px" height="219px" border="0" class="img_whs13"></p>
<p class="whs12">&nbsp;</p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>