3D printer Consumable sensor