-
-
Notifications
You must be signed in to change notification settings - Fork 133
Expand file tree
/
Copy pathgridfinity_baseplate_flsun_q5.scad
More file actions
33 lines (27 loc) · 1005 Bytes
/
gridfinity_baseplate_flsun_q5.scad
File metadata and controls
33 lines (27 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// include instead of use, so we get the pitch
include <modules/gridfinity_constants.scad>
use <modules/module_gridfinity_baseplate_common.scad>
ear_hole_x = 182.5; // distance between existing screw holes on FLSUN q5.
ear_hole_y = 7; // distance of screw hole from the front panel.
cube_z = 4.4; // ht from above.
M4_d = 4.2; // diameter needed for an M4 bolt.
wallThickness = 0.2; //Extend and imbed in to wall to fit around corner
/* [Hidden] */
module end_of_customizer_opts() {}
from_ends = (ear_hole_x - gf_pitch*4) / 2;
union(){
frame_plain(4, 1, height = cube_z);
for (i = [0,1]) {
x = i * ear_hole_x - from_ends-wallThickness;
difference() {
hull() {
translate([x, ear_hole_y, 0])
cylinder(h=cube_z, d=M4_d*2, $fn=20);
translate([x - from_ends * i, ear_hole_y - M4_d, 0])
cube([from_ends+wallThickness, M4_d*2, cube_z]);
}
translate([x, ear_hole_y, -0.01])
cylinder(h=cube_z + 0.02, d=M4_d, $fn=20);
}
}
}