Can the focus stacking script (CaptureGrid) be used with a Nikon D-80?
No unfortunately not, because this camera does not support live view.
Focus stacking only works with newer Canon and Nikon DSLRs that support live view.
The focus stacking script needs live view, as this is how it can control the lens focus motor.