Machinist's cap