mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +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,6 +145,14 @@ existing faces</b>. They are not entirely usable from the GUI, so a
|
|||||||
mesh created using these algorithms should be exported into a python
|
mesh created using these algorithms should be exported into a python
|
||||||
script, edited and then imported into the GUi.
|
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
|
Consider trying a sample script for construction of a mesh from our
|
||||||
\ref tui_creating_meshes_page "TUI Scripts" section.
|
\ref tui_creating_meshes_page "TUI Scripts" section.
|
||||||
</li>
|
</li>
|
||||||
|
@ -2019,7 +2019,8 @@ void SMESHGUI_BaseComputeOp::evaluateMesh()
|
|||||||
if ( memoryLack )
|
if ( memoryLack )
|
||||||
aMemoryReserve.release();
|
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
|
// SHOW ERRORS
|
||||||
|
|
||||||
|
@ -966,6 +966,10 @@ Please enter correct values and try again</translation>
|
|||||||
<source>SMESH_COMPUTE_SUCCEED</source>
|
<source>SMESH_COMPUTE_SUCCEED</source>
|
||||||
<translation>Mesh computation succeed</translation>
|
<translation>Mesh computation succeed</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>SMESH_EVALUATE_SUCCEED</source>
|
||||||
|
<translation>Mesh evaluation succeed</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>SMESH_CONTENT</source>
|
<source>SMESH_CONTENT</source>
|
||||||
<translation>Content</translation>
|
<translation>Content</translation>
|
||||||
@ -1863,6 +1867,10 @@ Consider saving your work before application crash</translation>
|
|||||||
<source>SMESH_WRN_COMPUTE_FAILED</source>
|
<source>SMESH_WRN_COMPUTE_FAILED</source>
|
||||||
<translation>Mesh computation failed</translation>
|
<translation>Mesh computation failed</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>SMESH_WRN_EVALUATE_FAILED</source>
|
||||||
|
<translation>Mesh evaluation failed</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>SMESH_WRN_EMPTY_NAME</source>
|
<source>SMESH_WRN_EMPTY_NAME</source>
|
||||||
<translation>Empty name is not valid</translation>
|
<translation>Empty name is not valid</translation>
|
||||||
|
Loading…
Reference in New Issue
Block a user