Stockpile Visualiser
A hand-rolled 3D survey tool for soil and aggregate stockpiles — a rotatable heightfield with pinned sample locations, live volume and tonnage, height and angle-of-repose compliance, and elevation, slope, test-coverage and cut/fill overlays.
bunx shadcn@latest add @nx-ui/stockpile-visualiserLive survey
The full tool running against a live material-reuse feed: deliveries and removals morph the surface, the volume and tonnage count up, the lab pipeline advances and the activity ledger ticks. Drag to rotate, scroll to zoom, double-click to reset. A class-A HS2-style topsoil pile of roughly 2,400 m³.
SL2A_TS_CLA_GWC_0011
ActiveTopsoil (BS 3882)SP 18035 76423
2,440 of 3,000 m³
at 1.55 t/m³ (loose)
limit 5 m
- Test
TP-04 sampled for agronomy
- Delivery12.0 m³BX73 LPO
Stripped topsoil, north cutting
- Delivery11.5 m³YD24 HKE
Stripped topsoil, north cutting
Analysis overlays
Switch the surface shading between elevation, the angle-of-repose slope check, test coverage (untested lobes run hot) and cut/fill against the previous survey. Each overlay carries its own legend and readout.
SL4B_USS_HAM_STK_0027
ReservedUpper subsoil (BS 8601)SP 17422 75980
2,104 of 2,200 m³
at 1.7 t/m³ (loose)
limit 4 m · breached
Compliance attention
A non-hazardous 6F2 capping pile with everything shouting at once: a height breach past the 4 m permit limit, over-steepened faces beyond the 38° angle of repose, and a WAC leachate failure pulsing in the test tally.
SL7C_6F2_CAP_STK_0044
Active6F2 capping (SHW 613)SP 19110 77002
2,231 of 1,800 m³
at 2.1 t/m³ (loose)
limit 4 m · breached
- Delivery14.0 m³GK24 RTV
- Test
WS-01 returned a WAC fail
Compact embeds
A header-less, panel-less variant for multi-pile dashboards — each cell is still a fully interactive 3D survey with its volume, tonnage and peak height.
API reference
Exported parts and their props, extracted from the component source.