Pressure gauge
Bottom-connected Bourdon tube pressure gauge on a 1/2" weld-neck flange, through a bar-stock block-and-bleed gauge valve and an optional pigtail siphon. Solid-front stainless case with bayonet ring, glass and blow-out back. Dial size and range are props.
Installation
Copies instruments/pressure-gauge.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 { PressureGauge } from './components/deck-twin/instruments/pressure-gauge'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<PressureGauge />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
rating | 150 | 300 | 600 | 900 | 1500 | 2500 | null | |
dial | 0.063 | 0.1 | 0.15 | null | |
max | 10 | 16 | 25 | 40 | 60 | 100 | 160 | 250 | 400 | null | |
siphon | boolean | null | |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
Field bubble marked PI (or PG on some legends) joined to the pipe by a short process line; no signal line leaves it, because it is a local dial.
Same bubble as a transmitter but with PI / PG and no signal line. A bubble with a bar through it reading PI is a console indication, not a gauge. PDI / PDG across a filter is a differential gauge.
ratingdialmaxsiphontagTypical suppliers
WIKA. 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/pressure-gauge.json, or copy a ready-made instruction:
Add the Deck Twin "Pressure gauge" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add pressure-gauge` (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 pressure-gauge` for its props, ranges and ports. Render <PressureGauge /> 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