Originally posted by thepedant The USB version of the SDK does allow nudging the focus back and forth. It only works in liveview. It took a while to get it to work as I could not compile the sample app on my Opensuse computer so I had to install a copy of Ubuntu under VirtualBox. Also had to wait for my K1v2 power supply to arrive as these kinds of lengthy programming tasks are not feasible using batteries. Anyway, I am happy that the facility is available and will try to write a program over Christmas to try some focus stacking.
I look forward to your results. As I mentioned, I do a lot of focus stacks and would find a routine that automates moving the focus ring to be very useful.
I'm not sure if this is possible from the SDK, but a very useful way of enabling this would be to show the camera the dear and far focus range (manual focus and shutter button press or some such), and then let the camera figure out how many exposures are required based on aperture set, and let it make it happen.