Extrude dxf polygon and progressive scale(non linear).

Hi,

I’m trying to extrude a polygon, and at the same time I want that the size of the
polygon is being increased progressively(scaled in xy and extruded in z). Other thing is that the scaling
progression should be exponential or parabolical.

I was thinking on Bezier curves to deform the object, but I don’t see how that fits for my purpose,
as it defines only one trajectory for the deformation.

I know more about programming than modelling so I lack terminology, any orientation or tip would
be very appreciated.

Thanks.

I made a script for that, accepts mathematical functions for the deformation in xy, orthogonal
and polar. https://github.com/migvel/Extrude-and-deform