import_export

Saving and load metal data.

Functions

load_metal_design(filename)

Load metal design.

save_metal(filename, design)

Save metal0.

load_metal_design(filename: str)[source]

Load metal design.

Parameters:

filename (str) – File path

Returns:

The pickled design object and updates if asked the param dicts for defaults

Return type:

picked QDesign

save_metal(filename: str, design)[source]

Save metal0.

Parameters:
  • filename (str) – File path

  • design (QDesign) – Design obejct Metal_Design_Base

Returns:

True is sucessful, False otherwise

Return type:

bool

Raises:

Exception – Save error