https://github.com/ladybug-tools/ladybug-geometry-polyskel
🐞 📦 :skull: A library with poly skeleton methods using ladybug-geometry
https://github.com/ladybug-tools/ladybug-geometry-polyskel
Last synced: 4 months ago
JSON representation
🐞 📦 :skull: A library with poly skeleton methods using ladybug-geometry
- Host: GitHub
- URL: https://github.com/ladybug-tools/ladybug-geometry-polyskel
- Owner: ladybug-tools
- License: agpl-3.0
- Created: 2020-02-12T00:39:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-09-02T21:55:10.000Z (9 months ago)
- Last Synced: 2025-09-02T23:23:48.058Z (9 months ago)
- Language: Python
- Homepage: http://ladybug-tools.github.io/ladybug-geometry-polyskel/docs
- Size: 945 KB
- Stars: 3
- Watchers: 4
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://travis-ci.com/ladybug-tools/ladybug-geometry-polyskel)
[](https://coveralls.io/github/ladybug-tools/ladybug-geometry-polyskel)
[](https://www.python.org/downloads/release/python-370/) [](https://www.python.org/downloads/release/python-270/) [](https://github.com/IronLanguages/ironpython2/releases/tag/ipy-2.7.8/)
# ladybug-geometry-polyskel
A library with straight skeleton methods using ladybug-geometry.
## Credits
Ladybug-geometry-polyskel is a derivative work of the the [polyskel package](https://github.com/Botffy/polyskel)
by [Ármin Scipiades](https://github.com/Botffy) (@Bottfy), which is, itself, a Python 3
implementation of the straight skeleton algorithm as described by Felkel and Obdržálek
in their 1998 conference paper [Straight skeleton implementation](https://github.com/Botffy/polyskel/blob/master/doc/StraightSkeletonImplementation.pdf).
Key differences between Bottfy's original implementation and this package are:
* It has been modified for compatibility with both Python 2.7 and Python 3.7.
* The code as been re-stylized to conform to the PEP8 style guide.
* Modules have been added to extract core/perimeter polygons from the straight skeleton.
## Installation
```console
pip install -U ladybug-geometry-polyskel
```
## QuickStart
```python
import ladybug_geometry_polyskel
```
## [API Documentation](http://ladybug-tools.github.io/ladybug-geometry-polyskel/docs)
## Local Development
1. Clone this repo locally
```console
git clone git@github.com:ladybug-tools/ladybug-geometry-polyskel
# or
git clone https://github.com/ladybug-tools/ladybug-geometry-polyskel
```
2. Install dependencies:
```console
cd ladybug-geometry-polyskel
pip install -r dev-requirements.txt
pip install -r requirements.txt
```
3. Run Tests:
```console
python -m pytest tests/
```
4. Generate Documentation:
```console
sphinx-apidoc -f -e -d 4 -o ./docs ./ladybug_geometry_polyskel
sphinx-build -b html ./docs ./docs/_build/docs
```
## Copyright
Ladybug Geometry Polyskel, Copyright (c) 2021, Ármin Scipiades, Ladybug Tools LLC
and other contributors. All rights reserved.