Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nickorzha/glass-plotter

Software for utilizing optical glass catalogs using QT
https://github.com/nickorzha/glass-plotter

glassmap mdi optics qt qt-application qt5

Last synced: about 20 hours ago
JSON representation

Software for utilizing optical glass catalogs using QT

Awesome Lists containing this project

README

        

# Glass Plotter

![MDI](data/screenshot/Screenshot_MDI.png)

## Description
GlassPlotter is a desktop application to utilize commercial optical glass catalogs. It features to provide a great variety of functional plots with good-looking graphics. It hopes to be useful for diverse optical engineers.

## Getting Started

### Glass Catalogs
This application reads AGF/XML files distributed elsewhere, most of which are freely available.

Be careful that the catalog files in this repository are not always up to date.

1. Zemax AGF
Available on each manufacturer's website.

2. CODE V XML
Available on [Synopsys support page](https://www.synopsys.com/optical-solutions/support/support-glass-catalog.html).

### Notes
This application computes refractive index relative to air(relative refractive index). This is because the values in the catalog are relative index values. And the refractive index of optical glasses changes with temperature, and the extend depends on the glass type and on the wavelength. Read [Schott Technical Information (TIE-19)](https://www.schott.com/products/optical-glass/downloads) for calculation details.

When you find a slight difference between official data and that of this application,
check the environment temperature setting (File->Preference). With the temperature value set to the same as that of the glass supplier, the calculated refractive index should be the same value.

## Development

### Dependencies
|Library|Description|
|---|---|
|[Qt](https://www.qt.io)|GUI library|
|[QCustomPlot](https://www.qcustomplot.com)|Graph plotting library|
|[spline](https://github.com/ttk592/spline)|Cubic spline interpolation library|
|[Eigen](http://eigen.tuxfamily.org/index.php?title=Main_Page) | Template library for linear algebra|
|[pugixml](https://github.com/zeux/pugixml)|Simple XML parser|

### Building from Source
All of the dependencies except Qt itself have been already included in this repository.

Use cmake to generate Visual Studio solution.