Files
spoolmount/v1/scad/lib/util/screw_hole_m3.scad

30 lines
637 B
OpenSCAD
Raw Permalink Normal View History

2024-07-11 12:07:13 -07:00
use <hexagon.scad>
2024-07-12 09:08:58 -07:00
module screw_hole_m3(h) {
2024-07-11 12:07:13 -07:00
// Through screw hole
translate([0, 0, -0.01])
2024-07-20 14:53:22 -07:00
cylinder(h=h, d=3.3, $fn=50);
2024-07-11 12:07:13 -07:00
// Hex nut cutout
translate([0, 0, h - 3])
hull() {
// Large hex nut
translate([0, 0, 3])
linear_extrude(0.01)
2024-07-12 08:43:53 -07:00
hexagon(inradius=2.85);
2024-07-11 12:07:13 -07:00
// Small hex nut
linear_extrude(0.01)
2024-07-11 15:54:04 -07:00
hexagon(inradius=2.65);
2024-07-11 12:07:13 -07:00
}
// Screw head cutout
translate([0, 0, h - 3])
cylinder(h=2.61, d=5.5, $fn=50);
// Bottom screw thread protrusion cutout
translate([0, 0, -0.01])
cylinder(h=1.01, d=4.4, $fn=100);
}
2024-07-12 09:08:58 -07:00
screw_hole_m3(h=10);