Fill 2D regions with traversals, useful someday for generating milling tool paths.
This is a dump of a bunch of prototype code. It is only put up in the hopes that it becomes less terrible someday, but until then you should probably use something else: pyactp, openvoronoi, opencamlib, libarea
There are a lot of other options above. However, most of them aren't super active and are generally C- based with python bindings. This is intended as a vectorized numpy approach to the same problem, in the vein of trimesh.
- Accept shapely.geometry.Polygon objects as input
- Generate toolpath output as a sequence of (n, 2) float arrays
- Collision check and calculate feed rates using raster checks