# -*- coding: utf-8 -*-
-# Copyright (C) 2014-2021 EDF R&D
+# Copyright (C) 2014-2023 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
nro_cas=None):
"""edges de bord, faces défaut à respecter"""
logging.info('start')
- logging.info("Pour le cas n°%d", nro_cas)
+ logging.info("Pour le cas n°%s", nro_cas)
_ = smesh.CreateFilterManager()
_, internalBoundary, _NoneGroup = internalBoundary.MakeBoundaryElements( SMESH.BND_1DFROM2D, '', '', 0, [ ])
geomPublish(initLog.always, aretesVivesC, "aretesVives", nro_cas)
meshAretesVives = smesh.Mesh(aretesVivesC)
algo1d = meshAretesVives.Segment()
- hypo1d = algo1d.LocalLength(lgAretesVives,[],1e-07)
putName(algo1d.GetSubMesh(), "aretesVives", i_pref=nro_cas)
- putName(algo1d, "algo1d_aretesVives", i_pref=nro_cas)
- putName(hypo1d, "hypo1d_aretesVives", i_pref=nro_cas)
+ hypo1d = algo1d.LocalLength(lgAretesVives,[],1e-07)
+ putName(hypo1d, "aretesVives={}".format(lgAretesVives), i_pref=nro_cas)
is_done = meshAretesVives.Compute()
text = "meshAretesVives.Compute"