Producing specific thermal regimes during thermoforming to obtain particular properties