Rotated orthogonal grids

Many cities have grid layouts that are not oriented in a North-South fashion, but at a certain defined angle. How can I draw lines that are all in a certain rotated grid(JOSM, Potlatch)? I know about the “orthogonalize shape” command in JOSM, but it works only on individual shapes: every shape is orthogonalized separately even if many are selected. Is it somehow possible to select many shapes and conform them to a shared orthogonal grid?

Have you seen this?