2005-11-24 20:34:00 +05: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; }
2006-05-06 14:44:32 +06:00
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; }
2005-11-24 20:34:00 +05:00
-->
< / style > < script type = "text/javascript" language = "JavaScript" >
<!--
if ((navigator.appName == "Netscape") & & (parseInt(navigator.appVersion) == 4))
{
var strNSS = "< style type = 'text/css' > " ;
2006-05-06 14:44:32 +06:00
strNSS += "p.whs5 {text-indent:1pt; }";
2005-11-24 20:34:00 +05:00
strNSS += "p.whs6 {text-indent:1pt; }";
strNSS += "p.whs7 {text-indent:1pt; }";
2006-05-06 14:44:32 +06:00
strNSS += "p.whs10 {text-indent:1pt; }";
2005-11-24 20:34:00 +05:00
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; }
2006-06-01 17:32:40 +06:00
p.WebHelpNavBar { text-align:right; }
2005-11-24 20:34:00 +05:00
-->
< / 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 >
2006-06-01 17:32:40 +06:00
< script type = "text/javascript" language = "javascript1.2" >
2005-11-24 20:34:00 +05:00
<!--
if (window.gbWhTopic)
{
2006-06-01 17:32:40 +06:00
if (window.setRelStartPage)
2005-11-24 20:34:00 +05:00
{
2006-05-06 14:44:32 +06:00
addTocInfo("Geometry module\nTransforming geometrical objects\nRepairing Operations\nAdd Point on Edge");
2006-06-01 17:32:40 +06:00
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");
2005-11-24 20:34:00 +05:00
}
if (window.setRelStartPage)
{
2006-06-01 17:32:40 +06:00
setRelStartPage("index.htm");
2005-11-24 20:34:00 +05:00
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
2006-06-01 17:32:40 +06:00
2005-11-24 20:34:00 +05:00
}
else
if (window.gbIE4)
document.location.reload();
//-->
< / script >
2006-06-01 17:32:40 +06:00
< / head >
< body > < script type = "text/javascript" language = "javascript1.2" >
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
< / script >
2005-11-24 20:34:00 +05:00
< 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 - > Add Point on Edge.< / B > < / span > < / p >
< p > < / 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" > < / p >
2006-05-06 14:44:32 +06:00
< 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 >
2005-11-24 20:34:00 +05:00
< p class = "whs2" > < / 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" > < / 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" > < / p >
2006-05-06 14:44:32 +06:00
< p class = "whs3" > < img src = "pics/repair8.png" x-maintain-ratio = "TRUE" width = "312px" height = "388px" border = "0" class = "img_whs4" > < / p >
2005-11-24 20:34:00 +05:00
2006-05-06 14:44:32 +06:00
< p class = "whs5" > < / p >
2005-11-24 20:34:00 +05:00
2006-05-06 14:44:32 +06:00
< p class = "whs6" > Example:< / p >
2005-11-24 20:34:00 +05:00
2006-05-06 14:44:32 +06:00
< p class = "whs5" > < / p >
2005-11-24 20:34:00 +05:00
2006-05-06 14:44:32 +06:00
< p class = "whs7" > < img src = "image167.jpg" width = "200px" height = "231px" border = "0" class = "img_whs8" > < img src = "image168.jpg" width = "185px" height = "231px" border = "0" class = "img_whs9" > < / p >
2005-11-24 20:34:00 +05:00
2006-05-06 14:44:32 +06:00
< p class = "whs10" > < / p >
2005-11-24 20:34:00 +05:00
2006-05-06 14:44:32 +06:00
< p class = "whs11" > < span style = "font-weight: normal;" > Our< / span >
2005-11-24 20:34:00 +05:00
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 > < / p >
< script type = "text/javascript" language = "javascript1.2" >
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
< / script >
< / body >
< / html >