Wedge
A triangular prism (ramp) whose far edge rises to the full height.
Wedge is a triangular prism where only one end edge of the base rectangle rises to the full height — ramps, slopes, gable roofs.
Geometry
From the base rectangle (Width × Depth), the +Z edge rises by Height, producing a prism with a triangular cross-section. Width runs along local X, Depth along local Z, Height along local Y, and the pivot is at the center of the base.
It is closed by five faces: base, back, slope and two side triangles.
Parameters
| Label | Script key | Default | Range | Description |
|---|---|---|---|---|
| Width | w | 1 | 0.01 ~ 1000 | Width along local X, in meters |
| Depth | d | 2 | 0.01 ~ 1000 | Depth along local Z — the run of the slope, in meters |
| Height | h | 1 | 0.01 ~ 1000 | Height of the raised edge, in meters |
| Rotation | rotation | 0 | 0 ~ 360 | Y-axis rotation of the shape itself, in degrees |
Rotation is a parameter that turns the shape itself around Y, not the Transform rotation. Use it to change the slope direction while keeping the pivot and bounds. It composes with the Transform rotation.
How to create
-
Drag in empty space to set the base rectangle (Width × Depth).
-
Click to confirm, then move the mouse up to set the Height.
-
Click again to finish.
Scene view editing
The X handles drive Width, the Z handles Depth and the Y handles Height. There is no angle parameter — the slope follows the Height ÷ Depth ratio.
Tips
To dial in a slope angle, lock Depth and adjust only Height — a 30° ramp is Height = Depth × 0.577.
For a gable roof, mirror two wedges or attach the Mirror modifier.
Script
In a script this shape is written as wedge.
wedge "Ramp" w=2 d=4 h=1 @0,0,0
wedge "RoofHalf" w=6 d=2.5 h=1.8 @0,3,0
mod mirror
See also — Shape Type List · Creating Shapes and Modes · Scene Script Syntax
