Browse Source

Added stronger magnet and made screw holes deeper

master
Maximilian Stiefel 4 years ago
parent
commit
124d263f96
  1. 17
      kblock_ext/kblock_ext.scad

17
kblock_ext/kblock_ext.scad

@ -1,18 +1,19 @@
h=5; h=7;
r0=3; r0=3;
$fn=50; $fn=50;
l=60; l=60;
w=30; w=30;
magnet_play=0.5; magnet_play=0.5;
magnet_l=19.5+magnet_play; magnet_l=19.5+magnet_play;
magnet_w=5.8+magnet_play; magnet_w=5.8+magnet_play/5.0;
magnet_h=2.7+magnet_play; magnet_h=2.7+magnet_play;
magnet_hole_h=0.8*h; magnet_hole_h=0.92*h;
screw_play=0.5; screw_play=0.2;
screw_head_r=6.8/2 + screw_play; // Let's give one millimeter more
screw_head_r=6.8/2 + 5*screw_play;
screw_thread_r=3.5/2 + screw_play; screw_thread_r=3.5/2 + screw_play;
screw_head_h=2.5 + screw_play; screw_head_h=2.5 + screw_play;
color("green", 1.0) { color("white", 1.0) {
difference() difference()
{ {
translate([r0, r0, 0]) translate([r0, r0, 0])
@ -38,8 +39,8 @@ color("green", 1.0) {
} }
translate([l/2, 0, 0]) translate([l/2, 0, 0])
union() { union() {
for (x=[-1:1:1]) { for (x=[-2:1:2]) {
translate([x*2.0*magnet_w, w/2, -h/2+magnet_hole_h/2-0.001]) translate([x*1.0*magnet_w-x*0.001, w/2, -h/2+magnet_hole_h/2-0.001])
rotate([0, 0, 90]) rotate([0, 0, 90])
cube([magnet_l, magnet_w, magnet_hole_h], center=true); cube([magnet_l, magnet_w, magnet_hole_h], center=true);
} }

Loading…
Cancel
Save