Need help design adapter for tilt shift photography (nikon d90)

Greetings
I would like to 3d print 2 rings to be used as adapters for tilt shift photography . one of the rings would act like a fastener for the camera and the other would be the housing for the lens. A bellow (not 3d printed) placed between these 2 rings will act as a medium for tilt and shift.
The issue is i am not sure of the measurements for the nikon d90 model mount and AF Nikkor 50mm f/1.8D lens

This image outlines the rough design for printing
Imgur

Thanks in advance.
Za fer