AcornElectron

Changeset

31:4ba9e3806397
2014-04-23 Paul Boddie raw files shortlog changelog graph Made the depth of the back part more readily configurable.
cartridge.scad (file)
     1.1 --- a/cartridge.scad	Wed Apr 23 20:57:55 2014 +0200
     1.2 +++ b/cartridge.scad	Wed Apr 23 23:25:33 2014 +0200
     1.3 @@ -73,7 +73,10 @@
     1.4  	height = 68.3;
     1.5  	depth = 16.5;
     1.6  	front_depth = 6.5;
     1.7 -	back_depth = 11.0;
     1.8 +
     1.9 +	/* How much extra depth the back provides for mating with the front. */
    1.10 +	groove_width_extra = 1.0;
    1.11 +	back_depth = depth - front_depth + groove_width_extra;
    1.12  
    1.13  	/* Side thicknesses. */
    1.14  
    1.15 @@ -103,13 +106,12 @@
    1.16  	/* The groove around the sides and top. */
    1.17  
    1.18  	groove_width_exposed = 1.5;
    1.19 -	groove_width_extra = 1.0;  /* how much the groove cuts out of the back */
    1.20  	groove_width = groove_width_exposed + groove_width_extra;
    1.21  	groove_depth = 1.0; /* how deep the groove goes into each side */
    1.22  
    1.23  	/* Additional cutting to mate the back and front. */
    1.24  
    1.25 -	top_groove_width = 1.0;
    1.26 +	top_groove_width = groove_width_extra;
    1.27  	top_groove_depth = 2.0;
    1.28  
    1.29  	/*