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.

Source Distribution

pocketing-0.0.17.tar.gz (15.5 kB view hashes)

Uploaded source

Built Distribution

pocketing-0.0.17-py3-none-any.whl (18.9 kB view hashes)

Uploaded py3

Supported by

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