> For the complete documentation index, see [llms.txt](https://mrwheel-docs.gitbook.io/yappgenerator_en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mrwheel-docs.gitbook.io/yappgenerator_en/snap-joins.md).

# Snap Joins

With **`snapJoins`** the Base and Lid “click” together without the need for screws or other aids.

```
  Default origin = yappCoordBox: box[0,0,0]

  Parameters:
   Required:
    p(0) = posx | posy
    p(1) = width
    p(2) = { yappLeft | yappRight | yappFront | yappBack } (one or more)
   Optional:
    n(a) = { <yappOrigin> | yappCenter }
    n(b) = { yappSymmetric }
    n(c) = { yappRectangle } : Make a diamond shape snap


snapJoins   =   
[
    [10, 5, yappLeft, yappRight, yappSymmetric]
   ,[ 5, 5, yappFront, yappBack, yappSymmetric]
];

```

<figure><img src="/files/u0PV39lo5ImuWIaD7j34" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Ho7GjgebQbgEvTNNF8yT" alt=""><figcaption></figcaption></figure>
