Home Tools Construction Blender DNA Class Generator
Blender DNA Class Generator Print
Written by Samuel E. Henley   
Monday, 19 October 2009 03:25

The Blender Class Generator tool is located in the src/tools/blenderclassgenerator directory. The tool is designed to read the dna.c file generated in a blender build. The file is generated by makesdna during a build of  Blender. The blenderclassgenerator produces C++ structures and generates stream members for those structures to read a blender 3d file. The generated header file (src/include/dna.h.in) is used by the MSTS2Blender utility to read and write Blender 3d editor files (*.blend). A default dna.h.in is supplied in the src/include directory and maintained and updated in the svn repository. The program is made up of a reader and main program files.).