Switchgear / MCC line-up
Line-up of MV metal-clad switchgear, LV switchboard or motor control centre panels. MV panels carry a protection relay, ammeter, indicator lamps, breaker viewing window, racking point, earthing-switch socket and bolted cable compartment under an arc-gas duct, with bolted rear covers for rear access; LV / MCC sections have withdrawable tiers with rotary isolators. Panel size follows the type and voltage; the plinth adds a rear cable trench, rubber operator mat and main earth bar.
Installation
Copies electrical/switchgear.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 { Switchgear } from './components/deck-twin/electrical/switchgear'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<Switchgear />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
kind | "mv" | "lv" | "mcc" | null | |
panels | number | null | 1 – 20 |
kv | 0.69 | 3.3 | 6.6 | 11 | 13.8 | 33 | null | |
plinth | boolean | null | |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
Thick horizontal busbar with an incoming feeder and several outgoing feeders, each through a circuit breaker (a switch blade with a small × on the fixed contact) or contactor, often inside a dashed boundary with the board tag and voltage.
Breaker: × on the contact. Disconnector: a bar across the contact. Contactor (MCC starter): a half-circle on the contact. On layouts a switchgear line-up is a long rectangle divided into panels inside an E-house.
kindpanelskvtagTypical suppliers
Siemens · Eaton · Schneider Electric · alfanar. 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/switchgear.json, or copy a ready-made instruction:
Add the Deck Twin "Switchgear / MCC line-up" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add switchgear` (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 switchgear` for its props, ranges and ports. Render <Switchgear /> 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