How to split the material library in several files?

New Material library organization

From Manatee v1.06.01, all the data of all the materials were gathered in a single file in MaterialData/init_material_library.m. When adding a new material the corresponding data were added at the end of the file.

Material library script
Material library script

MANATEE v1.09.01 introduces a new way to handle materials: now each material has its own file which enables a better organization of the materials (for instance by sorting them into folders).

PNG - 7 kb

Now one can share a material by sending the corresponding file instead of sending the complete material library.

Converting old material library

To convert your init_material_library.m file into one file for each material you can use the following command:

convert_matlib

This command will split the material library, generate all the material files and store them in the MaterialData folder.

Previous Next