]> SALOME platform Git repositories - modules/shaper.git/blob - src/SketchPlugin/doc/sketchDrawer.rst
Salome HOME
Merge commit 'refs/tags/V9_2_0^{}'
[modules/shaper.git] / src / SketchPlugin / doc / sketchDrawer.rst
1   .. _create_sketch_drawer:
2
3 Sketch Drawer
4 =========
5
6 Sketch Drawer featrure is a macro-feature, i.e. it is removed after its execution.
7 It allows simplify creation of sketches basing on existing models without referencing to
8 these models.
9
10 For an example, to create a sketch on exising STEP file model planar face
11 and then remove the original model, to keep only the sketch with copy of contour. So, to be
12 able to remove the initial model, there are no references created by this feature.
13
14 To add a new Sketch Drawing:
15
16 #. select in the Main Menu *Macros - > Sketch drawer* item  or
17 #. click **Sketch drawer** button in Macros toolbar:
18
19 .. image:: images/SketchDrawer.png
20    :align: center
21
22 .. centered::
23    **Sketch drawer**  button
24
25 The following property panel appears:
26
27 .. image:: images/SketchDrawer_panel.png
28   :align: center
29
30 .. centered::
31    Sketch drawer
32
33 Click in the view once to set the whole original model, then click a second time to set the
34 plane or planar face - a base of sketch. This can be plane on the original model.
35 On Apply button press the new sketch will be created in the Object Browser tree.
36
37 Result
38 """"""
39
40 A resulting sketch will contain linear and circular edges as well as circular arcs corresponding to the
41 original model edges that lay in the sketch plane. Other types of edges are not supported.
42
43 Radius, length, vertical, horizontal and points-coincidence constraints will be created
44 automatically where it is possible. The resulting sketch may be overconstrained or not fully
45 constrained. So, it is just a helper for the sketch creation, not universal tool. After this
46 sketch creation normally user must edit this sketch to input reasonable constraints and
47 parametrization, or remove not needed constraints or sketch lements.
48
49 .. image:: images/SketchDrawer_res.png
50            :align: center
51
52 .. centered::
53    Drawn sketch