photonforge-schema-serialization
Save and load PhotonForge designs, and understand how they are represented on disk. Full-state PHF files (pf.write_phf / pf.load_phf / pf.load_full_phf) preserve the component, hierarchy, ports, technology, and simulation models; layout export/import (pf.write_layout / pf.load_layout) handles GDS/OASIS mask geometry for the foundry; pf.load_snp imports Touchstone S-parameters; and Component.get_netlist() inspects circuit connectivity. Use when the user saves or loads a design, moves it between sessions or machines, exports a mask for fabrication, imports measured S-parameters, debugs round-trip fidelity, or asks how PhotonForge stores components, references, ports, technologies, coordinates, and transforms.
Pinned to revision 46b579e7c719, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/photonforge-schema-serialization/SKILL.md
- skills/photonforge-schema-serialization/references/serialization.md
Every link opens the file at its source, pinned to the revision this page describes.