From: eap Date: Fri, 7 Aug 2015 12:39:33 +0000 (+0300) Subject: 23102: [CEA 1486 ] Add the parameters for defining the boundary layers X-Git-Tag: V7_7_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb009d86fbabb6c1a3519c9222357352109c443c;p=plugins%2Fhexoticplugin.git 23102: [CEA 1486 ] Add the parameters for defining the boundary layers Do not pass invalid and incomplete VL parameters --- diff --git a/src/HexoticPlugin/HexoticPlugin_Hexotic.cxx b/src/HexoticPlugin/HexoticPlugin_Hexotic.cxx index 568fae0..7c781af 100644 --- a/src/HexoticPlugin/HexoticPlugin_Hexotic.cxx +++ b/src/HexoticPlugin/HexoticPlugin_Hexotic.cxx @@ -1093,23 +1093,19 @@ std::string HexoticPlugin_Hexotic::getHexoticCommand(const TCollection_AsciiStri if (_sizeMaps.begin() != _sizeMaps.end()) run_Hexotic += sizeMap + Hexotic_SizeMap_Prefix; - if (_nbLayers > 0) + if (_nbLayers > 0 && + _firstLayerSize > 0 && + _growth > 0 && + !_facesWithLayers.empty()) + { run_Hexotic += comNbLayers + nbLayers; - - if (_firstLayerSize > 0) run_Hexotic += comFirstLayerSize + firstLayerSize; - - run_Hexotic += comDirection + direction; - - if (_growth > 0) + run_Hexotic += comDirection + direction; run_Hexotic += comGrowth + growth; - - if (!_facesWithLayers.empty()) run_Hexotic += comFacesWithLayers + facesWithLayers; - - if (!_imprintedFaces.empty()) - run_Hexotic += comImptintedFaces + imprintedFaces; - + if (!_imprintedFaces.empty()) + run_Hexotic += comImptintedFaces + imprintedFaces; + } run_Hexotic += in + Hexotic_In + out + Hexotic_Out; run_Hexotic += subdom + mode; #ifndef WIN32