]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/local_coordinate_system.htm
Salome HOME
Update GEOM documentation.
[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 table.whs3 { x-cell-content-align:top; width:63.512%; border-spacing:0px; }\r
20 col.whs4 { width:49.962%; }\r
21 col.whs5 { width:45.348%; }\r
22 col.whs6 { width:4.69%; }\r
23 tr.whs7 { x-cell-content-align:top; }\r
24 td.whs8 { width:49.962%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }\r
25 p.whs9 { font-weight:bold; font-size:14pt; }\r
26 img_whs10 { border:none; width:312px; height:391px; float:none; border-style:none; }\r
27 td.whs11 { width:45.348%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }\r
28 img_whs12 { border:none; width:312px; height:289px; float:none; border-style:none; }\r
29 td.whs13 { width:4.69%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
30 img_whs14 { border:none; width:312px; height:359px; float:none; border-style:none; }\r
31 p.whs15 { margin-left:40px; font-weight:bold; text-indent:-40px; font-size:14pt; }\r
32 p.whs16 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }\r
33 p.whs17 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }\r
34 p.whs18 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }\r
35 img_whs19 { border:none; width:200px; height:219px; border-style:none; }\r
36 -->\r
37 </style><script type="text/javascript" language="JavaScript">\r
38 <!--\r
39 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
40 {\r
41   var strNSS = "<style type='text/css'>";\r
42   strNSS += "p.whs15 {text-indent:1pt; }";\r
43   strNSS += "p.whs16 {text-indent:1pt; }";\r
44   strNSS += "p.whs17 {text-indent:1pt; }";\r
45   strNSS += "p.whs18 {text-indent:1pt; }";\r
46   strNSS +="</style>";\r
47   document.write(strNSS);\r
48 }\r
49 //-->\r
50 </script>\r
51 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
52 <!--\r
53 function reDo() {\r
54   if (innerWidth != origWidth || innerHeight != origHeight)\r
55      location.reload();\r
56 }\r
57 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
58         origWidth = innerWidth;\r
59         origHeight = innerHeight;\r
60         onresize = reDo;\r
61 }\r
62 onerror = null; \r
63 //-->\r
64 </script>\r
65 <style type="text/css">\r
66 <!--\r
67 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
68 -->\r
69 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
70 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
71 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
72 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
73 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
74 </head>\r
75 <body><script type="text/javascript" language="javascript1.2">\r
76 <!--\r
77 if (window.gbWhTopic)\r
78 {\r
79         if (window.addTocInfo)\r
80         {\r
81         addTocInfo("GEOM module\nCreating geometrical objects\nCreation of Basic Geometric Objects\nLocal Coordinate System");\r
82 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
83 \r
84         }\r
85         if (window.writeBtnStyle)\r
86                 writeBtnStyle();\r
87 \r
88         if (window.writeIntopicBar)\r
89                 writeIntopicBar(1);\r
90 \r
91         if (window.setRelStartPage)\r
92         {\r
93         setRelStartPage("geom.htm");\r
94 \r
95                 autoSync(1);\r
96                 sendSyncInfo();\r
97                 sendAveInfoOut();\r
98         }\r
99 }\r
100 else\r
101         if (window.gbIE4)\r
102                 document.location.reload();\r
103 //-->\r
104 </script>\r
105 <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
106  System</h1>\r
107 \r
108 <p>To create a <span style="font-weight: bold;"><B>Local Coordinate System</B></span> \r
109  in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span \r
110  style="font-weight: bold;"><B>New Entity - &gt; Basic - &gt; Local Coordinate \r
111  System</B></span></p>\r
112 \r
113 <p class="whs2">&nbsp;</p>\r
114 \r
115 <p class="whs2">You can enter the values of X, Y, and Z coordinates \r
116  of origin in the corresponding fields of the dialog box, or select a point \r
117  in the object browser or 3D viewer, in this case the coordinates of origin \r
118  are automatically filled in with the coordinates of the selected point. \r
119  </p>\r
120 \r
121 <p class="whs2">The user then specifies components of X and \r
122  Y axes direction.</p>\r
123 \r
124 <p class="whs2">Preview of the new LCS (small trihedron located \r
125  and oriented according to parameters of LCS) is displayed in the 3D viewer \r
126  and updated as soon as the user modifies some parameter. </p>\r
127 \r
128 <p class="whs2">Then the user presses «OK» or «Apply» button \r
129  to create an LCS at the location with the specified coordinates. The new \r
130  object is shown in the Object Browser and in 3D viewer.</p>\r
131 \r
132 <p class="whs2">&nbsp;</p>\r
133 \r
134 <p class="whs2"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
135  <span style="font-style: italic;"><I>geompy.MakeMarker(OX, OY, OZ, XDX, XDY, \r
136  XDZ, YDX, YDY, YDZ)</I></span>, where OX, OY, OZ are coordinates of the origin \r
137  of LCS, XDX, XDY, XDZ is a vector of OX &nbsp;direction \r
138  of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>\r
139 \r
140 <p class="whs2">&nbsp;</p>\r
141 \r
142 <p class="whs2">&nbsp;</p>\r
143 \r
144 <p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
145  </p>\r
146 \r
147 <ul>\r
148         \r
149         <li class=kadov-p><p class="whs2"><b style="font-weight: bold;">1st \r
150  Constructor :</b> Name + Coordinates of origin, X axis direction, Y axis \r
151  direction</p></li>\r
152         \r
153         <li class=kadov-p><p class="whs2"><b style="font-weight: bold;">2nd \r
154  Constructor :</b> Name + reference object.</p></li>\r
155         \r
156         <li class=kadov-p><p class="whs2"><b style="font-weight: bold;">3rd \r
157  Constructor :</b> Name + 1 point of origin + X axis direction, Y axis \r
158  direction.</p></li>\r
159 </ul>\r
160 \r
161 <p class="whs2">&nbsp;</p>\r
162 \r
163 <p class="whs2">.</p>\r
164 \r
165 <p class="whs2">&nbsp;</p>\r
166 \r
167 <p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>\r
168 \r
169 <p class="whs2">&nbsp;</p>\r
170 \r
171 <table x-use-null-cells cellspacing="0" width="63.512%" class="whs3">\r
172 <col class="whs4">\r
173 <col class="whs5">\r
174 <col class="whs6">\r
175 \r
176 <tr valign="top" class="whs7">\r
177 <td width="49.962%" class="whs8">\r
178 <p class="whs9"><img src="pics/neo-localcs1.png" x-maintain-ratio="TRUE" width="312px" height="391px" border="0" class="img_whs10"></td>\r
179 <td width="45.348%" class="whs11">\r
180 <p class="whs9"><img src="pics/neo-localcs2.png" x-maintain-ratio="TRUE" width="312px" height="289px" border="0" class="img_whs12"></td>\r
181 <td width="4.69%" class="whs13">\r
182 <p class="whs9"><img src="pics/neo-localcs3.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs14"></td></tr>\r
183 </table>\r
184 \r
185 <p class="whs15">&nbsp;</p>\r
186 \r
187 <p class="whs16"><span style="font-weight: bold;\r
188                                                                                                 margin-left: 80px;\r
189                                                                                                 text-indent: -80px;\r
190                                                                                                 font-size: 12pt;"><font size=3 style="font-size:12pt;"><B>Example:</B></font></span></p>\r
191 \r
192 <p class="whs17">&nbsp;</p>\r
193 \r
194 <p class="whs18"><img src="image145.jpg" width="200px" height="219px" border="0" class="img_whs19"></p>\r
195 \r
196 <p class="whs18">&nbsp;</p>\r
197 \r
198 <p>&nbsp;</p>\r
199 \r
200 <script type="text/javascript" language="javascript1.2">\r
201 <!--\r
202 if (window.writeIntopicBar)\r
203         writeIntopicBar(0);\r
204 //-->\r
205 </script>\r
206 </body>\r
207 </html>\r