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