From: vsr Date: Wed, 18 Dec 2013 15:09:51 +0000 (+0000) Subject: Merge from V7_3_BR branch 18/12/2013 X-Git-Tag: V7_4_0a1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9253ccf91c1f5118803f022f72aea86f5bcf4890;p=plugins%2Fghs3dplugin.git Merge from V7_3_BR branch 18/12/2013 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 031aab9..4f361b2 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ CMAKE_POLICY(SET CMP0003 NEW) STRING(TOUPPER ${PROJECT_NAME} PROJECT_NAME_UC) SET(${PROJECT_NAME_UC}_MAJOR_VERSION 7) -SET(${PROJECT_NAME_UC}_MINOR_VERSION 2) +SET(${PROJECT_NAME_UC}_MINOR_VERSION 3) SET(${PROJECT_NAME_UC}_PATCH_VERSION 0) SET(${PROJECT_NAME_UC}_VERSION ${${PROJECT_NAME_UC}_MAJOR_VERSION}.${${PROJECT_NAME_UC}_MINOR_VERSION}.${${PROJECT_NAME_UC}_PATCH_VERSION}) @@ -141,6 +141,12 @@ IF(EXISTS ${SMESH_ROOT_DIR}) MESSAGE(FATAL_ERROR "We absolutely need a Salome SMESH with GUI, please set SALOME_BUILD_GUI=ON in SMESH module") ENDIF(NOT SALOME_SMESH_BUILD_GUI) ENDIF(SALOME_BUILD_GUI) + IF(SALOME_BUILD_DOC) + IF(NOT SALOME_SMESH_BUILD_DOC) + MESSAGE(FATAL_ERROR "We absolutely need a Salome SMESH documentation to build GHS3DPLUGIN documentation. " + "So, you should either set SALOME_BUILD_DOC=OFF in GHS3DPLUGIN or set SALOME_BUILD_DOC=ON in SMESH module.") + ENDIF(NOT SALOME_SMESH_BUILD_DOC) + ENDIF(SALOME_BUILD_DOC) ELSE(EXISTS ${SMESH_ROOT_DIR}) MESSAGE(FATAL_ERROR "We absolutely need a Salome SMESH, please define SMESH_ROOT_DIR") ENDIF(EXISTS ${SMESH_ROOT_DIR}) diff --git a/doc/salome/gui/GHS3DPLUGIN/CMakeLists.txt b/doc/salome/gui/GHS3DPLUGIN/CMakeLists.txt index bcd73b5..b30912c 100755 --- a/doc/salome/gui/GHS3DPLUGIN/CMakeLists.txt +++ b/doc/salome/gui/GHS3DPLUGIN/CMakeLists.txt @@ -47,4 +47,5 @@ INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/GHS3DPLUGIN DESTINATION ${SALOME_I INSTALL(FILES images/head.png DESTINATION ${SALOME_INSTALL_DOC}/gui/GHS3DPLUGIN) INSTALL(FILES images/head.png DESTINATION ${SALOME_INSTALL_DOC}/gui/GHS3DPLUGIN/ghs3dpluginpy_doc) -SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES GHS3DPLUGIN) \ No newline at end of file +SET(make_clean_files GHS3DPLUGIN ghs3dpluginpy_doc.tag) +SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}") diff --git a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx index 4ae382f..e5c72f2 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx @@ -3377,10 +3377,11 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh& theMesh, TCollection_AsciiString aLogFileName = aGenericName + ".log"; // log TCollection_AsciiString aResultFileName; - TCollection_AsciiString aGMFFileName, aRequiredVerticesFileName, aSolFileName; + TCollection_AsciiString aGMFFileName, aRequiredVerticesFileName, aSolFileName, aResSolFileName; //#ifdef _DEBUG_ aGMFFileName = aGenericName + ".mesh"; // GMF mesh file aResultFileName = aGenericName + "Vol.mesh"; // GMF mesh file + aResSolFileName = aGenericName + "Vol.sol"; // GMF mesh file aRequiredVerticesFileName = aGenericNameRequired + ".mesh"; // GMF required vertices mesh file aSolFileName = aGenericNameRequired + ".sol"; // GMF solution file //#else @@ -3645,6 +3646,7 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh& theMesh, removeFile( aGMFFileName ); removeFile( aRequiredVerticesFileName ); removeFile( aSolFileName ); + removeFile( aResSolFileName ); removeFile( aResultFileName ); removeFile( aSmdsToGhs3dIdMapFileName ); } @@ -3683,10 +3685,11 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh& theMesh, TCollection_AsciiString aResultFileName; bool Ok; - TCollection_AsciiString aGMFFileName, aRequiredVerticesFileName, aSolFileName; + TCollection_AsciiString aGMFFileName, aRequiredVerticesFileName, aSolFileName, aResSolFileName; //#ifdef _DEBUG_ aGMFFileName = aGenericName + ".mesh"; // GMF mesh file aResultFileName = aGenericName + "Vol.mesh"; // GMF mesh file + aResSolFileName = aGenericName + "Vol.sol"; // GMF mesh file aRequiredVerticesFileName = aGenericNameRequired + ".mesh"; // GMF required vertices mesh file aSolFileName = aGenericNameRequired + ".sol"; // GMF solution file //#else @@ -3883,6 +3886,7 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh& theMesh, removeFile( aResultFileName ); removeFile( aRequiredVerticesFileName ); removeFile( aSolFileName ); + removeFile( aResSolFileName ); } return Ok; } diff --git a/src/GUI/GHS3DPlugin_msg_ja.ts b/src/GUI/GHS3DPlugin_msg_ja.ts index 5ff2e04..eac4660 100644 --- a/src/GUI/GHS3DPlugin_msg_ja.ts +++ b/src/GUI/GHS3DPlugin_msg_ja.ts @@ -33,11 +33,11 @@ GHS3D_TO_MAKE_DOMAIN_GROUPS - GHS3D_TO_MAKE_DOMAIN_GROUPS + ドメインのグループを確認するには ADVANCED_MESHING_GROUP_TITLE - ADVANCED_MESHING_GROUP_TITLE + 高度なメッシュ オプション INIT_MEMORY_SIZE @@ -45,7 +45,7 @@ KEEP_WORKING_FILES - 一時ファイルを保持します。 + すべての一時ファイルを保持します。 LEVEL_NONE @@ -69,11 +69,11 @@ LOG_IN_FILE - LOG_IN_FILE + ログ ファイルへの印刷します。 LOG_GROUP_TITLE - LOG_GROUP_TITLE + Et のログをデバッグ MAX_MEMORY_SIZE @@ -85,7 +85,7 @@ MEMORY_GROUP_TITLE - MEMORY_GROUP_TITLE + メモリの設定 NO_INITIAL_CENTRAL_POINT @@ -97,7 +97,7 @@ FEM_CORRECTION - 使用 fix GEF + GEF 補正を使用してください。 GHS3D_GRADATION @@ -105,7 +105,7 @@ REMOVE_LOG_ON_SUCCESS - REMOVE_LOG_ON_SUCCESS + 削除ログ成功 SELECT_DIR @@ -205,7 +205,7 @@ GHS3D_ENF_MESH_CONSTRAINT_FACE - フェース + Faces GHS3D_ENF_SIZE_LABEL