CfgLayer#
- class pyedb.configuration.cfg_stackup.CfgLayer(/, **data: Any)#
Bases:
pydantic.BaseModelRepresent one signal or dielectric layer entry.
Overview#
Configure Huray surface roughness on selected surfaces. |
|
Configure Groisse surface roughness on selected surfaces. |
|
Configure trapezoidal etching on this conductor layer. |
Alias for |
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict]. |
Import detail#
from pyedb.configuration.cfg_stackup import CfgLayer
Property detail#
Attribute detail#
- CfgLayer.roughness: CfgRoughnessModel | None = None#
- CfgLayer.etching: EtchingModel | None = None#
- CfgLayer.model_config#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Method detail#
- CfgLayer.set_huray_roughness(nodule_radius: str | float | int, surface_ratio: str | float | int, enabled: bool = True, top: bool = True, bottom: bool = True, side: bool = True) CfgLayer#
Configure Huray surface roughness on selected surfaces.
- Parameters:
- nodule_radius
str,float,orint Huray nodule radius, e.g.
"0.1um".- surface_ratio
str,float,orint Huray surface ratio.
- enabledbool,
optional Enable roughness on this layer. Default is
True.- topbool,
optional Apply roughness to the top surface. Default is
True.- bottombool,
optional Apply roughness to the bottom surface. Default is
True.- sidebool,
optional Apply roughness to the side surfaces. Default is
True.
- nodule_radius
- Returns:
CfgLayerself — enables method chaining.
Examples
>>> layer.set_huray_roughness("0.1um", "2.9", top=True, bottom=False)
- CfgLayer.set_groisse_roughness(roughness_value: str | float | int, enabled: bool = True, top: bool = True, bottom: bool = True, side: bool = True) CfgLayer#
Configure Groisse surface roughness on selected surfaces.
- CfgLayer.set_etching(factor: float | int | str = 0.5, etch_power_ground_nets: bool = False, enabled: bool = True) CfgLayer#
Configure trapezoidal etching on this conductor layer.
- Parameters:
- Returns:
CfgLayerself — enables method chaining.
Examples
>>> layer.set_etching(factor=0.4, etch_power_ground_nets=True)