kqcircuits.layer_cluster

class kqcircuits.layer_cluster.LayerCluster(main_layers, extra_layers, face_id)[source]

Bases: object

Container class for a cluster of layers.

Some files need to be exported with certain clusters of layers, for example for EBL process. This class wraps information about such layer cluster.

main_layers

list of names of the layers which should contain shapes for this cluster to be exported

extra_layers

list of names of other layers exported together with main_layers

face_id

face_id of the layers in this cluster

all_layers()[source]

Returns main_layers + extra_layers.

../_images/kqcircuits.layer_cluster.png