2424from flow360 .log import log
2525from flow360 .version import __version__
2626
27+ DEFAULT_PLANAR_FACE_TOLERANCE = 1e-6
28+
2729
2830def _to_24_11_1 (params_as_dict ):
2931 # Check and remove the 'meshing' node if conditions are met
@@ -284,6 +286,17 @@ def _to_25_6_2(params_as_dict):
284286 return params_as_dict
285287
286288
289+ def _to_25_6_4 (params_as_dict ):
290+ if params_as_dict .get ("meshing" ) is None :
291+ return params_as_dict
292+ if "defaults" not in params_as_dict ["meshing" ]:
293+ return params_as_dict
294+ meshing_defaults = params_as_dict ["meshing" ].get ("defaults" , {})
295+ if meshing_defaults .get ("planar_face_tolerance" ) is None :
296+ meshing_defaults ["planar_face_tolerance" ] = DEFAULT_PLANAR_FACE_TOLERANCE
297+ return params_as_dict
298+
299+
287300VERSION_MILESTONES = [
288301 (Flow360Version ("24.11.1" ), _to_24_11_1 ),
289302 (Flow360Version ("24.11.7" ), _to_24_11_7 ),
@@ -292,7 +305,8 @@ def _to_25_6_2(params_as_dict):
292305 (Flow360Version ("25.2.1" ), _to_25_2_1 ),
293306 (Flow360Version ("25.2.3" ), _to_25_2_3 ),
294307 (Flow360Version ("25.4.1" ), _to_25_4_1 ),
295- (Flow360Version ("25.6.4" ), _to_25_6_2 ),
308+ (Flow360Version ("25.6.2" ), _to_25_6_2 ),
309+ (Flow360Version ("25.6.4" ), _to_25_6_4 ),
296310] # A list of the Python API version tuple with there corresponding updaters.
297311
298312
0 commit comments