animation/fourcell/README.md

1.4 KiB

Four Cell Script

Two scripts:

  1. Analyzes a calibration sheet on the plotter to generate a template.
  2. Takes cells and inserts them into the template 4 at a time.

Analysis Steps

  1. Locate positions of 6 hole punches - normalize.py
  2. Orient to square position - normalize.py
  3. Find all 4 fiducials
  4. Calculate their position relative to the hole punches
  5. Create a template
  6. Use the template-filling script to recreate calibration page as a proof to be checked on a lightbox

Page Hole Punch Order

   human           zero-index
_______________  _______________
|             |  |             |
| 1         3 |  | 0         2 |
|             |  |             |
|             |  |             |
|             |  |             |
| 2         4 |  | 1         3 |
|             |  |             |
|             |  |             |
|             |  |             |
| 5         6 |  | 4         5 |
|             |  |             |
---------------  ---------------

Calibration Layout Order

_______________  _______________ 
|             |  |             |
| 1   2 3   0 |  |             |
|             |  |   1     2   |
|             |  |             |
| 0   3 2   1 |  |             |
|             |  |             |
| 1   2 3   0 |  |             |
|             |  |             |
|             |  |   0      3  |
| 0   3 2   1 |  |             |
|             |  |             |
---------------  ---------------