I have seen a fair number of scripts used to generate an airfoil shape. However, in order to design a proper propeller, the shape of the whole propeller must be considered. Different sections of the propeller have different airfoil dimensions and angles of attack. I have seen videos of matlab scripts that do calculate sections of the propeller based upon a root airfoil but I have found no code.
Than You Tom