summaryrefslogtreecommitdiff
path: root/body/noctua_nf_a4x20.scad
diff options
context:
space:
mode:
Diffstat (limited to 'body/noctua_nf_a4x20.scad')
-rw-r--r--body/noctua_nf_a4x20.scad27
1 files changed, 25 insertions, 2 deletions
diff --git a/body/noctua_nf_a4x20.scad b/body/noctua_nf_a4x20.scad
index 77a26df..f6a1945 100644
--- a/body/noctua_nf_a4x20.scad
+++ b/body/noctua_nf_a4x20.scad
@@ -1,3 +1,5 @@
+include <holes.scad>
+
noctua_nf_a4x20_h = 40;
noctua_nf_a4x20_w = 40;
noctua_nf_a4x20_t = 20;
@@ -5,6 +7,7 @@ noctua_nf_a4x20_t = 20;
ld3007ms_w = 30;
ld3007ms_h = 30;
ld3007ms_t = 8;
+ld3007ms_distance_between_holes = 23.8;
module noctua_nf_a4x20()
{
@@ -21,9 +24,29 @@ module ld3007ms()
h = ld3007ms_h;
t = ld3007ms_t;
- translate([0, -t / 2, 0])
+ translate([0, t / 2, 0])
rotate([90, 0, 0])
cube([w, h, t], center = true);
}
-//ld3007ms(); \ No newline at end of file
+module ld3007ms_holes()
+{
+ dbh = ld3007ms_distance_between_holes;
+ // half distance between holes
+ hdbh = dbh / 2;
+
+ for (xo = [hdbh, -hdbh], zo = [hdbh, -hdbh])
+ {
+ translate([xo, 0, zo])
+ screw_hole(
+ m = m2,
+ id = 4,
+ il = hole_insert_height * 2,
+ hd = m2_head_diameter,
+ hh = m2_head_height,
+ hs = hole_side_back);
+ }
+}
+
+*ld3007ms();
+*ld3007ms_holes(); \ No newline at end of file