Skip to main content

Optics engine for coupled gradient-index light transport simulations.

Project description

VAM cone process summary and striation prediction

Mirage Coupled Optics Engine (Python)

Optics Express paper

Mirage is a GPU-accelerated coupled optics and curing physics engine. It can model additive manufacturing workflows, but is not limited to additive manufacturing applications.

Mirage can be used as a foundational physics engine to build vat photopolymerization workflows, including Digital Light Processing (DLP) and Tomographic Volumetric Additive Manufacturing (TVAM) simulations.

This package distributes the compiled Python bindings for Mirage Optics and its built-in curing submodules.

  • Distribution name: mirage-optics-engine
  • Import namespace: mirage

Capabilities

Standard ray tracers are usually not built to couple natively with multi-physics (finite element) solvers. Mirage Optics is designed exactly for that workflow.

Core capabilities:

  • GPU-accelerated finite-element ray tracing
  • Volumetric light transport and absorption in gradient-index and gradient-absorptivity media
  • Boundary-condition-based interface modeling:
    • reflection
    • refraction
    • rough-surface scattering
  • Coupling-friendly architecture for external physics modules
  • Proprietary ASCII ray collection format (.ry) for custom ray generators
  • Built-in accelerated curing submodules:
    • energythreshold
    • reactiondiffusion
  • Designed to serve as a reusable simulation engine for process-level toolchains

Coupling Picture

The figure below highlights the coupling interface between optics and other modules.

Coupling interface between optics and external modules

Install

pip install mirage-optics-engine

Quick import check:

from mirage import optics_engine, energythreshold, reactiondiffusion
print("MIRAGE import OK")

Attribution and Citation

If you use MIRAGE in academic work, please provide attribution and cite the relevant paper(s).

Optics module:

@article{aarab2026fert,
    title = "Fast Hessian-free finite element ray tracing method for light transport in gradient-index media",
    author = "Marwan Aarab and Geers, \{Marc G.D.\} and Remmers, \{Joris J.C.\}",
    year = "2026",
    doi = "10.1364/OE.582633",
    volume = "34",
    pages = "10749--10769",
    journal = "Optics Express",
    publisher = "Optica Publishing Group",
    number = "6",
}

Reaction-diffusion module:

@inproceedings{aarab2026optochem,  
    title = "High performance coupled opto-chemical simulation of gradient-index light transport in vat photopolymerization",
    author = "M. Aarab and Geers, \{Marc G.D.\} and J.J.C. Remmers",
    year = "2026",
    doi = "10.1117/12.3100381",
    series = "Proceedings of SPIE",
    publisher = "SPIE",
    editor = "Herkommer, \{Alois M.\} and \{von Freymann\}, Georg and Manuel Flury",
    booktitle = "3D Printed Optics and Additive Photonic Manufacturing V",
    address = "United States",
}

System and Version Requirements (Summary)

  • Linux x86_64
  • Python >= 3.10 and < 3.13
  • NVIDIA GPU with compute capability >= SM60
  • CUDA runtime compatibility for wheel build/runtime expectations
  • NumPy >= 1.23

License

This package is released under the PolyForm Noncommercial License 1.0.0.

It is intended for non-commercial use.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mirage_optics_engine-1.0.2-cp311-cp311-manylinux_2_34_x86_64.whl (81.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

mirage_optics_engine-1.0.2-cp310-cp310-manylinux_2_34_x86_64.whl (81.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

Details for the file mirage_optics_engine-1.0.2-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for mirage_optics_engine-1.0.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2d99b2450b7620095785b1e2b46c10ac3a4d9575f2e9d6905b3c1bb0e4139c4e
MD5 03bead7eb049913076a06dc755a8bcea
BLAKE2b-256 ee80c45d91134fdf26db964c52cdfa384ac5fcb069acabfe9e06c8a18183f82d

See more details on using hashes here.

File details

Details for the file mirage_optics_engine-1.0.2-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for mirage_optics_engine-1.0.2-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f7db61c888c9397074ac0f1108154344f48561ff3d64866a1b1bb99232f0d73e
MD5 531a553d9218fc90c7e30f43c7951ccc
BLAKE2b-256 e8b72dbcdf5345b752a5e9c7075674aaee440e38c7acf325d4a97b740d857851

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page