Skip to content

Python Polygon Clipping and Offsetting based on Clipper2 Library

License

Notifications You must be signed in to change notification settings

dgarnier/pyclipr

 
 

Repository files navigation

Pyclipr - Python Polygon and Offsetting Library (Clipper2 Bindings)

https://static.pepy.tech/personalized-badge/pyclipr?period=total&units=international_system&left_color=black&right_color=orange&left_text=Downloads

Pyclipr is a Python library offering the functionality of the Clipper2 polygon clipping and offsetting library and are built upon pybind . The underlying Clipper2 library performs intersection, union, difference and XOR boolean operations on both simple and complex polygons and also performs offsetting of polygons and inflation of paths.

Unlike pyclipper, this library is not built using cython. Instead the full use of capability pybind is exploited. This library aims to provide convenient access to the Clipper2 library for Python users, especially with its usage in 3D Printing and computer graphics applications.

For further information, see the