OpenSCAD Thread Adapter
3/4" GHT Female ↔ 1/2" NPT Male
Requires BOSL2 Library
Parameters
Wall Thickness (mm)
Hex Nut Size (mm)
Transition Height (mm)
Update Code
Notes:
GHT (Garden Hose Thread) follows NH/ANSI standards.
NPT (National Pipe Thread) is tapered.
BOSL2's
threaded_nut
and
threaded_bolt
are used for precision.
adapter.scad
Copy Code
How to use:
Install the
BOSL2 library
in your OpenSCAD library folder.
Copy the generated code above.
Paste into OpenSCAD and press
F5
to preview or
F6
to render.
Export as STL for 3D printing.