3D Printing technique applied to rapid casting