# Tie-Up Diagonal

This option, accessible on the menu in the tie-up group, allows one or more treadles to be copied to others by stepping the contents.  Often this is a diagonal line, such as in a twill. The default values, as shown in the picture below on a draft with 8 treadles, allow for the tie-up to be generated based on the value on the first treadle, and shifting each of the shaft selections up by 1 on each subsequent treadle in the tie-up, wrapping when the shift goes past the highest shaft.   Any prior values in the tie-up are erased and replaced.&#x20;

The fields that may be selected for the Tie-Up diagonal button are:&#x20;

* Start - first treadle in the tie-up to use as the copy-from
* Step - number of shafts to step when copying the values from the prior treadle.  The direction of the step is UP, unless the down Down button is clicked.
* Treadles - Number of treadles to copy on each iternation of the copy.
* Stop - Treadle for the last copy operation.  Shaft selections in the Treadles after the Stop value will not be changed.
* Down - direction of the copy.

<figure><img src="https://3801852105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvDkg_itZXfSAjm0jwH%2Fuploads%2FwxleRnKSgVuzoNvNDQfe%2Fimage.png?alt=media&#x26;token=39907e5c-c123-4f8f-beb3-2ac0a1ce21a4" alt="" width="344"><figcaption></figcaption></figure>

### Example - Copying one treadle to the end

For example, the following tie-up shows treadle one with shafts 1,2,4,6 and 8 selected.&#x20;

![Tie-up With Shaft One Entered](https://3801852105-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvDkg_itZXfSAjm0jwH%2F-M3-VU04r18QLLZrSxXd%2F-M3-XMQnZt_gwZIOxviS%2Fimage.png?alt=media\&token=aba8f58d-867b-4dae-b36b-37510a36ef27)

![Generated Tie-up with Diagonal Options](https://3801852105-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvDkg_itZXfSAjm0jwH%2F-M3-VU04r18QLLZrSxXd%2F-M3-XtiBQE6of7j28Bo9%2Fimage.png?alt=media\&token=788d400f-5638-4707-9fc9-634a7ea62f71)

### Example - Copying two treadles and stepping by 2

<figure><img src="https://3801852105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvDkg_itZXfSAjm0jwH%2Fuploads%2FUVb8vJghONNYwtCx7zWB%2Fimage.png?alt=media&#x26;token=9a48cc72-f3e8-4870-9a96-abf81df7e5e7" alt="" width="156"><figcaption><p>Starting Tie-Up</p></figcaption></figure>

Using these options: Starting with 1, using 2 treadles (1 and 2), stepping by 2 and stopping at treadle 8

<figure><img src="https://3801852105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvDkg_itZXfSAjm0jwH%2Fuploads%2FlWp0KADs2GYT8h6JJi9l%2Fimage.png?alt=media&#x26;token=57a1c9c2-83bd-45f1-a29e-1a7427259967" alt="" width="308"><figcaption></figcaption></figure>

Result:

<figure><img src="https://3801852105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LvDkg_itZXfSAjm0jwH%2Fuploads%2FlahtWitmgG6DOFFOJZKA%2Fimage.png?alt=media&#x26;token=8e934077-58b2-457c-b174-ecccc018f82c" alt="" width="156"><figcaption><p>Result of Diagonal Shift</p></figcaption></figure>

Note that in this example, shafts that were selected on Treadle 1 (1,2,4,5,7) are now copied to Treadle 3; since step was 2, the 1 moved to 3, 2 moved to 4, 4 moved to 6, 5 moved to 7, and 7 wrapped around and moved to 1.

A similar action was taken on treadle 2 to generate the entries on treadle 4.&#x20;

Next, the new values on treadle 3 are used to generate values in treadle 5, etc. &#x20;
