Vibrating fork level switch
Vibrating fork point level switch for side mounting: flanged process connection (port process, facing -X, origin on the face), extension tube and two flat tines set side by side so the gap drains vertically, a finned thermal neck and a compact housing with status LEDs behind a window and two cable entries underneath. Fork length from the flange face is a prop.
Installation
Copies instruments/level-switch.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 { LevelSwitch } from './components/deck-twin/instruments/level-switch'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<LevelSwitch />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
nps | number (NPS, in) | null | |
rating | 150 | 300 | 600 | 900 | 1500 | 2500 | null | |
length | number (m) | null | 0.06 – 1.5 |
housing | "actuatorBlue" | "stainless" | "aluminium" | "equipmentPaintDark" | null | |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
Field bubble with LS plus H / HH / L / LL (LSH, LSHH, LSLL) on a side connection of a vessel or bridle at the trip height. In a SIS it is often drawn with a diamond or hexagon tag for the logic it feeds.
S = switch, so the bubble has no transmitter letter T. Trip levels are written beside it in mm or %. Vibrating fork, float and displacer switches all use the same bubble.
npsratinglengthhousingtagTypical suppliers
Emerson (Rosemount). 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/level-switch.json, or copy a ready-made instruction:
Add the Deck Twin "Vibrating fork level switch" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add level-switch` (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 level-switch` for its props, ranges and ports. Render <LevelSwitch /> 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