SebKuzminsky / pycam

Other
340 stars 98 forks source link

External polygon offsetting library: shapely #128

Open sumpfralle opened 5 years ago

sumpfralle commented 5 years ago

Description of shapely:

Shapely is a BSD-licensed Python package for manipulation and analysis of planar geometric objects. It is based on the widely deployed GEOS (the engine of PostGIS) and JTS (from which GEOS is ported) libraries. Shapely is not concerned with data formats or coordinate systems, but can be readily integrated with packages that are.

Its feature parallel offset could maybe be used for polygon offsetting. Probably it would require manual work to handle multiple polygons (i.e. their offset polygons should not overlap).

What needs to be done:

See: #114