> For the complete documentation index, see [llms.txt](https://help.vectary.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.vectary.com/documentation/design-process/design-mode/modifiers/boolean.md).

# Boolean

## Overview

Boolean modifier performs operations between multiple objects to create complex shapes. The bottom object in the list acts as the main object, while all other objects above it participate in the operation with the main object.

<div align="left"><figure><img src="https://2973737105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAXNLyKVZ2tvtyDr8sVES%2Fuploads%2F2z3QZI73LMbwCpFAcZKd%2Fimage.png?alt=media&amp;token=1ecd3155-b04c-42c0-882e-f9335af2ce1c" alt="" width="563"><figcaption></figcaption></figure></div>

Each participating object has an icon next to it that determines which of the three operations will be performed: **union**, **subtract**, or **intersect**. This means that the main object can have different types of operations with different objects simultaneously.

<div align="left"><figure><img src="https://2973737105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAXNLyKVZ2tvtyDr8sVES%2Fuploads%2FMbaT1fHxyIGTVSD0Q2zK%2Fimage.png?alt=media&amp;token=128601f8-52cf-40d5-8467-d7008ba0466a" alt="" width="366"><figcaption><p>to change the operation type, click on the icon</p></figcaption></figure></div>

{% hint style="success" %}
The main object can be changed at any time by dragging another object to the bottom of the list
{% endhint %}

### **Separate by material**

Enabling this option ensures that each object involved in the Boolean operation retains its original material.

<div align="left"><figure><img src="https://2973737105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAXNLyKVZ2tvtyDr8sVES%2Fuploads%2FKQ8iYgRG0tdcNp3xynUP%2Fimage.png?alt=media&amp;token=e7fb4e10-9617-4d37-b2aa-795a3979e5ad" alt="" width="244"><figcaption></figcaption></figure></div>

{% hint style="info" %}
When this option is enabled, converting to geometry preserves the number of objects involved in the operation. If disabled, the conversion results in a single object.
{% endhint %}

## Union

Merges objects into a single shape while ensuring that the resulting geometry remains correct.

{% embed url="<https://vimeo.com/741459725>" %}

Unlike a simple merge operation, this method removes internal geometry at intersections, preventing unnecessary overlapping polygons.

<figure><img src="https://2973737105-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAXNLyKVZ2tvtyDr8sVES%2Fuploads%2FR0DaO2KUkk94aSoLmiB0%2Fimage.png?alt=media&amp;token=71778c8d-fc8a-43c5-9d79-d76f721e4804" alt="" width="563"><figcaption></figcaption></figure>

## Subtract

Cuts the participating objects from the main object, removing overlapping sections and leaving behind the remaining shape.

{% embed url="<https://vimeo.com/741445919>" %}

## Intersect

Keeps only the overlapping parts between the main object and participating objects, removing all non-overlapping sections.

{% embed url="<https://vimeo.com/741459702>" %}

## Tutorial

{% embed url="<https://youtu.be/I_MhWLuDCmM>" %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.vectary.com/documentation/design-process/design-mode/modifiers/boolean.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
