Skip to main content

Generate 2D toolpaths from polygons

Project description

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

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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pocketing-0.0.17.tar.gz.

File metadata

  • Download URL: pocketing-0.0.17.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pocketing-0.0.17.tar.gz
Algorithm Hash digest
SHA256 810be2c7edf51fea2bbc1eb4db7f78bd65de334d6c533d680b44fef9f9f0c6f4
MD5 f0cef6aa9851e47b5d6163b4272db343
BLAKE2b-256 1250c94061b56d0707a504482a42c9d0782d932bb162519b2cc2d6ed27d0a9d9

See more details on using hashes here.

File details

Details for the file pocketing-0.0.17-py3-none-any.whl.

File metadata

  • Download URL: pocketing-0.0.17-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pocketing-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 37e9a7f6fdfed0c85954677dd0670cc09f019a6929c3e1dd27a94a4494bcf3ce
MD5 ad3fadee0f3ce7253507e760b865b10d
BLAKE2b-256 84ddf27288f99d5e63ea95feb375377a3a08cd60ee3fc1ef0bca1a7ae29c7816

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page