aktos-io / aecad

Open Source Circuit Board Design Software that runs on the browser and desktop
https://aktos.io/aecad
54 stars 10 forks source link

Determine unconnected pad guides by shortest distance and not random #28

Open ceremcem opened 5 years ago

ceremcem commented 5 years ago

Currently we are using first pad in order to use for guide points: https://github.com/aktos-io/aecad/blob/f3153ec05889fd161c619c522f437d6bf577524c/webapps/main/sketcher/tools/lib/schema/netlist.ls#L101-L103

However, it would be more useful to have connection guides that are created by shortest distance.