> For the complete documentation index, see [llms.txt](https://docs.besmart.software/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.besmart.software/3d-modeling-and-design/metal-framing/getting-started/building-modeling/roofs.md).

# Roofs

Before framing roofs, you need to create wall types with layers and model the roofs correctly. Follow the guide below.

## 1. Create roof type layers

* Drywall and other finish layers should have **Finish 1**, **Finish 2** or **Substrate** function
* The main **studs** are hosted inside the **Structure layer** which has to be the **Core Layer** (layer between the two Core Boundaries)
* Each layer must have a defined **Function**, **Material** and **Thickness**

{% hint style="info" %}
**Suggestion**: Structure \[1] layer thickness should match the Web depth (d) of you rafters/joists. For example, if your rafters are 150mm, the Structure \[1] layer should have the same thickness.
{% endhint %}

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FHczjKXN6nchS1Bzrm44E%2Fimage.png?alt=media&amp;token=dc5bd78a-ae63-4323-a7c7-a9461e3978d7" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
You can create as many layers as you wish.
{% endhint %}

For **double** drywall or other finish layers, each **Material** name must be **unique.**

## 2. Model roofs

After modeling **pitched roofs**, you need to use [**Roof Panel Layout** ](https://docs.besmart.software/common-for-several-products/roof-panel-layout)to divide them into smaller panels:

<figure><img src="https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FBL0r3ZC7lScCMv0Wma7l%2Fimage.png?alt=media&amp;token=d0dcbd8a-0fda-409e-b585-27515e1ebb3e" alt=""><figcaption></figcaption></figure>

Learn how to use Roof Panel Layout in the video below:

{% embed url="<https://www.youtube.com/watch?v=IJfcFtFLE5s>" %}

***

{% hint style="info" %}
If you can't find the answers you're looking for, please [contact our support team](https://helpdesk.besmart.software/support/tickets/new).
{% endhint %}


---

# 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://docs.besmart.software/3d-modeling-and-design/metal-framing/getting-started/building-modeling/roofs.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.
