kev-m/pyCoilGen

Replace parameter 'skip_calculation_min_winding_distance' with 'pcb_track_width'

Opened this issue · 0 comments

kev-m commented

Currently, in find_minimal_contour_distance.py if skip_calculation_min_winding_distance is True then the pcb_track_width is set to zero.

The function call is expensive.

It may be better to instead directly specify the PCB track width via the command-line parameters (using pcb_track_width) and only calculate the minimum width between contours if pcb_track_width is 0.

Note: This will deviate from the MATLAB implementation.

Affects: parse_input.py, find_minimal_contour_distance.py and all examples.