Toxic gas detector
Electrochemical toxic gas transmitter: cast Ex d enclosure with screwed window cover, ppm display, status LED and magnetic-key calibration targets, sensor pointing down under a hollow weather cap with calibration nozzle and flared splash guard. gas sets the display range and the colour-coded sensor cap (H2S yellow, CO black, SO2 green, NH3 blue, Cl2 purple, O2 white; typical, not standardised). Black and yellow TOXIC GAS warning plate above. On a stanchion or wall plate with gland, cable and tag bracket.
Installation
Copies safety/toxic-gas-detector.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 { ToxicGasDetector } from './components/deck-twin/safety/toxic-gas-detector'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<ToxicGasDetector />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
gas | "H2S" | "CO" | "SO2" | "NH3" | "Cl2" | "O2" | null | |
mount | "pole" | "wall" | null | |
height | number (m) | null | 0.5 – 3 |
splashGuard | boolean | null | |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
F&G layout: a gas-detector symbol (circle, sometimes a triangle) with T, TOX or the gas (H2S, CO, SO2) and the ppm set points written beside it; on C&E charts an AT bubble.
Same family as point-gas-detector: the gas name decides. Flammable detectors read % LEL; toxic detectors read ppm.
gasmountheightsplashGuardtagTypical suppliers
Dräger · Honeywell. 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/toxic-gas-detector.json, or copy a ready-made instruction:
Add the Deck Twin "Toxic gas detector" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add toxic-gas-detector` (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 toxic-gas-detector` for its props, ranges and ports. Render <ToxicGasDetector /> 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