Mechanical parts
Hex Bolt M10 x 50
- Bounding box
- 18.5 × 16.0 × 57.3 mm
- Engine
- Precision B-rep
- Parameters
- 6
- Published
- September 22, 2026
Download
Free to download and use. See the terms.
The prompt
// Tham số bu lông (có thể chỉnh) diameter = 10; // Đường kính thân (mm) length = 50; // Chiều dài thân (mm) head_height = 7; // Chiều cao đầu lục giác (mm) thread_pitch = 1.5; // Bước ren (mm) // Tính toán kích thước đầu lục giác head_width = diameter * 1.732; // Chiều rộng đối diện (approx) module hex_bolt() { // Đầu lục giác translate([0, 0, length]) cylinder(h = head_height, r = head_width / 2, $fn = 6); // Thân bu lông (trụ trơn phần không ren) unthreaded_length = length * 0.3; threaded_length = length - unthreaded_length; // Phần thân trơn translate([0, 0, unthreaded_length]) cylinder(h = threaded_length, r = diameter / 2, $fn = 50); // Phần ren (xấp xỉ bằng螺旋) translate([0, 0, 0]) screw_thread(diameter, threaded_length, thread_pitch); } module screw_thread(outer_diam, height, pitch) { // Ren tam giác đơn giản hóa thread_depth = pitch * 0.65; inner_diam = outer_diam - 2 * thread_depth; difference() { // Trụ ngoài cylinder(h = height, r = outer_diam / 2, $fn = 100); // Cắt ren bằng螺旋差集 for (i = [0 : height / pitch]) { rotate([0, 0, i * 360]) translate([0, 0, i * pitch]) cylinder(h = pitch + 0.5, r1 = inner_diam / 2, r2 = outer_diam / 2, $fn = 50); } } } // Gọi module hex_bolt();
Parameters
| Name | Value | Range |
|---|---|---|
| Shank Diameter (major) | 10 mm | 3 – 30 |
| Shank Length Under Head | 50 mm | 10 – 200 |
| Head Width Across Flats | 16 mm | 5 – 50 |
| Head Height | 7 mm | 2 – 30 |
| Thread Pitch | 1.5 mm | 0.5 – 4 |
| Threaded Length | 35 mm | 5 – 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.
More models
Browse the full gallery →Plastic Bottle with Screw Cap
A plastic bottle with a twist-on screw cap. Adjustable bottle diameter, height, and cap height.
Copper Cold-Plate Base with Fin Channels and Face-Seal Groove
1. Copper Base Create a rectangular copper base 84 × 84 mm. Use C110 ETP copper. Finished overall base thickness is 5.70 mm. The bottom floor thickness below the channels is 2.50 m
Spring Cup
"Create a cylindrical spring cup. The main body has an outer diameter of 14 mm and a total height of 5 mm. Cut a centered recessed pocket into the top face that is 8.5 mm in diamet
M6 Thumb Screw
Create ONLY a mechanical thumb screw. This is NOT a knob. Create a real M6 thumb screw used in industrial machinery. Features: • Circular head 22 mm diameter • Head height 12 m
Engine Piston
make me a cylinder/piston for an engine. The bottom hole to connect to the cranckshaft needs to be 24 mm in diameter
Nuclear Medicine Center Functional Floor Plan (Parametric Wall Model)
Create a **2D architectural floor plan in DWG format** for a new **Nuclear Medicine Center**. This is a **generic conceptual functional layout**, NOT a construction-ready project.
