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

886 lines
35 KiB
HTML
Executable File
Raw Blame History

<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Titre</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>
<!--
A:link { color:#0000ff; }
-->
</style><style type="text/css">
<!--
p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; }
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
ul.whs3 { list-style:disc; }
p.whs4 { font-size:12pt; }
p.whs5 { margin-left:40px; }
p.whs6 { font-family:'Times New Roman' , serif; font-size:14pt; }
img_whs7 { width:20px; height:20px; border-style:none; }
p.whs8 { font-size:12pt; margin-left:120px; }
p.whs9 { font-size:12pt; font-style:italic; margin-left:120px; }
table.whs10 { x-cell-content-align:top; width:65.051%; border-spacing:0px; }
col.whs11 { width:39.418%; }
col.whs12 { width:28.296%; }
col.whs13 { width:32.286%; }
tr.whs14 { x-cell-content-align:top; }
td.whs15 { width:39.418%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
img_whs16 { border:none; width:312px; height:332px; float:none; border-style:none; }
td.whs17 { width:28.296%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
p.whs18 { font-size:12pt; margin-right:0px; }
img_whs19 { border:none; width:312px; height:473px; float:none; border-style:none; }
td.whs20 { width:32.286%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
img_whs21 { border:none; width:312px; height:421px; float:none; border-style:none; }
p.whs22 { font-size:12pt; margin-left:40px; }
p.whs23 { color:#808080; font-size:12pt; }
p.whs24 { font-size:12pt; color:#000000; }
p.whs25 { color:#808080; font-size:12pt; margin-left:40px; }
img_whs26 { border:none; width:150px; height:140px; border-style:none; }
img_whs27 { border:none; width:312px; height:324px; float:none; border-style:none; }
img_whs28 { border:none; width:150px; height:139px; border-style:none; }
table.whs29 { x-cell-content-align:top; width:50.278%; border-spacing:0px; }
col.whs30 { width:49.724%; }
col.whs31 { width:50.276%; }
td.whs32 { width:49.724%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
img_whs33 { border:none; width:312px; height:346px; float:none; border-style:none; }
td.whs34 { width:50.276%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
img_whs35 { border:none; width:312px; height:359px; float:none; border-style:none; }
img_whs36 { border:none; width:150px; height:129px; border-style:none; }
img_whs37 { border:none; width:312px; height:376px; float:none; border-style:none; }
p.whs38 { font-size:12pt; margin-left:40px; font-weight:bold; }
img_whs39 { border:none; width:150px; height:154px; border-style:none; }
img_whs40 { border:none; width:150px; height:123px; border-style:none; }
p.whs41 { font-size:14pt; }
img_whs42 { border:none; width:20px; height:20px; border-style:none; }
img_whs43 { border:none; width:312px; height:289px; float:none; border-style:none; }
p.whs44 { font-size:12pt; font-weight:bold; }
p.whs45 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }
img_whs46 { border:none; width:200px; height:181px; float:none; border-style:none; }
img_whs47 { border:none; width:175px; height:181px; border-style:none; }
img_whs48 { border:none; width:203px; height:181px; border-style:none; }
p.whs49 { font-size:12pt; margin-left:0px; }
img_whs50 { border:none; width:312px; height:358px; float:none; border-style:none; }
img_whs51 { border:none; width:150px; height:128px; border-style:none; }
table.whs52 { x-cell-content-align:top; width:72.604%; border-spacing:0px; }
col.whs53 { width:32.089%; }
col.whs54 { width:32.008%; }
col.whs55 { width:35.903%; }
td.whs56 { width:32.089%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
td.whs57 { width:32.008%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
img_whs58 { border:none; width:312px; height:385px; float:none; border-style:none; }
td.whs59 { width:35.903%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
p.whs60 { font-size:12pt; font-weight:bold; color:#000000; }
img_whs61 { border:none; width:150px; height:131px; border-style:none; }
table.whs62 { x-cell-content-align:top; width:81.596%; border-spacing:0px; }
col.whs63 { width:33.942%; }
col.whs64 { width:33.812%; }
col.whs65 { width:32.246%; }
td.whs66 { width:33.942%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
img_whs67 { border:none; width:312px; height:231px; float:none; border-style:none; }
td.whs68 { width:33.812%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
img_whs69 { border:none; width:312px; height:266px; float:none; border-style:none; }
td.whs70 { width:32.246%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
img_whs71 { border:none; width:312px; height:274px; float:none; border-style:none; }
p.whs72 { font-size:12pt; margin-left:40px; font-weight:bold; text-indent:-40px; }
img_whs73 { border:none; width:16px; height:16px; border-style:none; }
table.whs74 { x-cell-content-align:top; width:63.512%; border-spacing:0px; }
col.whs75 { width:49.962%; }
col.whs76 { width:45.348%; }
col.whs77 { width:4.69%; }
td.whs78 { 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.whs79 { font-weight:bold; font-size:14pt; }
img_whs80 { border:none; width:312px; height:391px; float:none; border-style:none; }
td.whs81 { width:45.348%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
td.whs82 { width:4.69%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
p.whs83 { margin-left:40px; font-weight:bold; text-indent:-40px; font-size:14pt; }
p.whs84 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }
p.whs85 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }
p.whs86 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }
img_whs87 { 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.whs18 {margin-right:1pt; }";
strNSS += "p.whs49 {margin-left:1pt; }";
strNSS += "p.whs72 {text-indent:1pt; }";
strNSS += "p.whs83 {text-indent:1pt; }";
strNSS += "p.whs84 {text-indent:1pt; }";
strNSS += "p.whs85 {text-indent:1pt; }";
strNSS += "p.whs86 {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)
{
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>Creating basic geometrical objects<a HREF="#_Toc57604478"><b><span
style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">&#9;</font></span></b></a></h1>
<p class="whs1"><b style="font-weight: normal;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> In GEOM you can </b>create basic geometrical objects (1D
&amp; 2D elements) such as:</p>
<p class="whs1"><a HREF="#_Toc57604479"><b><font><span
style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">&#9;</font></span></font></b></a></p>
<dir>
<ul type="disc" class="whs3">
<li class=kadov-p><p class="whs1"><a
HREF="#_Toc57604480"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
face="Times New Roman"
size=4>&nbsp;Point&#9;</font></span></a></p></li>
<li class=kadov-p><p class="whs1"><a
HREF="#_Toc57604481"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
face="Times New Roman"
size=4>&nbsp;Line&#9;</font></span></a></p></li>
<li class=kadov-p><p class="whs1"><a
HREF="#_Toc57604482"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
face="Times New Roman"
size=4>&nbsp;Circle&#9;</font></span></a></p></li>
<li class=kadov-p><p class="whs1"><a
HREF="#_Toc57604483"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
face="Times New Roman"
size=4>&nbsp;Ellipse&#9;</font></span></a></p></li>
<li class=kadov-p><p class="whs1"><a
HREF="#_Toc57604484">&nbsp;Arc</a></p></li>
<li class=kadov-p><p class="whs1">&nbsp;<a
href="#_Toc57604488">Curve</a></p></li>
<li class=kadov-p><p class="whs1"><a
HREF="#_Toc57604485"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
face="Times New Roman"
size=4>&nbsp;Vector&#9;</font></span></a></p></li>
<li class=kadov-p><p class="whs1"><a
HREF="#_Toc57604486"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
face="Times New Roman"
size=4>&nbsp;Plane&#9;</font></span></a></p></li>
<li class=kadov-p><p class="whs1"><a
HREF="#_Toc57604487">&nbsp;Working plane</a></p></li>
<li class=kadov-p><p class="whs1">&nbsp;<a
href="#_Toc57604489">Local coordinate system</a><a
HREF="#_Toc57604487">&#9;</a></p></li>
</ul>
</dir>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class=TODO>To create basic geometrical objects:</p>
<p class=TODO>&nbsp;</p>
<p class="whs5">In the main menu select <span style="font-weight: bold;"><B>New
Entity &gt; Basic</B></span>.</p>
<p class="whs5">&nbsp;</p>
&nbsp;
<p class="whs6"><b style="font-weight: bold;"><a
NAME=_Toc57604480><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif" width="20px" height="20px" border="0" class="img_whs7"> Point</font></span></a></b></p>
<p class="whs6">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Description:</b>
Creates a point.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
(vertex).</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">TUI Command :</b>
&nbsp;&nbsp;<span style="font-style: italic;"><I>g</I></span>eompy.MakeVertex(X,
Y, Z) - </p>
<p class="whs8">geompy.MakeVertexWithRef(Reference,
X, Y, Z)</p>
<p class="whs9">geompy.MakeVertexOnCurve(Edge, Parameter)
</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
<ul>
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
Constructor:</b> Name + X, Y and Z coordinates of the point.</p></li>
<li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd
Constructor: </B></span>Name + 1 reference point + 3 coordinates defining
the position of this point regarding the reference one</p></li>
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
Constructor:</b> Name + 1 edge &nbsp;+
1 Parameter defining the position of the point on the given edge.</p></li>
</ul>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs4">&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="65.051%" class="whs10">
<col class="whs11">
<col class="whs12">
<col class="whs13">
<tr valign="top" class="whs14">
<td width="39.418%" class="whs15">
<p class="whs4"><img src="../pics/point1.png" x-maintain-ratio="TRUE" width="312px" height="332px" border="0" class="img_whs16"></td>
<td width="28.296%" class="whs17">
<p class="whs18"><img src="../pics/neo-point2.png" x-maintain-ratio="TRUE" width="312px" height="473px" border="0" class="img_whs19"></td>
<td width="32.286%" class="whs20">
<p class="whs4"><img src="../pics/point3.png" x-maintain-ratio="TRUE" width="312px" height="421px" border="0" class="img_whs21"></td></tr>
</table>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs22">&nbsp;&nbsp;&nbsp;</p>
<p class="whs23">&nbsp;</p>
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
<p class="whs23">&nbsp;</p>
<p class="whs25"><img src="../image16.gif" width="150px" height="140px" border="0" class="img_whs26"></p>
<p class="whs25">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;"><a
NAME=_Toc57604481><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif" width="20px" height="20px" border="0" class="img_whs7"> Line</font></span></a></b></p>
<p class="whs6">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Description:</b>
Creates a line.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
(edge).</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
<span style="font-style: italic;"><I>geompy.MakeLine(Point1, Point2)</I></span>,
where Point1 and Point2 are points through &nbsp;which
the line passes.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
Name + 2 vertices.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs4">&nbsp;</p>
<p class="whs22"><img src="../pics/line.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs27"></p>
<p class="whs23">&nbsp;</p>
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
<p class="whs23">&nbsp;</p>
<p class="whs25"><img src="../image67.jpg" width="150px" height="139px" border="0" class="img_whs28"></p>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;"><a
NAME=_Toc57604482><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif" width="20px" height="20px" border="0" class="img_whs7"> Circle</font></span></a></b></p>
<p class="whs6">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Description:</b>
Creates a circle.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
(edge).</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
<span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span>,
where Point defines the center of the circle, Vector gives the circle<6C>s
normal and Radius is the circle<6C>s &nbsp;radius.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
</p>
<ul>
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
Constructor:</b> Name + 1 vertex (for the center) + 1 edge (for the direction)
+ Radius.</p></li>
<li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd
Constructor: </B></span>Name + 3 points which will form the circle.</p></li>
</ul>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs4">&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="50.278%" class="whs29">
<col class="whs30">
<col class="whs31">
<tr valign="top" class="whs14">
<td width="49.724%" class="whs32">
<p class="whs4"><img src="../pics/circle1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs33"></td>
<td width="50.276%" class="whs34">
<p class="whs4"><img src="../pics/circle2.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs35"></td></tr>
</table>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs22">&nbsp;</p>
<p class="whs22">&nbsp;</p>
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
<p class="whs23">&nbsp;</p>
<p class="whs25"><img src="../image17.gif" width="150px" height="129px" border="0" class="img_whs36"></p>
<p class="whs4">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;"><a
NAME=_Toc57604483><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif" width="20px" height="20px" border="0" class="img_whs7"> Ellipse</font></span></a></b></p>
<p class="whs6">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Description:</b>
Creates an ellipse.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
(edge).</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b><span
style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor,
RadiusMinor)</I></span>, where Point defines the center of the ellipse, Vector
gives the ellipse<73>s normal, RadiusMajor and RadiusMinor &nbsp;are
correspondingly a major and minor radiuses of the ellipse.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
Name + 1 vertex (for the center) + 1 edge (for the direction) + 1 X Radius
+ 1 Y Radius.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs4">&nbsp;</p>
<p class="whs22"><img src="../pics/ellipse.png" x-maintain-ratio="TRUE" width="312px" height="376px" border="0" class="img_whs37"></p>
<p class="whs38">&nbsp;</p>
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
<p class="whs23">&nbsp;</p>
<p class="whs25"><img src="../image19.gif" width="150px" height="154px" border="0" class="img_whs39"></p>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;"><a
NAME=_Toc57604484><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif" width="20px" height="20px" border="0" class="img_whs7"> Arc</font></span></a></b></p>
<p class="whs6">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Description:</b>
Creates an arc.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
(edge).</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
<span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span>,
where Point1 is the starting point of the arc, Point2 is a middle point
of the arc and Point3 is the ending point of the arc.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
Name + 3 vertices.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs4">&nbsp;</p>
<p class="whs22"><img src="../pics/arc.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs35"></p>
<p class="whs23">&nbsp;</p>
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
<p class="whs23">&nbsp;</p>
<p class="whs25"><img src="../image20.gif" width="150px" height="123px" border="0" class="img_whs40"></p>
<p class="whs25">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs41"><b style="font-weight: bold;"><a NAME=_Toc57604488><img src="../image32.gif" width="20px" height="20px" border="0" class="img_whs42"> Curve</a></b></p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Description:</b>
Creates a curve in 3D space.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b>
GEOM_Object (edge).</font></span></p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
</p>
<ul type="disc" class="whs3">
<li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span>,
where ListOfShape is a list of points through which the curve passes .</p></li>
<li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span>,
where ListOfShape is a list of points through which the curve passes .</p></li>
<li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span>,
where ListOfShape is a list of points through which the curve passes .</p></li>
</ul>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
Name + at least 2 points which will serve as nodes on the curve.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs4">&nbsp;</p>
<p class="whs22"><img src="../pics/curve.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs43"></p>
<p class="whs4">&nbsp;</p>
<p class="whs44">Example:</p>
<p class="whs4">&nbsp;</p>
<p class="whs45">Polyline
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bezier
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B-Spline</p>
<p class="whs4"><img src="../image147.jpg" x-maintain-ratio="TRUE" width="200px" height="181px" border="0" class="img_whs46"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../image149.jpg" width="175px" height="181px" border="0" class="img_whs47"> &nbsp;&nbsp;&nbsp;&nbsp;<img src="../image150.jpg" width="203px" height="181px" border="0" class="img_whs48"></p>
<p class="whs22">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;"><a
NAME=_Toc57604485><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif" width="20px" height="20px" border="0" class="img_whs7"> Vector</font></span></a></b></p>
<p class="whs6">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Description:</b>
Creates a vector.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
(edge).</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
<span style="font-style: italic;"><I>geompy.MakeVector(Point1, Point2)</I></span>,
where Point1 is the first point of the vector and the Point2 is the last
point of the vector.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Arguments :</b></p>
<ul>
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
Constructor :</b> Name + 2 vertices.</p></li>
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
Constructor :</b> Name + 3 values (Coordinates of the 2nd vertex. The
first vertex is in the origin).</p></li>
</ul>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs22">&nbsp;</p>
<p class="whs49">&nbsp;&nbsp;<img src="../pics/vector1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs27"> &nbsp;&nbsp;&nbsp;<img src="../pics/vector2.png" x-maintain-ratio="TRUE" width="312px" height="358px" border="0" class="img_whs50"></p>
<p class="whs22">&nbsp;</p>
<p class="whs24"><b style="font-weight: bold;">Example:</b></p>
<p class="whs23">&nbsp;</p>
<p class="whs25"><img src="../image21.gif" width="150px" height="128px" border="0" class="img_whs51"></p>
<p class="whs4">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;"><a
NAME=_Toc57604486><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif" width="20px" height="20px" border="0" class="img_whs7"> Plane</font></span></a></b></p>
<p class="whs6">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Description:</b>
Creates a plane.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
(face).</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
<span style="font-style: italic;"><I>geompy.MakePlane(Point, Vector, TrimSize)</I></span>,
where Point is a point through which &nbsp;the
plane passes, Vector gives a normal of the plane and TrimSize is a half
size of a side of quadrangle face, representing the plane.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
<ul>
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
Constructor :</b> Name + 1 vertex + 1 vector &nbsp;+
1 value (to define the size of the plane).</p></li>
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
Constructor :</b> Name + 1 vertex + 3 points (for the direction) + 1 value
(to define the size of the plane).</p></li>
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">3rd
Constructor :</b> Name + 1 selection + 1 value (to define the size of
the plane).</p></li>
</ul>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs4">&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="72.604%" class="whs52">
<col class="whs53">
<col class="whs54">
<col class="whs55">
<tr valign="top" class="whs14">
<td width="32.089%" class="whs56">
<p class="whs4"><img src="../pics/plane1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs33"></td>
<td width="32.008%" class="whs57">
<p class="whs4"><img src="../pics/plane2.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs58"></td>
<td width="35.903%" class="whs59">
<p class="whs4"><img src="../pics/plane3.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs58"></td></tr>
</table>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs60"><b><span style="font-weight: bold;"><B>Example:</B></span></b></p>
<p class="whs23">&nbsp;</p>
<p class="whs25"><img src="../image76.jpg" width="150px" height="131px" border="0" class="img_whs61"></p>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs6"><b style="font-weight: bold;"><a
NAME=_Toc57604487><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif" width="20px" height="20px" border="0" class="img_whs7"> Working
Plane</font></span></a></b></p>
<p class="whs6">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Description:</b>
Sets the working plane (and the camera position).</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
</p>
<ul type="disc" class="whs3">
<li class=kadov-p><p class="whs4">Name + 1 selection (face
or planar face), </p></li>
<li class=kadov-p><p class="whs4">Name + &nbsp;2
vectors, </p></li>
<li class=kadov-p><p class="whs4">Name + XYZ coordinate
system</p></li>
</ul>
<p class="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs4">&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="81.596%" class="whs62">
<col class="whs63">
<col class="whs64">
<col class="whs65">
<tr valign="top" class="whs14">
<td width="33.942%" class="whs66">
<p class="whs4"><img src="../pics/workplane4.png" x-maintain-ratio="TRUE" width="312px" height="231px" border="0" class="img_whs67"></td>
<td width="33.812%" class="whs68">
<p class="whs4"><img src="../pics/workplane5.png" x-maintain-ratio="TRUE" width="312px" height="266px" border="0" class="img_whs69"></td>
<td width="32.246%" class="whs70">
<p class="whs4"><img src="../pics/workplane6.png" x-maintain-ratio="TRUE" width="312px" height="274px" border="0" class="img_whs71"></td></tr>
</table>
<p class="whs4">&nbsp;</p>
<p class="whs49">&nbsp;</p>
<p class="whs22">&nbsp;</p>
<p class="whs38">&nbsp;</p>
<p class="whs72">&nbsp;</p>
<p class="whs72"><a name=_Toc57604489><img src="../image35.gif" width="16px" height="16px" border="0" class="img_whs73"><span
style="font-size: 14pt;"> <font size=4 style="font-size:14pt;"></font></span><b><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Local
coordinate system</font></span></b></a></p>
<p class="whs72">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Description:</b>
&nbsp;The user
may manually enter 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 coordinates of origin are automatically
filled in with the coordinates of the selected point. </p>
<p class="whs4">The user then specifies components of X and
Y axes direction.</p>
<p class="whs4">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="whs4">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="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><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="whs4">&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Arguments:</b>
</p>
<ul>
<li class=kadov-p><p class="whs4"><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="whs4"><b style="font-weight: bold;">2nd
Constructor :</b> Name + reference object.</p></li>
<li class=kadov-p><p class="whs4"><b style="font-weight: bold;">3rd
Constructor :</b> Name + 1 point of origin + X axis direction, Y axis
direction.</p></li>
</ul>
<p class="whs4">&nbsp;</p>
<p class="whs4">.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
<p class="whs4">&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="63.512%" class="whs74">
<col class="whs75">
<col class="whs76">
<col class="whs77">
<tr valign="top" class="whs14">
<td width="49.962%" class="whs78">
<p class="whs79"><img src="../pics/neo-localcs1.png" x-maintain-ratio="TRUE" width="312px" height="391px" border="0" class="img_whs80"></td>
<td width="45.348%" class="whs81">
<p class="whs79"><img src="../pics/neo-localcs2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs43"></td>
<td width="4.69%" class="whs82">
<p class="whs79"><img src="../pics/neo-localcs3.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs35"></td></tr>
</table>
<p class="whs83">&nbsp;</p>
<p class="whs84"><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="whs85">&nbsp;</p>
<p class="whs86"><img src="../image145.jpg" width="200px" height="219px" border="0" class="img_whs87"></p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>