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#

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.huray_surface_roughness: XmlHuraySurfaceRoughness | None = None#
XmlLayer.huray_bottom_surface_roughness: XmlHuraySurfaceRoughness | None = None#
XmlLayer.huray_side_surface_roughness: XmlHuraySurfaceRoughness | None = None#
XmlLayer.groiss_surface_roughness: XmlGroissSurfaceRoughness | None = None#
XmlLayer.groiss_bottom_surface_roughness: XmlGroissSurfaceRoughness | None = None#
XmlLayer.groiss_side_surface_roughness: XmlGroissSurfaceRoughness | None = None#
XmlLayer.model_config#

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

Method detail#

XmlLayer.set_huray_surface_roughness(nodule_radius: int | float | int, surface_ratio=int | float | str, surface: SurfaceOption = 'all') XmlHuraySurfaceRoughness#
XmlLayer.set_groisse_surface_roughness(roughness: int | float | str, surface: SurfaceOption = 'all') XmlGroissSurfaceRoughness#