Report as inappropriate

I'm wondering how you made the base come out properly. I have been using your script on a height map I created and when I slice the file using slic3r and check out the layers it seems like the object gets chopped in 1/2 along the z axis on the xy plane (that is, it starts printing halfway up the object and doesn't print the bottom half). I tried editing the stl file in freecad and meshlab by raising the object to the z floor and nothing seems to work. Can you provide a step by step tutorial from creating the file to creating the g-code? I literally have been working for hours on this and can't find anything helpful. Thanks,