Salome HOME
Update GEOM documentation.
[modules/geom.git] / doc / salome / gui / GEOM / multi_transformation.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Multi Transformation</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
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\r
17 img_whs1 { border:none; width:24px; height:22px; border-style:none; }\r
18 p.whs2 { font-size:12pt; }\r
19 p.whs3 { font-size:12pt; font-weight:bold; }\r
20 img_whs4 { border:none; width:312px; height:381px; float:none; border-style:none; }\r
21 img_whs5 { border:none; width:301px; height:306px; float:none; border-style:none; }\r
22 ol.whs6 { list-style:disc; }\r
23 ul.whs7 { list-style:circle; }\r
24 p.whs8 { font-size:12pt; font-weight:normal; }\r
25 img_whs9 { border:none; width:312px; height:494px; float:none; border-style:none; }\r
26 img_whs10 { border:none; width:277px; height:304px; float:none; border-style:none; }\r
27 p.whs11 { font-weight:bold; }\r
28 p.whs12 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }\r
29 -->\r
30 </style><script type="text/javascript" language="JavaScript">\r
31 <!--\r
32 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
33 {\r
34   var strNSS = "<style type='text/css'>";\r
35   strNSS += "p.whs12 {text-indent:1pt; }";\r
36   strNSS +="</style>";\r
37   document.write(strNSS);\r
38 }\r
39 //-->\r
40 </script>\r
41 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
42 <!--\r
43 function reDo() {\r
44   if (innerWidth != origWidth || innerHeight != origHeight)\r
45      location.reload();\r
46 }\r
47 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
48         origWidth = innerWidth;\r
49         origHeight = innerHeight;\r
50         onresize = reDo;\r
51 }\r
52 onerror = null; \r
53 //-->\r
54 </script>\r
55 <style type="text/css">\r
56 <!--\r
57 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
58 -->\r
59 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
60 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
61 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
62 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
63 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
64 </head>\r
65 <body><script type="text/javascript" language="javascript1.2">\r
66 <!--\r
67 if (window.gbWhTopic)\r
68 {\r
69         if (window.addTocInfo)\r
70         {\r
71         addTocInfo("GEOM module\nTransforming geometrical objects\nBlocks Operations\nMulti Transformation");\r
72 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
73 \r
74         }\r
75         if (window.writeBtnStyle)\r
76                 writeBtnStyle();\r
77 \r
78         if (window.writeIntopicBar)\r
79                 writeIntopicBar(1);\r
80 \r
81         if (window.setRelStartPage)\r
82         {\r
83         setRelStartPage("geom.htm");\r
84 \r
85                 autoSync(1);\r
86                 sendSyncInfo();\r
87                 sendAveInfoOut();\r
88         }\r
89 }\r
90 else\r
91         if (window.gbIE4)\r
92                 document.location.reload();\r
93 //-->\r
94 </script>\r
95 <h1><img src="image52.gif" width="24px" height="22px" border="0" class="img_whs1"> Block Multi Transformation</h1>\r
96 \r
97 <p class="whs2"><b style="font-weight: normal;">T</b>o produce \r
98  a <span style="font-weight: bold;"><B>Multi Translation</B></span> operation \r
99  in the Main Menu select <span style="font-weight: bold;"><B>Operations - \r
100  &gt; Blocks - &gt; Multi Translation</B></span></p>\r
101 \r
102 <p class="whs2">&nbsp;</p>\r
103 \r
104 <p class="whs2">This operation makes several translations of \r
105  a block (solid) in <span style="font-weight: bold;"><B>one</B></span> or <span \r
106  style="font-weight: bold;"><B>two</B></span> directions depending on the arguments \r
107  specified by the user.</p>\r
108 \r
109 <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
110  Result<span style="font-weight: normal;"> in both cases will be a</span></b> \r
111  GEOM_Object.</p>\r
112 \r
113 <p>&nbsp;</p>\r
114 \r
115 <p class="whs2"><b style="font-weight: bold;">Simple Multi \r
116  Transformation (in one direction).</b></p>\r
117 \r
118 <p class="whs3"><b style="font-weight: bold;">TUI \r
119  Command:</b><i> </i><span style="font-style: italic; font-weight: normal;"><I>geompy. \r
120  MakeMultiTransformation1D(Block, DirFaceID1, DirFaceID2, NbTimes), </I></span><span \r
121  style="font-weight: normal;">where</span><span style="font-style: italic; font-weight: normal;"><I> \r
122  Block </I></span><span style="font-weight: normal;">is a block to be transformed,</span><span \r
123  style="font-style: italic; font-weight: normal;"><I> DirFaceID1 </I></span><span \r
124  style="font-weight: normal;">is an ID of the face which defines the first \r
125  direction of transformation,</span><span style="font-style: italic; font-weight: normal;"><I> \r
126  DirFaceID2 </I></span><span style="font-weight: normal;">is an ID of the face \r
127  which defines the second direction of transformation,</span><span style="font-style: italic; font-weight: normal;"><I> \r
128  NbTimes </I></span><span style="font-weight: normal;">is a number of transformations.</span></p>\r
129 \r
130 <p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name \r
131  + 1 hexahedral solid + 1 or 2 faces + 1 integer (number of blocks).</p>\r
132 \r
133 <p class="whs2">&nbsp;</p>\r
134 \r
135 <p class="whs2"><img src="pics/mtransf1.png" x-maintain-ratio="TRUE" width="312px" height="381px" border="0" class="img_whs4"> &nbsp;&nbsp;<img src="pics/multi_transformationsn1d.png" x-maintain-ratio="TRUE" width="301px" height="306px" border="0" class="img_whs5"></p>\r
136 \r
137 <p class="whs2">&nbsp;</p>\r
138 \r
139 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Double \r
140  Multi Transformation (in two directions).</b></font></span></p>\r
141 \r
142 <p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI \r
143  Command:</b><i> </i></B></span><span style="font-size: 12pt; font-style: italic;"><font size=3 style="font-size:12pt;"><I>geompy. \r
144  MakeMultiTransformation2D(Block, DirFaceID1U, DirFaceID2U, NbTimesU, DirFaceID1V, \r
145  DirFaceID2V, NbTimesV)</I></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">, where Block \r
146  is a block to be transformed, DirFaceID1U and DirFace1V are ID\92s of the \r
147  faces, which define directions of the first transformation, DirFaceID1V \r
148  and DirFaceID2V are ID\92s of the faces which define directions of the second \r
149  transformation, NbTimesU and NbTimesV are numbers of transformations.</font></span></p>\r
150 \r
151 <p class="whs2"><b style="font-weight: bold;">Arguments: &nbsp;</b><span \r
152  style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name \r
153  + 1 hexahedral solid + </font></span></p>\r
154 \r
155 <ol type="disc" class="whs6">\r
156         \r
157         <ul type="circle" class="whs7">\r
158                 \r
159                 <li class=kadov-p><p class="whs8">2 \r
160  faces and 1 integer, or</p></li>\r
161                 \r
162                 <li class=kadov-p><p class="whs8">3 \r
163  or 4 faces and 2 integers </p></li>\r
164         </ul>\r
165 </ol>\r
166 \r
167 <p class="whs2">&nbsp;</p>\r
168 \r
169 <p class="whs2"><img src="pics/mtransf2.png" x-maintain-ratio="TRUE" width="312px" height="494px" border="0" class="img_whs9"> &nbsp;<img src="pics/multi_transformationsn2d.png" x-maintain-ratio="TRUE" width="277px" height="304px" border="0" class="img_whs10"></p>\r
170 \r
171 <p class="whs2">&nbsp;</p>\r
172 \r
173 <p class="whs11">&nbsp;&nbsp;&nbsp;<span \r
174  style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Our</font></span><span \r
175  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;"> \r
176  provide you with useful examples of the use of</font></span><span style="font-size: 12pt;"> \r
177  <font size=3 style="font-size:12pt;"><a href="blocks_operations.htm#bookmark4">Blocks Operations</a>. </font></span></p>\r
178 \r
179 <p class="whs11">&nbsp;&nbsp;</p>\r
180 \r
181 <p>&nbsp;</p>\r
182 \r
183 <p class="whs12">&nbsp;</p>\r
184 \r
185 <script type="text/javascript" language="javascript1.2">\r
186 <!--\r
187 if (window.writeIntopicBar)\r
188         writeIntopicBar(0);\r
189 //-->\r
190 </script>\r
191 </body>\r
192 </html>\r