Skip to content

flexcompute/photonforge

v0.3.3

PhotonForge PCell, layout, routing, circuit/time-domain simulation, project versioning + cloud-GUI (photonforge-server), serialization, GUI automation, LiveViewer, variation-aware yield/DFM, and documentation guidance for AI coding agents.

photonforge-live-viewer

The PhotonForge LiveViewer is a local, interactive 2D layout viewer for pf.Component and circuits: from photonforge.live_viewer import LiveViewer, point it at a component, and it serves a browser view that redraws as you edit the design - the primary visual feedback loop while building layouts. Covers the Python lifecycle (open on a fixed port, push updates, show several components together, fit large devices, release the port) and the browser-side window.lvApi that lets an AI agent drive the viewer headlessly: zoom/pan/fit the camera, toggle layers, inspect the shape at a point, measure distances, and read the layer list, cell hierarchy, and camera state. Use when the user wants to see or iterate on a PhotonForge layout, run a viewer script, drive or inspect the viewer programmatically, or fix a stuck/port-in-use LiveViewer.

Read SKILL.md at the source

Pinned to revision 46b579e7c719, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.