tbfleming / jscut

In-browser CAM package
http://jscut.org
GNU General Public License v3.0
302 stars 141 forks source link

Silently ignores holes that are smaller than cutter radius #58

Open leonerd opened 6 years ago

leonerd commented 6 years ago

If you attempt to "Pocket" or "Inside" a hole smaller than the cutter radius, nothing happens when you hit "Generate". It took me a while to work out this was because the hole is smaller than cutter radius. Once I tell it a smaller cutter, it works fine.

townkat commented 5 years ago

Hello, I would also love to see this fixed. It does leave small islands unpainted. It is the most visible with step over value set to 1. It can be somehow avoided if we set step over to a smaller value (0.5), but then we have all the drawing drawn twice, which i would avoid if i could.

The optimal solution to me would be, when the path finding algorithm identify areas where tool diameter does not fit in, to allow the tool to also enter already 'walked' paths space, (but only that, not zones that need not to be touched). Of course a checkbox for this would be nice, so one can disable it if do not want it.

Otherwise i love the path finding algorithm in this app, alternatively i play with inkscape gcodetools but the area functions in there produce very unoptimized paths (fixed angle lines or spiral), i would also love to see the jscut algorithm there too.. Thanks.