Enclosures and housings
Hex Threaded Survey Nut M20x1.5
- Bounding box
- 25.0 × 12.0 × 15.0 mm
- Engine
- Precision B-rep
- Parameters
- 12
- Published
- November 17, 2026
Download
Free to download and use. See the terms.
The prompt
Python import cadquery as cq import math # --- EDITABLE PARAMETERS (mm) --- total_height = 15.0 # Total part height[cite: 1, 2, 3] hex_across_flats = 24.0 # Wrench flat-to-flat size[cite: 1, 2, 3] outer_cyl_dia = 25.0 # Turned outer corner diameter[cite: 1, 2, 3] top_flat_dia = 13.0 # Flat top crown diameter[cite: 1, 2, 3] top_chamfer_h = 3.0 # Top chamfer height[cite: 1, 2, 3] top_chamfer_angle = 30.0 # Top chamfer angle from horizontal (deg)[cite: 1, 2, 3] through_hole_dia = 11.0 # Central through-hole diameter[cite: 1, 2, 3] thread_major_dia = 20.0 # M20x1.5 major diameter[cite: 1, 2] thread_depth = 9.0 # Internal thread depth[cite: 1, 2, 3] recess_depth = 12.0 # Internal undercut/recess depth[cite: 1, 2, 3] recess_dia = 20.4 # Thread relief diameter bottom_chamfer = 1.5 # 1.5 x 45° bottom entry chamfer[cite: 1, 2, 3] # 1. Create hexagonal prism intersected with outer Ø25 cylinder hex_circum_dia = hex_across_flats / math.cos(math.radians(30)) hex_body = ( cq.Workplane("XY") .polygon(6, hex_circum_dia) .extrude(total_height) ) cyl_body = ( cq.Workplane("XY") .circle(outer_cyl_dia / 2.0) .extrude(total_height) ) part = hex_body.intersect(cyl_body) # 2. Apply 3 mm x 30° top conical chamfer leaving Ø13 flat top r_top = top_flat_dia / 2.0 r_chamfer_base = r_top + (top_chamfer_h / math.tan(math.radians(top_chamfer_angle))) cone_envelope = ( cq.Workplane("XZ") .polyline([ (0, 0), (outer_cyl_dia, 0), (outer_cyl_dia, total_height - top_chamfer_h), (r_chamfer_base, total_height - top_chamfer_h), (r_top, total_height), (0, total_height) ]) .close() .revolve(360, (0, 0, 0), (0, 1, 0)) ) part = part.intersect(cone_envelope) # 3. Cut Ø11 central through-hole part = part.faces(">Z").workplane().hole(through_hole_dia) # 4. Cut internal recess (12 mm deep), thread bore (9 mm deep), and 1.5x45° chamfer internal_cut = ( cq.Workplane("XZ") .polyline([ (0, 0), ((thread_major_dia / 2.0) + bottom_chamfer, 0), (thread_major_dia / 2.0, bottom_chamfer), (thread_major_dia / 2.0, thread_depth), (recess_dia / 2.0, thread_depth), (recess_dia / 2.0, recess_depth), (0, recess_depth) ]) .close() .revolve(360, (0, 0, 0), (0, 1, 0)) ) part = part.cut(internal_cut) # Export as an editable solid STEP file cq.exporters.export(part, "surve_mutter_04_607_03.step")
Parameters
| Name | Value | Range |
|---|---|---|
| Total Height | 15 mm | 8 – 40 |
| Hex Across Flats | 24 mm | 10 – 50 |
| Turned Outer Diameter | 25 mm | 10 – 55 |
| Top Flat Diameter | 13 mm | 3 – 40 |
| Top Chamfer Height | 3 mm | 0.2 – 15 |
| Top Chamfer Angle | 30 deg | 5 – 85 |
| Through Bore Diameter | 11 mm | 2 – 30 |
| Thread Major Diameter (M20) | 20 mm | 5 – 45 |
| Thread Depth | 9 mm | 1 – 30 |
| Thread Relief Depth | 12 mm | 2 – 35 |
| Thread Relief Diameter | 20.4 mm | 5 – 50 |
| Entry Chamfer (45 deg) | 1.5 mm | 0 – 5 |
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.
More models
Browse the full gallery →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
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
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
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
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á
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
