From: eap Date: Mon, 4 Oct 2010 11:30:00 +0000 (+0000) Subject: 0020889: EDF 1433 SMESH: SplitHexaToTetra: add the 24 tetras mode X-Git-Tag: V5_1_5a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b9acb518d90195d666f681b02b2429171750b2d0;p=modules%2Fsmesh.git 0020889: EDF 1433 SMESH: SplitHexaToTetra: add the 24 tetras mode * Add HEXA_TO_24 splitting mode --- diff --git a/doc/salome/gui/SMESH/images/split_into_tetra.png b/doc/salome/gui/SMESH/images/split_into_tetra.png index bc88b1169..fce071e7d 100644 Binary files a/doc/salome/gui/SMESH/images/split_into_tetra.png and b/doc/salome/gui/SMESH/images/split_into_tetra.png differ diff --git a/idl/SMESH_MeshEditor.idl b/idl/SMESH_MeshEditor.idl index 4b450267c..387091de3 100644 --- a/idl/SMESH_MeshEditor.idl +++ b/idl/SMESH_MeshEditor.idl @@ -247,6 +247,7 @@ module SMESH * \param methodFlags - flags passing splitting method: * 1 - split the hexahedron into 5 tetrahedrons * 2 - split the hexahedron into 6 tetrahedrons + * 3 - split the hexahedron into 24 tetrahedrons */ void SplitVolumesIntoTetra(in SMESH_IDSource elems, in short methodFlags) raises (SALOME::SALOME_Exception); diff --git a/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx b/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx index 7b5477ce6..ad420496e 100755 --- a/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx @@ -1489,9 +1489,9 @@ SMESHGUI_CuttingIntoTetraDlg::SMESHGUI_CuttingIntoTetraDlg(SMESHGUI* theModule) if ( hasHexa ) { - myGroupChoice->button(2)->hide(); myGroupChoice->button(0)->setText( tr("SPLIT_HEX_TO_5_TETRA")); myGroupChoice->button(1)->setText( tr("SPLIT_HEX_TO_6_TETRA")); + myGroupChoice->button(2)->setText( tr("SPLIT_HEX_TO_24_TETRA")); myCriterionGrp->setTitle( tr("SPLIT_METHOD")); myCriterionGrp->show(); diff --git a/src/SMESHGUI/SMESH_msg_en.ts b/src/SMESHGUI/SMESH_msg_en.ts index b883c89d7..4a3a32e3f 100644 --- a/src/SMESHGUI/SMESH_msg_en.ts +++ b/src/SMESHGUI/SMESH_msg_en.ts @@ -4855,6 +4855,10 @@ It is impossible to read point coordinates from file SPLIT_HEX_TO_6_TETRA Into 6 tetrahedra + + SPLIT_HEX_TO_24_TETRA + Into 24 tetrahedra + SMESHGUI_PrecisionDlg