Salome HOME
Issue #3127: Add help description for Hide Faces panel
[modules/shaper.git] / doc / gui / Introduction.rst
1 \r
2 .. _introduction:\r
3 \r
4 \r
5 Introduction to SHAPER\r
6 ======================\r
7 \r
8 SHAPER module of SALOME is destined for:\r
9 \r
10 - import and export of geometrical models in IGES, BREP, STEP and XAO formats;\r
11 - parametric construction of geometrical objects using a wide range of functions:\r
12     \r
13   - creation of complex 2D sections using :ref:`sketchPlugin` with consequent extrusion or revolution (see :ref:`featuresPlugin`);\r
14   - construction of model using primitives defined in :ref:`primitivesPlugin`;\r
15   - usage of Boolean operations (see :ref:`featuresPlugin`);\r
16   \r
17 - viewing geometrical objects in the OCC viewer;\r
18 - transformation of geometrical objects using various algorithms.\r
19 \r
20 It is possible to easily set :ref:`parameter_usage` predefined to be used as arguments when objects are created.\r
21 \r
22 SHAPER module preferences are described in the :ref:`preferences` section of SALOME Help.\r
23 \r
24 Almost all SHAPER  module functionalities are accessible via Python Interface.\r
25 \r
26 SHAPER module works with one study containing several documents:\r
27 \r
28 - partset\r
29 - one or several parts.\r
30 \r
31 Only one document can be active. In complicated models partset consists of several parts. Parts in partset may be copied, positioned relatively to each other, or simply translated.\r
32   \r
33 A new study contains only a partset with 7 default constructions, which cannot be deleted:\r
34   \r
35 - one point **Origin** coinciding with the origin of the coordinate system;\r
36 - three axes **OX**, **OY**, **OZ**  coinciding with coordinate axes;\r
37 - three planes **YOZ**, **XOZ**, **XOY**  coinciding with coordinate planes.    \r
38 \r
39 Only  points, axis, planes (see  :ref:`constructionPlugin`) and sketches (see  :ref:`sketchPlugin`) can be added into Partset to be used in any part later.\r
40 :ref:`parameter_usage` can be used both in Partset and any Part.\r
41 \r
42      \r
43 A new Part can be created as described in :ref:`partPlugin`.\r
44 \r
45 Double click or pop-up menu can be used to activate existing document.\r
46 \r
47 \r
48 Application desktop\r
49 -------------------\r
50 \r
51 The main window of the application consists of the following components:\r
52 \r
53 - :ref:`main_menu`;\r
54 - :ref:`doc_windows`;\r
55 - :ref:`viewer`;\r
56 - :ref:`toolbar`;    \r
57 - status bar.    \r
58 \r
59 .. image:: images/main_window.png\r
60    :align: center\r
61 \r
62 .. centered::\r
63    Main window of SHAPER module\r
64 \r
65   \r
66 .. _main_menu:\r
67 \r
68 Main menu \r
69 ---------\r
70 \r
71 Main menu provides access to all commands of the application.\r
72 \r
73 .. image:: images/main_menu.png\r
74    :align: center\r
75 \r
76 .. centered::\r
77    Main menu\r
78 \r
79 Main menu includes standard Salome items:\r
80 \r
81 - File;\r
82 - Edit;\r
83 - View;\r
84 - Tools;   \r
85 - Window;\r
86 - Help;\r
87     \r
88 and items specific for SHAPER module:\r
89 \r
90 - Part (see :ref:`partPlugin`);\r
91 - Sketch (see :ref:`sketchPlugin`);\r
92 - Construction (see :ref:`constructionPlugin`);\r
93 - Build (see :ref:`buildPlugin`);\r
94 - Primitives (see :ref:`primitivesPlugin`);\r
95 - GDML (see :ref:`gdmlPlugin`);\r
96 - Features (see :ref:`featuresPlugin`);  \r
97 - Macros. \r
98 \r
99  .. _toolbar:  \r
100 \r
101 SHAPER toolbar\r
102 --------------\r
103 \r
104 Application toolbar contains:\r
105 \r
106 - standard toolbar;\r
107 - modules toolbar;\r
108 - SHAPER toolbar.\r
109 \r
110 .. image:: images/toolbar.png\r
111    :align: center\r
112 \r
113 .. centered::\r
114    Toolbars\r
115   \r
116 SHAPER toolbar duplicates the main menu and  provides access to all commands of the application.\r
117 \r
118 SHAPER toolbar is separated into sections:\r
119 \r
120 - Part;\r
121 - Movement;\r
122 - Measurement;\r
123 - Sketch;\r
124 - Construction;\r
125 - Build;\r
126 - Primitives;\r
127 - GDML;\r
128 - Features;\r
129 - Boolean;\r
130 - Collections;    \r
131 - Fillet;  \r
132 - Macros.  \r
133 \r
134 Visibility of SHAPER toolbar sections is managed using *View -> Toolbar* :ref:`main_menu` item or toolbar pop-up menu.\r
135    \r
136   \r
137 .. _doc_windows:\r
138 \r
139 Dock windows\r
140 ------------\r
141 \r
142 Standard dock windows are: \r
143 \r
144 - :ref:`object_browser`\r
145 - :ref:`inspection_panel`\r
146 - :ref:`hidefaces_panel`\r
147 - :ref:`python console`\r
148 - :ref:`property_panel`\r
149 \r
150 Dock windows can be placed in three dock areas using drag-and-drop:\r
151   \r
152 - left, \r
153 - right, \r
154 - bottom.\r
155 \r
156 By default Object browser window is placed at the left dock area, Inspection panel at the right dock area and Python console at the bottom dock area of the main window.\r
157 \r
158 Property Panel is hidden.\r
159 \r
160 Property Panel is shown on operation start in left dock area of the main window by default.\r
161 \r
162 If Object browser is shown at the same side then they will be tabbed.\r
163 \r
164 Each dock window can be closed using **Cross** window button and opened again using a corresponding command from *View - Windows* :ref:`main_menu` or alternatively using pop-up menu.\r
165 \r
166 .. image:: images/popup_menu.png\r
167    :align: center\r
168 \r
169 .. centered::\r
170    Pop-up menu for visibility of windows and toolbars\r
171 \r
172 \r
173 .. _object_browser: \r
174 \r
175 Object browser\r
176 ^^^^^^^^^^^^^^\r
177 \r
178 Object browser contains all documents created in the current study. \r
179 \r
180 Each document includes standard branches where created objects are placed.\r
181 \r
182 Documents with branches are shown in Tree View.\r
183 \r
184 .. image:: images/object_browser.png\r
185    :align: center\r
186 \r
187 .. centered::\r
188    Object browser. Partset active\r
189 \r
190 \r
191 Partset includes three branches:\r
192 \r
193 - Parameters;\r
194 - Constructions;\r
195 - Features    \r
196 \r
197 Part includes the following branches:\r
198 \r
199 - Parameters;\r
200 - Constructions;\r
201 - Results;\r
202 - Fields;\r
203 - Groups;   \r
204 - Features.    \r
205 \r
206 New part contains only 3 empty branches:\r
207  \r
208 - Parameters;\r
209 - Constructions;\r
210 - Results.\r
211 \r
212 Features are placed one after another in the active document with default names and their results are placed into the corresponding branch.\r
213 \r
214 Examples of default names assigned automatically for :ref:`box_feature` are:\r
215  \r
216 * **Box_1**, **Box_2**, ... for Feature;\r
217 * **Box_1_1**, **Box_2_1**, ... for Result.\r
218 \r
219 Note, that a default branch is added into Tree View when the first feature of this type is created.\r
220 \r
221 Note, that the result used in feature as argument is removed.\r
222 \r
223 This child result can be restored using **Recover** feature.\r
224 \r
225 Each feature, result, construction, group, field, parameter can be renamed using *Rename* pop-up menu command.\r
226 \r
227 .. image:: images/popup_menu_object_browser_feature.png\r
228    :align: center\r
229 \r
230 .. centered::\r
231    Feature pop-up menu\r
232 \r
233 .. image:: images/popup_menu_object_browser_result.png\r
234    :align: center\r
235 \r
236 .. centered::\r
237     Result pop-up menu\r
238 \r
239 .. image:: images/popup_menu_object_browser_construction.png\r
240    :align: center\r
241 \r
242 .. centered::\r
243    Construction pop-up menu\r
244 \r
245 The order of features can be changed using *Move to the end* and *Move to the end and split* pop-up menu commands. They work only for Group features. The selected group or several groups will be moved to the end of features list. The *Move to the end and split* also splits the resulting group in several groups: one group per one selection.\r
246 \r
247 Folders can be used to arrange long Tree View for features.\r
248 \r
249 .. image:: images/object_browser_folder.png\r
250    :align: center\r
251 \r
252 .. centered::\r
253    Object browser with folder Dome. Part_1 active\r
254 \r
255 *Insert a folder before* pop-up menu command creates a new empty folder before the selected feature. The folder can be renamed.\r
256 \r
257 Features placed after/before the created folder can be moved into the folder using *Move into the previous folder* / *Move into the next folder* pop-up menu command.\r
258 \r
259 This allows to decrease the length of feature list.\r
260 \r
261 Features can be removed from the folder using *Move out before the folder* / *Move out after the folder* pop-up menu command.\r
262 \r
263 *Clean history* pop-up menu command looks for features that do not participate in other features.\r
264 \r
265 **Clean history** dialog box shows a list of unused features. After confirmation by click **Yes** button unused features are removed.\r
266 \r
267 .. image:: images/clean_history.png\r
268    :align: center\r
269 \r
270 .. centered::\r
271    **Clean history** dialog box\r
272 \r
273 \r
274 *Select result* and *Select parent feature* pop-up menu commands help to navigate along Tree View.\r
275 \r
276 \r
277 A feature and its result can be deleted using *Delete* pop-up menu command.\r
278 \r
279 Note that all features using the removed feature and their results will be removed simultaneously.\r
280 \r
281 **Delete feature** dialog box shows the list of features to be removed. After confirmation by click **Yes** button all these features are removed.\r
282 \r
283 \r
284 .. image:: images/delete_feature.png\r
285    :align: center\r
286 \r
287 .. centered::\r
288    **Delete feature** dialog box\r
289    \r
290 .. _property_panel:\r
291 \r
292 Property panel\r
293 ^^^^^^^^^^^^^^\r
294 \r
295 Property panel consists of two parts:\r
296 \r
297 - controls a container for input of parameters for the current operation;\r
298 - buttons panel containing standard buttons:\r
299  \r
300   .. image:: images/button_ok.png\r
301     :align: left\r
302   **Ok/Apply** executes operation with defined parameters,\r
303 \r
304 \r
305   .. image:: images/button_cancel.png\r
306    :align: left\r
307   **Cancel/Close** calls **Abort operation** dialog box to confirm  operation abort, \r
308 \r
309   .. image:: images/button_help.png\r
310    :align: left\r
311   **Help** calls User's guide opened on page describing the current operation.\r
312 \r
313 .. image:: images/abort_operation.png\r
314    :align: center\r
315 \r
316 .. centered::\r
317    **Abort operation** dialog box\r
318 \r
319 \r
320 .. image:: images/button_ok.png\r
321     :align: left\r
322 **OK/Apply**  button is disabled if not all input parameters are defined or some errors are found. Error is shown as tooltip and in status bar.\r
323 \r
324 .. _inspection_panel: \r
325 \r
326 Inspection panel \r
327 ^^^^^^^^^^^^^^^^\r
328 \r
329 Inspection panel provides the list of types and quantities of all topological entities, composing the selected result, construction or feature.\r
330 \r
331 .. image:: images/inspection_panel.png\r
332    :align: center\r
333 \r
334 .. centered::\r
335    Inspection panel for default Box\r
336 \r
337 **Object** displays name of the selected result, construction  or feature.\r
338 \r
339 **Type** characterizes the whole shape.\r
340    \r
341 The information about Point, Axis or Edge  additionally shows coordinates of point / end points.\r
342 \r
343 .. image:: images/inspection_panel_line.png\r
344    :align: center\r
345 \r
346 .. centered::\r
347    Inspection panel for Axis\r
348    \r
349 \r
350 The information about  Plane, Face additionally shows coordinates of center point and direction of normal.\r
351 \r
352 .. image:: images/inspection_panel_face.png\r
353    :align: center\r
354 \r
355 .. centered::\r
356    Inspection panel for Face \r
357 \r
358 .. _hidefaces_panel:\r
359 \r
360 Hide Faces panel\r
361 ^^^^^^^^^^^^^^^^\r
362 \r
363 **Hide Faces** panel makes possible to hide temporary faces of any displayed object. **Hide Faces** panel looks like following:\r
364 \r
365 .. image:: images/hide_faces_panel.png\r
366    :align: center\r
367 \r
368 .. centered::\r
369    Hide Faces panel\r
370 \r
371 - If this panel is activated it "listens" user selection.\r
372 - If a face is selected then its name will be shown in the panel's list and hidden in the viewer. \r
373 - If user selects a group of faces (or at least a one face of this group) then whole group will be hidden and also all faces from all objects referenced by this group.\r
374 - If user will display the hidden group again (by a show operation) then the group will be removed from Hide Faces list and visibility of all referenced faces will be restored.\r
375 \r
376 Also it is possible do not to hide faces, but make them transparent. For this purpose **"Transparent"** check-box can be used. Value of the transparency can be changed in **Visualization** tab of **Preferences** dialog box.\r
377 Closing of **Hide Faces** panel restores visibility state of all objects. If it is necessary to deactivete the **Hide Faces** panel (preserving the current display state) then user has to press **"Esc"** button.\r
378 \r
379 \r
380 .. _python console:\r
381 \r
382 Python console\r
383 ^^^^^^^^^^^^^^\r
384 \r
385 Python console interpreters Python commands entered manually.\r
386 \r
387 In particular, it is possible to load the python script:\r
388 \r
389 *execfile(r"/dn48/newgeom/data/example.py")*\r
390 \r
391 Pop-up menu gives the possibility to:\r
392 \r
393 - Copy the selected text to clipboard;\r
394 - Paste the text from clipboard to Python console ;\r
395 - Clear Python console;\r
396 - Dump commands from console into the specified file;\r
397 - Start/Stop writing log into the specified file.    \r
398  \r
399 \r
400 .. image:: images/python_console_popup.png\r
401    :align: center\r
402 \r
403 .. centered::\r
404    Pop-up menu of Python console\r
405 \r
406 .. _viewer:\r
407 \r
408 Viewer\r
409 ------\r
410 \r
411 The application supports one instance of OCC 3D viewer and is able to show only one 3D space.\r
412 \r
413 This 3D space can be represented in several view windows. New view window can be created using **Clone view** button in viewer toolbar.\r
414 \r
415 Each view windows shows its own point of view on the 3D scene.\r
416 \r
417 This point of view can be modified using viewer commands: **Panning**, **Zooming**, **Scaling**, etc.\r
418 \r
419 \r
420 .. image:: images/2_viewers.png\r
421    :align: center\r
422 \r
423 .. centered::\r
424    Two view windows\r
425 \r
426 The description of OCC 3D Viewer architecture and functionality is provided in GUI module user's guide in chapter **OCC 3D Viewer**.\r
427 \r
428 \r
429 .. _parameter_usage:\r
430 \r
431 Parameters \r
432 ----------\r
433 \r
434 Model parametrization can be done using parameters.\r
435 \r
436 A parameter can be created in the active partset or part by:\r
437 \r
438 - :ref:`parameter`;\r
439 - :ref:`parameters`;\r
440 - :ref:`parameter_expression`.\r
441 \r
442 Any argument in features can be defined as parameter or expression containing parameters.\r
443 \r
444 The list of features using parameters is given in **Parameters** dialog box:\r
445 \r
446  .. image:: images/parameters_feature.png\r
447    :align: center\r
448 \r
449 .. centered::\r
450    Parameters dialog box\r
451   \r
452 If a parameter value is changed, then all features where it is used are rebuilt.\r
453 \r
454 A parameter name should be unique in the active document.\r
455 \r
456 However, partset and part can have parameters with the same name. If parameter names in Partset and Part are identical, then Part parameter has a higher priority and its value will be used in the features of this part.\r
457 \r
458 In contrast to features (see :ref:`object_browser`), there is an additional option when parameters are deleted.   \r
459 \r
460 .. image:: images/delete_parameter.png\r
461    :align: center\r
462 \r
463 .. centered::\r
464    Delete parameter\r
465 \r
466 After clicking **Replace** button, the selected parameter is removed but its parent parameters and features are not removed. The deleted parameter is replaced by its value.\r
467 \r
468 .. _parameter_expression:\r
469 \r
470 Create parameter on fly\r
471 ^^^^^^^^^^^^^^^^^^^^^^^\r
472 \r
473 Parameter can be created during feature creation simply by writing *variable=expression* in any editbox.\r
474 \r
475 After feature validation a new parameter with the given name **variable** and value equal to the evaluated expression appears in object browser under **Parameters** in the active partset or part.\r
476 \r
477 .. _preferences:\r
478 \r
479 SHAPER preferences\r
480 ------------------\r
481 \r
482 Description of General application preferences and **Preferences** dialog box is provided in GUI module user's guide in chapter **Setting Preferences**.\r
483 \r
484 SHAPER preferences define visualization of objects, visualization during selection, edition. New preferences can be used right after modification or later after activation of SHAPER module.\r
485 \r
486 To call **Preferences** dialog box:\r
487 \r
488 #. select in the Main Menu *File - > Preferences* item or\r
489 #. use  **Ctrl+P** shortcut.\r
490 \r
491 SHAPER preferences include 4 tabs:\r
492 \r
493 - :ref:`visualization_preferences`;\r
494 - :ref:`plugins_preferences`;\r
495 - :ref:`sketch_preferences`;\r
496 - :ref:`viewer_preferences`.\r
497 \r
498 Visualization tab is activated by default when **Preferences** dialog box is opened in the active SHAPER module.\r
499 \r
500 Other tabs are activated by click on tab header.\r
501   \r
502 .. _visualization_preferences:\r
503 \r
504 Visualization tab\r
505 ^^^^^^^^^^^^^^^^^\r
506 \r
507 This tab defines presentation of objects displayed in OCC 3D viewer.\r
508 \r
509 .. image:: images/visualization_preferences.png\r
510    :align: center\r
511 \r
512 .. centered::\r
513    Preferences - Visualization tab\r
514 \r
515 **Input fields**:\r
516 \r
517 - **Selection color** defines a color for selected objects;\r
518 - **Result color** selects default shading color for objects from **Results** branch;\r
519 - **Group color** selects default color for objects from **Groups** branch;\r
520 - **Construction color** selects default color for objects from **Constructions** branch;\r
521 - **Part color** selects default color for parts shown in Partset;  \r
522 - **Field color** selects default color for objects from **Fields** branch;\r
523 - **Body deflection coefficient** defines default deflection coefficient for objects from **Results** branch. A smaller coefficient provides better quality of a shape in the viewer;\r
524 - **Construction deflection coefficient** defines default deflection coefficient for objects from **Constructions** branch. A smaller coefficient provides better quality of a shape in the viewer;\r
525 - **Reference shape wireframe color in operation** selects default color used for wireframe visualization of objects used in active operation;\r
526 - **Result shape wireframe color in operation** selects default color used for wireframe visualization of result in active operation. Click **See preview** button to show result;\r
527 - **Multi selector item color in operation** selects default color used for visualization of objects selected in property panel to distinguish them among all objects used in active operation;\r
528 - **Color of removed feature in operation** selects default color used for visualization of sketch entities to be removed during **Trim/Split** operations;\r
529 - **Color of sketch plane** selects default shading color for sketch plane;\r
530 - **Hidden faces transparency** defines default transparency value for hidden faces;\r
531 - **Dimension arrow size**  defines default size of arrows for extension line showing dimensional constraint;  \r
532 - **Dimension font** defines font used for value of dimensional constraint;\r
533 - **Dimension value size**  defines default size of value for dimensional constraint;\r
534 - **Sketch dimension color**  defines default color of dimensional constraint; \r
535 - **Construction plane color** selects default color for Construction planes;  \r
536 - **Sketch entity color** selects default color for sketch objects;\r
537 - **Sketch external entity color** selects default color for external objects selected as reference during sketch creation/edition;\r
538 - **Sketch auxiliary entity color** selects default color for sketch auxiliary objects;\r
539 - **Sketch overconstraint color** selects default color for a sketch with redundant constraints;\r
540 - **Sketch fully constraint color** selects default color for a sketch with zero degrees of freedom.\r
541   \r
542 To redefine any color click on the corresponding line to access **Select color** dialog box\r
543 \r
544 .. image:: images/select_color.png\r
545    :align: center\r
546 \r
547 .. centered::\r
548    **Select color** dialog box\r
549    \r
550 Preferences for sketch are applicable  during sketch creation/edition operation.\r
551    \r
552 .. _plugins_preferences:\r
553    \r
554 Plugins tab\r
555 ^^^^^^^^^^^\r
556 Plugins tab defines folders where plugins and resources are located.\r
557 \r
558 .. image:: images/plugins_preferences.png\r
559    :align: center\r
560 \r
561 .. centered::\r
562    Preferences - Plugins tab\r
563 \r
564 **Input fields**:\r
565 \r
566 - **Default path** selects default folder where plugins are located. Click on **Open** button opens standard **Find directory** dialog box to navigate to desired folder;\r
567 \r
568 - **Import initial directory** selects default folder where resources are located. Click on **Open** button opens standard **Find directory** dialog box to navigate to desired folder.\r
569 \r
570 .. image:: images/open_button.png\r
571    :align: center\r
572 \r
573 .. centered::\r
574    **Open** button\r
575 \r
576 .. image:: images/find_directory.png\r
577    :align: center\r
578 \r
579 .. centered::\r
580    **Find directory** dialog box\r
581     \r
582    \r
583 .. _sketch_preferences:\r
584    \r
585 Shortcuts tab\r
586 ^^^^^^^^^^^^^\r
587 \r
588 Shortcuts tab defines shortcut keys for different operations.\r
589 \r
590 .. image:: images/shortcuts_preferences.png\r
591    :align: center\r
592 \r
593 .. centered::\r
594    Preferences - Shortcuts tab\r
595    \r
596 - **Add parameter in parameters manager dialog** defines shortcut keys for adding parameter in parameters manager dialog box.\r
597    \r
598 Windows tab\r
599 ^^^^^^^^^^^\r
600 \r
601 Windows tab contains definitions for the module windows management.\r
602 \r
603 .. image:: images/windows_preferences.png\r
604    :align: center\r
605 \r
606 .. centered::\r
607    Preferences - Windows tab\r
608 \r
609 - **Use HideFaces panel in operation** if the checkbox is checked then HideFaces panel will be launched automatically on launching an operation where using of this panel is considered.\r
610 \r
611 Sketch tab\r
612 ^^^^^^^^^^\r
613 \r
614 Sketch tab defines properties of coordinate planes shown for selection of sketch plane when no convenient objects are shown in OCC 3D viewer.\r
615 \r
616 .. image:: images/sketch_preferences.png\r
617    :align: center\r
618 \r
619 .. centered::\r
620    Preferences - Sketch tab\r
621 \r
622 **Input fields**:\r
623 \r
624 - **Size** defines size of coordinate planes;\r
625 - **Thickness**  defines thickness of coordinate plane borders; \r
626 - **Rotate to plane when selected** check-box turns on/off automatic switch the viewer to the top view for the selected sketch plane.  \r
627 - **Angular tolerance** defines defines an angular tolerance for automatic creation of horizontal and vertical constraints;\r
628 \r
629    \r
630 .. _viewer_preferences:\r
631    \r
632 Viewer tab\r
633 ^^^^^^^^^^\r
634 \r
635 Viewer tab defines selection in OCC 3D viewer properties. \r
636 \r
637 .. image:: images/viewer_preferences.png\r
638    :align: center\r
639 \r
640 .. centered::\r
641    Preferences - Viewer tab   \r
642 \r
643 **Input fields**:\r
644 \r
645 - **Default Selection** defines objects to be selected by mouse click in OCC 3D viewer:\r
646 \r
647   - **Faces** check-box turns on/off selection of faces;\r
648   - **Edges** check-box turns on/off selection of edges;\r
649   - **Vertices** check-box turns on/off selection of vertices;\r
650 \r
651 - **Selection sensitivity** defines size of area around object in pixels, in which  mouse click selects object inside this area:\r
652 \r
653   - **Vertex** defines selection  sensitivity for vertices; \r
654   - **Edge**  defines selection  sensitivity for edges.  \r
655 \r
656 \r
657 .. _toolbars_management:\r
658 \r
659 Toolbars management\r
660 -------------------\r
661 \r
662 .. _toolbars_dialog:\r
663 \r
664 **Toolbars** dialog box\r
665 ^^^^^^^^^^^^^^^^^^^^^^^\r
666 To edit the current tool bars structure select in the Main Menu *Edit - > Edit toolbars* item. \r
667 The following dialog box with existing toolbars appears:\r
668 \r
669 .. image:: images/Toolbars.png\r
670    :align: center\r
671 \r
672 .. centered::\r
673    **Toolbars** dialog box\r
674 \r
675 **Input fields**:\r
676 \r
677 - **Toolbars** window contains list of toolbars names. Number of commands in each tool bar is shown in brackets.\r
678 - **Add** button creates a new toolbar. Click on **Add** button opens :ref:`create_toolbar`;\r
679 - **Edit**  button  calls :ref:`edit_toolbar` for currently selected tool bar;\r
680 - **Delete** button removes currently selected tool bar. Click on **Delete** button opens warning dialog box. After confirmation by click **Yes** button the selected toolbar is deleted. Click **No** button cancels removing of the selected toolbar;\r
681 - **Reset** button restores modified tool bars structure to default state;\r
682 - **OK** button closes the dialog box, stores result of tool bars edition and updates Shaper tool bars;\r
683 - **Cancel** button closes the dialog box without modification of tool bars.\r
684 \r
685 .. image:: images/delete_toolbar.png\r
686    :align: center\r
687 \r
688 .. centered::\r
689     Warning dialog box\r
690 \r
691    \r
692 .. _create_toolbar:\r
693 \r
694 **Create toolbar** dialog box\r
695 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r
696 \r
697 **Input fields** of **Create toolbar** dialog box:\r
698 \r
699 .. image:: images/create_toolbar.png\r
700    :align: center\r
701 \r
702 .. centered::\r
703    **Create toolbar** dialog box\r
704 \r
705 - **Name of a new toolbar** defines name of the new tool bar. The name of tool bar has to be unique. If user defines a not unique name then a warning appears and a new tooolbar with not unique name is not created;\r
706 - **Ok** button closes the dialog box and add a new tool bar of the module into  **Toolbars** window;\r
707 - **Cancel** button closes the dialog box without addition of a new tool bar.\r
708 \r
709 .. image:: images/name_toolbar.png\r
710    :align: center\r
711 \r
712 .. centered::\r
713    **Warning** dialog box\r
714    \r
715 \r
716 .. _edit_toolbar:\r
717 \r
718 **Edit toolbar** dialog box\r
719 ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r
720 \r
721 **Input fields** of **Edit toolbar** dialog box:\r
722 \r
723 .. image:: images/EditToolbar.png\r
724    :align: center\r
725 \r
726 .. centered::\r
727    **Edit toolbar** dialog box\r
728 \r
729 - **Toolbar name** non-editable field displays  name of modified tool bar;\r
730 - **Out of toolbars** window contains list of commands which are not included into any tool bar and separator definition "------";\r
731 - **In the toolbar** window contains list of commands which are defined in the current tool bar. Items in this window are listed according to order of commands in the toolbar; \r
732 - **Right arrow** button transfers currently selected item from  **Out of toolbars** window to **In the toolbar** window and puts new item before the selected item in **In the toolbar** window.\r
733     If there is no selected item in **In the toolbar**  window then new item will be added at the end of items list. In order to clear current selection it is necessary to click in empty space of the window.\r
734 - **Left arrow** button transfers currently selected item from **In the toolbar** window into **Out of toolbars** window;\r
735 - **Up** and **Down** buttons  change position of selected command in **In the toolbar** window;\r
736 - **Ok** button closes the dialog box, stores result of edition;\r
737 - **Cancel**  button closes the dialog box without modification of tool bar content.\r
738 \r
739 \r