mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +05:00
Implememtation of evaluation for improvement 0019296.
This commit is contained in:
parent
bb0c89d5a8
commit
f91869c65c
BIN
doc/salome/gui/SMESH/images/mesh_evaluation_succeed.png
Executable file
BIN
doc/salome/gui/SMESH/images/mesh_evaluation_succeed.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
@ -145,9 +145,17 @@ existing faces</b>. They are not entirely usable from the GUI, so a
|
||||
mesh created using these algorithms should be exported into a python
|
||||
script, edited and then imported into the GUi.
|
||||
|
||||
<li>It is possible to make evaluation of size of prospective mesh
|
||||
before \b Compute operation. For this, select your mesh in the <b>Object
|
||||
Browser</b> and from the \b Mesh menu select \b Evaluate. Result of
|
||||
evaluation will be represented by the following information box:
|
||||
|
||||
\image html mesh_evaluation_succeed.png
|
||||
|
||||
|
||||
Consider trying a sample script for construction of a mesh from our
|
||||
\ref tui_creating_meshes_page "TUI Scripts" section.
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
*/
|
||||
*/
|
||||
|
@ -2019,7 +2019,8 @@ void SMESHGUI_BaseComputeOp::evaluateMesh()
|
||||
if ( memoryLack )
|
||||
aMemoryReserve.release();
|
||||
|
||||
myCompDlg->setWindowTitle(tr( evaluateFailed ? "SMESH_WRN_COMPUTE_FAILED" : "SMESH_COMPUTE_SUCCEED"));
|
||||
evaluateFailed = ( aCompErrors->length() > 0 );
|
||||
myCompDlg->setWindowTitle(tr( evaluateFailed ? "SMESH_WRN_EVALUATE_FAILED" : "SMESH_EVALUATE_SUCCEED"));
|
||||
|
||||
// SHOW ERRORS
|
||||
|
||||
|
@ -966,6 +966,10 @@ Please enter correct values and try again</translation>
|
||||
<source>SMESH_COMPUTE_SUCCEED</source>
|
||||
<translation>Mesh computation succeed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SMESH_EVALUATE_SUCCEED</source>
|
||||
<translation>Mesh evaluation succeed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SMESH_CONTENT</source>
|
||||
<translation>Content</translation>
|
||||
@ -1863,6 +1867,10 @@ Consider saving your work before application crash</translation>
|
||||
<source>SMESH_WRN_COMPUTE_FAILED</source>
|
||||
<translation>Mesh computation failed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SMESH_WRN_EVALUATE_FAILED</source>
|
||||
<translation>Mesh evaluation failed</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SMESH_WRN_EMPTY_NAME</source>
|
||||
<translation>Empty name is not valid</translation>
|
||||
|
Loading…
Reference in New Issue
Block a user