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