Exporter_GDS#
- class zeroheliumkit.src.importing.Exporter_GDS(name: str, zhk_layers: dict, layer_cfg: dict)[source]#
Bases:
objectA class for exporting geometries to GDSII format using gdstk.
- Parameters:
name (str) – The base name of the GDSII file (without extension).
zhk_layers (dict) – A dictionary containing the geometries for each layer. Expected: zhk_layers[lname].geoms yields shapely polygons.
layer_cfg (dict) – A dictionary containing the layer configuration. Expected keys like {“layer”: int, “datatype”: int}.
Methods
Prepare the GDSII library by creating a top-level cell and adding polygons.
save()Saves the GDSII file.
Attributes
namezhk_layersgdsiilayer_cfg