Tee
Butt-welding equal or reducing tee with a forged crotch radius. Run centre-to-end C and outlet M from ASME B16.9 (reducing outlet M approximated), B16.25 weld bevels or welded weld-neck flanges. Origin at the run and branch centreline intersection; the outlet points up, down or sideways.
Installation
Copies piping/tee.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 { Tee } from './components/deck-twin/piping/tee'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<Tee />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
nps | number (NPS, in) | null | |
branchNps | number (NPS, in) | null | |
schedule | "10" | "20" | "40" | "STD" | "80" | "XS" | "160" | "XXS" | "10S" | "40S" | "80S" | null | |
ends | "butt-weld" | "flanged" | null | |
rating | 150 | 300 | 600 | 900 | 1500 | 2500 | null | |
branch | "up" | "down" | "side" | null | |
service | "none" | "oil" | "gas" | "multiphase" | "water" | "seawater" | "firewater" | "steam" | "air" | "nitrogen" | "chemical" | "flare" | "drain" | "fuel-gas" | "diesel" | "potable" | "cooling" | null | |
...group | position, rotation, scale… |
P&ID
A branch line meeting a run line; a dot at the junction confirms a connection (lines crossing without a dot or with a gap / hop are not connected).
Reducing tees are shown by the different line sizes of run and branch. Crossing lines without a dot are not a tee. On isometrics the tee is drawn with weld ticks.
npsbranchNpsscheduleendsratingserviceTypical suppliers
Weldbend. 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/tee.json, or copy a ready-made instruction:
Add the Deck Twin "Tee" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add tee` (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 tee` for its props, ranges and ports. Render <Tee /> 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