Modulating physical and chemical properties of biomaterials in rapid 3D printing