The gouge on "gouge"?
It may be an evolution of the noun "gauge": a standard of measurement or a device for measuring. As a UAW metalworker, I would set up a machine to cut desired lengths of steel by using a gauge. For cutting a pattern, the setup standard was called a template.