Skip to main content
A ramp is saved in a building model. It is an entry in the ramps list of a storey (BmRamp).

Import

Example

The values are those of the test fixture tests/fixtures/basement-ramp.project.json in the Floorkit repository: the ramp climbs 3.2 m from a basement at -3.2 m to the ground at 0 m. Its 1:12 maxSlope is a value chosen for that fixture, not a code limit.

Fields

  • path is the plan centreline, a list of [x, z] points. The ramp starts at the first point.
  • width is the width across the path. thickness is the depth of the plate under the walking surface.
  • fromElevation and toElevation are the heights of the walking surface at the first and the last point, in metres above the storey’s elevation. A ramp can go down: toElevation can be below fromElevation.
  • landings are flat stretches. at is the distance in metres along the path from its first point; length is the length of the landing. Landings come in order and end on the path.
  • The rest of the path takes one even slope: the rise divided by the path length that is not a landing.
  • A point of path where the direction changes must lie inside a landing that reaches far enough past it to hold the corner, or the ramp is refused with ramp-turn-needs-landing. The landing builds as one flat corner piece.
  • A ramp needs some length that is not a landing, or it is refused with no-slope-run.
  • maxSlope is the steepest rise over run you allow. A ramp that is steeper is refused with ramp-too-steep. Floorkit has no default limit: choose the value from the code that applies to your project.

Drawing

  • A plan draws one outline of the whole ramp, a line across each end of a landing, the walkline, an arrowhead at the higher end and the slope as 1:n. A ramp above the cut draws dashed, and not at all in a plan with hideStairAboveCut.
  • Sections cut the ramp. Its cut regions carry ogType: 'RAMP'. Elevations and the 3D view show it.

Notes

  • All dimensions are in metres.
  • Validation codes: bad-path, zero-length-segment, bad-width, bad-thickness, bad-elevation, bad-landing, bad-maxSlope, ramp-turn-needs-landing, no-slope-run and ramp-too-steep.
  • IFC export of a ramp as IfcRamp is not part of this release.

BmRamp

Last modified on November 16, 2026