3 \page create_sketcher_page Sketcher
5 Sketcher allows to create curves of 2 types: line segment and arc.
6 By default the start point of the curve is located at the point of
7 origin of the reference coordinate system and the curve lies in the
8 plane XOY. The end of the curve is defined by
9 means of "destination", which can be a destination point (for segment
10 only) or destination direction coupled with length of a segment or
11 angle and radius of an arc.
13 \n Sketcher is able to create planar curves only. Therefore, it is
14 necessary to select coordinate system (Global or Local) before starting
15 a sketch. Sketcher creates curves lying in the XOY plane of the selected Coordinate System.
17 \n This functionality is available from the main menu via <em>New
20 \n The Result of the operation will be a \b GEOM_Object.
22 \n <b>TUI Command:</b> <em>geompy.MakeSketcher(Command, WorkingPlane)</em>
23 \n This algorithm creates a sketcher (wire or face), following the
24 textual description, passed through the Command argument. The edges of
25 the resulting wire or face will be arcs of circles and/or linear
27 \n \em Command is a string, defining the sketcher by the coordinates of
28 points in the current LCS.
29 \n <em>WorkingPlane</em> can be a Local CS, a plane, or a planar face. The plane is
30 defined by the XYZ coordinates of three non-coincident points. The
31 planar face is an existing GEOM_Object.
35 <li>Coordinate system (Local or Global CS can be selected)</li>
36 <li>Element type (segment or arc).</li>
37 <li>Destination type (point or direction).</li>
38 <li>Destination point by means of:</li>
40 <li>absolute coordinates X,Y;</li>
41 <li>relative coordinates DX, DY (with respect to the current point);</li>
42 <li>selection of an existing point.</li>
44 <li>Destination direction by means of:</li>
46 <li>angle between the new segment and the previous one;</li>
47 <li>perpendicular to the previous segment (same as previous, but angle
48 is predefined and is equal to 90 degrees);</li>
49 <li>tangent to the previous segment;</li>
50 <li>vector components DX, DY.</li>
52 <li>Parameters of an element (for segment : length or target X or Y coordinate value, for arc : radius and angle).</li>
57 <b>"Sketch Validation"</b> button applies the wire, only red part will be built by "Sketch Validation".
58 \n <b>"Sketch Closure"</b> will close the Sketch by straight line from last red part and apply it.
62 \image html neo-scetcher1.png
64 \image html neo-scetcher2.png
68 \image html image204.jpg "Creation of a circle with sketcher"
70 Our <b>TUI Scripts</b> provide you with useful examples of the use of
71 \ref tui_sketcher_page "Sketcher".