<!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 { margin-left:40px; font-size:12pt; font-weight:bold; }
img_whs4 { border:none; width:312px; height:388px; float:none; border-style:none; }
p.whs5 { font-size:12pt; margin-left:40px; text-indent:-40px; }
p.whs6 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }
p.whs7 { margin-left:80px; font-size:12pt; text-indent:-40px; }
img_whs8 { border:none; width:200px; height:231px; border-style:none; }
img_whs9 { border:none; width:185px; height:231px; border-style:none; }
p.whs10 { font-size:12pt; text-indent:-68px; margin-left:72px; }
p.whs11 { 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.whs5 {text-indent:1pt; }";
  strNSS += "p.whs6 {text-indent:1pt; }";
  strNSS += "p.whs7 {text-indent:1pt; }";
  strNSS += "p.whs10 {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; }
p.WebHelpNavBar { text-align:right; }
-->
</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>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.setRelStartPage)
	{
	addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nAdd Point on Edge");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");

	}


	if (window.setRelStartPage)
	{
	setRelStartPage("index.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}

}
else
	if (window.gbIE4)
		document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
	writeIntopicBar(4);
//-->
</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"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b><span 
 style="font-weight: normal;">T</b>he</span> Result <span style="font-weight: normal;">will 
 be a</span></b><b> <span style="font-weight: bold;"><B>GEOM_Object. </B></span></b></font></span></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="whs3">&nbsp;</p>

<p class="whs3"><img src="pics/repair8.png" x-maintain-ratio="TRUE" width="312px" height="388px" border="0" class="img_whs4"></p>

<p class="whs5">&nbsp;</p>

<p class="whs6">Example:</p>

<p class="whs5">&nbsp;</p>

<p class="whs7"><img src="image167.jpg" width="200px" height="231px" border="0" class="img_whs8"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="image168.jpg" width="185px" height="231px" border="0" class="img_whs9"></p>

<p class="whs10">&nbsp;</p>

<p class="whs11"><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>