Parametric leg for table

Parametric leg for table with M8 nut hole in the middle.