Sterncat / opticspy

python optics module
MIT License
448 stars 126 forks source link

Question: How can I use a custom glass definition #34

Closed dibyendumajumdar closed 4 years ago

dibyendumajumdar commented 4 years ago

I am trying to model lens design from patents. With regards to the glass type, I only have the refractive index and abbe number for d-line. For example, 1.79668 and 45.5. As this is a Nikon patent I tried to see if there was any glass in the Hikari catalog matching this, but there isn't.

Is there a way to add my own glass type just using these two attributes?

Sterncat commented 4 years ago

If you want to use Opticspy, you can try to change the glass index folder. Add some customized glass.

Dibyendu Majumdar notifications@github.com 于2019年9月29日周日 上午2:27写道:

I am trying to model lens design from patents. With regards to the glass type, I only have the refractive index and abbe number for d-line. For example, 1.79668 and 45.5. As this is a Nikon patent I tried to see if there was any glass in the Hikari catalog matching this, but there isn't.

Is there a way to add my own glass type just using these two attributes?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Sterncat/opticspy/issues/34?email_source=notifications&email_token=AAUIRBI7Y2ZNW2P24T5YAYLQMBYIJA5CNFSM4I3RUQZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOLWFTQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AAUIRBJWNIVY7W24JIPS2T3QMBYIJANCNFSM4I3RUQZA .

dibyendumajumdar commented 4 years ago

Okay thank you for the information.