Add gen-rectangle to generate gcode to make build plate flat