Doing searches on the web, I found that little python script.
It's aimed to print lampshades from grayscale images on a Makerbot.

Lampshade

If it works on a Makerbot it should also work on a Rapman. So let's try that...