Open lianzaozi opened 4 years ago
This is the gif animation and svg file I tested
text_SVGFile.zip
Thanks for the hint.
LaserGRBL has it own TSP optimization (www.google.it/search?q=traveling+salesman+problem) alghoritm that is used when you import raster image and use the "vectorize" feature. You can try it by yourself by turn on "optimize travel" and see the difference
For now it work only on raster import and not on SVG. but when I will implement TSP in SVG import i'll use the alghoritm from LaserGRBL because it is many times faster than LaserPewer.
You can refer to LaserPewer software for SVG file path optimization. There is code specifically for path optimization. I do n’t know much about the reference value of this algorithm. I ’m just contacted. You can download it and try it yourself LaserPewer: https://github.com/hhtat/LaserPewer