Optimize polygon paint algorithm for less tool lifts.

Issue #103 resolved
Juan Pablo Caram repo owner created an issue

When given a list of paths, the current paint algorithms will lift the tool to travel to the beginning of the next path. This might not be necessary and should be evaluated for each new path.

Comments (4)

  1. Juan Pablo Caram reporter

    The method Geometry.paint_connect() was introduced to optimize tool lifts. It functions correctly but it is very slow. It is part of the seed-based copper clearing algorithm at this point.

  2. Juan Pablo Caram reporter

    Speed optimization in commit 17a3316 makes it acceptable.

    Now make it part of the standard paint algorithm (only in seed-based at this time).

  3. Log in to comment