In this paper, the principle of separating waste material in LOM rapid prototyping is analyzed and a new method called variable grid is provided. The method adopts a quick algorithm for seeking points between lines and polygon and then the speed of grid division is improved greatly. Only the complicated part of model has dense grid with this method .So that the waste material can be separated easily and the efficiency of prototyping can be improved as well.