Origami Crease Pattern tools
Project description
creasepattern
Basic topls to work with Origami Crease Patterns.
Usage
cp2png
Convert .cp
files to .png
Size of the output image is based on the sizes given in the .cp
file.
from creasepattern import cp2png
cp2png('file.cp', 'file.png')
cp2svg
Convert .cp
files to .svg
from creasepattern import cp2svg
cp2png('file.cp', 'file.svg')
Roadmap
- (Must) Make size of output configurable
- (Must) Make edge types configurable
- (Could) Support more filetypes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
creasepattern-0.0.3.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for creasepattern-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 924bfac4032019170ad98f9c6b899a42370109bdbf26515cc21f580246519eec |
|
MD5 | 0f13c7f61566a856754335ec62b4e3fc |
|
BLAKE2b-256 | fc1da4cb8edda3f87ac41767f4ba1710f194a872f6e885f8c697660d2a5d0eff |