For maskless wide field microlithography on nonplanar surfaces we de scribe the extension of a maskless holographic SLM-based lithography system by a surface measurement method. A phase-only LCoS-SLM is used for projection of patterns and a camera to determine the surface orientation from the defocused patterns.