Well, you can either drill out all the rivets and paint the parts separately and then robot it back together, or you can use masking tape to carefully mask off everything you don't want to paint and leave it assembled. You will want to sand the metal so it is clean and has a good surface for the paint to adhere to. Then do 3-5 light coats of spray paint sanding lightly between them.