It is of theoretical and engineering interest to establish a macro-mechanical constitutive model of the shape memory polymer (SMP), which includes the mechanical constitutive equation and the material parameter function, from the viewpoint of practical application. In this paper, a new three-dimensional macro-mechanical constitutive equation, which describes the mechanical behaviors associated with the shape memory effect of SMP, is developed based on solid mechanics and the viscoelasticity theorem. According to the results of the DMA test, a new material parameter function is established to express the relationship of the material parameters and temperature during the glass transition of SMP. The new macro-mechanical constitutive equation and material parameter function are used to numerically simulate the process producing the shape memory effect of SMP, which includes deforming at high temperature, stress freezing, unloading at low temperature and shape recovery. They are also used to investigate and analyze the influences of loading rate and temperature change rate on the thermo-mechanical behaviors of SMP. The numerical results and the comparisons with Zhou's material parameter function and Tobushi's mechanical constitutive equation illustrate that the proposed three-dimensional macro-mechanical constitutive model can effectively predict the thermo-mechanical behaviors of SMP under the state of complex stress.shape memory polymer, shape memory effect, mechanical constitutive equation, material parameter function PACS: 46.35.+z, 46.05.+b, 46.25.Hf