Small-bore forged fitting
ASME B16.11 forged steel small-bore fittings, Class 3000 or 6000, socket-weld or NPT threaded: 90° and 45° elbows, tee, coupling, half coupling, cap and hex-head plug. Also an MSS SP-83 ground-joint union with hex nut and an MSS SP-95 concentric swage nipple. Socket bore, depth, wall and centre-to-bottom-of-socket follow B16.11. Sockets have the pipe-stop shoulder and drilled bores meeting in a radiused passage (the tee branch is cut into the run bore). Female threads are tapered NPT. stub inserts pipe with the 1.6 mm socket gap and fillet weld, or makes it up into the thread.
Installation
Copies piping/small-bore-fitting.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 { SmallBoreFitting } from './components/deck-twin/piping/small-bore-fitting'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<SmallBoreFitting />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
kind | "elbow90" | "elbow45" | "tee" | "coupling" | "half-coupling" | "union" | "cap" | "plug" | "swage" | null | |
end | "socket" | "thread" | null | |
nps | number (NPS, in) | null | |
smallNps | number (NPS, in) | null | |
pressureClass | 3000 | 6000 | null | |
schedule | "40" | "80" | "160" | "XXS" | null | |
stub | number (m) | null | 0 – 0.3 |
...group | position, rotation, scale… |
P&ID
Not drawn as a separate item on P&IDs: small-bore vents, drains and instrument connections appear as short ¾"–2" lines off the main line. On isometrics the forged fitting (elbow, tee, coupling, union, cap, plug, swage) is drawn with SW or THD weld / thread marks and called up in the bill of materials.
A short NPS ≤ 2 branch with a valve and cap or plug (vent / drain) on a P&ID is made of these fittings. Class 3000 / 6000 comes from the piping class.
kindendnpssmallNpspressureClassscheduleTypical suppliers
Bonney Forge. 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/small-bore-fitting.json, or copy a ready-made instruction:
Add the Deck Twin "Small-bore forged fitting" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add small-bore-fitting` (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 small-bore-fitting` for its props, ranges and ports. Render <SmallBoreFitting /> 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