thicken_port_sheets#

Hfss.thicken_port_sheets(assignment, value, extrude_internally=True, internal_extrusion=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:
assignmentlist

List of the sheets to thicken.

value

Value in millimeters for thickening the faces.

extrude_internallybool, optional

Whether to extrude the sheets internally (going into the model). The default is True.

internal_extrusionint, optional

Value in millimeters for thickening the sheets internally if internalExtr=True. The default is 1.

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
{}