Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / doc / salome / gui / GEOM / sketcher.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <!--(==============================================================)-->\r
6 <!--(Document created with RoboEditor. )============================-->\r
7 <!--(==============================================================)-->\r
8 \r
9 <head>\r
10 \r
11 <title>Sketcher</title>\r
12 \r
13 <!--(Meta)==========================================================-->\r
14 \r
15 <meta http-equiv=content-type content="text/html; charset=windows-1252">\r
16 <meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">\r
17 <meta name=generator-major-version content=0.1>\r
18 <meta name=generator-minor-version content=1>\r
19 <meta name=filetype content=kadov>\r
20 <meta name=filetype-version content=1>\r
21 <meta name=page-count content=1>\r
22 <meta name=layout-height content=1268>\r
23 <meta name=layout-width content=740>\r
24 \r
25 \r
26 <!--(Links)=========================================================-->\r
27 \r
28  <link rel='stylesheet' href='default_ns.css'>\r
29 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
30 <!--\r
31 if (navigator.appName !="Netscape")\r
32 {   document.write("<link rel='stylesheet' href='default.css'>");}\r
33 //-->\r
34 </script>\r
35 <style type="text/css">\r
36 <!--\r
37 img_whs1 {border-style: none; border: none; float: none; width: 30px; height: 30px;}\r
38 p.whs2 {font-size: 12pt;}\r
39 ul.whs3 {list-style: disc;}\r
40 p.whs4 {margin-left: 40px; font-size: 12pt;}\r
41 img_whs5 {border-style: none; border: none; width: 200px; height: 277px;}\r
42 img_whs6 {border-style: none; border: none; width: 200px; height: 276px;}\r
43 p.whs7 {font-size: 12pt; margin-left: 40px; text-indent: -40px;}\r
44 p.whs8 {font-size: 12pt; margin-left: 40px; text-indent: -40px; font-weight: bold;}\r
45 p.whs9 {font-size: 12pt; text-indent: -40px; font-weight: bold; margin-left: 80px;}\r
46 img_whs10 {border-style: none; border: none; width: 200px; height: 200px;}\r
47 img_whs11 {border-style: none; border: none; width: 200px; height: 195px;}\r
48 -->\r
49 </style>\r
50 <script type="text/javascript" language="JavaScript">\r
51 <!--\r
52 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
53 {\r
54   var strNSS = "<style type='text/css'>";\r
55   strNSS += "p.whs7 {text-indent:1; }";\r
56   strNSS += "p.whs8 {text-indent:1; }";\r
57   strNSS += "p.whs9 {text-indent:1; }";\r
58   strNSS +="</style>";\r
59   document.write(strNSS);\r
60 }\r
61 //-->\r
62 </script>\r
63 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
64 <!--\r
65 function reDo() {\r
66   if (innerWidth != origWidth || innerHeight != origHeight)\r
67      location.reload();\r
68 }\r
69 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
70         origWidth = innerWidth;\r
71         origHeight = innerHeight;\r
72         onresize = reDo;\r
73 }\r
74 onerror = null; \r
75 //-->\r
76 </script>\r
77 <style type="text/css">\r
78 <!--\r
79   div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}\r
80 -->\r
81 </style>\r
82 <script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
83 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
84 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
85 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
86 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
87 </head>\r
88 \r
89 <!--(Body)==========================================================-->\r
90 \r
91 \r
92 <body>\r
93 \r
94 <script type="text/javascript" language="javascript1.2">\r
95 <!--\r
96 if (window.gbWhTopic)\r
97 {\r
98         if (window.addTocInfo)\r
99         {\r
100         addTocInfo("GEOM module\nCreating geometrical objects\nSketcher");\r
101 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
102 \r
103         }\r
104         if (window.writeBtnStyle)\r
105                 writeBtnStyle();\r
106 \r
107         if (window.writeIntopicBar)\r
108                 writeIntopicBar(1);\r
109 \r
110         if (window.setRelStartPage)\r
111         {\r
112         setRelStartPage("geom.html");\r
113 \r
114                 autoSync(0);\r
115                 sendSyncInfo();\r
116                 sendAveInfoOut();\r
117         }\r
118 }\r
119 else\r
120         document.location.reload();\r
121 //-->\r
122 </script>\r
123 <h1>Sketcher</h1>\r
124 \r
125 <p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><img src="i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs1"></b></font></span>Sketcher allows to create curves of 2 types: line \r
126  segment and arc. &nbsp;The \r
127  curve is created from the current point (center of coordinates when the \r
128  sketcher is started). &nbsp;The \r
129  end of the curve is defined by means of &quot;destination&quot;, which \r
130  can be a destination point (for segment only) or destination direction \r
131  coupled with length of a segment or angle and radius of an arc.</p>\r
132 \r
133 <p>&nbsp;</p>\r
134 \r
135 <p>Sketcher is able to create planar curves only. Therefore, it is necessary \r
136  to select a working plane before starting a sketch (by default, XOY plane \r
137  is used). Sketcher creates curves lying in the current working plane (New \r
138  Entity -&gt; Basic -&gt; Working Plane).</p>\r
139 \r
140 <p>&nbsp;</p>\r
141 \r
142 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
143  Creates curves (line segment and arc).</font></span></p>\r
144 \r
145 <p class="whs2">&nbsp;</p>\r
146 \r
147 <p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
148 \r
149 <p class="whs2">&nbsp;</p>\r
150 \r
151 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
152  </i><span style="font-style: italic;"><I>geompy.MakeSketcher(Command, LWP)</I></span>, \r
153  where Command is a string containing the coordinates of points in the \r
154  local working plane, LWP is a list of 9 doubles which are coordinates \r
155  of OZ and OX of the local working plane.</p>\r
156 \r
157 <p class="whs2">&nbsp;</p>\r
158 \r
159 <p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
160  </p>\r
161 \r
162 <p class="whs2"><span><font size=3 style="font-size:12pt;">1. Element type (segment or arc).</font></span></p>\r
163 \r
164 <p class="whs2">2. Destination type (point or direction).</p>\r
165 \r
166 <p class="whs2">3. <span>Destination point by means of:</span></p>\r
167 \r
168 <ul type="disc" class="whs3">\r
169         \r
170         <li class=kadov-p><p class="whs2">absolute coordinates \r
171  X,Y;</p></li>\r
172         \r
173         <li class=kadov-p><p class="whs2">relative coordinates \r
174  DX, DY (with respect to the current point);</p></li>\r
175         \r
176         <li class=kadov-p><p class="whs2">selection of an existing \r
177  point.</p></li>\r
178 </ul>\r
179 \r
180 <p class="whs2">4. Destination direction by means of:</p>\r
181 \r
182 <ul type="disc" class="whs3">\r
183         \r
184         <li class=kadov-p><p class="whs2">angle between the new \r
185  segment and the previous one;</p></li>\r
186         \r
187         <li class=kadov-p><p class="whs2">perpendicular to the \r
188  previous segment (same as previous, but angle is predefined and is equal \r
189  to 90 degrees);</p></li>\r
190         \r
191         <li class=kadov-p><p class="whs2">tangent to the previous \r
192  segment;</p></li>\r
193         \r
194         <li class=kadov-p><p class="whs2">vector components VX, \r
195  DY.</p></li>\r
196 </ul>\r
197 \r
198 <p class="whs2">5. Parameters of an element (for segment : \r
199  length or target X or Y coordinate value, for arc : radius and angle).</p>\r
200 \r
201 <p class="whs2">&nbsp;</p>\r
202 \r
203 <p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>\r
204 \r
205 <p class="whs2">&nbsp;</p>\r
206 \r
207 <p class="whs4"><img src="image203.jpg" width="200px" height="277px" border="0" class="img_whs5"> &nbsp;&nbsp;<img src="image205.jpg" width="200px" height="276px" border="0" class="img_whs6"></p>\r
208 \r
209 <p class="whs7">&nbsp;</p>\r
210 \r
211 <p class="whs8">Example:</p>\r
212 \r
213 <p class="whs9">&nbsp;</p>\r
214 \r
215 <p class="whs9"><img src="image204.jpg" width="200px" height="200px" border="0" class="img_whs10"> &nbsp;&nbsp;<img src="image206.jpg" width="200px" height="195px" border="0" class="img_whs11"></p>\r
216 \r
217 <script type="text/javascript" language="javascript1.2">\r
218 <!--\r
219 if (window.writeIntopicBar)\r
220         writeIntopicBar(0);\r
221 //-->\r
222 </script>\r
223 </body>\r
224 \r
225 </html>\r