exporting geometry in .fbd format


I’m a new user of Blender and I Would like to export geometries made in Blender for Calculix (.fbd). I have already researched and found that it is done through phyton scripts. I found a file called expot_fbd.py but is for an old version of Blender. Somebody can help me with a script for version 2.48 or tell me about other method to export to .fbd file?