Optimize polygon paint algorithm for less tool lifts.
Issue #103
resolved
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)
-
reporter -
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).
-
reporter - changed status to resolved
Added
paint_connect()
to the standard algorithm. -
reporter Added paint_connect to standard paint algorithm. Resolves issue
#103.→ <<cset 41e63c439043>>
- Log in to comment
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.