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.54
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.54.tar.gz | 55.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ladybug_geometry_polyskel-1.7.54-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 94.4 kB
Release files / ladybug_geometry_polyskel-1.7.54.tar.gz
| Download URL | ladybug_geometry_polyskel-1.7.54.tar.gz |
|---|---|
| Size | 55.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a21f371fd0896e4cf7b21af29c72b19fe48d158a15941cb4dd4ecd6b79bf3bd
|
|
BLAKE2b-256 checksum How to use checksums |
3cd476f2bfce1a24ed01d43fbbc8d1ba5370f53502e475c360f01c5850eaa8c1
|
| 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.54-py3-none-any.whl
| Download URL | ladybug_geometry_polyskel-1.7.54-py3-none-any.whl |
|---|---|
| Size | 38.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a5d3f424968cb009e1bcb995a6db3a3f00c6a623208b67a3b47ffdfefa308f48
|
|
BLAKE2b-256 checksum How to use checksums |
a5b9b2e2d4616467a112a58f272a0e584f49fbd218d36cbbebfb223d3cf8c6a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.14
|