Abstract: Terpolyimides prepared from tetracarboxylic acid esters and combinations of heterocyclic, aromatic, and aliphatic diamines and artifacts composed of those terpolymers. Precursors, and methods of converting them to the corresponding terpolymers.