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