Fluent export

I have a 3D geometry and I need to export properties like pressure, temperature,... on a regular grid. To solve the problem had to use a irregular grid (tetrahedan) but for the export of the data I need to export it on a rectangular equidistant grid. I thought maybe to use the rake function in a loop but I never did the scripting befor. Does anybody have another idea how to deal with that problem or a already written a similar export script?