8 Sketch plug-in includes features for creation of 2D shapes.
10 The process of sketch creation is comprised of:
12 - definition of sketch plane
13 - creation of sketch objects from scratch
14 - generation of sketch objects via operations on the existing operations
15 - definition of constraints
17 Sketch could be created both in active part and a part set (if there is no active part).
21 #. select in the Main Menu *Sketch - > Sketch* item or
22 #. click **Sketch** button in Sketch toolbar:
24 .. image:: images/SketchButton.png
30 First define a plane on which to create a sketch:
32 .. image:: images/PlaneDefinition.png
35 - specify plane size (equal to 25 in the example above)
36 - then select the appropriate plane in the viewer
38 Note that in case if there are no convenient objects for plane selection are
39 displayed in the viewer - coordinate planes will be suggested for selection:
41 .. image:: images/CoordinatePlanes.png
44 After the plane for sketch is selected the following property panel will be opened:
46 .. image:: images/SketchPanel.png
52 - **Reversed** check box - allows reversing the sketch plane normal
53 - **Set plane view** button - switches the viewer to the top view for the sketch plane
54 - **Show geometrical constraints** check box - turns on/off geometrical constraints displaying
55 - **Show dimensional constraints** check box - turns on/off dimensional constraints displaying
56 - **Show existing expressions** check box - turns on/off expressions displaying
60 - create :ref:`sketch objects <sketch_objects>`
61 - create :ref:`constraints <sketch_constraints>`
62 - perform :ref:`sketch operations <sketch_operations>`
64 To apply or cancel sketch creation use apply and cancel buttons from the
65 Sketch panel as well as equivalent buttons from Sketch toolbar.
67 The Result of operation will be a COMPOUND. Result node in the object tree is located in
68 **Constructions** folder.
70 Name is assigned automatically: **Sketch_1**, **Sketch_2**, ... both for Feature and Result.
72 **TUI Command**: *Sketch_1 = model.addSketch(PartOrPartSet, plane)*
74 **Arguments**: Part or PartSet + plane.
81 The plug-in includes the following features for creation of 2D objects:
92 .. _sketch_constraints:
97 Constraints are available and viewable during sketch creation or editing.
99 The goal of constrains creation is to fix a sketch geometry, i.e. set degrees of freedom to zero.
101 If all degrees of freedom are eliminated, the sketch is fixed and displayed with green color.
103 .. image:: images/Sketch_fixed.png
109 If any degrees of freedom remain unsolved, the sketch is under-constrained and displayed with red color.
111 .. image:: images/Sketch_underconstrained.png
115 Underconstrained Sketch
117 The plug-in includes the following constraints:
123 horizontalDistFeature.rst
124 verticalDistFeature.rst
128 horizontalFeature.rst
132 perpendicularFeature.rst
134 coincedentFeature.rst
139 .. _sketch_operations:
144 The plug-in includes the following operations:
152 projectionFeature.rst
153 intersectionFeature.rst
155 translationFeature.rst