Swing check valve
Flanged RF swing check valve with a long body, disc chamber and oval bolted cover with lifting eye, hinge-pin bosses with plugs on both sides, cast flow arrow, drain plug and nameplate. Optional external lever and counterweight on the hinge shaft that swings with open. Face-to-face from ASME B16.10.
Installation
Copies valves/swing-check-valve.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 { SwingCheckValve } from './components/deck-twin/valves/swing-check-valve'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<SwingCheckValve />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
nps | number (NPS, in) | null | |
rating | 150 | 300 | 600 | 900 | 1500 | 2500 | null | |
counterweight | boolean | null | |
open | number | null | 0 – 1 |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
Bow-tie with one triangle filled black (the downstream half) and often a small arrow showing the free-flow direction. Some legends draw a single triangle pointing at a bar instead.
P&IDs rarely distinguish swing, dual-plate and piston checks: read the valve code in the line class or the valve datasheet. Flow is allowed in the direction the arrow (or the open triangle) points.
npsratingcounterweighttagTypical suppliers
Fluitek · Delta Pacific Valve. 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/swing-check-valve.json, or copy a ready-made instruction:
Add the Deck Twin "Swing check valve" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add swing-check-valve` (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 swing-check-valve` for its props, ranges and ports. Render <SwingCheckValve /> 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