Connect all curves shortest path / faux tsp / laser cut tool /cnc milling

just a little script: connects all given curves with straight lines based on distance to the next endpoint; also orients all curves - maybe usefull for lasercutting/milling!
if someone has an idea how to do a better tsp solver, I would be very interested.

you will need a looping plugin: octopus loop

curve_connector.gh (33.6 KB)

2 Likes