i did this without a pattern. basically i traced around the length and height of the glasses on some double-layered padding and traced the outside fabric to fit over that, making a flap as well. then i sewed some lace on the edges of the flap because they were kind of rough. the part where the button hole is came on the pants i got the fabric from so i didn't have to make it :)
Inspired by the comic shoes that are popular around here. but done on a glasses case.