Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
0e7308cd8This file is pinned to the selected release. Download the original to open it in your design tool.
// include instead of use, so we get the pitch
include <gridfinity_modules.scad>
use <gridfinity_baseplate.scad> // for frame_plain
translate([gridfinity_pitch/2, gridfinity_pitch/2, 0]) frame_plain(4, 1);
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.
from_ends = (ear_hole_x - gridfinity_pitch*4) / 2;
cube_z = 4.4; // ht from above.
M4_d = 4.2; // diameter needed for an M4 bolt.
for (i = [0,1]) {
x = i * ear_hole_x - from_ends;
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, M4_d*2, cube_z]);
}
translate([x, ear_hole_y, -0.01]) cylinder(h=cube_z + 0.02, d=M4_d, $fn=20);
}
}