{"id":49560493,"url":"https://github.com/d3m37r4/zemaxddeclient","last_synced_at":"2026-06-01T15:00:41.975Z","repository":{"id":297198048,"uuid":"995876757","full_name":"d3m37r4/ZemaxDDEClient","owner":"d3m37r4","description":"Advanced analysis of optical systems using parameters retrieved from Zemax via DDE (Dynamic Data Exchange)","archived":false,"fork":false,"pushed_at":"2026-06-01T06:48:06.000Z","size":303,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-01T08:24:23.696Z","etag":null,"topics":["dde","gui","lens-design","optical-design","optical-engineering","optics","physics","scientific-computing","windows","zemax"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d3m37r4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-04T06:20:02.000Z","updated_at":"2026-06-01T06:47:51.000Z","dependencies_parsed_at":"2025-06-04T16:38:31.407Z","dependency_job_id":"9515a36e-eb1d-4271-8efe-e40c0c2c3a31","html_url":"https://github.com/d3m37r4/ZemaxDDEClient","commit_stats":null,"previous_names":["d3m37r4/zemaxddeclient"],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/d3m37r4/ZemaxDDEClient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3m37r4%2FZemaxDDEClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3m37r4%2FZemaxDDEClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3m37r4%2FZemaxDDEClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3m37r4%2FZemaxDDEClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d3m37r4","download_url":"https://codeload.github.com/d3m37r4/ZemaxDDEClient/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3m37r4%2FZemaxDDEClient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33780089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dde","gui","lens-design","optical-design","optical-engineering","optics","physics","scientific-computing","windows","zemax"],"created_at":"2026-05-03T08:02:36.128Z","updated_at":"2026-06-01T15:00:41.969Z","avatar_url":"https://github.com/d3m37r4.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ZemaxDDEClient\r\n\r\n\u003ca id=\"en\"\u003e\u003c/a\u003e\r\n\r\n\u003e**🌐 Documentation available in multiple languages:**\r\n[![EN](https://img.shields.io/badge/%F0%9F%87%AC%F0%9F%87%A7%20EN-blue?style=flat-square)](#en)\r\n[![RU](https://img.shields.io/badge/%F0%9F%87%B7%F0%9F%87%BA%20RU-inactive?style=flat-square)](README.ru.md#ru)\r\n\r\n[![Latest Release](https://img.shields.io/github/v/release/d3m37r4/ZemaxDDEClient?include_prereleases\u0026style=flat-square\u0026color=blue)](https://github.com/d3m37r4/ZemaxDDEClient/releases)\r\n[![Windows](https://img.shields.io/badge/platform-Windows-0078d7.svg?style=flat-square)](https://en.wikipedia.org/wiki/Microsoft_Windows)\r\n[![Build Test](https://img.shields.io/github/actions/workflow/status/d3m37r4/ZemaxDDEClient/.github%2Fworkflows%2Fbuild-test.yml?branch=main\u0026style=flat-square\u0026label=build%20test)](https://github.com/d3m37r4/ZemaxDDEClient/actions/workflows/build-test.yml)\r\n[![License](https://img.shields.io/github/license/d3m37r4/ZemaxDDEClient?style=flat-square)](https://github.com/d3m37r4/ZemaxDDEClient/blob/main/LICENSE)\r\n\r\n## 📌 About\r\nAn application for [Zemax](https://en.wikipedia.org/wiki/Zemax) that enables advanced analysis of optical systems through direct access to their parameters via DDE (Dynamic Data Exchange).\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003e\u003cb\u003eWorking with Zemax via DDE\u003c/b\u003e\u003c/summary\u003e\r\n\r\n### What is DDE?\r\nDynamic Data Exchange (DDE) is a Windows interprocess communication protocol that enables data exchange between applications. Two applications can establish a DDE link:\r\n- **Server** (Zemax in this case) - provides data\r\n- **Client** (your application) - requests and receives data\r\n\r\nZemax implements a DDE server interface, allowing external applications to access optical design data and functionality.\r\n\r\n### How ZemaxDDEClient Works\r\nThis project is a DDE client that:\r\n1. Establishes DDE connection with Zemax as server\r\n2. Sends data requests (e.g., optical system parameters)\r\n3. Receives and processes responses from Zemax\r\n\r\n## Documentation Reference\r\nFor complete DDE command reference, see \"Chapter 28: ZEMAX EXTENSIONS\" in official Zemax documentation.\r\n\u003c/details\u003e\r\n\r\n## 🔽 Downloads\r\nPre-built binaries for Windows are available on the [Releases](https://github.com/d3m37r4/ZemaxDDEClient/releases) page.\r\n\r\n- [**Release builds**](https://github.com/d3m37r4/ZemaxDDEClient/releases) — stable, tested versions.  \r\n- [**Dev builds**](https://github.com/d3m37r4/ZemaxDDEClient/actions) — test builds with new or experimental features not yet included in a release (may be unstable).\r\n\r\n\u003e 💡 Each build includes two versions:\u003cbr\u003e\r\n\u003e – **Release** — for regular use,\u003cbr\u003e\r\n\u003e – **Debug** — with console output and extended logging for debugging.\u003cbr\u003e\r\n\u003e Both share the same build number for easy comparison.\r\n\r\n## 🏁 Run\r\nYou can launch the application in two ways: via Zemax’s **Extensions** menu or by running the executable directly.\r\n\r\n### Option 1: Launch via Zemax Extensions\r\nThis method integrates the application into Zemax’s Extensions menu for convenient access.\r\n1. Launch **Zemax**\r\n2. Open the Extensions menu (default hotkey `F11`) \r\n3. From the list, select an executable file named like: `ZemaxDDEClient_*.exe`\r\n\u003e 💡 Zemax scans the `Extend` folder inside its installation directory (typically `C:\\Program Files\\Zemax\\Extend\\`) and displays all `.exe` files from it in the **Extensions** menu. To make the application permanently available, place your executable in this folder.\r\n\r\n### Option 2: Direct Launch\r\nYou can run the executable directly without adding it to Zemax.\r\n1. Launch **Zemax**\r\n2. Run the `ZemaxDDEClient_*.exe` file\r\n3. Click the **Connect to Zemax** button in the **Sidebar** window\r\n\r\n## 📦 Prerequisites\r\n- **MSYS2** with MinGW-w64 toolchain\r\n- **CMake** (≥ 3.16)\r\n- **GLFW**: `pacman -S mingw-w64-x86_64-glfw`\r\n- **Zemax** (acts as a DDE server once running)\r\n\r\n## 📚 Third-Party Libraries\r\nThis project uses the following third-party libraries:\r\n- **[Dear ImGui](https://github.com/ocornut/imgui)** by Omar Cornut — Immediate Mode GUI\r\n- **[ImPlot](https://github.com/epezent/implot)** by Evan Pezent — 2D plotting library for Dear ImGui\r\n- **[Native File Dialog (NFD)](https://github.com/mlabbe/nativefiledialog)** by Michael Labbe — Cross-platform file dialogs\r\n- **[ImPlot3D](https://github.com/brenocq/implot3d)** by brenocq — 3D plotting library for Dear ImGui\r\n- **[JSON for Modern C++](https://github.com/nlohmann/json)** by Niels Lohmann — Header-only JSON library\r\n\r\n## 🚀 Build Setup\r\n1. Clone the repository:\r\n   ```bash\r\n   git clone --recurse-submodules https://github.com/d3m37r4/ZemaxDDEClient.git\r\n   cd ZemaxDDEClient\r\n   ```\r\n2. Install MSYS2 and dependencies:\r\n   ```bash\r\n   pacman -Syu\r\n   pacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake mingw-w64-x86_64-glfw mingw-w64-x86_64-pkg-config git zip\r\n   ```\r\n3. Fetch the submodules (if not cloned with --recurse-submodules):\r\n   ```bash\r\n   git submodule update --init --recursive\r\n   ```\r\n\r\n## 🔨 Build\r\nThe project uses CMake for reliable builds. For convenience, it is recommended to use the `build.sh` wrapper script.\r\n   ```bash\r\n   # Make the build.sh file executable\r\n   chmod +x build.sh\r\n\r\n   # Build the Release version (used by default)\r\n   ./build.sh\r\n\r\n   # Build the Debug version (with visible console and DEBUG_LOG enabled)\r\n   ./build.sh debug\r\n\r\n   # Build with optimization: -O2\r\n   ./build.sh optimize=1\r\n\r\n   # Build with maximum optimization: -O3\r\n   ./build.sh optimize=2\r\n\r\n   # Debug build with -O2 optimization (example of combining arguments)\r\n   ./build.sh debug optimize=1\r\n\r\n   # Clean the build directory\r\n   ./build.sh clean\r\n\r\n   # Build with a fixed timestamp — for stable artifacts in CI and automation\r\n   BUILD_TIMESTAMP=1766073737 ./build.sh release\r\n   ```\r\n\r\nManual build via CMake (if fine-grained control or debugging of the build process is needed):\r\n   ```bash\r\n   cmake -S . -B build -DCMAKE_BUILD_TYPE=Release\r\n   cmake --build build\r\n   ```\r\n\r\n## 📄 License\r\nThis project is licensed under the [MIT License](https://github.com/d3m37r4/ZemaxDDEClient/blob/main/LICENSE).\r\n\r\n## 🤝 Contribution and support\r\nIf you have any thoughts, bug reports, or suggestions to improve the product, please contact me at one of the following places:\r\n\r\n[![GitHub Issues](https://img.shields.io/badge/GitHub-Issues-blue?logo=github\u0026style=flat-square)](https://github.com/d3m37r4/ZemaxDDEClient/issues)  \r\n[![GitHub Discussions](https://img.shields.io/badge/GitHub-Discussions-blue?logo=github\u0026style=flat-square)](https://github.com/d3m37r4/ZemaxDDEClient/discussions)  \r\n[![Telegram](https://img.shields.io/badge/Telegram-dmitry__isakow-blue?logo=telegram\u0026style=flat-square)](https://t.me/dmitry_isakow)\r\n\r\nYou can also submit a [pull request](https://github.com/d3m37r4/ZemaxDDEClient/pulls).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3m37r4%2Fzemaxddeclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd3m37r4%2Fzemaxddeclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3m37r4%2Fzemaxddeclient/lists"}