update
This commit is contained in:
parent
06789d5217
commit
96f7cdc46b
2 changed files with 7 additions and 4 deletions
|
|
@ -2,9 +2,11 @@ include <dimensions.scad>
|
|||
|
||||
module beam(){
|
||||
cube(size=[topbeamthickness, toplength - 2 * topsidewidth, topheight], center=false);
|
||||
translate([0, - topslitdepth, topheight/2 - topslitheight/2])
|
||||
// add lip for tongue/groove connection
|
||||
translate([0, - topslitdepth, topheight - topslitoffsetfromtop - topslitheight])
|
||||
cube([topbeamthickness, topslitdepth, topslitheight]);
|
||||
translate([0, toplength - 2 * topsidewidth, topheight/2 - topslitheight/2])
|
||||
// add lip for tongue/groove connection
|
||||
translate([0, toplength - 2 * topsidewidth, topheight - topslitoffsetfromtop - topslitheight])
|
||||
cube([topbeamthickness, topslitdepth, topslitheight]);
|
||||
echo("#### Top beam: length = ", toplength - 2*topsidewidth + 2*topslitdepth, " height = ", topheight, "width = ", topbeamthickness);
|
||||
}
|
||||
|
|
@ -13,7 +15,7 @@ module topside(){
|
|||
color("red")
|
||||
difference(){
|
||||
cube(size=[topdepth, topsidewidth, topsideheight], center=false);
|
||||
translate([-20, topsidewidth-topslitdepth, topsideheight - topheight/2 - topslitheight/2]){
|
||||
translate([-20, topsidewidth-topslitdepth, topsideheight - topslitheight - topslitoffsetfromtop ]){
|
||||
cube([topdepth+40, topslitdepth, topslitheight]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue