Polygon inquiry


I am using polygon to describe a airfoil in modulus.
I wonder if I can call a python file in polygon to represent (x, y) coordinates in polygon.
for example:

        self.airfoil2_geo_temp = Polygon(
            Cal_X(t, AoA),  #t, AoA: parameters
            Cal_Y(t, AoA),
            parameterization = pr,

Here, Cal_X and Ca_Y will be the python file that I use to calculate matrix.