Socket-weld flange

Small-bore ASME B16.5 socket-weld flange (NPS 1/2–3, to 2-1/2 in Class 900 / 1500). The socket bore and depth come from B16.5, the pipe-stop shoulder steps down to the schedule bore, and the inserted pipe stands 1.6 mm off the shoulder as an expansion gap before the outside fillet weld. RF / FF / RTJ facing, real bolt holes.

ASME B16.5ASME B31.3ASME B16.11
Drag to orbit, scroll to zoom
Parameters
– m

Installation

$npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add socket-weld-flange

Copies piping/socket-weld-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 { SocketWeldFlange } from './components/deck-twin/piping/socket-weld-flange'

export default function Scene() {
  return (
    <Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
      <Stage>
        <SocketWeldFlange />
      </Stage>
      <OrbitControls makeDefault />
    </Canvas>
  )
}

Props

PropTypeDefaultRange
npsnumber (NPS, in)null
rating150 | 300 | 600 | 900 | 1500 | 2500null
facing"RF" | "FF" | "RTJ"null
schedule"40" | "80" | "160" | "XXS" | "40S" | "80S"null
stubnumber (m)null0 – 0.6
tagstringnull
...groupposition, rotation, scale…

P&ID

P&ID symbol for socket-weld-flange

In section: a small-bore flange with a socket the pipe slides into against a shoulder (small gap at the bottom), and one fillet weld at the hub. On P&IDs a short bar on a small-bore (≤ 2") line.

tag SWASME B16.5 flange types drawn in half-section (GA / isometric detail convention); on P&IDs every flange is a short bar; ASME B16.11 socket

Socket-weld is small-bore only (NPS ½–3). Threaded flanges show thread hatching in the bore instead of a weld.

Piping class / flange bill of materials (ASME B16.5, B16.11) fields and the props they set
Nominal sizenps
Pressure classrating
Facingfacing
Pipe scheduleschedule
Tag numbertag

Typical suppliers

All Metals & Forge Group. 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:

$npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz info socket-weld-flange

Or fetch /r/socket-weld-flange.json, or copy a ready-made instruction:

Add the Deck Twin "Socket-weld flange" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add socket-weld-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 socket-weld-flange` for its props, ranges and ports. Render <SocketWeldFlange /> 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