Salome HOME
Merge from OCC_development_generic_2006
[modules/geom.git] / doc / salome / gui / GEOM / local_coordinate_system.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>Local Coordinate System</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:16px; height:16px; border-style:none; }\r
18 p.whs2 { font-size:12pt; }\r
19 p.whs3 { font-weight:bold; font-size:14pt; }\r
20 img_whs4 { border:none; width:312px; height:391px; float:none; border-style:none; }\r
21 p.whs5 { font-size:12pt; font-weight:normal; }\r
22 img_whs6 { border:none; width:312px; height:289px; float:none; border-style:none; }\r
23 p.whs7 { font-size:12pt; font-weight:bold; }\r
24 img_whs8 { border:none; width:312px; height:359px; float:none; border-style:none; }\r
25 p.whs9 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }\r
26 p.whs10 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }\r
27 p.whs11 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }\r
28 img_whs12 { border:none; width:200px; height:219px; border-style:none; }\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.whs9 {text-indent:1pt; }";\r
36   strNSS += "p.whs10 {text-indent:1pt; }";\r
37   strNSS += "p.whs11 {text-indent:1pt; }";\r
38   strNSS +="</style>";\r
39   document.write(strNSS);\r
40 }\r
41 //-->\r
42 </script>\r
43 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
44 <!--\r
45 function reDo() {\r
46   if (innerWidth != origWidth || innerHeight != origHeight)\r
47      location.reload();\r
48 }\r
49 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
50         origWidth = innerWidth;\r
51         origHeight = innerHeight;\r
52         onresize = reDo;\r
53 }\r
54 onerror = null; \r
55 //-->\r
56 </script>\r
57 <style type="text/css">\r
58 <!--\r
59 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
60 -->\r
61 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
62 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
63 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
64 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
65 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
66 </head>\r
67 <body><script type="text/javascript" language="javascript1.2">\r
68 <!--\r
69 if (window.gbWhTopic)\r
70 {\r
71         if (window.addTocInfo)\r
72         {\r
73         addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nLocal Coordinate System");\r
74 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
75 \r
76         }\r
77         if (window.writeBtnStyle)\r
78                 writeBtnStyle();\r
79 \r
80         if (window.writeIntopicBar)\r
81                 writeIntopicBar(1);\r
82 \r
83         if (window.setRelStartPage)\r
84         {\r
85         setRelStartPage("geom.htm");\r
86 \r
87                 autoSync(1);\r
88                 sendSyncInfo();\r
89                 sendAveInfoOut();\r
90         }\r
91 }\r
92 else\r
93         if (window.gbIE4)\r
94                 document.location.reload();\r
95 //-->\r
96 </script>\r
97 <h1><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="image35.gif" width="16px" height="16px" border="0" class="img_whs1"></font></span>Local Coordinate \r
98  System</h1>\r
99 \r
100 <p>To create a <span style="font-weight: bold;"><B>Local Coordinate System</B></span> \r
101  in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
102  style="font-weight: bold;"><B>New Entity - &gt; Basic - &gt; Local Coordinate \r
103  System</B></span></p>\r
104 \r
105 <p class="whs2">There are three algorithms to choose from.</p>\r
106 \r
107 <p class="whs2">&nbsp;</p>\r
108 \r
109 <p class="whs2">Firstly, you can by yourselves the values of \r
110  X, Y, and Z coordinates of origin and the directions of X and Y axes<span>.</span></p>\r
111 \r
112 <p class="whs2"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
113  <span style="font-style: italic;"><I>geompy.MakeMarker(OX, OY, OZ, XDX, XDY, \r
114  XDZ, YDX, YDY, YDZ)</I></span>, where OX, OY, OZ are coordinates of the origin \r
115  of LCS, XDX, XDY, XDZ is a vector of OX &nbsp;direction \r
116  of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>\r
117 \r
118 <p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
119  Name + Coordinates of origin, X axis direction, Y axis direction.</p>\r
120 \r
121 <p class="whs2">&nbsp;</p>\r
122 \r
123 <p class="whs3"><img src="pics/neo-localcs1.png" x-maintain-ratio="TRUE" width="312px" height="391px" border="0" class="img_whs4"></p>\r
124 \r
125 <p class="whs3">&nbsp;</p>\r
126 \r
127 <p class="whs5">Secondly, you can simply \r
128  select a point in the object browser or 3D viewer, in this case the coordinates \r
129  of origin are automatically filled in with the coordinates of the selected \r
130  point and X and Y axes direction will be parallel to the X and Y direction \r
131  of the Global CS. &nbsp;</p>\r
132 \r
133 <p class="whs5"><b style="font-weight: bold;">Arguments: \r
134  </b>Name + reference object.</p>\r
135 \r
136 <p class="whs5">&nbsp;</p>\r
137 \r
138 <p class="whs3"><img src="pics/neo-localcs2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs6"></p>\r
139 \r
140 <p class="whs2">&nbsp;</p>\r
141 \r
142 <p class="whs2">The last algorithm also presumes that you select \r
143  a point in the object browser or 3D viewer, but in this case you define \r
144  X and Y axes direction yourselves. </p>\r
145 \r
146 <p class="whs7"><b>Arguments:</b> <span \r
147  style="font-weight: normal;">Name + 1 point of origin + X axis direction, \r
148  Y axis direction.</span></p>\r
149 \r
150 <p class="whs2">&nbsp;</p>\r
151 \r
152 <p class="whs3"><img src="pics/neo-localcs3.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs8"></p>\r
153 \r
154 <p class="whs2">&nbsp;</p>\r
155 \r
156 <p class="whs2">Press «OK» or «Apply» button to create an LCS \r
157  at the location with the specified coordinates. The new object is shown \r
158  in the Object Browser and in 3D viewer.</p>\r
159 \r
160 <p class="whs9">&nbsp;</p>\r
161 \r
162 <p class="whs10">Example:</p>\r
163 \r
164 <p class="whs11"><img src="image145.jpg" width="200px" height="219px" border="0" class="img_whs12"></p>\r
165 \r
166 <p class="whs11">&nbsp;</p>\r
167 \r
168 <p>&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