read and save KLayout layouts

read_gds[source]

read_gds(fp:str)

load a layout

Args:
    fp: the path to the layout to load

Returns:
    the loaded layout

save_gds[source]

save_gds(layout:Layout, fp:str)

save a layout

Args:
    layout: the layout to save
    fp: the path where to save the layout