2005-11-24 20:34:00 +05:00
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
< html >
< head >
< title > Modify the Location< / 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:25px; height:22px; border-style:none; }
p.whs2 { font-size:12pt; }
2006-02-07 20:58:35 +05:00
img_whs3 { border:none; width:312px; height:350px; float:none; border-style:none; }
img_whs4 { border:none; width:431px; height:233px; border-style:none; }
2005-11-24 20:34:00 +05:00
img_whs5 { border:none; width:312px; height:385px; float:none; border-style:none; }
2006-02-07 20:58:35 +05:00
img_whs6 { border:none; width:326px; height:377px; border-style:none; }
p.whs7 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
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-02-07 20:58:35 +05:00
strNSS += "p.whs7 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom: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; }
-->
< / 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\nTransformation Operations\nModify the Location");
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: 14pt;" > < font size = 4 style = "font-size:14pt;" > < img src = "image59.gif" width = "25px" height = "22px" border = "0" class = "img_whs1" > < / font > < / span > Modify the Location< / h1 >
< p class = "whs2" > < b style = "font-weight: normal;" > T< / b > o< span
style="font-weight: bold;">< B > Modify the Location< / B > < / span > in the Main Menu
select < span style = "font-weight: bold;" > < B > Operations - > Transformation
2006-02-07 20:58:35 +05:00
- > Modify the Location.< / B > < / span > < / p >
2005-11-24 20:34:00 +05:00
< p class = "whs2" > < / p >
< p class = "whs2" > This operation modifies the < span style = "font-weight: bold;" > < B > Location< / B > < / span >
2006-02-07 20:58:35 +05:00
of an < span style = "font-weight: bold;" > < B > Object < / B > < / span > < / p >
2005-11-24 20:34:00 +05:00
2006-02-07 20:58:35 +05:00
< p class = "whs2" > The first algorithm places the object so that
its center coincides with the center of an End Local Coordinate System.< / p >
< p class = "whs2" > < span style = "font-weight: bold;" > < B > Create a copy
< / B > < / span > checkbox allows to keep the initial object, otherwise it will be
removed.< / p >
< p class = "whs2" > < span style = "font-size: 12pt;" > < font size = 3 style = "font-size:12pt;" > < span > < b style = "font-weight: bold;" > A< / span > rguments:< / b >
Name + 1 GEOM_Object + End Coordinate System.< / font > < / span > < / p >
< p > < / p >
< p class = "whs2" > < img src = "pics/transformation5.png" x-maintain-ratio = "TRUE" width = "312px" height = "350px" border = "0" class = "img_whs3" > < / p >
2005-11-24 20:34:00 +05:00
< p class = "whs2" > < / p >
2006-02-07 20:58:35 +05:00
< p class = "whs2" > In the picture the initial cube with the global
coordinate system is to
the right and the modified cube with the Local Coordinate System in the
center of it is to the left . < / p >
2005-11-24 20:34:00 +05:00
2006-02-07 20:58:35 +05:00
< p class = "whs2" > < / p >
< p class = "whs2" > < img src = "image30.gif" width = "431px" height = "233px" border = "0" class = "img_whs4" > < / p >
< p class = "whs2" > < / p >
< p class = "whs2" > The second algorithm modifies
the location of an object using Start and End LSC, however, it does not
place the object in the center of any of the two systems. < / p >
2005-11-24 20:34:00 +05:00
< p class = "whs2" > < span style = "font-weight: bold;" > < B > Create a copy
< / B > < / span > checkbox allows to keep the initial object, otherwise it will be
removed.< / p >
2006-02-07 20:58:35 +05:00
< p class = "whs2" > < span style = "font-size: 12pt;" > < font size = 3 style = "font-size:12pt;" > < b style = "font-weight: bold;" > Arguments:< / b >
Name + 1 GEOM_Object + Start Coordinate System + End Coordinate System.< / font > < / span > < / p >
< p class = "whs2" > < / p >
< p class = "whs2" > < img src = "pics/transformation6.png" x-maintain-ratio = "TRUE" width = "312px" height = "385px" border = "0" class = "img_whs5" > < / p >
2005-11-24 20:34:00 +05:00
< p class = "whs2" > < / p >
2006-02-07 20:58:35 +05:00
< p class = "whs2" > In this picture the initial cube with the global
coordinate system is above, the modified cube is below and the End Local
Coordinate System is the big one. < / p >
2005-11-24 20:34:00 +05:00
2006-02-07 20:58:35 +05:00
< p class = "whs2" > < / p >
2005-11-24 20:34:00 +05:00
2006-02-07 20:58:35 +05:00
< p class = "whs2" > < img src = "image31.gif" width = "326px" height = "377px" border = "0" class = "img_whs6" > < / p >
2005-11-24 20:34:00 +05:00
2006-02-07 20:58:35 +05:00
< p class = "whs2" > < / p >
2005-11-24 20:34:00 +05:00
2006-02-07 20:58:35 +05:00
< p class = "whs2" > The < span style = "font-weight: bold;" > < B > R< / B > < / span > < b > < span
style="font-weight: bold;">< B > esult< / B > < / span > < span style = "font-weight: normal;" >
of this operation will be a< / span > < / b > GEOM_Object.< / p >
2005-11-24 20:34:00 +05:00
2006-02-07 20:58:35 +05:00
< p class = "whs2" > < / p >
< p class = "whs2" > < b style = "font-weight: bold;" > TUI Command:< / b > < i >
geompy.MakePosition(theObject, theStartLCS, theEndLCS), < / i > where theObject
is a shape, location of which is modified, theStartLCS is a location to
move the shape from, theEndLCS is a location to move the shape to.< / p >
< p class = "whs2" > < / p >
2005-11-24 20:34:00 +05:00
2006-02-07 20:58:35 +05:00
< p class = "whs7" > < span style = "font-size: 12pt;" > < font size = 3 style = "font-size:12pt;" > Our < / font > < / span > < span
2005-11-24 20:34:00 +05:00
style="font-weight: bold;">< B > TUI Scripts< / B > < / span > < span style = "font-size: 12pt;" > < font size = 3 style = "font-size:12pt;" >
provide you with useful examples of the use of < a href = "transformation_operations.htm#bookmark2" > Transformation
Operations< / a > . < / font > < / span > < / p >
< p > < / p >
< script type = "text/javascript" language = "javascript1.2" >
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
< / script >
< / body >
< / html >