3 \page mesh_preferences_page Mesh preferences
5 In the Mesh module you can set mesh preferences, which can be used in
6 later sessions with this module.
8 <h2>General Preferences</h2>
10 \image html pref21.png
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.
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>
42 - <b>Display mode</b> - allows to set Wireframe, Shading, Nodes or Shrink
43 presentation mode as default.
45 - <b>Representation of the 2D quadratic elements</b>
46 - <b>Representation of the 2D quadratic elements</b> combobox - allows
47 to select lines or arcs for representation of quadratic elements.
48 - <b>Maximum Angle</b> - maximum deviation angle used by the
49 application to build arcs.
52 - If you toggle <b>Automatically create groups for MED export</b> checkbox,
53 this operation will be carried out automatically.
55 - <b>Mesh computation</b>
56 - <b>Show a computation result notification</b> combobox allows to
57 select the notification mode about a mesh computation result.
58 There are 3 possible modes:
59 - <b>Never</b> - do not show the result dialog at all;
60 - <b>Errors only</b> - the result dialog will be shown if there were
61 some errors during a mesh computation;
62 - <b>Always</b> - show the result dialog after each mesh
63 computation. This is a default mode.
65 - <b>Mesh information</b>
66 - <b>Mesh element information</b> - change the way mesh element
68 - <b>Simple</b> - as a plain text
69 - <b>Tree</b> - in a tree-like form
70 - <b>Automatic nodes compute limit</b> - allows defining the size limit for the
71 mesh groups for which the number of underlying nodes is calculated
72 automatically. If the group size exceeds the value set in the preferences,
73 the user will have to press \em Compute button explicitly. Zero value
74 means "no limit". By default the value is set to 100 000 mesh elements.
75 - <b>Automatic controls compute limit</b> - allows defining the size limit for the
76 mesh elements for which the Aspect Ratio histogram is calculated
77 automatically. If the mesh elements size exceeds the value set in the preferences,
78 it is possible to press \b Compute button explicitly to calculate the histogram . Zero value
79 means "no limit". By default the value is set to 3 000 mesh elements.
80 - <b>Show details on groups in element information tab</b> - when
81 this option is switched off (default), only the names of groups, to which the node
82 or element belongs, are shown in the \ref mesh_element_info_anchor "Info Tab"
83 tab of "Mesh Information" dialog box. If this option is
84 switched on, the detailed information on groups is shown.
85 - <b>Dump base information</b> - allows dumping base mesh information to the
86 file, see \ref mesh_infos_page.
87 - <b>Dump element information</b> - allows dumping element information to the
88 file, see \ref mesh_infos_page.
89 - <b>Dump additional information</b> - allows dumping additional mesh
90 information to the file, see \ref mesh_infos_page.
91 - <b>Dump controls information</b> - allows dumping quality mesh
92 information to the file, see \ref mesh_infos_page.
94 - <b>Automatic Parameters</b>
95 - <b>Ratio Bounding Box Diagonal / Max Size</b> - this parameter is
96 used for automatic meshing. This is the ratio between the bounding box of the
97 meshed object and the Max Size of segments.
98 - <b>Default Number of Segments</b> - defines the default
99 number of segments on each edge.
101 - <b>Mesh loading</b>
102 - If <b>No mesh loading from study file at hypothesis modification</b>
103 check-box is on, the mesh data will not be loaded from the study file
104 when a hypothesis is modified. This allows saving time by omitting
105 loading data of a large mesh that is planned to be recomputed with other parameters.
107 - <b>Input fields precision</b>
108 - <b>Length precision</b> - allows to adjust input precision of coordinates and dimensions.
109 - <b>Angular precision</b> - allows to adjust input precision of angles.
110 - <b>Length tolerance precision</b> - allows to adjust input precision of tolerance of coordinates and dimensions.
111 - <b>Parametric precision</b> - allows to adjust input precision of parametric values.
112 - <b>Area precision</b> - allows to adjust input precision of mesh element area.
113 - <b>Volume precision</b> - allows to adjust input precision of mesh element volume.
116 - <b>Sub-shapes preview chunk size</b> - allows to limit the number
117 of previewed sub-shapes shown in the hypotheses creation dialog boxes,
118 for example "Reverse Edges" parameter of \ref number_of_segments_anchor "Number of segments" hypothesis.
121 - <b>Historical python dump</b> checkbox allows switching between
122 \a Historical and \a Snapshot dump mode:
123 - In \a Historical mode, Python Dump script includes all commands
124 performed by SMESH engine.
125 - In \a Snapshot mode, the commands relating to objects removed
126 from the Study as well as the commands not influencing the
127 current state of meshes are excluded from the script.
129 <h2>Mesh Preferences</h2>
131 \image html pref22.png
134 - <b>Color</b> - allows to select the color of nodes. Click on the
135 colored line to access to the <b>Select Color</b> dialog box.
136 - <b>Type of marker</b> - allows to define the shape of nodes.
137 - <b>Scale of marker</b> - allows to define the size of nodes.
140 - <b>Surface color</b> - allows to select the surface color of 2D elements
141 (seen in Shading mode). Click on the colored line to access to the
142 <b>Select Color</b> dialog box.
143 - <b>Back surface color</b> - allows to select the back surface color
144 of 2D elements. This is useful to differ 2d elements with
145 reversed orientation. Use the slider to select the color generated basing on
146 the <b>Surface color</b> by changing its brightness and saturation.
147 - <b>Volume color</b> - allows to select the surface color of 3D elements
148 (seen in Shading mode).
149 - <b>Reversed volume color</b> - allows to select the surface color
150 of reversed 3D elements. Use the slider to select the color generated basing on
151 the <b>Volume color</b> by changing its brightness and saturation.
152 - <b>0D elements</b> - allows to choose color of 0D mesh elements.
153 - <b>Balls</b> - allows to choose color of discrete mesh elements (balls).
154 - <b>Outline color</b> - allows to select the color of element
156 - <b>Wireframe color</b> - allows to select the color of borders of
157 elements in the wireframe mode.
158 - <b>Preview color</b> - allows to select the preview color of the elements.
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
162 - <b>Scale factor of ball elements</b> - specifies default scale factor of discrete
164 - <b>Line width</b> - allows to define the width of 1D elements (edges).
165 - <b>Outline width</b> - allows to define the width of borders of
166 2D and 3D elements (shown in the Shading mode).
167 - <b>Shrink coef.</b> - allows to define relative space of elements
168 compared to gaps between them in shrink mode.
170 - <b>Groups</b> allows to define groups default properties:
171 - <b>Names color</b> - specifies color of group names to be used in
173 - <b>Default color</b> - specifies default group color.
175 - <b>Numbering</b> allows to define properties of numbering functionality:
176 - <b>Nodes</b> - specifies text properties of nodes numbering
177 (font family, size, attributes, color).
178 - <b>Elements</b> - same for elements.
180 - <b>Orientation of Faces</b> - allows to define the behavior of
181 <b>Orientation of faces</b> functionality:
182 - \b Color - allows to define the color of orientation vertors;
183 - \b Scale - allows to define the size of orientation vectors;
184 - <b>3D Vector</b> checkbox allows to choose between 2D planar
187 <br><h2>Selection Preferences</h2>
189 \image html pref23.png
191 - <b>Selection</b> - performed with mouse-indexing (preselection)
192 and left-clicking on an object, whose appearance changes as defined in
193 the <b>Preferences</b>.
194 - <b>Object Color</b> - allows to select the color of mesh (edges and
195 borders of meshes) of the selected entity. Click on the colored line
196 to access to the <b>Select Color</b> dialog box.
197 - <b>Element color</b> - allows to select the color of surface of selected
198 elements (seen in Shading mode). Click on the colored line to access
199 to the <b>Select Color</b> dialog box.
201 - <b>Preselection</b> - performed with mouse-indexing on an object,
202 whose appearance changes as defined in the <b>Preferences</b>.
203 - <b>Highlight Color</b> - allows to select the color of mesh (edges and
204 borders of meshes) of the entity . Click on the colored line to access
205 to the <b>Select Color</b> dialog box.
207 - <b>Precision</b> - in this menu you can set the value of precision
208 used for <b>Nodes</b>, <b>Elements</b> and <b>Objects</b>.
210 <br><h2>Scalar Bar Preferences</h2>
212 \image html pref24.png
214 - <b>Font</b> - in this menu you can set type, face and color for
215 the font of <b>Title</b> and <b>Labels</b>.
217 - <b>Colors & Labels</b> - in this menu you can set the <b>number of
218 colors</b> and the <b>number of labels</b> in use.
220 - <b>Orientation</b> - here you can choose between vertical and
221 horizontal orientation of the <b>Scalar Bar</b>
223 - <b>Origin & Size Vertical & Horizontal</b> - allows to define
224 placement (<b>X</b> and <b>Y</b>) and lookout (<b>Width</b> and
225 <b>Height</b>) of Scalar Bars.
226 - <b>X</b>: abscissa of the point of origin (from the left
228 - <b>Y</b>: ordinate of the origin of the bar (from the bottom)
230 - <b>Distribution</b> in this menu you can Show/Hide distribution
231 histogram of the values of the <b>Scalar Bar</b> and specify the
232 <b>Coloring Type</b> of the histogram:
233 - <b>Multicolor</b> the histogram is colored as <b>Scalar Bar</b>
234 - <b>Monocolor</b> the histogram is colored as selected with
235 <b>Distribution color</b> selector