# Ramps and Sketchup Geometry

Created with software version 2020.1

To follow along with these examples, download the files used here.

## 1. Introduction

This post covers three different methods to model ramps in Pyrosim, including two methods on using Sketchup and Sketchup extensions to model ramps.

## 2. Ramp Example 1: Native Pyrosim Creation

This example shows how to draw a ramp in PyroSim, using triangular slabs to approximate the geometry.

The geometry of the ramp we will model is shown in Figure 1. It rises from Z = 0m to Z = 3m. The basic idea is that we will sketch the geometry using triangular slabs and then we will edit the Z coordinates of the slabs.

The video below demonstrates the following steps:

1. Import an image for sketching.
2. Make a flat model of the geometry using slabs. For the slabs that will represent the ramp, use triangles.
3. Edit the Z coordinates of the slabs to approximate the ramp.

The final model will approximate the geometry with slabs shown in Figure 2.

PyroSim rasterizes the slabs so that they conform to the grid-based geometry used by FDS, shown in Figure 3.

## 3. Ramp Example 2: Curved Ramp in Sketchup

In the second example, we build a curved ramp in SketchUp.

To follow along with this example, you will need to download SketchUp.

## 4. Ramp Example 3: Curved Ramp in Sketchup - Curviloft Extension

In the third example, we build a similar curved ramp in SketchUp, except this time we use the Curviloft extension to change the width of the ramp as it transitions from the bottom to the top. This update is in response to a question on the original youtube video above.

To follow along with this example you will need to download SketchUp, the SketchUp Eneroth Upright Extruder Extension, and the Curviloft Extension. Note that the Curviloft extension requires the LibFredo6 Extension be installed first.