It seems a bit unnecessary to build in full 3D editing capabilities to into the maths program so the maths program outputs a file which can then be read by a Blender script and rendered by Blender.

The information carried in this interface is structured as follows:




