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