# Rectangular steel tube

> Component kind `steel-tube-rectangular` (category `static`, DSL name `steelTubeRectangular`, API v1)

Hollow rectangular-section steel profile for frame rails and stretchers. Section w (X) × h (Y), length along local Z.

## Parameters

- **`w`** — Section width (mm, local X). Commercial pairs: 20×30, 20×40, 30×50, 40×60.
- **`h`** — Section height (mm, local Y).
- **`wallThickness`** — Wall thickness (mm).
- **`length`** — Length along the local Z axis (mm).

## Parameters schema

| Parameter | Type | Default | Constraints |
| --- | --- | --- | --- |
| `w` | Number | 20 | min: 10 |
| `h` | Number | 40 | min: 10 |
| `wallThickness` | Number | 1.5 | min: 0.9 |
| `length` | Number | 2500 | min: 10 |
| `color` | String | — |  |

## Ports

| Port | Type | Description |
| --- | --- | --- |
| `body` | `rigid` | Rigid structural port. Weld or rest other parts against it. |

## Example

```
statics.steelTubeRectangular({
  id: 'rail_top_front', w: 20, h: 40, wallThickness: 1.5, length: 2500,
  transform: { position: [1300, 909, 50], rotation: [0, 90, 0] },
});
```
