C Arrays Exporter

Hi, I made this exporter to make simple blender models easily accessible from C/C++ code. It exports meshes to plain C arrays, like this:

static const float Cube_vertices[] = {
    // vertices

static const unsigned int Cube_indices[] = {
    // face indices

static const float Cube_normals[] = {
    // vertex normals

I think this script could be included in blender.


Here is a link to the file (I’t would be best if someone could post it as an attachment):


don’t forget to rename it to .py extension.