From: eap Date: Tue, 9 Sep 2014 10:14:55 +0000 (+0400) Subject: COTECH: Update names of DISTENE products X-Git-Tag: V7_5_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ac0ed6b0fef55e276593e4c7afc4a4ba999cd82a;p=plugins%2Fblsurfplugin.git COTECH: Update names of DISTENE products BLSURF -> MG-CADSurf GHS3D -> MG-Tetra Hexotic -> MG-Hexa and GHS3DPRL -> MG-Tetra Parallel --- diff --git a/resources/BLSURFPlugin.xml b/resources/BLSURFPlugin.xml index e2da767..1250049 100644 --- a/resources/BLSURFPlugin.xml +++ b/resources/BLSURFPlugin.xml @@ -31,7 +31,7 @@ server-lib="BLSURFEngine" gui-lib="BLSURFPluginGUI"> - @@ -65,16 +65,16 @@ - - BLSURF=Triangle(algo=smeshBuilder.MG_CADSurf) - BLSURF_Parameters=Parameters() + MG-CADSurf=Triangle(algo=smeshBuilder.MG_CADSurf) + MG-CADSurf Parameters=Parameters() ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges()) diff --git a/src/BLSURFPlugin/BLSURFPluginBuilder.py b/src/BLSURFPlugin/BLSURFPluginBuilder.py index b60ce41..7eb158f 100644 --- a/src/BLSURFPlugin/BLSURFPluginBuilder.py +++ b/src/BLSURFPlugin/BLSURFPluginBuilder.py @@ -44,9 +44,9 @@ except ImportError: # Mesh algo type identifiers #---------------------------- -## Algorithm type: BLSurf triangle 2D algorithm, see BLSURF_Algorithm -BLSURF = "MG_CADSurf" -MG_CADSurf = "MG_CADSurf" +## Algorithm type: MG-CADSurf triangle algorithm, see BLSURF_Algorithm +MG_CADSurf = "MG-CADSurf" +BLSURF = MG_CADSurf #---------------------- # Algorithms @@ -66,7 +66,7 @@ class BLSURF_Algorithm(Mesh_Algorithm): algoType = BLSURF ## doc string of the method # @internal - docHelper = "Creates triangle 2D algorithm for faces" + docHelper = "Creates triangle algorithm for faces" _anisotropic_ratio = 0 _bad_surface_element_aspect_ratio = 1000 @@ -431,7 +431,7 @@ class BLSURF_Algorithm(Mesh_Algorithm): # @return hypothesis object def Parameters(self): if not self.params: - self.params = self.Hypothesis("MG_CADSurf_Parameters", [], + self.params = self.Hypothesis("MG-CADSurf Parameters", [], "libBLSURFEngine.so", UseExisting=0) pass return self.params diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 7624e36..d968a6d 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -241,7 +241,7 @@ BLSURFPlugin_BLSURF::BLSURFPlugin_BLSURF(int hypId, int studyId, { MESSAGE("BLSURFPlugin_BLSURF::BLSURFPlugin_BLSURF"); - _name = "MG_CADSurf";//"BLSURF"; + _name = "MG-CADSurf";//"BLSURF"; _shapeType = (1 << TopAbs_FACE); // 1 bit /shape type _compatibleHypothesis.push_back(BLSURFPlugin_Hypothesis::GetHypType()); _compatibleHypothesis.push_back(StdMeshers_ViscousLayers2D::GetHypType()); diff --git a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx index 324e26e..37c9afe 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx +++ b/src/BLSURFPlugin/BLSURFPlugin_Hypothesis.hxx @@ -64,7 +64,7 @@ public: GeometricalLocalSize }; - static const char* GetHypType() { return "MG_CADSurf_Parameters"; } + static const char* GetHypType() { return "MG-CADSurf Parameters"; } TopoDS_Shape entryToShape(std::string entry); diff --git a/src/BLSURFPlugin/BLSURFPlugin_i.cxx b/src/BLSURFPlugin/BLSURFPlugin_i.cxx index 4e2aed2..cd78a17 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_i.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_i.cxx @@ -60,11 +60,11 @@ extern "C" // Algorithms if (strcmp(aHypName, "BLSURF") == 0 || - strcmp(aHypName, "MG_CADSurf") == 0 ) + strcmp(aHypName, "MG-CADSurf") == 0 ) aCreator = new BLSURFPlugin_Creator_i; // Hypotheses else if (strcmp(aHypName, "BLSURF_Parameters") == 0 || - strcmp(aHypName, "MG_CADSurf_Parameters") == 0 ) + strcmp(aHypName, "MG-CADSurf Parameters") == 0 ) aCreator = new BLSURFPlugin_Creator_i; else ; diff --git a/src/GUI/BLSURFPluginGUI.cxx b/src/GUI/BLSURFPluginGUI.cxx index ce97e99..369fc37 100755 --- a/src/GUI/BLSURFPluginGUI.cxx +++ b/src/GUI/BLSURFPluginGUI.cxx @@ -44,7 +44,7 @@ extern "C" { SMESHGUI_GenericHypothesisCreator* aCreator = NULL; if( aHypType=="BLSURF_Parameters" || - aHypType=="MG_CADSurf_Parameters") + aHypType=="MG-CADSurf Parameters") aCreator = new BLSURFPluginGUI_HypothesisCreator( aHypType ); return aCreator; } diff --git a/src/GUI/BLSURFPlugin_images.ts b/src/GUI/BLSURFPlugin_images.ts index 3fdee3c..db5c9a5 100644 --- a/src/GUI/BLSURFPlugin_images.ts +++ b/src/GUI/BLSURFPlugin_images.ts @@ -4,7 +4,7 @@ @default - MG_CADSurf_ICON_SELECT + MG-CADSurf_ICON_SELECT mesh_select_BLSURF.png @@ -12,11 +12,11 @@ mesh_hypo_BLSURF.png - ICON_SMESH_TREE_ALGO_MG_CADSurf + ICON_SMESH_TREE_ALGO_MG-CADSurf mesh_tree_algo_BLSURF.png - ICON_SMESH_TREE_HYPO_MG_CADSurf_Parameters + ICON_SMESH_TREE_HYPO_MG-CADSurf Parameters mesh_tree_hypo_BLSURF.png