Algorithms for drawing polyhedra from 3-connected planar graphs