Optimized Unidirectional and Bidirectional Stiffened Objects for Minimum Material Consumption of 3D Printing