Pocketing update

A project log for BCAM - 2D computer-aided manufacturing

If you are hobbyist and existing free and open source CAM programs do not satisfy you, take a look at BCAM.

SnegovickSnegovick 01/22/2015 at 07:370 Comments

Working on better pocketing algorithm, because old one was not perfect and I was not satisfied with the filling strategy, so decided to replace it with something more reliable. Prior version used ray casting algorithm for polygon hit-testing, which is now replaced with winding algorithm, which shows better precision and can be faster than ray casting, becauseit has less calculation in it, just a bunch of if-else actually. Here is some complex shape with tiny arcs (these are really pain in ... when ray casting) filled with points, all of these points are checked with winding algo: