1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
6 <title>Multi Translation</title>
\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">
\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
\r
9 <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
\r
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
15 <style type="text/css">
\r
17 img_whs1 { width:20px; height:20px; border-style:none; }
\r
18 p.whs2 { font-size:12pt; }
\r
19 img_whs3 { border:none; width:312px; height:398px; float:none; border-style:none; }
\r
20 img_whs4 { border:none; height:203px; float:none; width:282px; border-style:none; }
\r
21 img_whs5 { border:none; width:291px; height:202px; float:none; border-style:none; }
\r
22 img_whs6 { border:none; width:312px; height:509px; float:none; border-style:none; }
\r
23 img_whs7 { border:none; float:none; width:292px; height:209px; border-style:none; }
\r
24 img_whs8 { border:none; width:288px; height:209px; float:none; border-style:none; }
\r
25 p.whs9 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
\r
27 </style><script type="text/javascript" language="JavaScript">
\r
29 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\r
31 var strNSS = "<style type='text/css'>";
\r
32 strNSS += "p.whs9 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
\r
33 strNSS +="</style>";
\r
34 document.write(strNSS);
\r
38 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
41 if (innerWidth != origWidth || innerHeight != origHeight)
\r
44 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
45 origWidth = innerWidth;
\r
46 origHeight = innerHeight;
\r
52 <style type="text/css">
\r
54 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
56 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
\r
57 <script type="text/javascript" language="javascript" src="whver.js"></script>
\r
58 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
\r
59 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
\r
60 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
\r
62 <body><script type="text/javascript" language="javascript1.2">
\r
64 if (window.gbWhTopic)
\r
66 if (window.addTocInfo)
\r
68 addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nMulti Translation");
\r
69 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
72 if (window.writeBtnStyle)
\r
75 if (window.writeIntopicBar)
\r
78 if (window.setRelStartPage)
\r
80 setRelStartPage("geom.htm");
\r
89 document.location.reload();
\r
92 <h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Multi Translation</h1>
\r
94 <p class="whs2"><b style="font-weight: normal;">T</b>o produce
\r
95 a <span style="font-weight: bold;"><B>Multi Translation</B></span> in the Main
\r
96 Menu select <span style="font-weight: bold;"><B>Operations - > Transformation
\r
97 - > Multi Translation</B></span> </p>
\r
99 <p class="whs2"> </p>
\r
101 <p class="whs2"><b style="font-weight: normal;">This operation</b>
\r
102 makes several translations of a shape in <span style="font-weight: bold;"><B>one</B></span>
\r
103 or <span style="font-weight: bold;"><B>two</B></span> directions.</p>
\r
105 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
\r
106 Result <span style="font-weight: normal;">will be one or several</span></b>
\r
107 GEOM_Objects (compound).</p>
\r
109 <p class="whs2"> </p>
\r
111 <p class="whs2">To produce a <span style="font-weight: bold;"><B>Simple
\r
112 Multi Translation</B></span> (in one direction) you need to indicate a <span
\r
113 style="font-weight: bold;"><B>Shape</B></span> to be translated, a <span style="font-weight: bold;"><B>Vector</B></span>
\r
114 of translation, a <span style="font-weight: bold;"><B>Step</B></span> of translation
\r
115 and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape
\r
118 <p class="whs2"><b style="font-weight: bold;">TUI Command:
\r
119 </b><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape,
\r
120 Dir, Step, NbTimes)</I></span></p>
\r
122 <p class="whs2"><b style="font-weight: bold;">A<span style="font-weight: bold;"><B>rguments:
\r
123 </B></span></b>Name + 1 shape + 1 vector (for direction) + 1 step value +
\r
124 1 value (repetition).</p>
\r
126 <p class="whs2"> <img src="pics/mtrans1.png" x-maintain-ratio="TRUE" width="312px" height="398px" border="0" class="img_whs3"> <img src="pics/multi_translation_initialsn.png" x-maintain-ratio="TRUE" height="203px" width="282px" border="0" class="img_whs4"> <img src="pics/multi_translation1dsn.png" x-maintain-ratio="TRUE" width="291px" height="202px" border="0" class="img_whs5"></p>
\r
128 <p class="whs2"> </p>
\r
130 <p class="whs2">To produce a <span style="font-weight: bold;"><B>Double
\r
131 Multi Translation</B></span> (in two directions) you need to indicate a <span
\r
132 style="font-weight: bold;"><B>Shape</B></span> to be translated and a <span style="font-weight: bold;"><B>Vector</B></span>
\r
133 of translation, a <span style="font-weight: bold;"><B>Step</B></span> of translation
\r
134 and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape
\r
135 must be moved along each axis.</p>
\r
137 <p class="whs2"><b style="font-weight: bold;">TUI Command:
\r
138 <span style="font-style: italic; font-weight: normal;"><I>g</I></span></b><span
\r
139 style="font-style: italic;"><I>eompy.MakeMultiTranslation2D(Shape, Dir1,
\r
140 Step1, NbTimes1, Dir2, Step2, NbTimes2)</I></span>, where Shape is a shape
\r
141 to be translated, Dir1 is the first direction of translation, Step1 of
\r
142 the first translation, NbTimes1 is a number of translations to be done
\r
143 along, Dir2 is the second direction of translation, Step2 of the second
\r
144 translation, NbTimes2 is a number of translations to be done along Dir2.</p>
\r
146 <p class="whs2"><b style="font-weight: bold;">A<span style="font-weight: bold;"><B>rguments:
\r
147 </B></span></b>Name + 1 shape + 2 vectors defining the direction + 2 step
\r
148 values + 2 values (repetitions).</p>
\r
150 <p class="whs2"><img src="pics/mtrans2.png" x-maintain-ratio="TRUE" width="312px" height="509px" border="0" class="img_whs6"> <img src="pics/multi_translation_initialsn.png" x-maintain-ratio="TRUE" width="292px" height="209px" border="0" class="img_whs7"> <img src="pics/multi_translation2dsn.png" x-maintain-ratio="TRUE" width="288px" height="209px" border="0" class="img_whs8"></p>
\r
152 <p class="whs9"> </p>
\r
154 <p class="whs9"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
\r
155 style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
\r
156 provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark8">Transformation
\r
157 Operations</a>. </font></span></p>
\r
161 <script type="text/javascript" language="javascript1.2">
\r
163 if (window.writeIntopicBar)
\r
164 writeIntopicBar(0);
\r