mikedh / pocketing

Fill 2D regions with traversals for generating tool paths

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pypocketing: ALPHA

Test And Publish PyPI version

ScreenShot

Fill 2D regions with traversals, useful someday for generating milling tool paths.

Disclaimer: Crusty Alpha Software

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

Design Goals: Why Bother

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.

Scope

  • 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

About

Fill 2D regions with traversals for generating tool paths

License:MIT License


Languages

Language:Python 100.0%