8.20.2 MaterialDB class: A class for storing material properties.

The MaterialDB class has this constructor:

class MaterialDB( data=)
Initialize a materials database.

If data is a dict, it contains the database. If data is a string, it specifies a filename where the database can be read.

MaterialDB objects have the following methods: