Salome HOME
Merge from OCC_development_generic_2006
[modules/geom.git] / doc / salome / gui / GEOM / mirror_image.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>Mirror Image</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 p.whs1 { font-size:12pt; }\r
18 img_whs2 { border:none; width:312px; height:350px; float:none; border-style:none; }\r
19 img_whs3 { border:none; width:174px; height:233px; float:none; border-style:none; }\r
20 img_whs4 { border:none; float:none; width:174px; height:233px; border-style:none; }\r
21 p.whs5 { font-size:12pt; margin-left:40px; }\r
22 img_whs6 { border:none; width:227px; height:176px; float:none; border-style:none; }\r
23 img_whs7 { border:none; float:none; width:199px; height:177px; border-style:none; }\r
24 img_whs8 { border:none; width:312px; height:350px; float:none; border-style:none; }\r
25 img_whs9 { border:none; float:none; width:250px; height:350px; border-style:none; }\r
26 img_whs10 { border:none; float:none; width:248px; height:349px; border-style:none; }\r
27 p.whs11 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }\r
28 -->\r
29 </style><script type="text/javascript" language="JavaScript">\r
30 <!--\r
31 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
32 {\r
33   var strNSS = "<style type='text/css'>";\r
34   strNSS += "p.whs11 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";\r
35   strNSS +="</style>";\r
36   document.write(strNSS);\r
37 }\r
38 //-->\r
39 </script>\r
40 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
41 <!--\r
42 function reDo() {\r
43   if (innerWidth != origWidth || innerHeight != origHeight)\r
44      location.reload();\r
45 }\r
46 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
47         origWidth = innerWidth;\r
48         origHeight = innerHeight;\r
49         onresize = reDo;\r
50 }\r
51 onerror = null; \r
52 //-->\r
53 </script>\r
54 <style type="text/css">\r
55 <!--\r
56 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
57 -->\r
58 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
59 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
60 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
61 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
62 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
63 </head>\r
64 <body><script type="text/javascript" language="javascript1.2">\r
65 <!--\r
66 if (window.gbWhTopic)\r
67 {\r
68         if (window.addTocInfo)\r
69         {\r
70         addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nMirror Image");\r
71 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
72 \r
73         }\r
74         if (window.writeBtnStyle)\r
75                 writeBtnStyle();\r
76 \r
77         if (window.writeIntopicBar)\r
78                 writeIntopicBar(1);\r
79 \r
80         if (window.setRelStartPage)\r
81         {\r
82         setRelStartPage("geom.htm");\r
83 \r
84                 autoSync(1);\r
85                 sendSyncInfo();\r
86                 sendAveInfoOut();\r
87         }\r
88 }\r
89 else\r
90         if (window.gbIE4)\r
91                 document.location.reload();\r
92 //-->\r
93 </script>\r
94 <h1>Mirror Image</h1>\r
95 \r
96 <p class="whs1"><b style="font-weight: normal;">T</b>o produce \r
97  a <span style="font-weight: bold;"><B>Mirror Image</B></span> in the Main Menu \r
98  select <span style="font-weight: bold;"><B>Operations - &gt; Transformation \r
99  - &gt; Mirror Image</B></span></p>\r
100 \r
101 <p class="whs1">&nbsp;</p>\r
102 \r
103 <p class="whs1">This operation creates a symmetrical copy of \r
104  an <span style="font-weight: bold;"><B>Object, </B></span>which can be mirrored \r
105  in three different ways.<span style="font-weight: bold;"><B> Create a copy \r
106  </B></span>checkbox allows to keep the initial object, otherwise it will be \r
107  removed.</p>\r
108 \r
109 <p class="whs1"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
110  Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object.</p>\r
111 \r
112 <p class="whs1">&nbsp;</p>\r
113 \r
114 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Firstly an Object \r
115  can be mirrored through a Point of symmetry</font></span></p>\r
116 \r
117 <p class="whs1"><b style="font-weight: bold;">TUI Command: \r
118  </b><span style="font-style: italic;"><I>geompy.MakeMirrorByPoint(Object, \r
119  Point)</I></span> </p>\r
120 \r
121 <p class="whs1"><b style="font-weight: bold;">Arguments: <span \r
122  style="font-weight: normal;">Name + </span></b>1 shape + 1 vertex.</p>\r
123 \r
124 <p class="whs1">&nbsp;</p>\r
125 \r
126 <p class="whs1"><img src="pics/transformation7.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs2"> &nbsp;</p>\r
127 \r
128 <p class="whs1">&nbsp;</p>\r
129 \r
130 <p class="whs1"><img src="pics/mirror_pointsn1.png" x-maintain-ratio="TRUE" width="174px" height="233px" border="0" class="img_whs3"> &nbsp;<img src="pics/mirror_pointsn2.png" x-maintain-ratio="TRUE" width="174px" height="233px" border="0" class="img_whs4"></p>\r
131 \r
132 <p class="whs5">&nbsp;</p>\r
133 \r
134 <p class="whs1">&nbsp;</p>\r
135 \r
136 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Secondly an \r
137  Object can be mirrored through an Axis of symmetry </font></span></p>\r
138 \r
139 <p class="whs1"><b style="font-weight: bold;">TUI Command: \r
140  </b><span style="font-style: italic;"><I>geompy.MakeMirrorByAxis(Object, \r
141  Axis)</I></span> </p>\r
142 \r
143 <p class="whs1"><b style="font-weight: bold;">Arguments: <span \r
144  style="font-weight: normal;">Name + </span></b>1 shape + 1 vector.</p>\r
145 \r
146 <p class="whs1">&nbsp;</p>\r
147 \r
148 <p class="whs1"><img src="pics/transformation8.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs2"> &nbsp;</p>\r
149 \r
150 <p class="whs1">&nbsp;</p>\r
151 \r
152 <p class="whs1"><img src="pics/mirror_axissn1.png" x-maintain-ratio="TRUE" width="227px" height="176px" border="0" class="img_whs6"> &nbsp;<img src="pics/mirror_axissn2.png" x-maintain-ratio="TRUE" width="199px" height="177px" border="0" class="img_whs7"></p>\r
153 \r
154 <p class="whs1">&nbsp;</p>\r
155 \r
156 <p class="whs1">Finally an <span style="font-weight: bold;"><B>Object</B></span> \r
157  can be mirrored through a <span style="font-weight: bold;"><B>Plane</B></span> \r
158  of symmetry </p>\r
159 \r
160 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
161  </i><span style="font-style: italic;"><I>geompy.MakeMirrorByPlane(Shape, \r
162  Plane)</I></span>, </p>\r
163 \r
164 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
165  <b><span style="font-weight: normal;">Name + </span></b>1 shape + 1 plane</p>\r
166 \r
167 <p class="whs1">&nbsp;</p>\r
168 \r
169 <p class="whs1"><img src="pics/transformation9.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs8"> &nbsp;</p>\r
170 \r
171 <p class="whs1">&nbsp;</p>\r
172 \r
173 <p class="whs1"><img src="pics/mirror_planesn1.png" x-maintain-ratio="TRUE" width="250px" height="350px" border="0" class="img_whs9"> &nbsp;<img src="pics/mirror_planesn2.png" x-maintain-ratio="TRUE" width="248px" height="349px" border="0" class="img_whs10"></p>\r
174 \r
175 <p class="whs5">&nbsp;</p>\r
176 \r
177 <p class="whs11">&nbsp;&nbsp;<span \r
178  style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span \r
179  style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> \r
180  provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark5">Transformation \r
181  Operations</a>. </font></span></p>\r
182 \r
183 <p>&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