I have data of 2d shapes which consists of lines, arc and circles. I want to write this out in .svg and .ai formated files. The .svg format seems reasonably straightforward the .ai format less so (the problem is that is can be used for more types of data other than lines and circles).