From db68ca554ba668a4d8280079b39fa8d9ef87fac4 Mon Sep 17 00:00:00 2001 From: maride Date: Thu, 21 Dec 2017 17:06:39 +0100 Subject: [PATCH] Fix hole algorithm and update values to inner crate measurements --- Matekiste_Laser_Stencil.scad | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Matekiste_Laser_Stencil.scad b/Matekiste_Laser_Stencil.scad index 0086497..3f45b62 100644 --- a/Matekiste_Laser_Stencil.scad +++ b/Matekiste_Laser_Stencil.scad @@ -1,4 +1,4 @@ -round_psu_cable_fan_plane(390, 280, 6.5, 20, 20, 10, 41, 83, 90, 90); +round_psu_cable_fan_plane(360, 250, 6.5, 300, 180, 10, 41, 83, 90, 90); RESOLUTION=36; /* @@ -10,13 +10,13 @@ module base_plane(width, height, hole_size, hole_spacing_x, hole_spacing_y) { square([width, height]); // holes - translate([hole_spacing_x, hole_spacing_y]) + translate([(width-hole_spacing_x)/2, (height-hole_spacing_y)/2]) circle(d=hole_size, $fn=RESOLUTION); - translate([width - hole_spacing_x, hole_spacing_y]) + translate([hole_spacing_x+(width-hole_spacing_x)/2, (height-hole_spacing_y)/2]) circle(d=hole_size, $fn=RESOLUTION); - translate([hole_spacing_x, height - hole_spacing_y]) + translate([(width-hole_spacing_x)/2, height-(height-hole_spacing_y)/2]) circle(d=hole_size, $fn=RESOLUTION); - translate([width - hole_spacing_x, height - hole_spacing_y]) + translate([hole_spacing_x+(width-hole_spacing_x)/2, height-(height-hole_spacing_y)/2]) circle(d=hole_size, $fn=RESOLUTION); } }