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 by Ármin Scipiades (@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.
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
pip install -U ladybug-geometry-polyskel
QuickStart
import ladybug_geometry_polyskel
API Documentation
Local Development
- Clone this repo locally
git clone git@github.com:ladybug-tools/ladybug-geometry-polyskel
# or
git clone https://github.com/ladybug-tools/ladybug-geometry-polyskel
- Install dependencies:
cd ladybug-geometry-polyskel
pip install -r dev-requirements.txt
pip install -r requirements.txt
- Run Tests:
python -m pytest tests/
- Generate Documentation:
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.
Release files for ladybug-geometry-polyskel 1.7.55
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ladybug_geometry_polyskel-1.7.55.tar.gz | 55.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ladybug_geometry_polyskel-1.7.55-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 94.3 kB
Release files / ladybug_geometry_polyskel-1.7.55.tar.gz
| Download URL | ladybug_geometry_polyskel-1.7.55.tar.gz |
|---|---|
| Size | 55.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb7c8582acfb1b8220f3fa9d5514250c68296454e69a9b93d9f431959c2cec67
|
|
BLAKE2b-256 checksum How to use checksums |
4565d373cd70b62219fba4b00916028dc79980a8d5c8190465a039b5cf34954d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.14
|
Release files / ladybug_geometry_polyskel-1.7.55-py3-none-any.whl
| Download URL | ladybug_geometry_polyskel-1.7.55-py3-none-any.whl |
|---|---|
| Size | 38.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3098a7fcee902ca4fc06cecb14129923c845429c6589e6b2dfbe9170fdcb5794
|
|
BLAKE2b-256 checksum How to use checksums |
fc9d371d31f201a0351183ce84b41b08e597e25f716ff01b587c2a1f33e5f478
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.14
|