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

155 lines
5.4 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>Line</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:312px; height:324px; float:none; border-style:none; }
p.whs5 { color:#808080; font-size:12pt; }
p.whs6 { font-size:12pt; color:#000000; }
p.whs7 { color:#808080; font-size:12pt; margin-left:40px; }
img_whs8 { border:none; width:357px; height:322px; float:none; border-style:none; }
p.whs9 { font-size:12pt; font-weight:bold; }
-->
</style><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\nLine");
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><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_image28.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span></b>Line</h1>
<p>To create a <span style="font-weight: bold;"><B>Line</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; Line</B></span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2">To create a <span style="font-weight: bold;"><B>Line</B></span>
you should define <span style="font-weight: bold;"><B>Point1</B></span> and <span
style="font-weight: bold;"><B>Point2</B></span>, which are the points through
&nbsp;which the
<span style="font-weight: bold;"><B>Line</B></span> passes.</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of the operation will be a</span></b>
GEOM_Object (edge).</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b>
<span style="font-style: italic;"><I>geompy.MakeLineTwoPnt(Point1, Point2)</I></span>
2005-11-24 20:34:00 +05:00
</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 2 vertices.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/line.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></p>
<p class="whs5">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;">Example:</b></p>
<p class="whs5">&nbsp;</p>
<p class="whs7"><img src="pics/lines.png" x-maintain-ratio="TRUE" width="357px" height="322px" border="0" class="img_whs8"></p>
<p class="whs2">&nbsp;</p>
<p class="whs9">NB! <span style="font-weight: normal;">There
2005-11-24 20:34:00 +05:00
is another way to create a line, which is currently accessible only via</span>
TUI <span style="font-weight: normal;">commands.</span></p>
<p class="whs9">&nbsp;</p>
<p class="whs9"><span style="font-weight: normal;">You
can define a line &nbsp;passing
through the given</span> Point <span style="font-weight: normal;">and
parallel to the given</span> Vector. </p>
<p class="whs9"><b style="font-weight: bold;">TUI
Command:</b> <span style="font-weight: normal; font-style: italic;"><I>geompy.MakeLine(Point,
Vector)</I></span> </p>
<p class="whs9">&nbsp;</p>
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
provide you with useful examples of creation of <a href="basic_geometrical_objects.htm#bookmark1">Basic
Geometric Objects</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>