A Point Cloud Approach to Object Slicing for 3D Printing