From 2662ddba78d0acfbd34d6e959382e99b29baa4e8 Mon Sep 17 00:00:00 2001 From: dmv Date: Thu, 5 Nov 2009 11:13:58 +0000 Subject: [PATCH] 0020431: EDF 1020 SMESH : Radial Mesh of a cylinder --- src/SMESHGUI/SMESHGUI_Hypotheses.cxx | 4 ++-- src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx | 2 +- src/StdMeshersGUI/StdMeshers_images.ts | 4 ++++ src/StdMeshersGUI/StdMeshers_msg_en.ts | 8 ++++++++ 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx index 8e9ff3973..0f2e0032b 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.cxx +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.cxx @@ -533,11 +533,11 @@ QString SMESHGUI_GenericHypothesisCreator::helpPage() const else if ( aHypType == "NumberOfLayers") aHelpFileName = "radial_prism_algo_page.html"; else if ( aHypType == "NumberOfLayers2D") - aHelpFileName = "radial_prism_algo_page.html"; + aHelpFileName = "radial_quadrangle_1D2D_algo_page.html"; else if ( aHypType == "LayerDistribution") aHelpFileName = "radial_prism_algo_page.html"; else if ( aHypType == "LayerDistribution2D") - aHelpFileName = "radial_prism_algo_page.html"; + aHelpFileName = "radial_quadrangle_1D2D_algo_page.html"; else if ( aHypType == "SegmentLengthAroundVertex") aHelpFileName = "segments_around_vertex_algo_page.html"; diff --git a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx index cce36edb0..0d72900dc 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx @@ -1128,7 +1128,7 @@ QString StdMeshersGUI_StdHypothesisCreator::hypTypeName( const QString& t ) cons types.insert( "ProjectionSource3D", "PROJECTION_SOURCE_3D" ); types.insert( "NumberOfLayers", "NUMBER_OF_LAYERS" ); types.insert( "LayerDistribution", "LAYER_DISTRIBUTION" ); - types.insert( "NumberOfLayers2D", "NUMBER_OF_LAYERS" ); + types.insert( "NumberOfLayers2D", "NUMBER_OF_LAYERS_2D" ); types.insert( "LayerDistribution2D", "LAYER_DISTRIBUTION" ); types.insert( "SegmentLengthAroundVertex", "SEGMENT_LENGTH_AROUND_VERTEX" ); types.insert( "MaxLength", "MAX_LENGTH" ); diff --git a/src/StdMeshersGUI/StdMeshers_images.ts b/src/StdMeshersGUI/StdMeshers_images.ts index 7dc80991b..7438aa85e 100644 --- a/src/StdMeshersGUI/StdMeshers_images.ts +++ b/src/StdMeshersGUI/StdMeshers_images.ts @@ -73,6 +73,10 @@ ICON_DLG_NUMBER_OF_LAYERS mesh_hypo_layer_distribution.png + + ICON_DLG_NUMBER_OF_LAYERS_2D + mesh_hypo_layer_distribution.png + ICON_DLG_PROJECTION_SOURCE_1D mesh_hypo_source_edge.png diff --git a/src/StdMeshersGUI/StdMeshers_msg_en.ts b/src/StdMeshersGUI/StdMeshers_msg_en.ts index caabb7f54..0a8ca42f4 100644 --- a/src/StdMeshersGUI/StdMeshers_msg_en.ts +++ b/src/StdMeshersGUI/StdMeshers_msg_en.ts @@ -221,10 +221,18 @@ SMESH_NUMBER_OF_LAYERS_HYPOTHESIS Radial Prism Parameter + + SMESH_NUMBER_OF_LAYERS_2D_HYPOTHESIS + Radial Quadrangle Parameter + SMESH_NUMBER_OF_LAYERS_TITLE Hypothesis Construction + + SMESH_NUMBER_OF_LAYERS_2D_TITLE + Hypothesis Construction + SMESH_PROJECTION_SOURCE_1D_HYPOTHESIS Projection Source 1D -- 2.39.2