Misc#
PointObj#
- class PointObj(origin, **kwargs)[source]#
Bases:
OpticalComponentDegenerate point-like marker component that transmits all rays.
Block#
- class Block(origin, hole: Surface | None = None, width: float = 1.0, height: float = 1.0, **kwargs)[source]#
Bases:
OpticalComponentOpaque rectangular blocker with an optional hole aperture.
- __init__(origin, hole: Surface | None = None, width: float = 1.0, height: float = 1.0, **kwargs)[source]#
Initialize a blocking rectangle.
- Parameters:
origin – Component origin in lab coordinates.
hole – Optional surface removed from the rectangle aperture.
width – Rectangle width along local Y.
height – Rectangle height along local Z.