Skip to content

Inkscape extension that creates origami tesselation patterns

License

Notifications You must be signed in to change notification settings

eridur-de/Origami_Patterns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Origami Patterns

Inkscape extension that creates origami tesselation patterns.

Installation:

To install a new extension, download and unpack the archive file. Copy the files into the directory listed at Edit > Preferences > System: User extensions

On Windows, the default directory is: C:\Program Files\Inkscape\share\extensions

While on Linux, the directory is: /home/$USER/.config/inkscape/extensions/

Accessing the extension:

The extension can be found on Extensions > Origami Patterns

Input parameters:

Custom parameters (depends on desired Pattern)

  • Number of lines
  • Number of columns
  • etc...

Common parameters

  • Desired unit (mm, cm, px, etc.)
  • Color for every type of stroke (mountain creases, valley creases and edges)
  • Dashes for every type os stroke
  • Width for every type of stroke

Extra parameters

  • Semicreases, universal creases and cuts (for Kirigami) can also be implemented, if needed.

Output:

Creates the pattern. To simplify manual editing on Inkscape, the drawn pattern is composed of subgroups of strokes. For example, ungrouping the Waterbomb tesselation, you get three distinct groups of objects:

  • the mountain creases
  • the valley creases
  • the edges

These groups can also be divided into smaller groups:

waterbomb
├── edges
│   ├── bottom
│   ├── left
│   ├── right
│   └── top
│   
├── mountains
│   ├── horizontal lines
│   └── vertical lines
│   
└── valleys
    ├── line 1_a
    ├── line 1_b
    │   
    ├── line 2_a
    ├── line 2_b
    │   
    ├── ...
    │   
    ├── line N_a
    └── line N_b

Patterns implemented until now:

Cylindrical Class: Subclass of Pattern for automatic generation of slots for rigid support

  • Cylindrical Kresling tower
  • Bendy Straw Kresling tower

Misc

  • Rigid support for Cylindrical patterns

An OpenSCAD implementation of a belt that can be used with the support is found in: Origami_Patterns/Support_Ring_Belt/.

For creation of new patterns:

  • See origa_template.inx and OrigamiPatterns/Template.py for an example!
  • See origa_cylindrical_template.inx and OrigamiPatterns/Cylindrical_Template.py for an example on cylindrical patterns!

Todo:

  • Implement Bendy Straw as Cylindrical origami patterns

Deprecation and compatibility issues:

Deprecated functions are being replaced for Inkscape 1.0 while making sure it still works with older versions of Inkscape. I fixed all the bugs that I know of for now, but compatibility issues might still happen with Inkscape versions older than 1.0.

Simulation:

To simulate the patterns, Amanda Ghassaei's OrigamiSimulator can be used:

  • Check foldability of pattern (simulation mode with semicreases for circular pleat, triangulation for hypar, etc)
  • Create desired pattern with properly selected parameters
  • Set default values for all stroke colors (check File > File Import Tips on OrigamiSimulator)
  • IMPORTANT: Before saving, de-group every object, since OrigamiSimulator does not currently work with Inkscape's group transforms.
  • Save as .svg
  • Import .svg file from OrigamiSimulator

If pattern does not import correctly, you can try to create a bigger version of the same pattern.

About

Inkscape extension that creates origami tesselation patterns

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • OpenSCAD 0.7%