glassLibrary
Description
Add-On Required: This feature requires the Optical Design and Simulation Library for Image Processing Toolbox add-on.
Use the GlassLibrary object to load a library of bulk glass
optical materials for optical system components. Assign an optical material to an optical
component at component creation.
To add a new optical glass vendor catalog to the glass library, use the addGlassCatalog
object function. To remove a glass catalog from the glass library, use the removeGlassCatalog object function. To change the order of the glass catalog in
the glass library, use the changePriority
object function. The order of the glass catalogs determines their priority when you use the
pickGlass function to query a material that exists in more than one
catalog. Use the restoreDefaultGlassLibrary function to restore the
default glass library.
Creation
Syntax
Description
loads the default glass
material library.gl = glassLibrary
Properties
Object Functions
addGlassCatalog | Add new glass catalog to glass library |
removeGlassCatalog | Remove glass material catalog from glass library |
changePriority | Change priority of glass material catalog in glass library |
Examples
Version History
Introduced in R2026a