ControlFileBoundaries#
- class pyedb.generic.control_file.ControlFileBoundaries(units: str = 'um')#
Boundaries for the control file.
- Parameters:
- units
str,optional Length units. Default is
"um".
- units
Overview#
Add a port. |
|
Add an extent. |
Import detail#
from pyedb.generic.control_file import ControlFileBoundaries
Attribute detail#
- ControlFileBoundaries.ports: dict[str, ControlCircuitPt]#
- ControlFileBoundaries.extents: list[ControlExtent] = []#
Method detail#
- ControlFileBoundaries.add_port(name: str, x1: float, y1: float, layer1: str, x2: float, y2: float, layer2: str, z0: float = 50) ControlCircuitPt#
Add a port.
- Parameters:
- name
str Port name.
- x1
float X-coordinate of the first point.
- y1
float Y-coordinate of the first point.
- layer1
str Layer of the first point.
- x2
float X-coordinate of the second point.
- y2
float Y-coordinate of the second point.
- layer2
str Layer of the second point.
- z0
float,optional Characteristic impedance. Default is
50.
- name
- Returns:
ControlCircuitPtCreated port object.
- ControlFileBoundaries.add_extent(type: str = 'bbox', dieltype: str = 'bbox', diel_hactor: float = 0.25, airbox_hfactor: float = 0.25, airbox_vr_p: float = 0.25, airbox_vr_n: float = 0.25, useradiation: bool = True, honor_primitives: bool = True, truncate_at_gnd: bool = True) ControlExtent#
Add an extent.
- Parameters:
- type
str,optional Extent type. Default is
"bbox".- dieltype
str,optional Dielectric extent type. Default is
"bbox".- diel_hactor
float,optional Dielectric horizontal factor. Default is
0.25.- airbox_hfactor
float,optional Airbox horizontal factor. Default is
0.25.- airbox_vr_p
float,optional Airbox vertical factor (positive). Default is
0.25.- airbox_vr_n
float,optional Airbox vertical factor (negative). Default is
0.25.- useradiationbool,
optional Use radiation boundary. Default is
True.- honor_primitivesbool,
optional Honor primitives. Default is
True.- truncate_at_gndbool,
optional Truncate at ground. Default is
True.
- type
- Returns:
ControlExtentCreated extent object.