tolerancing.types.material#

Material Tolerance Types Module

This module contains the tolerance types that act on the material after a surface: deviations of the d-line refractive index and of the Abbe number. Both wrap the nominal material in an OffsetMaterial, which keeps the shape of the dispersion curve.

Kramer Harrison, 2026

Classes

AbbeTolerance(optic, surface_number)

Deviation of the Abbe number of the material after a surface.

IndexTolerance(optic, surface_number)

Deviation of the d-line refractive index of the material after a surface.

MaterialTolerance(optic, surface_number)

Tolerance that offsets the material after a surface.

class AbbeTolerance(optic: Optic, surface_number: int)[source]#

Deviation of the Abbe number of the material after a surface. The d-line index and the relative partial dispersions are kept.

Raises:

ValueError – If the material is not dispersive.

apply(delta: float) → None#

Replace the material with the nominal one offset by delta.

property label: str#

Return a short, human-readable name.

name: str = 'Abbe'#
offset: str = 'delta_vd'#
phase: Phase = 1#
reset() → None#

Restore the nominal material object.

units: str = 'Δν_d'#
class IndexTolerance(optic: Optic, surface_number: int)[source]#

Deviation of the d-line refractive index of the material after a surface. The Abbe number and the relative partial dispersions are kept.

apply(delta: float) → None#

Replace the material with the nominal one offset by delta.

property label: str#

Return a short, human-readable name.

name: str = 'Index'#
offset: str = 'delta_nd'#
phase: Phase = 1#
reset() → None#

Restore the nominal material object.

units: str = 'Δn_d'#
class MaterialTolerance(optic: Optic, surface_number: int)[source]#

Tolerance that offsets the material after a surface.

The nominal material object is never modified: apply replaces the surface’s material_post with an OffsetMaterial around it, and reset restores the original object.

Parameters:
  • optic – The optic the tolerance applies to.

  • surface_number – The surface whose following material is toleranced.

Variables:
  • offset (str) – The OffsetMaterial argument that receives the deviation.

  • name (str) – The name used in label.

apply(delta: float) → None[source]#

Replace the material with the nominal one offset by delta.

property label: str#

Return a short, human-readable name.

name: str = ''#
offset: str = ''#
phase: Phase = 1#
reset() → None[source]#

Restore the nominal material object.

units: str = ''#