pegslopv = 0.5;
pegslopl = 0.5;
-pegdepthproportion = 0.67;
+pegdepthproportion = 0.80;
// computed
side = minsidein + screwcsinkdia + minsideout;
translate([maxx,0,0]) mirror([1,0,0]) child(1);
}
+module BlockPegSlot(){
+ translate([recessblockwidth/2, pegrecess - 0.5*peglen, -height]){
+ rotate([-90,0,0]) linear_extrude(height=totaldepth){
+ PegTemplate();
+ }
+ }
+}
+
module Block(){
sidemidx = minsideout + screwcsinkdia/2;
for (yshift=[-1,1])
translate([0, yshift * frontbackslop, 0])
DoKnives();
+ AtSides() { BlockPegSlot(); BlockPegSlot(); }
}
}
Cover();
}
+module DemoPeg(){
+ translate([recessblockwidth/2, pegrecess, -height])
+ Peg();
+}
+
module Demo(){ ////toplevel
%Block();
DoKnives();
color([0,0,1]) CoverAligned();
+ color([1,0,0]) AtSides() { DemoPeg(); DemoPeg(); }
+}
+
+module CoverParts(){ ////toplevel
+ Cover();
+ translate([0, coverlonglen, pegheight/2]) {
+ Peg();
+ translate([-peghead-3, 0,0]) Peg();
+ }
}
Demo();