1. fixed several failed test cases. 2. add a function to change obj mesh to planes.