Metric hex bolt generator

Free · Runs on your device

Metric hex bolt

3D PREVIEW
Preparing your part...The default design opens automatically.
Drag to rotate · Scroll to zoom
Dimensions Adjust your part

Metric hex bolt

Loading dimensions...

Preparing model dimensions...
Preparing the default part on your device...
Design notes, source and license

A printable hex-head bolt sized for your next small project.

Plastic threads are for light-duty projects. Print a small fit test before making a set. Pitch follows the library’s metric lookup.

Using the Metric hex bolt generator

Configure a hex-head metric bolt for a small printed assembly or fit experiment. The tool uses threads-scad to generate the head and threaded shank together. You control the nominal diameter, shank length and clearance, with the resulting outside dimensions shown on the preview.

  1. Select the nominal thread diameter you want to pair with a nut.
  2. Enter the shank length, then choose the thread clearance for a fit sample.
  3. Check the total model height and head footprint before exporting the STL.

Shank length is different from total height

The shank-length control describes the bolt below its head. The default 8 mm nominal bolt with a 20 mm shank renders about 28 mm tall overall, including its head. Its head footprint is about 14.6 by 12.7 mm in the verified default mesh. Check the complete envelope when planning clearance around the head.

Pair the bolt with a nut using the same nominal diameter, then test the printed fit. Thread pitch and head proportions come from the source library; this interface does not offer independent controls for them. Printed plastic bolts are intended here for light-duty projects, without a strength or load-rating claim.

Default values and parameter ranges
Nominal diameter
Default 8 mm; range 3 to 24 mm
Thread clearance
Default 0.4 mm; range 0.1 to 0.8 mm
Shank length
Default 20 mm; range 5 to 80 mm

Default mesh example: 14.6 × 12.7 × 28.0 mm. These are dimensions of the rendered source model, not measurements of a physical print. Your live preview reports the outside dimensions for your selected values.

Original design: Ryan A. Colyer. License: CC0-1.0. Original project and license. Source revision 4ae9aeb3b136. Download Source + license above to retain the source, notices and your parameter setup.

Browse open-source 3D model generators

12 generators

Customize Gridfinity storage, metric hardware, keycaps, planters and practical workshop parts. Every generator includes its original source, author credits and license.

View or edit the current OpenSCAD source

Editing makes a local copy. Reopen a library model to restore its original. Set parameters in the controls above.

About this free OpenSCAD model maker

Choose a design, adjust its dimensions and download an STL for your slicer. The preview shows the actual generated mesh and outside dimensions.

Use your own OpenSCAD file

Choose Open .scad above to load a self-contained file. Simple number, boolean, string and enum parameters become controls. External libraries, fonts and imported meshes are not bundled for local imports. Imported source stays in your browser.

Using the generators

Does my model get uploaded?

Rendering happens locally using OpenSCAD WebAssembly in a browser worker. We deliver the page, source files and engine as static downloads. Your source, parameter values and generated model are not sent to a rendering server. Setup links store dimensions in the URL fragment, so anyone you give the complete link can see those dimensions.

What can I download?

STL is the printable mesh. Source + license is a ZIP containing the original .scad files, required bundled libraries, your parameter setup, author credits and license notices. The included goodprints-setup.scad reproduces your selected values in desktop OpenSCAD. STL does not retain editable CAD features.

Why can a build take a while?

The first live build downloads about 14 MB of rendering code. Each default design has an exact cached preview while the engine loads. Complex shapes and larger grids take longer, especially on phones. You can turn off Auto update to rebuild manually or cancel a build. A build stops after two minutes.

Can I use the models commercially?

Each design keeps its own license, credited with its author and source. Read the license included in your source download for the terms that apply. An available source file does not automatically grant reuse rights. These models have been checked for browser rendering, not physically print-tested by GoodPrints3D.

What powers this?

The OpenSCAD WebAssembly project runs the actual OpenSCAD engine on your device. OpenSCAD WASM source · Engine version 0.0.4 and license · Download workshop source and notices.

Built on open source. Made for your workshop.

Thanks to Kenneth Hodson, Zachary Freedman, Ryan A. Colyer, Jerry van Heerikhuize, Sofian Audry, rsheldiii, Barrett Clark, the BOSL2 contributors and the OpenSCAD community.

Explore GoodPrints3D Labs ↗