Piecewise Even Asphere Surface #343
goldengrape
started this conversation in
Ideas
Replies: 1 comment
-
|
Hi @goldengrape, Thanks for sharing this! A This would be a welcome addition to the library if you're interested in opening a pull request. If you do, we might just need to tweak a couple of things like the I'd be happy to help out here if you want to collaborate on a PR. I could also take over eventually, but will have to add it to the backlog for now. Thanks again, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This piecewise evenAsphere surface is similar to the binary4 surface in Zemax, but it does not include the diffractive component. It can be used to describe complex multi-arc axisymmetric surfaces, such as the concave surface of an orthokeratology lens. Although, in theory, an evenAsphere surface with sufficiently many terms can represent any axisymmetric surface, the piecewise approach offers better interpretability.
I used "Design by Contract" programming, which requires
import icontract, but this is not strictly necessary—removing@icontractterms will not affect the program’s execution. Design by Contract programming just enhances the robustness of the code.Beta Was this translation helpful? Give feedback.
All reactions