1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\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
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
15 <style type="text/css">
\r
17 img_whs1 { border:none; float:none; width:30px; height:30px; border-style:none; }
\r
18 p.whs2 { font-size:12pt; }
\r
19 p.whs3 { margin-left:108px; font-size:12pt; }
\r
20 ul.whs4 { list-style:disc; }
\r
21 p.whs5 { margin-left:40px; font-size:12pt; }
\r
22 img_whs6 { border:none; width:321px; height:496px; float:none; 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
29 </style><script type="text/javascript" language="JavaScript">
\r
31 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\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
42 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
45 if (innerWidth != origWidth || innerHeight != origHeight)
\r
48 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
49 origWidth = innerWidth;
\r
50 origHeight = innerHeight;
\r
56 <style type="text/css">
\r
58 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\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
66 <body><script type="text/javascript" language="javascript1.2">
\r
68 if (window.gbWhTopic)
\r
70 if (window.addTocInfo)
\r
72 addTocInfo("GEOM module\nCreating geometrical objects\nSketcher");
\r
73 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
76 if (window.writeBtnStyle)
\r
79 if (window.writeIntopicBar)
\r
82 if (window.setRelStartPage)
\r
84 setRelStartPage("geom.htm");
\r
93 document.location.reload();
\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. The
\r
100 curve is created from the current point (center of coordinates when the
\r
101 sketcher is started). The
\r
102 end of the curve is defined by means of "destination", 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
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 -> Basic -> Working Plane).</p>
\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
120 <p class="whs2"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
122 <p class="whs2"> </p>
\r
124 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
\r
125 </i><span style="font-style: italic;"><I>geompy.MakeSketcher(Command, WorkingPlane)</I></span></p>
\r
127 <p class="whs3">This algorithm creates
\r
128 a sketcher (wire or face), following the textual description, passed through
\r
129 the Command argument. The edges of the resulting wire or face will be
\r
130 arcs of circles and/or linear segments.</p>
\r
132 <p class="whs3"><span style="margin-left: 120px; font-style: italic;"><I>Command</I></span><span
\r
133 style="margin-left: 120px;"> is a string, defining the sketcher by </span>the
\r
134 coordinates of points in the local working plane.</p>
\r
136 <p class="whs3"><span style="font-style: italic;"><I>WorkingPlane</I></span>
\r
137 is a planar face of the working plane (a list of 9 doubles which are coordinates
\r
138 of OZ and OX of the local working plane).</p>
\r
140 <p class="whs2"> </p>
\r
142 <p class="whs2"><b style="font-weight: bold;">Arguments:</b>
\r
145 <p class="whs2"><span><font size=3 style="font-size:12pt;">1. Element type (segment or arc).</font></span></p>
\r
147 <p class="whs2">2. Destination type (point or direction).</p>
\r
149 <p class="whs2">3. <span>Destination point by means of:</span></p>
\r
151 <ul type="disc" class="whs4">
\r
153 <li class=kadov-p><p class="whs2">absolute coordinates
\r
156 <li class=kadov-p><p class="whs2">relative coordinates
\r
157 DX, DY (with respect to the current point);</p></li>
\r
159 <li class=kadov-p><p class="whs2">selection of an existing
\r
163 <p class="whs2">4. Destination direction by means of:</p>
\r
165 <ul type="disc" class="whs4">
\r
167 <li class=kadov-p><p class="whs2">angle between the new
\r
168 segment and the previous one;</p></li>
\r
170 <li class=kadov-p><p class="whs2">perpendicular to the
\r
171 previous segment (same as previous, but angle is predefined and is equal
\r
172 to 90 degrees);</p></li>
\r
174 <li class=kadov-p><p class="whs2">tangent to the previous
\r
177 <li class=kadov-p><p class="whs2">vector components VX,
\r
181 <p class="whs2">5. Parameters of an element (for segment :
\r
182 length or target X or Y coordinate value, for arc : radius and angle).</p>
\r
184 <p class="whs2"> </p>
\r
186 <p class="whs2"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
188 <p class="whs2"> </p>
\r
190 <p class="whs5"><img src="pics/neo-scetcher1.png" x-maintain-ratio="TRUE" width="321px" height="496px" border="0" class="img_whs6"> <img src="pics/neo-scetcher2.png" x-maintain-ratio="TRUE" width="321px" height="496px" border="0" class="img_whs6"></p>
\r
192 <p class="whs7"> </p>
\r
194 <p class="whs8">Example:</p>
\r
196 <p class="whs9"> </p>
\r
198 <p class="whs9"><img src="image204.jpg" width="200px" height="200px" border="0" class="img_whs10"> <img src="image206.jpg" width="200px" height="195px" border="0" class="img_whs11"></p>
\r
200 <p class="whs9"> </p>
\r
202 <p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
\r
203 provide you with useful examples of the use of <a href="sketcher_tui.htm">Sketcher</a>.
\r
208 <script type="text/javascript" language="javascript1.2">
\r
210 if (window.writeIntopicBar)
\r
211 writeIntopicBar(0);
\r