Six cylindrical neodymium magnets are placed on the flat sides of a hex nut with alternating outward facing magnetic poles