Parametric buckle

Needed a simple buckle for a cloth strap and couldn't find one the right size...

This is probably not the most efficient or strong buckle, but it works.

Update: added a version of the buckle that was beveled in blender.