Skip to main content

RayCrafter

RayCrafter is an early proof of principle for a lens-level optical design tool. You place off-the-shelf lenses on an optical axis, drag them around, and see the spot diagram, through-focus curve, MTF, ray fan and field curvature update as you go. The ray tracing is done by Optiland.

At present it offers a short list of Thorlabs achromats, a single wavelength (555 nm) and a single beam. It can export the system as a Zemax .zmx file and write an HTML report.

Status: pre-alpha. Expect anything to change, including the API.

Install and run

pip install raycrafter
raycrafter

Or, with uv: uvx raycrafter.

An agent-generated project

The code in this repository is written by AI coding agents, working with the project's developers. Due to time constraints, the project is only possible because of agentic coding.

We nonetheless aim for well-designed, readable code that people who use little or no AI can understand and contribute to. The rules the agents follow are in CLAUDE.md, and significant decisions, with their reasons, are recorded in log.md.

Metadata

Release files for RayCrafter 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for RayCrafter 0.0.1
File Size Uploaded Provenance Actions
raycrafter-0.0.1.tar.gz 220.0 kB With provenance Details for raycrafter-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for RayCrafter 0.0.1
File Interpreter ABI Platform Actions
raycrafter-0.0.1-py3-none-any.whl Python 3 none any Details for raycrafter-0.0.1-py3-none-any.whl

Total release size: 282.2 kB

Release files / raycrafter-0.0.1.tar.gz

Download URL raycrafter-0.0.1.tar.gz
Size 220.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5f4a7cba0fb91790862c755c6ba02c5d4a8823186aaa24ee70f775e985f1d680
BLAKE2b-256 checksum
How to use checksums
c3306077533efa6d7239edf5c293a23c1e648369d3d9f33dc837a799e06f8c3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / raycrafter-0.0.1-py3-none-any.whl

Download URL raycrafter-0.0.1-py3-none-any.whl
Size 62.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc9e60fa38695976f755660fc4adbab70573b3bc268f1cb44e08b23f89164adb
BLAKE2b-256 checksum
How to use checksums
57ebfb4213565028098aa0cafc0af874edd1ddd7255985cf29bdbd6e2617f6e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for RayCrafter 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for raycrafter-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page