Created
September 17, 2021 13:32
-
-
Save tomykaira/8cea323fb90b94f25a7e535a2383317e to your computer and use it in GitHub Desktop.
Wire rack fastener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn = 100; | |
// dimension: mm | |
wire_dia = 1.5; | |
screw_head_dia = 9.0; | |
screw_hole_dia = 4.0; | |
head_width = 25; | |
head_height = 25; | |
fillet = 2; | |
rotate([180, 0, 0]) | |
difference() { | |
base(); | |
screw_head(); | |
translate([(screw_hole_dia+wire_dia)/2, 0]) | |
wire(); | |
rotate([0,0,90]) | |
translate([(screw_hole_dia+wire_dia)/2, 0]) | |
wire(); | |
} | |
module base() { | |
linear_extrude(wire_dia * 2) { | |
difference() { | |
offset(r = +fillet) offset(r = -fillet) | |
square([head_width, head_height], center = true); | |
circle(d = screw_hole_dia); | |
} | |
} | |
} | |
module screw_head() { | |
linear_extrude(1) { | |
circle(d = screw_head_dia); | |
} | |
} | |
module wire() { | |
translate([0,0, wire_dia * 7 / 4]) | |
rotate([90,0,0]) | |
linear_extrude(10000, center = true) | |
circle(d = wire_dia); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment