Martin's cages uses 1"x1/2" mesh for their cages, and 1/2"x1/2" for the balconies and full middle floors. I have Martin's cages, and so do many rat owners - i have yet to hear of a rat trapping feet any more than with other cages.
http://www.martinscages.com/products/cages/rat/
Be aware that home made cages are harder and more expensive to make that you would think, IF you do them PROPERLY. More recently it's been said that they're not worth it (they never last, they take forever to construct, and aren't mobile or easy to clean depending on style) and it's better to just suck it up and buy a regular professional grade cage.
Couple of considerations:
- Untreated wood soaks up pee, so it stinks/rots quickly. It's hard to treat wood SAFELY and keep it properly treated considering rats can and do chew it. It's almost impossible to keep from smelling.
- Wire mesh is the same as wood: it will rust/rot/stink pretty quickly and it can be costly and/or time consuming to coat it properly. Powder coating can be expensive. Rustoleum might work BUT it might not coat properly and it takes 2-3 weeks to cure. PVC coating gets chewed off easily.
- Book shelf style cages or anything with multiple solid sides are a no-no because they, like tanks, don't offer enough airflow. Which can cause respiratory problems. They're also hard to properly decorate and clean and move.
Just wanted to throw that out there for you. I know some people who have made cages. Not all of them where happy (many where not.)