chiark / gitweb /
knifeblock: scale properly (!)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Dec 2014 00:19:50 +0000 (00:19 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 31 Dec 2014 00:19:50 +0000 (00:19 +0000)
knifeblock.scad

index 53654e58afb241dbf841cd7214c5efd95753852a..3c4204abb0dd7afa9ed494eea06e04d1c3d5daa5 100644 (file)
@@ -3,20 +3,22 @@
 // properties of the knives
 nknives = 3;
 widths = [15.5, 15.8, 19.0];
-handlelenbase = 60;
-handlelendelta = [-10, 0, 0];
+handlelenbase = 75;
+handlelendelta = [-15, 0, 10];
 locations = [-35, 0, 40];
 bladew = 5; // 2.5
-maxhandledepth = 43.5 - 5;
+maxhandledepth = 45;
+
+templatescale = 27.2 / 19.6;
 
 // other tuneables
 front = 5;
-back = 8;
+back = 5;
 height = 50;
 minsidein = 4;
 minsideout = 4;
 
-frontbackslop = 0.5;
+frontbackslop = 0.25;
 
 screwbackdepth = 6.0 - 1.0;
 screwdia =       4.0 + 0.5;
@@ -33,7 +35,7 @@ module ImportTemplate(w,k,t) {
   echo(fn);
   translate([0,0, -w/2])
     linear_extrude(height=w)
-    import(file=fn, convexity=100);
+    scale(templatescale) import(file=fn, convexity=100);
 }
 
 module Knife(k){