merge_via_along_lines#
- EdbPadstacks.merge_via_along_lines(net_name='GND', distance_threshold=0.005, minimum_via_number=6)[source]#
Replace padstack instances along lines into a single polygon.
Detect all padstack instances that are placed along lines and replace them by a single polygon based one forming a wall shape. This method is designed to simplify meshing on via fence usually added to shield RF traces on PCB.
- Parameters:
- net_name
str
Net name used for detected padstack instances. Default value is
"GND"
.- distance_threshold
float
,None
,optional
If two points in a line are separated by a distance larger than distance_threshold, the line is divided in two parts. Default is
5e-3
(5mm), in which case the control is not performed.- minimum_via_number
int
,optional
The minimum number of points that a line must contain. Default is
6
.
- net_name
- Returns:
- bool
True
when succeededFalse
when failed. <