Junction box (Ex e)
Increased-safety field junction box in 316 stainless or GRP on a galvanised UPN floor stand. Hollow body with mounting plate, DIN-rail terminals, trunking and cable cores (shown with open); gasketed lid with captive screws and hinges, Ex marking and warning label, breather drain, external earth stud and tag plate. A bottom gland plate carries a row of cable glands with shrouds; the cables drop and run out along a deck-level ladder tray. Size sets the enclosure and the stand (one or two legs).
Installation
Copies electrical/junction-box.tsx and the shared lib/ into src/components/deck-twin/. Needs three, @react-three/fiber and @react-three/drei. See installation for the manual route.
Usage
import { Canvas } from '@react-three/fiber'
import { OrbitControls } from '@react-three/drei'
import { Stage } from './components/deck-twin/lib/stage'
import { JunctionBox } from './components/deck-twin/electrical/junction-box'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<JunctionBox />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
size | "small" | "medium" | "large" | null | |
enclosure | "stainless" | "grp" | null | |
glands | number | null | 1 – 16 |
height | number (m) | null | 0.7 – 1.6 |
open | boolean | null | |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
Small square or rectangle labelled JB plus its number, with field cables entering from the bottom and a multicore leaving towards the control room.
Appears on instrument location plans, cable block diagrams and electrical layouts, not on P&IDs. An LCS is a similar small box at a motor with push-buttons.
sizeenclosureglandstagTypical suppliers
R. STAHL. The geometry is generic and sized from public standards. It is not vendor CAD.
For agents
Machine-readable entry with props, ranges, defaults and ports:
Or fetch /r/junction-box.json, or copy a ready-made instruction:
Add the Deck Twin "Junction box (Ex e)" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add junction-box` (it copies the file and the shared lib into src/components/deck-twin/), then `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz info junction-box` for its props, ranges and ports. Render <JunctionBox /> inside a React Three Fiber <Canvas shadows>, wrapped in <Stage> from src/components/deck-twin/lib/stage. Set props from my data (metres, NPS in inches, ASME class) and leave the rest at defaults. Install three, @react-three/fiber, @react-three/drei and @types/three if they're missing. Full guide: https://decktwin.com/skill/SKILL.md