ofnuts wrote:
gimp_drawable_offset is not the function you are looking for

When writing a scriptn, you have two things to master: 1) the Gimp API, and 2) the language. The Gimp API is essentially the same (python-fu can use all the API of script-fu). Python is light-years ahead of scheme in usability. Switching languages now would take one hour, and save you hours of debugging. Many of the often-used function of the API have equivalent object -methods. For instance to duplicate a layer along a diagonal:
I'm fully with you about python being a better language, and I probably would have done it that way in the first place if I had a clue about how bad the scheme dialect would be. I didn't know if I'd have to compile it that way, or what, and I have a python environment installed for other reasons already, but it was a pain to get working right.
What I don't get is why you seem so dead-set on convincing me to re-do it in python and so reluctant to directly answer my questions.
So, if I re-write my script in python, will you actually help me figure out the last bit and accomplish my goal?