#include "SMESHGUI_MeshOp.h"
#include "SMESHGUI_Displayer.h"
#include "SMESHGUI_MakeNodeAtPointDlg.h"
+#include "SMESHGUI_BuildCompoundDlg.h"
#include "SMESHGUI_Utils.h"
#include "SMESHGUI_GEOMGenUtils.h"
case 704: // Edit mesh/sub-mesh
startOperation( 704 );
break;
+ case 710: // Build compound mesh
+ {
+ if (checkLock(aStudy)) break;
+ EmitSignalDeactivateDialog();
+ new SMESHGUI_BuildCompoundDlg( this,
+ tr("SMESH_BUILD_COMPOUND_TITLE"),
+ tr("ICON_DLG_BUILD_COMPOUND"),
+ 1 );
+ }
+ break;
case 407: // DIAGONAL INVERSION
case 408: // Delete diagonal
{
createSMESHAction( 702, "CREATE_MESH", "ICON_DLG_INIT_MESH" );
createSMESHAction( 703, "CREATE_SUBMESH", "ICON_DLG_ADD_SUBMESH" );
createSMESHAction( 704, "EDIT_MESHSUBMESH","ICON_DLG_EDIT_MESH" );
+ createSMESHAction( 710, "BUILD_COMPOUND", "ICON_UNION" );
createSMESHAction( 801, "CREATE_GROUP", "ICON_SMESH_TREE_GROUP" );
createSMESHAction( 802, "CONSTRUCT_GROUP", "ICON_CONSTRUCT_GROUP" );
createSMESHAction( 803, "EDIT_GROUP", "ICON_EDIT_GROUP" );
createMenu( separator(), meshId, -1 );
createMenu( 701, meshId, -1 );
createMenu( separator(), meshId, -1 );
+ createMenu( 710, meshId, -1 );
+ createMenu( separator(), meshId, -1 );
createMenu( 801, meshId, -1 );
createMenu( 802, meshId, -1 );
createMenu( 803, meshId, -1 );
createTool( separator(), meshTb );
createTool( 701, meshTb );
createTool( separator(), meshTb );
+ createTool( 710, meshTb );
+ createTool( separator(), meshTb );
createTool( 801, meshTb );
createTool( 802, meshTb );
createTool( 803, meshTb );
msgid "SMESH_ROTATION"
msgstr "Rotation"
+#Build compound
+msgid "SMESH_BUILD_COMPOUND_TITLE"
+msgstr "Create a Compound"
+
# -------------- Mesh Infos --------------
#Mesh Infos
msgid "MEN_CREATE_SUBMESH"
msgstr "Create Sub-mesh"
+msgid "MEN_BUILD_COMPOUND"
+msgstr "Build Compound"
+
msgid "MEN_GLOBAL_HYPO"
msgstr "Global Hypothesis"
msgid "TOP_CREATE_SUBMESH"
msgstr "Create Sub-mesh"
+msgid "TOP_BUILD_COMPOUND"
+msgstr "Build Compound Mesh"
+
msgid "TOP_GLOBAL_HYPO"
msgstr "Global Hypothesis"
msgid "STB_CREATE_SUBMESH"
msgstr "Create Sub-mesh"
+msgid "STB_BUILD_COMPOUND"
+msgstr "Build Compound Mesh"
+
msgid "STB_GLOBAL_HYPO"
msgstr "Global Hypothesis"
msgid "SMESHGUI_MeshDlg::HYPOTHESES_SETS"
msgstr "Assign a set of hypotheses"
+#-----------------------------------------------------------
+
+msgid "SMESHGUI_BuildCompoundDlg::COMPOUND"
+msgstr "Compound"
+
+msgid "SMESHGUI_BuildCompoundDlg::RESULT_NAME"
+msgstr "Result name"
+
+msgid "SMESHGUI_BuildCompoundDlg::COMPOUND_MESH"
+msgstr "Compound_Mesh"
+
+msgid "SMESHGUI_BuildCompoundDlg::MESHES"
+msgstr "Meshes"
+
+msgid "SMESHGUI_BuildCompoundDlg::PROCESSING_IDENTICAL_GROUPS"
+msgstr "Processing identical groups"
+
+msgid "SMESHGUI_BuildCompoundDlg::UNITE"
+msgstr "Unite"
+
+msgid "SMESHGUI_BuildCompoundDlg::RENAME"
+msgstr "Rename"
+
+msgid "SMESHGUI_BuildCompoundDlg::MERGE_NODES_AND_ELEMENTS"
+msgstr "Merge coincident nodes and elements"
#-----------------------------------------------------------