get_elements_for_generated_layers

ipkiss.boolean_ops.boolean_ops_elements.get_elements_for_generated_layers(elements, mapping)

Returns a list of elements on specified generated layers, given a list of input elements

Given a list of elements and a dict {generatedlayer: layer}, create new elements according to the boolean operations of the GeneratedLayer and place these elements on the specified PPLayer.

Parameters:

elements: ElementList

List of input elements on certain layers.

mapping: dict {Layer: Layer}

Maps generated layers (keys) on output layers (values)

Returns:

ElementList containing the resulting elements after layer generation (booleans) on the specified output layers