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