https://github.com/cherenkov-plenoscope/optic_object_wavefronts
Representing optical components using object wavefronts
https://github.com/cherenkov-plenoscope/optic_object_wavefronts
cad computer-aided-design lens light mesh mirror optics physics raytracing surface-normal triangle-mesh
Last synced: 3 months ago
JSON representation
Representing optical components using object wavefronts
- Host: GitHub
- URL: https://github.com/cherenkov-plenoscope/optic_object_wavefronts
- Owner: cherenkov-plenoscope
- License: mit
- Created: 2021-02-17T20:20:53.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-09-17T07:53:38.000Z (7 months ago)
- Last Synced: 2025-09-17T09:36:14.154Z (7 months ago)
- Topics: cad, computer-aided-design, lens, light, mesh, mirror, optics, physics, raytracing, surface-normal, triangle-mesh
- Language: Python
- Homepage:
- Size: 3.5 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
#######################
Optic Object Wavefronts
#######################
|TestStatus| |PyPiStatus| |BlackStyle| |BlackPackStyle| |MITLicenseBadge|
|ImgBlender|
A python-library to create triangle-meshes with vertex-normals of optics such as lenses and mirrors.
Use common computer-aided-design for all easy, non optical components where surface-normals do not matter.
But when surface-normals matter, use this library to creatre meshes with accurate vertex-normals.
*******
Install
*******
.. code-block:: bash
pip install optic-object-wavefronts
**********
Primitives
**********
Disc
====
|ImgDisc|
.. |ImgDisc| image:: https://github.com/cherenkov-plenoscope/optic_object_wavefronts/blob/main/readme/Disc.jpg?raw=True
Cylinder
========
|ImgCylinder|
.. |ImgCylinder| image:: https://github.com/cherenkov-plenoscope/optic_object_wavefronts/blob/main/readme/Cylinder.jpg?raw=True
SphericalCapRegular
===================
|ImgSphericalCapRegular|
.. |ImgSphericalCapRegular| image:: https://github.com/cherenkov-plenoscope/optic_object_wavefronts/blob/main/readme/SphericalCapRegular.jpg?raw=True
SphericalCapHexagonal
=====================
|ImgSphericalCapHexagonal|
.. |ImgSphericalCapHexagonal| image:: https://github.com/cherenkov-plenoscope/optic_object_wavefronts/blob/main/readme/SphericalCapHexagonal.jpg?raw=True
SphericalCapPixels
==================
|ImgSphericalCapPixels|
.. |ImgSphericalCapPixels| image:: https://github.com/cherenkov-plenoscope/optic_object_wavefronts/blob/main/readme/SphericalCapPixels.jpg?raw=True
SphericalLens
=============
|ImgSphericalLens|
.. |ImgSphericalLens| image:: https://github.com/cherenkov-plenoscope/optic_object_wavefronts/blob/main/readme/SphericalLens.jpg?raw=True
SphericalLensHexagonal
======================
|ImgSphericalLensHexagonal|
.. |ImgSphericalLensHexagonal| image:: https://github.com/cherenkov-plenoscope/optic_object_wavefronts/blob/main/readme/SphericalLensHexagonal.jpg?raw=True
SphericalPlanarLensHexagonal
============================
|ImgSphericalPlanarLensHexagonal|
.. |ImgSphericalPlanarLensHexagonal| image:: https://github.com/cherenkov-plenoscope/optic_object_wavefronts/blob/main/readme/SphericalPlanarLensHexagonal.jpg?raw=True
.. |BlackStyle| image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
.. |TestStatus| image:: https://github.com/cherenkov-plenoscope/optic_object_wavefronts/actions/workflows/test.yml/badge.svg?branch=main
:target: https://github.com/cherenkov-plenoscope/optic_object_wavefronts/actions/workflows/test.yml
.. |PyPiStatus| image:: https://img.shields.io/pypi/v/optic_object_wavefronts
:target: https://pypi.org/project/optic_object_wavefronts
.. |BlackPackStyle| image:: https://img.shields.io/badge/pack%20style-black-000000.svg
:target: https://github.com/cherenkov-plenoscope/black_pack
.. |MITLicenseBadge| image:: https://img.shields.io/badge/License-MIT-yellow.svg
:target: https://opensource.org/licenses/MIT
.. |ImgBlender| image:: https://github.com/cherenkov-plenoscope/optic_object_wavefronts/blob/main/readme/mirror_render_blender.jpg?raw=True