SYMMETRY

Classical origami designs make frequent use of bilaterial symmetry.

cp.bookSymmetry()
cp.diagonalSymmetry()

After calling one of these functions, every crease will automatically be creased twice.

You can also specify a unique line of symmetry with two points

cp.setSymmetryLine(x1, y1, x2, y2)

This works like a state machine. Turn symmetry "on" and every fold's reflection will be creased also until the moment you turn symmetry off again.

cp.noSymmetry()