Skip to content

module myna.core.utils.get_adjacent_layers

Tools for parsing lists of layer numbers


function get_adjacent_layer_regions

get_adjacent_layer_regions(myna_data, region_size=20)

Args:

  • myna_data: data dictionary from a configured Myna input file
  • region_size: maximum number of adjacent layers to include in a region

Returns:

  • part_layer_sets: dictionary with strings of part names as the keys. Each entry contains a list of dictionaries where each dictionary represents a set of adjacent layers with keys "layer_start" (int), "layer_end" (int), "layers" (list of int)

This file was automatically generated via lazydocs.