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