Just thinking out loud, as it were. Could you leave the BB in for the painting, then just unscrew it when you're ready to build the bike back up?
______________
Brifter: a good bit of jargon to cover generically a combination brake and shift lever, or to acknowledge the common function of Ergo levers, STI levers, and Doubletab Controls.