3D preview of Hinged Square Tube Connector (2 Identical Halves)
Loading the interactive model…
Interactive 3D model of Hinged Square Tube Connector (2 Identical Halves)

Enclosures and housings

Hinged Square Tube Connector (2 Identical Halves)

1 views
Bounding box
115.0 × 19.0 × 19.0 mm
Engine
Precision B-rep
Parameters
15
Published
November 17, 2026

Download

Free to download and use. See the terms.

The prompt

Write a complete, manifold OpenSCAD script for a two-piece hinged square tube connector designed to fit inside 19mm x 19mm square tubing with a 1.2mm wall thickness (16.6mm x 16.6mm internal opening). Include the following specifications: - Two identical connector halves that join together at a central barrel hinge. - Each half features a 25mm long square insert peg sized at 16.3mm x 16.3mm (accounting for a 0.3mm press-fit tolerance) with chamfered tips and small friction ribs for easy insertion. - Each half has a 19mm x 19mm x 3mm collar stop that sits flush against the end of the metal tubing. - Extending from each collar is an interleaved hinge knuckle (clevis and tang style) with a 4.2mm central through-hole to accommodate an M4 bolt and nut, allowing smooth rotation from 0 to 180 degrees. - Use parametric variables at the top of the file for tube dimensions, tolerance, peg length, and hinge bolt diameter. - Render both halves laid out side-by-side on the build plate (Z=0) ready for 3D printing without supports. CRITICAL OUTPUT INSTRUCTION: Reply with ONE fenced ```openscad code block containing the entire, valid OpenSCAD script and nothing else. Do not include any conversational text, explanations, or markdown outside the code block. Use code with caution.

Parameters

NameValueRange
Tube Outside Size19 mm10 – 50
Tube Wall Thickness1.2 mm0.4 – 5
Press-Fit Clearance0.3 mm0 – 1.5
Collar Stop Thickness3 mm1 – 10
Insert Peg Length25 mm5 – 60
Peg Tip Chamfer1.5 mm0.2 – 4
Friction Rib Count3 pcs1 – 8
Friction Rib Height0.25 mm0.05 – 0.8
Friction Rib Width1 mm0.4 – 3
Knuckle Width (each half)8 mm4 – 9
Knuckle End Radius4.5 mm2.8 – 6
Hinge Axis to Collar Face5 mm3 – 12
Hinge Bolt Hole Dia (M4)4.2 mm2 – 8
Interleave Clearance0.2 mm0 – 1
Layout Gap Between Parts40 mm5 – 150

Every value above is a live dimension. Open a model like this in the editor and each one becomes a slider you can drag before exporting.

3D preview of Cylindrical Stainless Steel Basket with Folding Handles368.0 × 250.0 × 252.1 mmPrecision

Cylindrical Stainless Steel Basket with Folding Handles

Design a cylindrical 304 stainless steel basket with an outer diameter of 200 mm and height of 250 mm. The basket has solid side walls with no perforations. The bottom plate contai

STEPSTLGLB15 PARAMS
3D preview of Lego 1x4 Technic Brick31.8 × 7.8 × 11.3 mmPrecision

Lego 1x4 Technic Brick

Create a precise 3D CAD model of a single 1x4 Lego Technic-compatible brick designed for STEM robotics. The main rectangular body must have exact dimensions: 31.8 mm in length, 7.8

STEPSTLGLB15 PARAMS
3D preview of Immersion Cooling Enclosure592.0 × 402.0 × 166.0 mmPrecision

Immersion Cooling Enclosure

Design a sealed high-pressure dielectric immersion cooling enclosure for cylindrical battery cells. Internal cavity dimensions: 540mm length, 360mm width, 160mm height with 6mm wal

STEPSTLGLB15 PARAMS
3D preview of Simple BWB with Propulsion Tube2130.0 × 6500.0 × 350.0 mmPrecision

Simple BWB with Propulsion Tube

Prompt: "A simple, solid Blended Wing Body (BWB) flying wing. Dimensions: wingspan 6.5 meters, center chord 1.53 meters, root thickness 35 centimeters, tapering to 15 centimeters a

STEPSTLGLB8 PARAMS
3D preview of Engranaje recto 50 dientes, módulo 2104.0 × 103.9 × 10.0 mmPrecision

Engranaje recto 50 dientes, módulo 2

Engranaje recto de 50 dientes, diámetro exterior 104 mm, diámetro de raíz 95 mm, espesor 10 mm y ángulo de presión 20°. Crear como sólido 3D con un agujero central de 8.2 mm de diá

STEPSTLGLB5 PARAMS
3D preview of G+1 Party Hall Structural Shell30000.0 × 60000.0 × 8950.0 mmPrecision

G+1 Party Hall Structural Shell

G+1 Party Hall – AutoCAD Design Prompt Design a G+1 RCC-framed Party Hall in AutoCAD with detailed Ground Floor Plan, First Floor Plan, and all-side elevations (front, rear, left

STEPSTLGLB19 PARAMS
Hinged Square Tube Connector (2 Identical Halves) - Free CAD Model (STEP, STL) | TextoCAD