mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-16 10:38:34 +05:00
184 lines
7.9 KiB
HTML
Executable File
184 lines
7.9 KiB
HTML
Executable File
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
|
||
|
||
<html>
|
||
|
||
<head>
|
||
<title>Multi Transformation</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:24px; height:22px; border-style:none; }
|
||
p.whs2 { font-size:12pt; }
|
||
p.whs3 { font-size:12pt; font-weight:bold; }
|
||
p.whs4 { font-size:12pt; margin-left:40px; }
|
||
img_whs5 { border:none; width:312px; height:381px; float:none; border-style:none; }
|
||
img_whs6 { border:none; width:301px; height:306px; float:none; border-style:none; }
|
||
img_whs7 { border:none; width:312px; height:494px; float:none; border-style:none; }
|
||
img_whs8 { border:none; width:277px; height:304px; float:none; border-style:none; }
|
||
p.whs9 { font-weight:bold; }
|
||
p.whs10 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }
|
||
-->
|
||
</style><script type="text/javascript" language="JavaScript">
|
||
<!--
|
||
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
|
||
{
|
||
var strNSS = "<style type='text/css'>";
|
||
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\nBlocks Operations\nMulti Transformation");
|
||
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><img src="image52.gif" width="24px" height="22px" border="0" class="img_whs1"> Block Multi Transformation</h1>
|
||
|
||
<p class="whs2"><b style="font-weight: normal;">T</b>o produce
|
||
a <span style="font-weight: bold;"><B>Multi Transformation</B></span> operation
|
||
in the Main Menu select <span style="font-weight: bold;"><B>Operations -
|
||
> Blocks - > Multi Transformation</B></span></p>
|
||
|
||
<p class="whs2"> </p>
|
||
|
||
<p class="whs2">This operation makes several translations of
|
||
a block (solid) in <span style="font-weight: bold;"><B>one</B></span> or <span
|
||
style="font-weight: bold;"><B>two</B></span> directions depending on the arguments
|
||
specified by the user.</p>
|
||
|
||
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||
Result<span style="font-weight: normal;"> in both cases will be a</span></b>
|
||
GEOM_Object.</p>
|
||
|
||
<p> </p>
|
||
|
||
<p class="whs2"><b style="font-weight: bold;">Simple Multi
|
||
Transformation (in one direction).</b></p>
|
||
|
||
<p class="whs3"><b style="font-weight: bold;">TUI
|
||
Command:</b><i> </i><span style="font-style: italic; font-weight: normal;"><I>geompy.
|
||
MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes), </I></span><span
|
||
style="font-weight: normal;">where</span><span style="font-style: italic; font-weight: normal;"><I>
|
||
Block </I></span><span style="font-weight: normal;">is a block to be transformed,</span><span
|
||
style="font-style: italic; font-weight: normal;"><I> DirFaceID1 </I></span><span
|
||
style="font-weight: normal;">is an ID of the face which defines the first
|
||
direction of transformation,</span><span style="font-style: italic; font-weight: normal;"><I>
|
||
DirFaceID2 </I></span><span style="font-weight: normal;">is an ID of the face
|
||
which defines the second direction of transformation,</span><span style="font-style: italic; font-weight: normal;"><I>
|
||
NbTimes </I></span><span style="font-weight: normal;">is a number of transformations.</span></p>
|
||
|
||
<p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
|
||
+ 1 hexahedral solid + 1 or 2 faces + 1 integer (number of blocks).</p>
|
||
|
||
<p class="whs2"> </p>
|
||
|
||
<p class="whs4"><img src="pics/mtransf1.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs5"> <img src="pics/multi_transformationsn1d.png" x-maintain-ratio="TRUE" width="301px" height="306px" border="0" class="img_whs6"></p>
|
||
|
||
<p class="whs2"> </p>
|
||
|
||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Double
|
||
Multi Transformation (in two directions).</b></font></span></p>
|
||
|
||
<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
|
||
Command:</b><i> </i></B></span><span style="font-size: 12pt; font-style: italic;"><font size=3 style="font-size:12pt;"><I>geompy.
|
||
MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU, DirFaceID1V,
|
||
DirFaceID2V, NbTimesV)</I></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Block
|
||
is a block to be transformed, DirFaceID1U and DirFaceID2U are IDs of the
|
||
faces, which define directions of the first transformation, DirFaceID1V
|
||
and DirFaceID2V are ID<49>s of the faces which define directions of the second
|
||
transformation, NbTimesU and NbTimesV are numbers of transformations.</font></span></p>
|
||
|
||
<p class="whs2"><b style="font-weight: bold;">Arguments: </b><span
|
||
style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name
|
||
+ 1 hexahedral solid + 2, 3 or 4 faces + 2 integers (number of blocks).</font></span></p>
|
||
|
||
<p class="whs2"> </p>
|
||
|
||
<p class="whs4"><img src="pics/mtransf2.png" x-maintain-ratio="TRUE" width="312px" height="494px" border="0" class="img_whs7"> <img src="pics/multi_transformationsn2d.png" x-maintain-ratio="TRUE" width="277px" height="304px" border="0" class="img_whs8"></p>
|
||
|
||
<p class="whs2"> </p>
|
||
|
||
<p class="whs9"> <span
|
||
style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Our</font></span><span
|
||
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> TUI Scripts</font></span><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">
|
||
provide you with useful examples of the use of</font></span><span style="font-size: 12pt;">
|
||
<font size=3 style="font-size:12pt;"><a href="blocks_operations.htm#bookmark4">Blocks Operations</a>. </font></span></p>
|
||
|
||
<p class="whs9"> </p>
|
||
|
||
<p> </p>
|
||
|
||
<p class="whs10"> </p>
|
||
|
||
<script type="text/javascript" language="javascript1.2">
|
||
<!--
|
||
if (window.writeIntopicBar)
|
||
writeIntopicBar(0);
|
||
//-->
|
||
</script>
|
||
</body>
|
||
</html>
|