-def putName(objmesh,name, i=-1):
- if i >= 0:
- suffix = "_%d"%i
- name += suffix
- smesh.SetName(objmesh, name)
+ @objmesh objet à nommer
+ @name le nom brut
+ @i_suff un éventuel suffixe
+ @i_pref un éventuel préfixe
+ """
+
+ # suffixe éventuel :
+ if i_suff >= 0:
+ suffixe = "_{}".format(i_suff)
+ name += suffixe