GithubHelp home page GithubHelp logo

heterophyllus / geopter Goto Github PK

View Code? Open in Web Editor NEW
87.0 11.0 15.0 9.94 MB

Optical Design Software

License: GNU General Public License v3.0

CMake 1.59% C++ 95.68% C 2.73%
optics optical-design qt5 qt5-gui qt-advanced-docking qcustomplot ray-tracing

geopter's Introduction

Geopter

demo

Introduction

Geopter is optical design software based on geometrical ray tracing.

Optical design has been aided by powerful computer and professional software such as CODE-V and Zemax, though these software are too expensive for personal users.

There have been developed and distributed increasing number of optics library. One of the disadvantage of such library is to require matured programming skills to master them.

This project aims to be in mid-ground. Geopter features to be open-sorce and to put a higher priority to intuitive GUI allowing to focus on optical design process.

This project is very work-in-progress. Any contributions or feedbacks are greatly appreciated.

Getting Started

Prebuilt Binaries

Prebuilt binaries can be downloaded from Release page.

Examples

Some example lenses are stored in "example" folder in json format. In Geopter GUI, go File->Open and select a json file.

Python scripting

Geopter doesn't have its own "macro" language unlike the exemplary software such as Zemax and CodeV. Instead, the embedded Python console enables command scripting in order to automate a complex procedure. The "app" and "osys" object provide the accesses to the application and the optical system respectively. For the moment, only a few functions have been implemented.

Note

In Geopter, the array indexes(fields, wavelengths, etc) start at 0 to keep consistency with Python.

Development

Dependencies

Library Description
Qt widget toolkit for GUI
Qt Advansed Docking System Flexible docking layout system
QCustomPlot Graph plotting library
nlohman/json JSON utility
Eigen template library for linear algebra
ttk592/spline spline interpolation
PythonQt dynamic Python binding for the Qt framework

Building from Source

All of the dependencies except Qt itself have been included in this repository. Use cmake to generate Visual Studio solution.

Note that this application is built with Qt5 and Qt6 is currently not supported.

License

This project is licensed under GPL license - see the LICENSE for details.

Contributing

Contributions and feedbacks are greatly appreciated. Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.

Contact

geopter's People

Contributors

heterophyllus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geopter's Issues

CMake Error at geopter/gui/CMakeLists.txt:60 (add_executable)

Details of Improvement

Dear Author:
thanks a lot for your great efforts.I can run the release version Geopter-0.2.0,but when compile the source codes. The Qt returns :
CMake Error at geopter/gui/CMakeLists.txt:60 (add_executable):
Target "Geopter" links to target "Qt::Widgets" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
I try to solve the problem by adding
set(CMAKE_PREFIX_PATH "D:/Qt/6.1.3/msvc2019_64/lib/cmake") as you suggested
but it fails to work in my computer.

I'm wondering how to fix this problem.

Environment

Windows 10 Qt 6.1.3

reference book

hello!Excuse me, what reference book did you use?
Thank you for your reply!

Qt environment in Windows10

Sorry to disturb you,my dear friend heterophyllus.
I had a question which this program could not run on Windows 10 x64.
It was shown followed steps:

  1. First,I downloaded the exe program from release in your project.
  2. Then, I installed the vc_redist.x64.exe.
  3. Last, I run it with double clicked geopter-gui.exe.
    At the end, it could not run after "double click".
    So, I hope I have the honour to know whether I didnot install any other programs of Qt environment in Windows10. If it was true,please tell me to find and install them,thanks.
    your friend fromChina

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.