Threaded flange

ASME B16.5 threaded (screwed) flange with an ASME B1.20.1 NPT taper thread through the hub (11.5 or 8 threads per inch by size, 1:16 taper) and a 45° entry chamfer. The pipe is made up power-tight with two threads showing at the hub end; optional seal weld. RF / FF / RTJ facing, real bolt holes. Where B16.5 has no threaded flange (Class 1500 above NPS 2-1/2, Class 2500 above NPS 12), the next lower class that has one is used.

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

Installation

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

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

export default function Scene() {
  return (
    <Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
      <Stage>
        <ThreadedFlange />
      </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"null
stubnumber (m)null0 – 0.6
sealWeldbooleannull
tagstringnull
...groupposition, rotation, scale…

P&ID

P&ID symbol for threaded-flange

In section: a flange with a short hub and thread marks (zig-zag) in the bore where the pipe screws in, sometimes with a seal weld. On P&IDs a short bar, usually on utility or small-bore lines.

tag THDtag SCRDASME B16.5 flange types drawn in half-section (GA / isometric detail convention); on P&IDs every flange is a short bar; ASME B1.20.1 NPT

Zig-zag thread lines in the bore identify it. Most offshore hydrocarbon piping classes do not allow threaded joints; expect it on utility water or air.

Piping class / flange bill of materials (ASME B16.5, B1.20.1) fields and the props they set
Nominal sizenps
Pressure classrating
Facingfacing
Pipe scheduleschedule
Seal weldsealWeld
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 threaded-flange

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

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