Combined thermoforming and prestretching