MakerBot Print is our newest print-prepration software, which supports native CAD files and STL assemblies,
allows you to interact with all your printers via the Cloud, and many other exciting new features.
I cobbled this up in a couple minutes using Tinkercad; I believe it can only export STL files.
As listed on the "Thing Info" tab, I imported (remixed) user gcardinal's F-mount rear lens cap, and user hot_soup_in_space's F-mount body cap in order to make this.
Here is the Tinkercad link for the 40mm adapter if you want to give it a shot. The only difference between all three is the height of a hollow cylinder between the two end caps: https://www.tinkercad.com/things/4w0QuEada8U-40mm-macro-nikon-adapter