The spoke length calculation equation given in Jobst Brandt's The Bicycle Wheel" uses flange spacing (center to center) as one of its parameters. I'm not sure what "hub offset" means but JB doesn't give it as a parameter.
I've put together an Excel spreadsheet that does Brandt's calculation if you have or can measure the various parameters. PM me if it would be useful to you.