Skip to main content

Generate 2D toolpaths from polygons

Project description

pypocketing: ALPHA

Test And Publish PyPI version


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.


  • 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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pocketing, version 0.0.17
Filename, size File type Python version Upload date Hashes
Filename, size pocketing-0.0.17-py3-none-any.whl (18.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pocketing-0.0.17.tar.gz (15.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page