# Advanced Options

## Output settings in UDiTH Builder

When you prepare a model in **UDiTH Builder**, you can allow or prohibit downloads in the **Output configuration** and set the default type of **Common views cube** display, either directional or XYZ.

You can also enter an **expiration date** for your model. This must not be a date in the past. Once the model has expired, it can no longer be opened.

You can also include an optional **colour configuration file** (`.xlsx`) to be loaded by default, as well as a **colour files directory** that opens when you click **File management > Load a colour file**.

In the same way, you can include a link mapping file and an attribute mapping file, which defines links between the P&ID and the 3D model.

## Set a Password for Your Model

<table>
<tr><td rowspan="2"><img src="./media/image189.png" width="194" height="126">

</td><td>

If you are providing a model using HTTPS, you can **protect access** to your model by using **HTTP Basic Authentication** with a user name and password.

</td></tr>
<tr><td>

**Windows authentication** is also supported.

</td></tr>
</table>

## Performance Settings

In the settings, you can change the triangles limit, the memory model cache size in bytes, and the memory mesh cache size in triangles, as shown below:

<img src="./media/SettingsExpert.png" width="350" height="">

<img src="./media/Icons_Numbers/01.png" width="16" height="16"> **Triangles limit** - the number of triangles from which your 3D model is built. UDiTH uses more triangles for objects closer to the camera, so objects in the distance may appear less detailed or may be missing parts.

<img src="./media/Icons_Numbers/02.png" width="16" height="16"> **Render quality level** 

-   *Low*: shading and ambient lighting are disabled.
-   *Medium*: only ambient lighting is disabled.
-   *High*: all quality settings are enabled.

<img src="./media/Icons_Numbers/03.png" width="16" height="16"> **Memory mesh cache size (triangles)** specifies the number of triangles the model is allowed to use for caching.

<img src="./media/Icons_Numbers/04.png" width="16" height="16"> **Memory model cache size (bytes)** determines the amount of memory reserved for caching your model.

<img src="./media/Icons_Numbers/05.png" width="16" height="16"> **PDF projection max render jobs** limits the rendered area of a PDF projection. This is mainly important when several PDFs are used.
   

You can add objects to the **Catalogue** under **Additional items**. To do this, place your **.obj** files, together with an optional preview **.jpg** image at `64 x 64` pixels, in the `Catalogue` folder in the same location as `UDiTH.exe`.

Add the text file `UDiTHsketchitemindex.txt`, containing the file paths to all objects, to the same folder.

For example, the file may contain:

```
Catalogue\\HeatExchanger\\Type 1.obj

Catalogue\\Pumps\\Type 1.obj

Catalogue\\VerticalVessel\\12m2.obj
```

## Adding Predefined Clippings

If you have saved a clipping to the clipboard, you can store it in an Excel file:

<table>
<tr><th> </th><th>minY</th><th>minX</th><th>minZ</th><th>maxY</th><th>maxX</th><th>maxZ</th></tr>
<tr><td>

NewVolume

</td><td>

3023.24

</td><td>

2375.12

</td><td>

67.19

</td><td>

3037.24

</td><td>

2393.118

</td><td>

72.14

</td></tr>
</table>

Save this file as `Volumes.xlsx` and place it in the data folder next to `UDiTH.exe` to make it available in **Select clipping mode**.

## Starting with a Splash Screen

During start-up, UDiTH looks for `projectMessage.png` or `projectMessage.jpg` in the data folder. If either file is found, it is displayed automatically. Users must then click **Cancel** or **Continue**. This is useful for displaying legal text, a welcome screen, or additional information.
