gds_fdtd.layout.gdsfactory¶
gds_fdtd simulation toolbox.
gdsfactory (>= 9) ingestion. Rewritten from scratch for the gf 9 API (verified against gdsfactory 9.45, 2026-07-07):
Component.get_polygons_points(by="tuple")-> {(layer, datatype): [Nx2 um]}Port.center/widthare um floats;Port.orientationis degrees; the GDS layer tuple comes fromPort.layer_info(kdb.LayerInfo).Component.dbbox()is the um bounding box.gf 9.44+ requires an ACTIVE PDK to build components — that is the caller’s responsibility (e.g.
gf.gpdk.PDK.activate()); this module never touches PDK state.
The pre-rewrite converter (bugs B2/B3/B4) used the pre-gf-8 API: it indexed a hardcoded polygon, named every port after the component, and misread units.
Functions
|
Convert a gdsfactory (>=9) Component into a gds_fdtd Component. |