It's not an accurate method,but I used a set square to level my gantry. I align one side on the bed then measure the gantry height on both sides. But obviously if the bed is off, the levelling is going to be a bit off too.