XmlLayer#
- class pyedb.xml_parser.xml_stackup.XmlLayer(/, **data: Any)#
Bases:
pydantic.BaseModelRepresents a layer in the XML stackup.
- Parameters:
- name
str Name of the layer.
- color
str,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.- material
str,optional Name of the layer material. The default is
None.- fill_material
str,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.- thickness
floatorstr,optional Layer thickness value with or without units. The default is
None.- type
str,optional Layer type (signal, dielectric, conductor, etc.). The default is
None.
- name
Overview#
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.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#