Environment control in additive manufacturing of high-performance thermoplastics