In this study, a general simulation code is developed to analyze the shrinkage effect of polymerization and optimize the fabrication parameters including the scanning path, exposure time and scanning speed for the stereolithography system. The code is based on the dynamic finite element method. Liquid element is preconstructed without curing properties till the absorption energy exceeds the critical value of dynamic stiffness matrix assembling. A unit element block is utilized with a weight coefficient for expressing a laser Gaussian energy distribution during the discretizing of the scanning path into increments. A fan blade is proposed to validate the agreement between the simulation and experimental results. The prototype is a fabrication and the surface of blade was measured by the digitizing system ATOS (Advanced TOpometric Sensor) for comparing the deformation with analysis prediction. Consequently, the simulated result closely conforms to the experimental result.