Salome HOME
Merge remote branch 'origin/akl/22379'
[modules/geom.git] / doc / salome / gui / GEOM / input / managing_dimensions.doc
1 /*! \r
2 \r
3 \page managing_dimensions_page Manage Dimensions\r
4 \r
5 <b> Manage Dimensions </b> functionality allows showing in the viewer the measured dimensions of sub-elements of a geometrical object (shape). \r
6 \r
7 \image html dimensions_preview.png\r
8 \r
9 It can be accessed from the main menu via <b>Measures -> Dimensions -> Manage Dimensions </b>\r
10 \r
11 \image html manage_dimensions.png\r
12 \r
13 <b>List of Dimensions</b>\r
14 \r
15 This dialog provides the list of dimensions shown in the view for the selected geometrical <b>Object</b>. The list items are sorted by  dimension type: <b>Distance</b>, <b>Diameter</b> and <b>Angle</b>. \r
16 \r
17 It is possible to show/hide a dimension in the view by checking on/off the box to the left of its name. \r
18 \r
19 The buttons to the right of the list provide the following operations:\r
20 <ul>\r
21 <li>"Add" - opens \ref add_dimension_page "Add Dimension" dialog to define a new fly-out.</li>\r
22 <li>"Remove" - removes the selected item from the list.</li>\r
23 <li>"Show All" / "Hide All" - shows/hides all dimensions existing in the list.</li>\r
24 </ul>\r
25 \r
26 <b>Add a Dimension</b>\r
27 \r
28 To add a new dimension to the object presentation, click <b>Add</b> button in the <b>Manage Dimensions</b> dialog.  \r
29 \r
30 \image html add_dimension.png\r
31 \r
32 The following dimensions can be shown:\r
33 \r
34 <ul>\r
35 <li> <b>Length.</b> There are three possible types of length dimensions: \r
36 <ul>\r
37 <li> <b>Edge length</b> - shows the length of the edge selected in the viewer. Only line edges, i.e. line segments built on two points are accepted. </li>\r
38 <li> <b>Two points </b> - shows the distance between two points selected in the viewer.</li>\r
39 <li> <b>Parallel edges</b> - shows the distance between two parallel line edges.</li>\r
40 </ul>\r
41 </li>\r
42 \r
43 <li> <b>Diameter </b> of an an arc, a circular edge or face, a sphere, a cylinder, a cone or a  torus.</li> \r
44 \r
45 <li> <b>Angle.</b> The angle dimension can be defined in one of two possible ways :  </li>\r
46 \r
47 <ul>\r
48 <li>By selecting <b>Two edges</b> located in the same plane.</li>\r
49 <li>By selecting <b>Three points</b>. The second point is in the corner of the angle.</li>\r
50 </ul>\r
51 </ul>\r
52 \r
53 <b>Modification of Dimension properties</b>\r
54 \r
55 The default properties of dimension text and line, such as font color, line width, measurement units, etc. can be defined from the \ref geometry_preferences_page "Geometry preferences".\r
56 \r
57 It is also possible to change the geometrical properties of the selected dimension interactively in the viewer. \r
58 \r
59 When hovering with mouse, the text and line become highlighted, which means that the dimension is ready for interactive operations.\r
60 \r
61 \image html interact_with_dimensions.png\r
62 \r
63 The following operations are possible:\r
64 <ul>\r
65 <li>To change the fly-out of a dimension text without changing its plane (direction), drag it by mouse with left mouse button pressed.</li>\r
66 <li>To change both the fly-out and the plane (direction) of a dimension text, drag the flyout by mouse with both <i>ctrl</i> key and additionally enables modification of the flyout plane.</li>\r
67 <li>To modify the location of the dimension text correspondingly to the dimension line, drag it by mouse. The text can be aligned horizontally or vertically and located on the line, under it or in its center.</li>\r
68 </ul>\r
69 \r
70 All modifications of the dimensions are temporary. The "Apply" and "Apply and Close" buttons save the changes.\r
71 \r
72 \r
73 */\r