Salome HOME
SMH: Merged GEOM (NEWGUI, HEAD, POLYWORK)
[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 <head>\r
6 <title>Sketcher</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-style:none; border:none; float:none; width:30px; height:30px; }\r
18 p.whs2 { font-size:12pt; }\r
19 ul.whs3 { list-style:disc; }\r
20 p.whs4 { margin-left:40px; font-size:12pt; }\r
21 img_whs5 { border:none; width:200px; height:277px; border-style:none; }\r
22 img_whs6 { border:none; width:200px; height:276px; border-style:none; }\r
23 p.whs7 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
24 p.whs8 { font-size:12pt; margin-left:40px; text-indent:-40px; font-weight:bold; }\r
25 p.whs9 { font-size:12pt; text-indent:-40px; font-weight:bold; margin-left:80px; }\r
26 img_whs10 { border:none; width:200px; height:200px; border-style:none; }\r
27 img_whs11 { border:none; width:200px; height:195px; border-style:none; }\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.whs7 {text-indent:1pt; }";\r
35   strNSS += "p.whs8 {text-indent:1pt; }";\r
36   strNSS += "p.whs9 {text-indent:1pt; }";\r
37   strNSS +="</style>";\r
38   document.write(strNSS);\r
39 }\r
40 //-->\r
41 </script>\r
42 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
43 <!--\r
44 function reDo() {\r
45   if (innerWidth != origWidth || innerHeight != origHeight)\r
46      location.reload();\r
47 }\r
48 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
49         origWidth = innerWidth;\r
50         origHeight = innerHeight;\r
51         onresize = reDo;\r
52 }\r
53 onerror = null; \r
54 //-->\r
55 </script>\r
56 <style type="text/css">\r
57 <!--\r
58 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
59 -->\r
60 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
61 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
62 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
63 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
64 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
65 </head>\r
66 <body><script type="text/javascript" language="javascript1.2">\r
67 <!--\r
68 if (window.gbWhTopic)\r
69 {\r
70         if (window.addTocInfo)\r
71         {\r
72         addTocInfo("GEOM module\nCreating geometrical objects\nSketcher");\r
73 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
74 \r
75         }\r
76         if (window.writeBtnStyle)\r
77                 writeBtnStyle();\r
78 \r
79         if (window.writeIntopicBar)\r
80                 writeIntopicBar(1);\r
81 \r
82         if (window.setRelStartPage)\r
83         {\r
84         setRelStartPage("geom.htm");\r
85 \r
86                 autoSync(1);\r
87                 sendSyncInfo();\r
88                 sendAveInfoOut();\r
89         }\r
90 }\r
91 else\r
92         if (window.gbIE4)\r
93                 document.location.reload();\r
94 //-->\r
95 </script>\r
96 <h1>Sketcher</h1>\r
97 \r
98 <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
99  segment and arc. &nbsp;The \r
100  curve is created from the current point (center of coordinates when the \r
101  sketcher is started). &nbsp;The \r
102  end of the curve is defined by means of &quot;destination&quot;, which \r
103  can be a destination point (for segment only) or destination direction \r
104  coupled with length of a segment or angle and radius of an arc.</p>\r
105 \r
106 <p>&nbsp;</p>\r
107 \r
108 <p>Sketcher is able to create planar curves only. Therefore, it is necessary \r
109  to select a working plane before starting a sketch (by default, XOY plane \r
110  is used). Sketcher creates curves lying in the current working plane (New \r
111  Entity -&gt; Basic -&gt; Working Plane).</p>\r
112 \r
113 <p>&nbsp;</p>\r
114 \r
115 <p>This functionality is available from the main menu via <span style="font-style: italic;"><I>New \r
116  Entity / Sketch.</I></span></p>\r
117 \r
118 <p>&nbsp;</p>\r
119 \r
120 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
121  Creates curves (line segment and arc).</font></span></p>\r
122 \r
123 <p class="whs2">&nbsp;</p>\r
124 \r
125 <p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
126 \r
127 <p class="whs2">&nbsp;</p>\r
128 \r
129 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> \r
130  </i><span style="font-style: italic;"><I>geompy.MakeSketcher(Command, LWP)</I></span>, \r
131  where Command is a string containing the coordinates of points in the \r
132  local working plane, LWP is a list of 9 doubles which are coordinates \r
133  of OZ and OX of the local working plane.</p>\r
134 \r
135 <p class="whs2">&nbsp;</p>\r
136 \r
137 <p class="whs2"><b style="font-weight: bold;">Arguments:</b> \r
138  </p>\r
139 \r
140 <p class="whs2"><span><font size=3 style="font-size:12pt;">1. Element type (segment or arc).</font></span></p>\r
141 \r
142 <p class="whs2">2. Destination type (point or direction).</p>\r
143 \r
144 <p class="whs2">3. <span>Destination point by means of:</span></p>\r
145 \r
146 <ul type="disc" class="whs3">\r
147         \r
148         <li class=kadov-p><p class="whs2">absolute coordinates \r
149  X,Y;</p></li>\r
150         \r
151         <li class=kadov-p><p class="whs2">relative coordinates \r
152  DX, DY (with respect to the current point);</p></li>\r
153         \r
154         <li class=kadov-p><p class="whs2">selection of an existing \r
155  point.</p></li>\r
156 </ul>\r
157 \r
158 <p class="whs2">4. Destination direction by means of:</p>\r
159 \r
160 <ul type="disc" class="whs3">\r
161         \r
162         <li class=kadov-p><p class="whs2">angle between the new \r
163  segment and the previous one;</p></li>\r
164         \r
165         <li class=kadov-p><p class="whs2">perpendicular to the \r
166  previous segment (same as previous, but angle is predefined and is equal \r
167  to 90 degrees);</p></li>\r
168         \r
169         <li class=kadov-p><p class="whs2">tangent to the previous \r
170  segment;</p></li>\r
171         \r
172         <li class=kadov-p><p class="whs2">vector components VX, \r
173  DY.</p></li>\r
174 </ul>\r
175 \r
176 <p class="whs2">5. Parameters of an element (for segment : \r
177  length or target X or Y coordinate value, for arc : radius and angle).</p>\r
178 \r
179 <p class="whs2">&nbsp;</p>\r
180 \r
181 <p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>\r
182 \r
183 <p class="whs2">&nbsp;</p>\r
184 \r
185 <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
186 \r
187 <p class="whs7">&nbsp;</p>\r
188 \r
189 <p class="whs8">Example:</p>\r
190 \r
191 <p class="whs9">&nbsp;</p>\r
192 \r
193 <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
194 \r
195 <script type="text/javascript" language="javascript1.2">\r
196 <!--\r
197 if (window.writeIntopicBar)\r
198         writeIntopicBar(0);\r
199 //-->\r
200 </script>\r
201 </body>\r
202 </html>\r