Shape Primtives in Blender

Hi,
Blender is perhaps not really made for this, but I’d like to build a model out of shape primitives (box, sphere, capsule) for a special application. The requirement would be to add new shapes, move them around, change there size and then export them in a file.
My question would be, is there any sort of plugin already out there which does this? And if not, do you have any suggestions what to consider when implementing this on my own?
Regards, Danvil

See here http://www.blender.org/documentation/250PythonDoc/bpy.ops.mesh.html#bpy.ops.mesh.primitive_circle_add

Ok, I should clarify. The problem is, that blender uses meshes, but I would like to export information in the following style:
sphere name=foo1 radius=1 location=… rotation=…
box name=bar3 size=1,2,0.5 location=… rotation=…
sphere name=foo2 radius=0.76 location=… rotation=…

So either the size properties have to be recomputed from the meshes somehow Or (what I would prefere) one could handle primitive objects directly forbidding to change their mesh. At least theses would be my approaches …

Moray – http://www.stmuc.com/moray/ – might be more what you’re looking for. I haven’t messed with it in years, though, and I’m not sure if POV-ray readable output is much better …

ADDED: a quick google search turns up this POV-ray page that has the instructions on how to register the (now) free Moray (POV bought the rights) – http://www.povray.org/download/