mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-28 14:20:34 +05:00
PAL11986. Add a new status to ErrorCode enum
This commit is contained in:
parent
da4be66299
commit
b786ae51b2
@ -140,6 +140,7 @@ module SMESH
|
|||||||
// Load(face)
|
// Load(face)
|
||||||
ERR_LOADF_NARROW_FACE, // too narrow face
|
ERR_LOADF_NARROW_FACE, // too narrow face
|
||||||
ERR_LOADF_CLOSED_FACE, // closed face
|
ERR_LOADF_CLOSED_FACE, // closed face
|
||||||
|
ERR_LOADF_CANT_PROJECT, // impossible to project nodes
|
||||||
// Load(volume)
|
// Load(volume)
|
||||||
ERR_LOADV_BAD_SHAPE, // volume is not a brick of 6 faces
|
ERR_LOADV_BAD_SHAPE, // volume is not a brick of 6 faces
|
||||||
ERR_LOADV_COMPUTE_PARAMS, // cant compute point parameters
|
ERR_LOADV_COMPUTE_PARAMS, // cant compute point parameters
|
||||||
|
@ -516,6 +516,7 @@ bool SMESHGUI_CreatePatternDlg::loadFromObject (const bool theMess)
|
|||||||
if (aCode == SMESH::SMESH_Pattern::ERR_LOAD_EMPTY_SUBMESH ) aMess = tr("ERR_LOAD_EMPTY_SUBMESH");
|
if (aCode == SMESH::SMESH_Pattern::ERR_LOAD_EMPTY_SUBMESH ) aMess = tr("ERR_LOAD_EMPTY_SUBMESH");
|
||||||
else if (aCode == SMESH::SMESH_Pattern::ERR_LOADF_NARROW_FACE ) aMess = tr("ERR_LOADF_NARROW_FACE");
|
else if (aCode == SMESH::SMESH_Pattern::ERR_LOADF_NARROW_FACE ) aMess = tr("ERR_LOADF_NARROW_FACE");
|
||||||
else if (aCode == SMESH::SMESH_Pattern::ERR_LOADF_CLOSED_FACE ) aMess = tr("ERR_LOADF_CLOSED_FACE");
|
else if (aCode == SMESH::SMESH_Pattern::ERR_LOADF_CLOSED_FACE ) aMess = tr("ERR_LOADF_CLOSED_FACE");
|
||||||
|
else if (aCode == SMESH::SMESH_Pattern::ERR_LOADF_CANT_PROJECT ) aMess = tr("ERR_LOADF_CANT_PROJECT");
|
||||||
else if (aCode == SMESH::SMESH_Pattern::ERR_LOADV_BAD_SHAPE ) aMess = tr("ERR_LOADV_BAD_SHAPE");
|
else if (aCode == SMESH::SMESH_Pattern::ERR_LOADV_BAD_SHAPE ) aMess = tr("ERR_LOADV_BAD_SHAPE");
|
||||||
else if (aCode == SMESH::SMESH_Pattern::ERR_LOADV_COMPUTE_PARAMS) aMess = tr("ERR_LOADV_COMPUTE_PARAMS");
|
else if (aCode == SMESH::SMESH_Pattern::ERR_LOADV_COMPUTE_PARAMS) aMess = tr("ERR_LOADV_COMPUTE_PARAMS");
|
||||||
else aMess = tr("ERROR_OF_CREATION");
|
else aMess = tr("ERROR_OF_CREATION");
|
||||||
|
@ -1954,6 +1954,9 @@ msgstr "It is impossible to create pattern from narrow face"
|
|||||||
msgid "SMESHGUI_CreatePatternDlg::ERR_LOADF_CLOSED_FACE"
|
msgid "SMESHGUI_CreatePatternDlg::ERR_LOADF_CLOSED_FACE"
|
||||||
msgstr "It is impossible to create pattern from face having seam edge"
|
msgstr "It is impossible to create pattern from face having seam edge"
|
||||||
|
|
||||||
|
msgid "SMESHGUI_CreatePatternDlg::ERR_LOADF_CANT_PROJECT"
|
||||||
|
msgstr "Impossible to perform projection of nodes to the face"
|
||||||
|
|
||||||
msgid "SMESHGUI_CreatePatternDlg::ERR_LOADV_BAD_SHAPE"
|
msgid "SMESHGUI_CreatePatternDlg::ERR_LOADV_BAD_SHAPE"
|
||||||
msgstr "Pattern can be created from closed shell or solid with 6 faces only"
|
msgstr "Pattern can be created from closed shell or solid with 6 faces only"
|
||||||
|
|
||||||
|
@ -470,6 +470,7 @@ SMESH::SMESH_Pattern::ErrorCode SMESH_Pattern_i::GetErrorCode()
|
|||||||
RETCASE( ERR_LOAD_EMPTY_SUBMESH );
|
RETCASE( ERR_LOAD_EMPTY_SUBMESH );
|
||||||
RETCASE( ERR_LOADF_NARROW_FACE );
|
RETCASE( ERR_LOADF_NARROW_FACE );
|
||||||
RETCASE( ERR_LOADF_CLOSED_FACE );
|
RETCASE( ERR_LOADF_CLOSED_FACE );
|
||||||
|
RETCASE( ERR_LOADF_CANT_PROJECT );
|
||||||
RETCASE( ERR_LOADV_BAD_SHAPE );
|
RETCASE( ERR_LOADV_BAD_SHAPE );
|
||||||
RETCASE( ERR_LOADV_COMPUTE_PARAMS );
|
RETCASE( ERR_LOADV_COMPUTE_PARAMS );
|
||||||
RETCASE( ERR_APPL_NOT_LOADED );
|
RETCASE( ERR_APPL_NOT_LOADED );
|
||||||
|
Loading…
Reference in New Issue
Block a user