zospy.solvers.element_power

Contents

zospy.solvers.element_power#

zospy.solvers.element_power(radius_cell: ZOSAPI.Editors.IEditorCell, power: float) ZOSAPI.Editors.ISolveElementPower#

Solver for element power.

Adjusts the value of radius_cell to create an element with the specified power. This solver should be set on the last surface of the element.

Parameters:
radius_cellZOSAPI.Editors.IEditorCell

Radius cell of the last element surface

powerfloat

Element power in diopters

Returns:
solve_dataZOSAPI.Editors.ISolveElementPower

The solve data for the element power