edit 2 years later: Here is an alternative answer that meets the desired end-result using FreeStyle.
Is there a way to make the wireframe input show the geometry as BMesh polygons instead of the raw triangulated mesh? The example below displays the wireframe of a mesh in edit mode (as you can see it doesn't have any triangles).
When I render the mesh it appears triangulated, but being able to show quads and ngons (instead of only tris) would be more useful to me.
wireframe input
andambient occlusion shader
. nothing special. dl.dropboxusercontent.com/u/3397495/blender_related/… $\endgroup$