thicken_port_sheets#
- Hfss.thicken_port_sheets(inputlist, value, internalExtr=True, internalvalue=1)[source]#
Create thickened sheets over a list of input port sheets.
This method is built to work with the output of
modeler.find_port_faces
.- Parameters:
- inputlist
list
List of the sheets to thicken.
- value
Value in millimeters for thickening the faces.
- internalExtrbool,
optional
Whether to extrude the sheets internally (vgoing into the model). The default is
True
.- internalvalue
optional
Value in millimeters for thickening the sheets internally if
internalExtr=True
. The default is1
.
- inputlist
- Returns:
Dict
For each input sheet, returns the port IDs where thickened sheets were created if the name contains the word “Vacuum”.
References
>>> oEditor.ThickenSheet
Examples
Create a circle sheet and use it to create a wave port. Set the thickness of this circle sheet to
"2 mm"
.>>> sheet_for_thickness = hfss.modeler.create_circle(hfss.PLANE.YZ, ... [60, 60, 60], 10, ... name="SheetForThickness") >>> port_for_thickness = hfss.create_wave_port_from_sheet(sheet_for_thickness, 5, hfss.AxisDir.XNeg, ... 40, 2, "WavePortForThickness", True) >>> hfss.thicken_port_sheets(["SheetForThickness"], 2) PyAEDT INFO: done {}