How to vary the thickness of a shell structure linearly?

Hello all!

I have created a Gyroid structure using MATLAB and the .stl file is imported into Abaqus for further analysis. I want to vary the thickness of the shell structure linearly to get a linear variation in the porosity of the structure. Please let me know how I can assign the shell thickness which varies linearly with the coordinates.

Thanks a lot in advance!