Sets the Thermal Reliefs.
Syntax: |
FWizPadStyle.SetThermal(mode = FWiz.THERMALFLAGS_STANDARD, padGap = 0, airGap = 0.3, spokeWidth = 0.3)
|
Parameters
Parameter |
Description |
mode |
Specifies how to apply the thermal relief. Use a combination of the following values:
Use one of these values to indicate how the thermal relief should be applied to the top layer of the PCB.
FWiz.THERMALFLAGS_TOPSTANDARD |
The pad uses the settings defined in the project. |
FWiz.THERMALFLAGS_TOPDIRECT |
The pad is connected directly to the plane if the nets coincide. |
FWiz.THERMALFLAGS_TOPISOLATED |
The pad is always isolated from the plane even if the nets coincide. |
FWiz.THERMALFLAGS_TOPTHERMAL |
The pad is connected to the plane via the thermal pads if the nets coincide. |
|
Use one of these values to indicate how the thermal relief should be applied to all inner layers of the PCB.
FWiz.THERMALFLAGS_INNERSTANDARD |
The pad uses the settings defined in the project. |
FWiz.THERMALFLAGS_INNERDIRECT |
The pad is connected directly to the plane if the nets coincide. |
FWiz.THERMALFLAGS_INNERISOLATED |
The pad is always isolated from the plane even if the nets coincide. |
FWiz.THERMALFLAGS_INNERTHERMAL |
The pad is connected to the plane via the thermal pads if the nets coincide. |
|
Use one of these values to indicate how the thermal relief should be applied to the bottom layer of the PCB.
FWiz.THERMALFLAGS_BOTTOMSTANDARD |
The pad uses the settings defined in the project. |
FWiz.THERMALFLAGS_BOTTOMDIRECT |
The pad is connected directly to the plane if the nets coincide. |
FWiz.THERMALFLAGS_BOTTOMISOLATED |
The pad is always isolated from the plane even if the nets coincide. |
FWiz.THERMALFLAGS_BOTTOMTHERMAL |
The pad is connected to the plane via the thermal pads if the nets coincide. |
|
Use one of these values to indicate how the thermal relief should be applied to all layers of the PCB.
FWiz.THERMALFLAGS_STANDARD |
The pad uses the settings defined in the project on all layers of the PCB. |
FWiz.THERMALFLAGS_DIRECT |
The pad is connected directly to the plane on all layers of the PCB if the nets coincide. |
FWiz.THERMALFLAGS_ISOLATED |
The pad is always isolated from the plane on all layers of the PCB even if the nets coincide. |
FWiz.THERMALFLAGS_THERMAL |
The pad is connected to all planes of the PCB via the thermal pads if the nets coincide. |
|
FWiz.THERMALFLAGS_SETGEOMETRY |
If this flag is specified, the padGap and airGap values are used to set the thermal relief geometry, otherwise the values specified in the project are used. |
FWiz.THERMALFLAGS_ROUNDSPOKES |
Use a rounded line for the air gap. |
FWiz.THERMALFLAGS_ROTATESPOKES |
The thermal spokes are rotated. |
FWiz.THERMALFLAGS_SPOKES2 |
Use only two spokes instead of four. |
|
|
padGap |
Specify the distance between the outer contour of the pad and the thermal insulation area. |
airGap |
Specify the width of the thermal insulation area. |
spokeWidth |
Specify the thickness of the copper spokes that connect the pad to the plane. |
Return Value
If the operation ends correctly, it returns true otherwise it returns false.
Example
|
Copy code
|
|
See also