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

178 lines
6.3 KiB
HTML
Raw Normal View History

2005-11-24 20:34:00 +05:00
<!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; }
img_whs4 { border:none; width:312px; height:391px; float:none; border-style:none; }
p.whs5 { font-size:12pt; font-weight:normal; }
img_whs6 { border:none; width:312px; height:289px; float:none; border-style:none; }
p.whs7 { font-size:12pt; font-weight:bold; }
img_whs8 { border:none; width:312px; height:359px; float:none; border-style:none; }
p.whs9 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }
p.whs10 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }
p.whs11 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }
img_whs12 { border:none; width:200px; height:219px; border-style:none; }
2005-11-24 20:34:00 +05:00
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs9 {text-indent:1pt; }";
strNSS += "p.whs10 {text-indent:1pt; }";
strNSS += "p.whs11 {text-indent:1pt; }";
2005-11-24 20:34:00 +05:00
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">There are three algorithms to choose from.</p>
2005-11-24 20:34:00 +05:00
<p class="whs2">&nbsp;</p>
<p class="whs2">Firstly, you can by yourselves the values of
X, Y, and Z coordinates of origin and the directions of X and Y axes<span>.</span></p>
2005-11-24 20:34:00 +05:00
<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>
2005-11-24 20:34:00 +05:00
<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>
2005-11-24 20:34:00 +05:00
<p class="whs3">&nbsp;</p>
<p class="whs5">Secondly, you can simply
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 and X and Y axes direction will be parallel to the X and Y direction
of the Global CS. &nbsp;</p>
<p class="whs5"><b style="font-weight: bold;">Arguments:
</b>Name + reference object.</p>
2005-11-24 20:34:00 +05:00
<p class="whs5">&nbsp;</p>
<p class="whs3"><img src="pics/neo-localcs2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs6"></p>
2005-11-24 20:34:00 +05:00
<p class="whs2">&nbsp;</p>
<p class="whs2">The last algorithm also presumes that you select
a point in the object browser or 3D viewer, but in this case you define
X and Y axes direction yourselves. </p>
<p class="whs7"><b>Arguments:</b> <span
style="font-weight: normal;">Name + 1 point of origin + X axis direction,
Y axis direction.</span></p>
2005-11-24 20:34:00 +05:00
<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_whs8"></p>
2005-11-24 20:34:00 +05:00
<p class="whs2">&nbsp;</p>
2005-11-24 20:34:00 +05:00
<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>
2005-11-24 20:34:00 +05:00
<p class="whs9">&nbsp;</p>
2005-11-24 20:34:00 +05:00
<p class="whs10">Example:</p>
2005-11-24 20:34:00 +05:00
<p class="whs11"><img src="image145.jpg" width="200px" height="219px" border="0" class="img_whs12"></p>
2005-11-24 20:34:00 +05:00
<p class="whs11">&nbsp;</p>
2005-11-24 20:34:00 +05:00
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>