> 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/cutouts/optional-parameters/n-b-n-c-mask-definition.md).

# n(b)/n(c) - Mask Definition

```
n(b) = { yappMaskDef } : If a yappMaskDef object is added it will be used as a mask 
                         for the cutout.
n(c) = { [yappMaskDef, hOffset, vOffset, rotation] } : If a list for a mask is added 
                         it will be used as a mask for the cutout. With the Rotation 
                         and offsets applied. This can be used to fine tune the mask
                         placement within the opening.
```

There are several predefined masks or you can create your own custom mask definition.

The following are the predefined masks:

* maskHoneycomb
* maskHexCircles
* maskCircles
* maskBars
* maskOffsetBars
* maskSquares

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

To use a mask without modifiers **n(b)** you can simply list the mask name.  For example **maskHoneycomb**.

<figure><img src="/files/ZmV6rkMpZjYiSDkONumq" alt=""><figcaption><p><strong>maskHoneycomb</strong></p></figcaption></figure>

To use a mask with optional modifiers **n(c)** you can specify a vector (list enclosed in \[]'s) as follows:

```
[mask name, hOffset, vOffset, rotation]

mask Name = the masks name from the predefined list or a custom mask you have created.
hOffset = the distance in mm to shift the mask in the X axis (horizontal).  
    This will change how the mask aligns with the opening. 
vOffset = the distance to shift it in the Y axis (Vertical)
rotation = the angle to rotate the mask in reference to the cutout.

```

for example **\[maskHoneycomb, 0, 3.3, 30]**. This will select the honeycomb shaped mask with a vertical offset of 3.3mm and rotated 30 degrees.

<figure><img src="/files/V9ydCAc4XbEVC4EtU6ij" alt=""><figcaption><p><strong>[maskHoneycomb, 0, 3.3, 30]</strong></p></figcaption></figure>

you can only use n(b) or n(c) on the same object.

see [Mask Definition](/yappgenerator_en/advanced-options/mask-definitions.md) for how to create your own masks.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://mrwheel-docs.gitbook.io/yappgenerator_en/cutouts/optional-parameters/n-b-n-c-mask-definition.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
