mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-12 00:29:18 +05:00
226 lines
7.6 KiB
HTML
226 lines
7.6 KiB
HTML
|
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||
|
|
||
|
<html>
|
||
|
|
||
|
<!--(==============================================================)-->
|
||
|
<!--(Document created with RoboEditor. )============================-->
|
||
|
<!--(==============================================================)-->
|
||
|
|
||
|
<head>
|
||
|
|
||
|
<title>Sketcher</title>
|
||
|
|
||
|
<!--(Meta)==========================================================-->
|
||
|
|
||
|
<meta http-equiv=content-type content="text/html; charset=windows-1252">
|
||
|
<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
|
||
|
<meta name=generator-major-version content=0.1>
|
||
|
<meta name=generator-minor-version content=1>
|
||
|
<meta name=filetype content=kadov>
|
||
|
<meta name=filetype-version content=1>
|
||
|
<meta name=page-count content=1>
|
||
|
<meta name=layout-height content=1268>
|
||
|
<meta name=layout-width content=740>
|
||
|
|
||
|
|
||
|
<!--(Links)=========================================================-->
|
||
|
|
||
|
<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-style: none; border: none; float: none; width: 30px; height: 30px;}
|
||
|
p.whs2 {font-size: 12pt;}
|
||
|
ul.whs3 {list-style: disc;}
|
||
|
p.whs4 {margin-left: 40px; font-size: 12pt;}
|
||
|
img_whs5 {border-style: none; border: none; width: 200px; height: 277px;}
|
||
|
img_whs6 {border-style: none; border: none; width: 200px; height: 276px;}
|
||
|
p.whs7 {font-size: 12pt; margin-left: 40px; text-indent: -40px;}
|
||
|
p.whs8 {font-size: 12pt; margin-left: 40px; text-indent: -40px; font-weight: bold;}
|
||
|
p.whs9 {font-size: 12pt; text-indent: -40px; font-weight: bold; margin-left: 80px;}
|
||
|
img_whs10 {border-style: none; border: none; width: 200px; height: 200px;}
|
||
|
img_whs11 {border-style: none; border: none; width: 200px; height: 195px;}
|
||
|
-->
|
||
|
</style>
|
||
|
<script type="text/javascript" language="JavaScript">
|
||
|
<!--
|
||
|
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||
|
{
|
||
|
var strNSS = "<style type='text/css'>";
|
||
|
strNSS += "p.whs7 {text-indent:1; }";
|
||
|
strNSS += "p.whs8 {text-indent:1; }";
|
||
|
strNSS += "p.whs9 {text-indent:1; }";
|
||
|
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)==========================================================-->
|
||
|
|
||
|
|
||
|
<body>
|
||
|
|
||
|
<script type="text/javascript" language="javascript1.2">
|
||
|
<!--
|
||
|
if (window.gbWhTopic)
|
||
|
{
|
||
|
if (window.addTocInfo)
|
||
|
{
|
||
|
addTocInfo("GEOM module\nCreating geometrical objects\nSketcher");
|
||
|
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
|
||
|
|
||
|
}
|
||
|
if (window.writeBtnStyle)
|
||
|
writeBtnStyle();
|
||
|
|
||
|
if (window.writeIntopicBar)
|
||
|
writeIntopicBar(1);
|
||
|
|
||
|
if (window.setRelStartPage)
|
||
|
{
|
||
|
setRelStartPage("geom.html");
|
||
|
|
||
|
autoSync(0);
|
||
|
sendSyncInfo();
|
||
|
sendAveInfoOut();
|
||
|
}
|
||
|
}
|
||
|
else
|
||
|
document.location.reload();
|
||
|
//-->
|
||
|
</script>
|
||
|
<h1>Sketcher</h1>
|
||
|
|
||
|
<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><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_whs1"></b></font></span>Sketcher allows to create curves of 2 types: line
|
||
|
segment and arc. The
|
||
|
curve is created from the current point (center of coordinates when the
|
||
|
sketcher is started). The
|
||
|
end of the curve is defined by means of "destination", which
|
||
|
can be a destination point (for segment only) or destination direction
|
||
|
coupled with length of a segment or angle and radius of an arc.</p>
|
||
|
|
||
|
<p> </p>
|
||
|
|
||
|
<p>Sketcher is able to create planar curves only. Therefore, it is necessary
|
||
|
to select a working plane before starting a sketch (by default, XOY plane
|
||
|
is used). Sketcher creates curves lying in the current working plane (New
|
||
|
Entity -> Basic -> Working Plane).</p>
|
||
|
|
||
|
<p> </p>
|
||
|
|
||
|
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
|
||
|
Creates curves (line segment and arc).</font></span></p>
|
||
|
|
||
|
<p class="whs2"> </p>
|
||
|
|
||
|
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
|
||
|
|
||
|
<p class="whs2"> </p>
|
||
|
|
||
|
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
||
|
</i><span style="font-style: italic;"><I>geompy.MakeSketcher(Command, LWP)</I></span>,
|
||
|
where Command is a string containing the coordinates of points in the
|
||
|
local working plane, LWP is a list of 9 doubles which are coordinates
|
||
|
of OZ and OX of the local working plane.</p>
|
||
|
|
||
|
<p class="whs2"> </p>
|
||
|
|
||
|
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
|
||
|
</p>
|
||
|
|
||
|
<p class="whs2"><span><font size=3 style="font-size:12pt;">1. Element type (segment or arc).</font></span></p>
|
||
|
|
||
|
<p class="whs2">2. Destination type (point or direction).</p>
|
||
|
|
||
|
<p class="whs2">3. <span>Destination point by means of:</span></p>
|
||
|
|
||
|
<ul type="disc" class="whs3">
|
||
|
|
||
|
<li class=kadov-p><p class="whs2">absolute coordinates
|
||
|
X,Y;</p></li>
|
||
|
|
||
|
<li class=kadov-p><p class="whs2">relative coordinates
|
||
|
DX, DY (with respect to the current point);</p></li>
|
||
|
|
||
|
<li class=kadov-p><p class="whs2">selection of an existing
|
||
|
point.</p></li>
|
||
|
</ul>
|
||
|
|
||
|
<p class="whs2">4. Destination direction by means of:</p>
|
||
|
|
||
|
<ul type="disc" class="whs3">
|
||
|
|
||
|
<li class=kadov-p><p class="whs2">angle between the new
|
||
|
segment and the previous one;</p></li>
|
||
|
|
||
|
<li class=kadov-p><p class="whs2">perpendicular to the
|
||
|
previous segment (same as previous, but angle is predefined and is equal
|
||
|
to 90 degrees);</p></li>
|
||
|
|
||
|
<li class=kadov-p><p class="whs2">tangent to the previous
|
||
|
segment;</p></li>
|
||
|
|
||
|
<li class=kadov-p><p class="whs2">vector components VX,
|
||
|
DY.</p></li>
|
||
|
</ul>
|
||
|
|
||
|
<p class="whs2">5. Parameters of an element (for segment :
|
||
|
length or target X or Y coordinate value, for arc : radius and angle).</p>
|
||
|
|
||
|
<p class="whs2"> </p>
|
||
|
|
||
|
<p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
|
||
|
|
||
|
<p class="whs2"> </p>
|
||
|
|
||
|
<p class="whs4"><img src="image203.jpg" width="200px" height="277px" border="0" class="img_whs5"> <img src="image205.jpg" width="200px" height="276px" border="0" class="img_whs6"></p>
|
||
|
|
||
|
<p class="whs7"> </p>
|
||
|
|
||
|
<p class="whs8">Example:</p>
|
||
|
|
||
|
<p class="whs9"> </p>
|
||
|
|
||
|
<p class="whs9"><img src="image204.jpg" width="200px" height="200px" border="0" class="img_whs10"> <img src="image206.jpg" width="200px" height="195px" border="0" class="img_whs11"></p>
|
||
|
|
||
|
<script type="text/javascript" language="javascript1.2">
|
||
|
<!--
|
||
|
if (window.writeIntopicBar)
|
||
|
writeIntopicBar(0);
|
||
|
//-->
|
||
|
</script>
|
||
|
</body>
|
||
|
|
||
|
</html>
|