Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decitre/pykbool
a Cython wrapper around kbool
https://github.com/decitre/pykbool
Last synced: 1 day ago
JSON representation
a Cython wrapper around kbool
- Host: GitHub
- URL: https://github.com/decitre/pykbool
- Owner: decitre
- License: lgpl-3.0
- Created: 2015-08-25T12:19:47.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-25T15:26:56.000Z (about 9 years ago)
- Last Synced: 2024-08-09T05:38:57.396Z (3 months ago)
- Language: Python
- Homepage:
- Size: 1.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
pykbool is a `Cython `_ wrapper exposing the kbool library.
kbool is a polygon clipper provided within the `wxArt2D `_ framework as a third party library.
kbool was originally written by `Klaas Holwerda `_.
One of kbool's feature is to provide connected keyhole polygons, which can be useful when rendering with engines not supporting polygons with holes like Tk.
.. image:: https://raw.githubusercontent.com/decitre/pykbool/master/data/not_connected.png
.. image:: https://raw.githubusercontent.com/decitre/pykbool/master/data/connected.png
kbool can be checked out from wxart2d SVN repo or extracted from the r842 archive::
$ svn co http://svn.code.sf.net/p/wxart2d/code/trunk/wxArt2D/thirdparty/kbool
$ tar xvfz data/kbool-wxart2d-code-842-trunk.tgzpykbool installation and demos::
$ python setup.py install
$ python setup.py demo1
$ python setup.py demo2