server-lib="BLSURFEngine"
gui-lib="BLSURFPluginGUI">
<hypotheses>
- <hypothesis type="MG_CADSurf_Parameters"
+ <hypothesis type="MG-CADSurf Parameters"
label-id="MG-CADSurf Parameters"
icon-id="mesh_hypo_BLSURF.png"
dim="2">
</hypotheses>
<algorithms>
- <algorithm type="MG_CADSurf"
+ <algorithm type="MG-CADSurf"
label-id="MG-CADSurf"
icon-id="mesh_algo_BLSURF.png"
- opt-hypos="MG_CADSurf_Parameters,ViscousLayers2D"
+ opt-hypos="MG-CADSurf Parameters,ViscousLayers2D"
output="TRIA,QUAD"
dim="2"
support-submeshes="true">
<python-wrap>
- <algo>BLSURF=Triangle(algo=smeshBuilder.MG_CADSurf)</algo>
- <hypo>BLSURF_Parameters=Parameters()</hypo>
+ <algo>MG-CADSurf=Triangle(algo=smeshBuilder.MG_CADSurf)</algo>
+ <hypo>MG-CADSurf Parameters=Parameters()</hypo>
<hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
</python-wrap>
</algorithm>
# 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
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
# @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
{
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());
GeometricalLocalSize
};
- static const char* GetHypType() { return "MG_CADSurf_Parameters"; }
+ static const char* GetHypType() { return "MG-CADSurf Parameters"; }
TopoDS_Shape entryToShape(std::string entry);
// Algorithms
if (strcmp(aHypName, "BLSURF") == 0 ||
- strcmp(aHypName, "MG_CADSurf") == 0 )
+ strcmp(aHypName, "MG-CADSurf") == 0 )
aCreator = new BLSURFPlugin_Creator_i<BLSURFPlugin_BLSURF_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<BLSURFPlugin_Hypothesis_i>;
else ;
{
SMESHGUI_GenericHypothesisCreator* aCreator = NULL;
if( aHypType=="BLSURF_Parameters" ||
- aHypType=="MG_CADSurf_Parameters")
+ aHypType=="MG-CADSurf Parameters")
aCreator = new BLSURFPluginGUI_HypothesisCreator( aHypType );
return aCreator;
}
<context>
<name>@default</name>
<message>
- <source>MG_CADSurf_ICON_SELECT</source>
+ <source>MG-CADSurf_ICON_SELECT</source>
<translation>mesh_select_BLSURF.png</translation>
</message>
<message>
<translation>mesh_hypo_BLSURF.png</translation>
</message>
<message>
- <source>ICON_SMESH_TREE_ALGO_MG_CADSurf</source>
+ <source>ICON_SMESH_TREE_ALGO_MG-CADSurf</source>
<translation>mesh_tree_algo_BLSURF.png</translation>
</message>
<message>
- <source>ICON_SMESH_TREE_HYPO_MG_CADSurf_Parameters</source>
+ <source>ICON_SMESH_TREE_HYPO_MG-CADSurf Parameters</source>
<translation>mesh_tree_hypo_BLSURF.png</translation>
</message>
</context>