Layer3D#

class ansys.aedt.core.modeler.advanced_cad.stackup_3d.Layer3D(stackup, app, name, layer_type='S', material_name='copper', thickness=0.035, fill_material='FR4_epoxy', index=1, frequency=None)#

Provides a class for a management of a parametric layer in 3D Modeler. The Layer3D class is not intended to be used with its constructor, but by using the method “add_layer” available in the Stackup3D class.

Parameters:
stackupansys.aedt.core.modeler.advanced_cad.stackup_3d.Stackup3D

The stackup where the layers will be added.

appansys.aedt.core.hfss.Hfss

HFSS design or project where the variable is to be created.

namestr

Name of the layer.

layer_typestr

“S” for signal layers, “D” for dielectric layers, “G” for ground layers.

material_namestr

The material name of the layer.

thicknessfloat

The thickness of the layer.

fill_materialstr

In ground and signal layers, the dielectric material name which will fill the non-conductive areas of the layer.

indexint

The number of the layer, starting from bottom to top.

frequencyfloat

The layer frequency, it will be common to all geometric shapes on the layer.

Examples

>>> from ansys.aedt.core import Hfss
>>> from ansys.aedt.core.modeler.advanced_cad.stackup_3d import Stackup3D
>>> hfss = Hfss()
>>> my_stackup = Stackup3D(hfss, 2.5e9)
>>> my_layer = my_stackup.add_layer("my_layer")
>>> gnd = my_stackup.add_ground_layer("gnd")
>>> diel = my_stackup.add_dielectric_layer("diel1", thickness=1.5, material="Duroid (tm)")
>>> top = my_stackup.add_signal_layer("top")

Methods

Layer3D.add_patch(frequency, patch_width[, ...])

Create a parametric patch.

Layer3D.add_polygon(points[, material, ...])

Create a polygon.

Layer3D.add_trace(line_width, line_length[, ...])

Create a trace.

Layer3D.duplicate_parametrize_material(...)

Duplicate a material and parametrize all properties.

Layer3D.ml_patch(frequency, patch_width[, ...])

Create a new parametric patch using machine learning algorithm rather than analytic formulas.

Attributes

Layer3D.duplicated_material

Duplicated material.

Layer3D.elevation

Layer elevation.

Layer3D.elevation_value

Layer elevation value.

Layer3D.filling_material

Fill material.

Layer3D.filling_material_name

Fill material name.

Layer3D.frequency

Frequency variable.

Layer3D.material

Material.

Layer3D.material_name

Material name.

Layer3D.name

Layer name.

Layer3D.number

Layer ID.

Layer3D.stackup

Stackup.

Layer3D.thickness

Thickness variable.

Layer3D.thickness_value

Thickness value.

Layer3D.type

Layer type.