This script will analyse the slope of different regions of an object such as a terrain by computing the angle between the face normal and a specified vector direction (default: z-axis). You can adjust the displayed colour ranges by changing the range min and max values as well as the steps between the colours. The script uses a multilateral to assign different material IDs to each face based on its angle calculation.
Script
Slope Analysis
By wassimj · 2016-12-27
- Version
- 1.1
- Date updated
- 2016-12-27
- Votes
- 2
Description
Additional Info

Attachments
- slopeanalysis.png — slopeanalysis.png465 KB
- slopeanalysis.ms — slopeanalysis.ms7.6 KB
Tags: Terrain, slope analysis