From 664938a8945db6a3f758c2b80af20965ec1bb91c Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 11 Mar 2020 12:25:48 +0300 Subject: [PATCH] Porting to MeshGems 2.10: minor change in Python API --- src/BLSURFPlugin/BLSURFPluginBuilder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BLSURFPlugin/BLSURFPluginBuilder.py b/src/BLSURFPlugin/BLSURFPluginBuilder.py index ce756a8..79047a9 100644 --- a/src/BLSURFPlugin/BLSURFPluginBuilder.py +++ b/src/BLSURFPlugin/BLSURFPluginBuilder.py @@ -254,6 +254,8 @@ class BLSURF_Algorithm(Mesh_Algorithm): # combination with the gradation option. # def SetEnforceCadEdgesSize( self, toEnforce ): + if not version_less(self.Parameters().GetMeshGemsVersion(), '2.10'): + print("Warning: method SetEnforceCadEdgesSize() is deprecated") self.Parameters().SetEnforceCadEdgesSize( toEnforce ) ## Set jacobian_rectification_respect_geometry parameter -- 2.39.2