XmlLayer#

class pyedb.xml_parser.xml_stackup.XmlLayer(/, **data: Any)#

Bases: pydantic.BaseModel

Represents a layer in the XML stackup.

Parameters:
namestr

Name of the layer.

colorstr, optional

Color code for layer visualization. The default is None.

gdsii_viabool, optional

Whether the layer is a GDSII via layer. The default is None.

materialstr, optional

Name of the layer material. The default is None.

fill_materialstr, optional

Name of the fill material for the layer. The default is None.

negativebool, optional

Whether the layer uses negative artwork. The default is None.

thicknessfloat or str, optional

Layer thickness value with or without units. The default is None.

typestr, optional

Layer type (signal, dielectric, conductor, etc.). The default is None.

Overview#

color

gdsii_via

material

fill_material

name

negative

thickness

type

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Import detail#

from pyedb.xml_parser.xml_stackup import XmlLayer

Attribute detail#

XmlLayer.color: str | None = None#
XmlLayer.gdsii_via: bool | None = None#
XmlLayer.material: str | None = None#
XmlLayer.fill_material: str | None = None#
XmlLayer.name: str = None#
XmlLayer.negative: bool | None = None#
XmlLayer.thickness: float | str | None = None#
XmlLayer.type: str | None = None#
XmlLayer.model_config#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].