Salome HOME
Fix for "0023302: [EDF 12800] Ergonomics of mesh group export operation" issue.
[modules/smesh.git] / doc / salome / gui / SMESH / input / mesh_preferences.doc
1 /*!
2
3 \page mesh_preferences_page Mesh preferences
4
5 In the Mesh module you can set mesh preferences, which can be used right now 
6 or in later sessions with this module according to the preferences.
7
8 <h2>General Preferences</h2>
9
10 \image html pref21.png
11
12 - <b>Automatic Update</b>
13   - If you toggle <b>Automatic Update</b> checkbox, the model in your
14     viewer will be automatically updated when you make changes in it, depending on
15     values of additional preferences specified below.
16   - <b>Size limit (elements)</b> - allows specifying the maximum
17     number of elements in the resulting mesh for which the automatic updating
18     of the presentation is performed. This option affects only
19     <b>Compute</b> operation. Zero value means "no limit". Default value
20     is 500 000 mesh elements.
21   - <b>Incremental limit check</b> - when this control is switched on,
22     the mesh size limit check is not applied to the total number of
23     elements in the resulting mesh, it is applied iteratively to each entity type
24     in the following order: 0D elements, edges, faces, volumes, balls.
25     At each step the number of entities of a certain type is added to the
26     total number of elements computed at the previous step - if the resulting
27     number of elements does not exceed the size limit, the entities of
28     this type are shown, otherwise the user is warned that some entities are not shown.
29
30 - <b>Quality Controls</b>
31   - If you toggle <b>Display entity</b>, both faces and edges of an
32     object will be displayed in the viewer by default.
33   - If you toggle <b>Use precision</b> checkbox, you can display numbers in
34     <b>Quality Control</b> diagrams at the necessary level of precision.
35   - <b>Number of digits after point</b> - defines precision for
36     <b>Quality Controls</b>. By default, numbers in <b>Quality Control</b>
37     diagrams are presented as integers.
38   - <b>Double nodes tolerance</b> defines the maximal distance between two
39     mesh nodes, at which they are considered coincident by <b>Double nodes</b>
40     quality control.
41
42 - <b>Display mode</b>
43   - <b>Default display mode</b> - allows to set Wireframe, Shading, Nodes or Shrink
44   presentation mode as default.
45
46 - <b>Representation of the 2D quadratic elements</b>
47   - <b>Default mode of the 2D quadratic elements</b> combo-box - allows
48     to select lines or arcs for representation of quadratic elements as default.
49   - <b>Maximum Angle</b> - maximum deviation angle used by the
50     application to build arcs.
51
52 - <b>Mesh export</b>
53   - If you toggle <b>Automatically create groups for MED export</b> check-box,
54     this operation will be carried out automatically.
55   - <b>Show warning when exporting group</b> check-box - allows defining the 
56     behavior of the warning when exporting a group.
57
58 - <b>Mesh computation</b>
59   - <b>Show a computation result notification</b> combo-box allows to
60     select the notification mode about a mesh computation result.
61     There are 3 possible modes:
62     - <b>Never</b> - do not show the result dialog at all;
63     - <b>Errors only</b> - the result dialog will be shown if there were
64       some errors during a mesh computation;
65     - <b>Always</b> - show the result dialog after each mesh
66       computation. This is a default mode.
67
68 - <b>Mesh information</b>
69   - <b>Mesh element information</b> - change the way mesh element
70     information is shown:
71     - <b>Simple</b> - as a plain text
72     - <b>Tree</b> - in a tree-like form
73   - <b>Automatic nodes compute limit</b> - allows defining the size limit for the
74     mesh groups for which the number of underlying nodes is calculated
75     automatically. If the group size exceeds the value set in the preferences,
76     the user will have to press \em Compute button explicitly. Zero value
77     means "no limit". By default the value is set to 100 000 mesh elements.
78   - <b>Automatic controls compute limit</b> - allows defining the size limit for the
79     mesh elements for which the Aspect Ratio histogram is calculated
80     automatically. If the mesh elements size exceeds the value set in the preferences,
81     it is possible to press \b Compute button explicitly to calculate the histogram . Zero value
82     means "no limit". By default the value is set to 3 000 mesh elements.
83   - <b>Show details on groups in element information tab</b> - when
84     this option is switched off (default), only the names of groups, to which the node
85     or element belongs, are shown in the \ref mesh_element_info_anchor "Info Tab"
86     tab of "Mesh Information" dialog box. If this option is
87     switched on, the detailed information on groups is shown.
88   - <b>Dump base information</b> - allows dumping base mesh information to the
89     file, see \ref mesh_infos_page.
90   - <b>Dump element information</b> - allows dumping element information to the
91     file, see \ref mesh_infos_page.
92   - <b>Dump additional information</b> - allows dumping additional mesh
93     information to the file, see \ref mesh_infos_page.
94   - <b>Dump controls information</b> - allows dumping quality mesh
95     information to the file, see \ref mesh_infos_page.
96
97 - <b>Automatic Parameters</b>
98   - <b>Ratio Bounding Box Diagonal / Max Size</b> - this parameter is
99     used for automatic meshing. This is the ratio between the bounding box of the
100     meshed object and the Max Size of segments.
101   - <b>Default Number of Segments</b> - defines the default
102     number of segments on each edge.
103
104 - <b>Mesh loading</b>
105   - If <b>No mesh loading from study file at hypothesis modification</b>
106     check-box is on, the mesh data will not be loaded from the study file
107     when a hypothesis is modified. This allows  saving time by omitting
108     loading data of a large mesh that is planned to be recomputed with other parameters.
109
110 - <b>Input fields precision</b>
111   - <b>Length precision</b> - allows to adjust input precision of coordinates and dimensions.
112   - <b>Angular precision</b> - allows to adjust input precision of angles.
113   - <b>Length tolerance precision</b> - allows to adjust input precision of tolerance of coordinates and dimensions.
114   - <b>Parametric precision</b> - allows to adjust input precision of parametric values.
115   - <b>Area precision</b> - allows to adjust input precision of mesh element area.
116   - <b>Volume precision</b> - allows to adjust input precision of mesh element volume.
117
118 - <b>Preview</b>
119   - <b>Sub-shapes preview chunk size</b> - allows to limit the number
120     of previewed sub-shapes shown in the hypotheses creation dialog boxes,
121     for example "Reverse Edges" parameter of \ref number_of_segments_anchor "Number of segments" hypothesis.
122
123 - <b>Python Dump</b>
124   - <b>Historical python dump</b> checkbox allows switching between
125     \a Historical and \a Snapshot dump mode:
126     - In \a Historical mode, Python Dump script includes all commands
127       performed by SMESH engine.
128     - In \a Snapshot mode, the commands relating to objects removed
129       from the Study as well as the commands not influencing the
130       current state of meshes are excluded from the script.
131
132 <h2>Mesh Preferences</h2>
133
134 \image html pref22.png
135
136 - <b>Nodes</b> allows to define default parameters for nodes, which will be applied 
137   for a newly created mesh only. Existing meshes can be customized using 
138   \ref colors_size_page "Properties dialog box" available from the context menu of a mesh.
139   - <b>Color</b> -  allows to select the color of nodes. Click on the
140     colored line to access to the <b>Select Color</b> dialog box.
141   - <b>Type of marker</b> - allows to define the shape of nodes.
142   - <b>Scale of marker</b> - allows to define the size of nodes.
143
144 - <b>Elements</b> allows to define default parameters for different elements, which will be applied 
145   for a newly created mesh only. Existing meshes can be customized using 
146   \ref colors_size_page "Properties dialog box" available from the context menu of a mesh.
147   - <b>Surface color</b>  - allows to select the surface color of 2D elements
148     (seen in Shading mode). Click on the colored line to access to the
149     <b>Select Color</b> dialog box.
150   - <b>Back surface color</b> - allows to select the back surface color
151     of 2D elements. This is useful to differ 2d elements with
152     reversed orientation. Use the slider to select the color generated basing on
153     the <b>Surface color</b> by changing its brightness and saturation.
154   - <b>Volume color</b> - allows to select the surface color of 3D elements
155     (seen in Shading mode).
156   - <b>Reversed volume color</b> - allows to select the surface color
157     of reversed 3D elements. Use the slider to select the color generated basing on
158     the <b>Volume color</b> by changing its brightness and saturation.
159   - <b>0D element color</b> - allows to choose color of 0D mesh elements.
160   - <b>Ball color</b> - allows to choose color of discrete mesh elements (balls).
161   - <b>Outline color</b> - allows to select the color of element
162     borders.
163   - <b>Wireframe color</b> - allows to select the color of borders of
164     elements in the wireframe mode.
165   - <b>Preview color</b> - allows to select the preview color of the elements.
166   - <b>Size of 0D elements</b> - specifies default size of 0D elements.
167   - <b>Size of ball elements</b> - specifies default size of discrete
168     elements (balls).
169   - <b>Scale factor of ball elements</b> - specifies default scale factor of discrete
170     elements (balls).
171   - <b>Line width</b> - allows to define the width of 1D elements (edges).
172   - <b>Outline width</b> - allows to define the width of borders of
173     2D and 3D elements (shown in the Shading mode).
174   - <b>Shrink coef.</b> - allows to define relative space of elements
175     compared to gaps between them in shrink mode.
176
177 - <b>Groups</b>
178   - <b>Names color</b> - specifies color of group names to be used in
179     3D viewer.
180   - <b>Default color</b> - specifies the default group color, which is used 
181   to create a new mesh group (see \ref creating_groups_page "Create Group dialog box").
182
183 - <b>Numbering</b> allows to define properties of numbering functionality:
184   - <b>Nodes</b> - specifies text properties of nodes numbering
185     (font family, size, attributes, color).
186   - <b>Elements</b> - same for elements.
187
188 - <b>Orientation of Faces</b> - allows to define default properties of orientation vectors.
189   These preferences will be applied to the newly created meshes only; properties of existing meshes
190   can be customized using \ref colors_size_page "Properties dialog box"
191   available from the context menu of a mesh.
192   - \b Color - allows to define the color of orientation vectors;
193   - \b Scale - allows to define the size of orientation vectors;
194   - <b>3D Vector</b> check-box allows to choose between 2D planar
195     and 3D vectors.
196
197 <br><h2>Selection Preferences</h2>
198
199 \image html pref23.png
200
201 - <b>Selection</b> - performed with mouse-indexing (preselection)
202   and left-clicking on an object, whose appearance changes as defined in
203   the <b>Preferences</b>.
204   - <b>Object color</b> -  allows to select the color of mesh (edges and
205     borders of meshes) of the selected entity. Click on the colored line
206     to access to the <b>Select Color</b> dialog box.
207   - <b>Element color</b> - allows to select the color of surface of selected
208     elements (seen in Shading mode). Click on the colored line to access
209     to the <b>Select Color</b> dialog box.
210
211 - <b>Preselection</b> - performed with mouse-indexing on an object,
212   whose appearance changes as defined in the <b>Preferences</b>.
213   - <b>Highlight color</b> -  allows to select the color of mesh (edges and
214     borders of meshes) of the entity . Click on the colored line to access
215     to the <b>Select Color</b> dialog box.
216
217 - <b>Precision</b> - in this menu you can set the value of precision
218   used for <b>Nodes</b>, <b>Elements</b> and <b>Objects</b>.
219
220 <br><h2>Scalar Bar Preferences</h2>
221
222 \image html pref24.png
223
224 \note The following settings are default and will be applied for 
225 a newly created mesh only. Existing meshes 
226 can be customized using local \ref scalar_bar_dlg "Scalar Bar Properties dialog box" 
227 available from the context menu of a mesh.
228
229 - <b>Font</b> - in this menu you can set type, face and color for
230   the font of <b>Title</b> and <b>Labels</b>.
231
232 - <b>Colors & Labels</b> - in this menu you can set the <b>number of
233   colors</b> and the <b>number of labels</b> in use.
234
235 - <b>Orientation</b> - here you can choose between vertical and
236   horizontal orientation of the <b>Scalar Bar</b>
237
238 - <b>Origin & Size Vertical & Horizontal</b> - allows to define
239   placement (<b>X</b> and <b>Y</b>) and lookout (<b>Width</b> and
240   <b>Height</b>) of Scalar Bars.
241   - <b>X</b>: abscissa of the point of origin (from the left
242     side)
243   - <b>Y</b>: ordinate of the origin of the bar (from the bottom)
244
245 - <b>Distribution</b> in this menu you can Show/Hide distribution
246   histogram of the values of the <b>Scalar Bar</b> and specify the
247   <b>Coloring Type</b> of the histogram:
248   - <b>Multicolor</b> the histogram is colored as <b>Scalar Bar</b>
249   - <b>Monocolor</b> the histogram is colored as selected with
250     <b>Distribution color</b> selector 
251
252 */