add_ground_layer#
- Stackup3D.add_ground_layer(name, material='copper', thickness=0.035, fill_material='air', frequency=None)[source]#
Add a new ground layer to the stackup. A ground layer is negative. The layer is entirely filled with metal. Any polygon will draw a void in it.
- Parameters:
- name
str
Layer name.
- material
str
,op
Material name. Material will be parametrized.
- thickness
float
,str
,None
Thickness value. Thickness will be parametrized.
- fill_material
str
Fill Material name. Material will be parametrized.
- frequency
float
,optional
The layer frequency, it will be common to all geometric shapes on the layer. The default is None, so each shape must have their own frequency.
- name
- Returns:
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_ground_layer = my_stackup.add_ground_layer("gnd")