Skip to main content

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


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)

Uploaded Source

Built Distribution

creasepattern-0.0.3-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page