The Python macro works in FreeCAD and is able to generate a mesh from a solid and export it in FasterCap compatible format. See http://www.fastfieldsolvers.com