path_carve
Press a road, ditch, or path into a terrain mesh along a polyline by sinking vertices with adjustable width, depth, and edge falloff.
Instructions
Press a road, a ditch or a path into a terrain mesh along a polyline.
points are world [x, y] pairs (extra values are ignored); give at least two. width is the full width in metres of
the level floor. depth is how far the floor sinks, in metres (a negative value raises a bank).
falloff is the width in metres of the sloped edge on each side; default is half of width. 0 gives a hard edge.
The terrain needs a grid fine enough for the width: resolution of at most a third of width looks right.
Existing vertices move only down by depth times a weight, so the road follows the hills. Use this on a mesh from
the terrain tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | Yes | ||
| width | Yes | ||
| points | Yes | ||
| falloff | No | ||
| terrain | Yes |