Lap-joint flange and stub end
Loose ASME B16.5 lap-joint backing flange on a stainless stub end. The flange is flat with a radiused bore edge so it clears the stub-end fillet and turns freely to line up the bolt holes. The stub end is B16.9 long pattern or MSS SP-43 short pattern, with its lap diameter matched to the raised face. The serrated lap face is the gasket face (port A). An optional pipe can be butt-welded on.
Installation
Copies piping/lap-joint-flange.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 { LapJointFlange } from './components/deck-twin/piping/lap-joint-flange'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<LapJointFlange />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
nps | number (NPS, in) | null | |
rating | 150 | 300 | 600 | 900 | 1500 | 2500 | null | |
schedule | "5S" | "10S" | "40S" | "80S" | "40" | "80" | null | |
pattern | "long" | "short" | null | |
stub | number (m) | null | 0 – 1 |
backing | "carbon" | "galvanised" | null | |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
In section: a stub end (pipe with a flared lap at the face) with a loose backing flange sitting behind the lap, not welded to the pipe. On P&IDs a short bar like any flange.
The loose ring behind a lap identifies it. Used on stainless or alloy lines where the backing flange can be carbon steel, and where bolt holes must be lined up after welding.
npsratingschedulepatternbackingtagFor agents
Machine-readable entry with props, ranges, defaults and ports:
Or fetch /r/lap-joint-flange.json, or copy a ready-made instruction:
Add the Deck Twin "Lap-joint flange and stub end" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add lap-joint-flange` (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 lap-joint-flange` for its props, ranges and ports. Render <LapJointFlange /> 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