

In my experience, radius is somewhat determined by bending process and available tools and usually can't be manufactured to arbitrary values. This manual calulcation becomes very awkward in case you have some non-orthogonal angles and somewhat negates the advantages of CAD I wonder how people use this in reality. And so it's the designer's task to handle the thickness properly.

In contrast, as you stated, the flange length equals leg length + outer radius. The parameters that control the flange are length and radius which are a leg length and inner radius in the GitHub example. You are right, you have to calculate length manually.
