zospy.solvers.material_model#
- zospy.solvers.material_model(material_cell: ZOSAPI.Editors.IEditorCell, refractive_index: float = 1, abbe_number: float = 0, partial_dispersion: float = 0) ZOSAPI.Editors.ISolveMaterialModel #
Solver for material model.
Sets the material type of a specific LDE surface to model. This solver only works on material cells.
- Parameters:
- material_cell: ZOSAPI.Editors.IEditorCell
MaterialCell of the LDE surface row or NCE object row that requires the modification
- refractive_index: float
Refractive index of the material
- abbe_number: float
Abbe number of the material
- partial_dispersion: float
Partial dispersion term at d-light
- Returns:
- The SolveData object for the material model.