did you look at 4.1 ? there is a built-in geo-node group that does exactly that , since auto-smooth has been removed …