Analysis of the Mechanical Properties of 3D-Printed Plastic Samples Subjected to Selected Degradation Effects