add side mortice connection
This commit is contained in:
parent
f3b5f12750
commit
554b1a4552
3 changed files with 29 additions and 16 deletions
|
|
@ -1,16 +1,26 @@
|
|||
include <dimensions.scad>
|
||||
|
||||
module beam(){
|
||||
cube(size=[topbeamthickness, toplength - 2 * topsidethickness, topheight], center=false);
|
||||
echo("#### Top beam: length = ", toplength - 2*topsidethickness + 2*topslitdepth, " height = ", topheight, "width = ", topbeamthickness);
|
||||
cube(size=[topbeamthickness, toplength - 2 * topsidewidth, topheight], center=false);
|
||||
translate([0, - topslitdepth, topheight/2 - topslitheight/2])
|
||||
cube([topbeamthickness, topslitdepth, topslitheight]);
|
||||
translate([0, toplength - 2 * topsidewidth, topheight/2 - topslitheight/2])
|
||||
cube([topbeamthickness, topslitdepth, topslitheight]);
|
||||
echo("#### Top beam: length = ", toplength - 2*topsidewidth + 2*topslitdepth, " height = ", topheight, "width = ", topbeamthickness);
|
||||
}
|
||||
|
||||
module topside(){
|
||||
color("red")
|
||||
cube(size=[topdepth, topsidethickness, topheight], center=false);
|
||||
echo("#### Top side beam: length = ", topdepth, " height = ", topheight, "width = ", topbeamthickness);
|
||||
difference(){
|
||||
cube(size=[topdepth, topsidewidth, topsideheight], center=false);
|
||||
translate([-20, topsidewidth-topslitdepth, topsideheight - topheight/2 - topslitheight/2]){
|
||||
cube([topdepth+40, topslitdepth, topslitheight]);
|
||||
}
|
||||
}
|
||||
echo("#### Top side beam: length = ", topdepth, " height = ", topsideheight, "width = ", topsidewidth);
|
||||
}
|
||||
|
||||
|
||||
beam();
|
||||
topside();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue