@louhikarme here is blend example, but that is very simple object – just a cube with sharp edges and bevel modifier.
@tbrbn yes, thats just a primitive cube with all edges marked as sharp, autosmooth and bevel modifier. No, there is no edge-split modifier here.
Tweaking segments count and profile allows me to get the right result I think, but maybe there is a more correct method?