geom/doc/salome/GEOM/add_point_on_edge.htm

166 lines
5.8 KiB
HTML
Raw Normal View History

2005-10-19 21:30:29 +06:00
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>Add Point on Edge</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:22px; height:22px; border-style:none; }
p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; font-weight:normal; }
p.whs4 { margin-left:40px; font-size:12pt; font-weight:bold; }
img_whs5 { border:none; width:312px; height:388px; float:none; border-style:none; }
p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; }
p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
p.whs8 { margin-left:80px; font-size:12pt; text-indent:-40px; }
img_whs9 { border:none; width:200px; height:231px; border-style:none; }
img_whs10 { border:none; width:185px; height:231px; border-style:none; }
p.whs11 { font-size:12pt; text-indent:-68px; margin-left:72px; }
p.whs12 { font-weight:bold; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs6 {text-indent:1pt; }";
strNSS += "p.whs7 {text-indent:1pt; }";
strNSS += "p.whs8 {text-indent:1pt; }";
strNSS += "p.whs11 {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)
{
addTocInfo("GEOM module\nTransforming geometrical objects\nRepairing Operations\nAdd Point on Edge");
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="image42.gif" width="22px" height="22px" border="0" class="img_whs1"></font></span>Add Point on Edge</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o <span
style="font-weight: bold;"><B>Add Point on Edge</B></span> in the Main Menu select
<span style="font-weight: bold;"><B>Repair - &gt; Add Point on Edge.</B></span></p>
<p>&nbsp;</p>
<p class="whs2">This operation splits an edge in two in accordance
with the specified mode (by length or by parameter) and a value specifying
the position of the point on edge (for example val =0.5; mode = Length).
This operation is available in <span style="font-weight: bold;"><B>OCC Viewer</B></span>
only. </p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command :</b><i>
</i><span style="font-style: italic;"><I>geompy.DivideEdge(Shape, EdgeID,
Value, IsByParameter)</I></span>, where Shape is a shape which contains an
edge to be divided, EdgeID is the ID of the edge to be divided, if it
= -1, then Shape is an edge, Value is a paramter on the edge or a length.
IsByParameter if it is True then Value is the edge parameter in the range
[0:1] otherwise it is a length of the edge in the range [0:1]</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 1 Edge + 1 value setting the position of the point according to
one of the selected modes</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;">Dialog
Box:</b></p>
<p class="whs3">&nbsp;</p>
<p class="whs4"><img src="pics/repair8.png" x-maintain-ratio="TRUE" width="312px" height="388px" border="0" class="img_whs5"></p>
<p class="whs6">&nbsp;</p>
<p class="whs7">Example:</p>
<p class="whs6">&nbsp;</p>
<p class="whs8"><img src="image167.jpg" width="200px" height="231px" border="0" class="img_whs9"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="image168.jpg" width="185px" height="231px" border="0" class="img_whs10"></p>
<p class="whs11">&nbsp;</p>
<p class="whs12"><span style="font-weight: normal;">Our</span>
TUI Scripts<span style="font-weight: normal;"> provide you with useful
examples of the use of</span> <a href="repairing_operations.htm#bookmark7">Repairing
Operations</a>. </p>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>