Trace#
- class ansys.aedt.core.modeler.advanced_cad.stackup_3d.Trace(application, frequency, line_width, line_impedance, signal_layer, dielectric_layer, line_electrical_length=90, line_length=None, line_position_x=0, line_position_y=0, line_name='line', reference_system=None, axis='X')#
Trace Class in Stackup3D. Create a parametrized trace. It is preferable to use the add_trace method in the class Layer3D than directly the class constructor.
- Parameters:
- application
ansys.aedt.core.hfss.Hfss
HFSS design or project where the variable is to be created.
- frequency
float
,None
The line frequency, it is used in prediction formulas. If it is None, the line frequency will be that of the layer or of the stackup.
- line_width
float
,None
The line width. If it is None, it will calculate it from characteristic impedance of the line.
- line_impedance
float
The characteristic impedance of the line. If a line width is entered by the user, the characteristic impedance will be calculated from it.
- signal_layer
ansys.aedt.core.modeler.advanced_cad.stackup_3d.Layer3D
The signal layer where the line will be drawn.
- dielectric_layer
ansys.aedt.core.modeler.advanced_cad.stackup_3d.Layer3D
The dielectric layer between the line and the ground layer. Its permittivity and thickness are used in prediction formulas.
- line_electrical_length
float
,None
,optional
The ratio between the line length and the wavelength in degree. By default 90 which is corresponding to the quarter of the wavelength. If it is None, it will be directly calculated from the line length entered by the user.
- line_length
float
,None
,optional
The line length. By default, it is None and so the length is calculated by prediction formulas according to the electrical length.
- line_position_x
float
,optional
Line x position, by default it is 0.
- line_position_y
float
,optional
Line y position, by default it is 0.
- line_name
str
,optional
Line name, by default “line”.
- reference_system
str
,None
,optional
Coordinate system of the line. By default, None.
- axis
str
,optional
Line length axis, by default “X”.
- application
Examples
>>> from ansys.aedt.core import Hfss >>> from ansys.aedt.core.modeler.advanced_cad.stackup_3d import Stackup3D >>> hfss = Hfss(new_desktop=True) >>> my_stackup = Stackup3D(hfss, 2.5e9) >>> gnd = my_stackup.add_ground_layer("gnd") >>> my_stackup.add_dielectric_layer("diel1", thickness=1.5, material="Duroid (tm)") >>> top = my_stackup.add_signal_layer("top") >>> my_trace = top.add_trace(line_width=2.5, line_length=22) >>> my_stackup.resize_around_element(my_trace)
Methods
Trace.create_lumped_port
(reference_layer[, ...])Create a parametrized lumped port.
Attributes
Added Length.
PyAEDT object 3D.
App object.
Characteristic Impedance.
Dielectric layer that the object belongs to.
Effective Permittivity.
Effective Permittivity when dielectric thickness is upper than width.
Effective Permittivity when width is upper than dielectric thickness.
Electrical Length.
Frequency.
Layer name.
Layer ID.
Length.
Material name.
Object name.
Permittivity.
Object bounding box.
Starting Position X.
Starting Position Y.
Coordinate system of the object.
Signal layer that the object belongs to.
Substrate Thickness.
Wave Length.
Width.
Width when the substrat thickness is two times upper than the width.
Width when the width is two times upper than substrat thickness.