-
Pocketing progress
01/22/2015 at 16:31 • 0 commentsFinally, I have a somewhat working algo to fill polygon with circles for circular milling strategy.
With this algo I can move to adding offsets to generated circles and arcs, so that these circles wont mill material that should not be milled.
-
Pocketing update
01/22/2015 at 07:37 • 0 commentsWorking 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: