Ontwerp voor efficiente opslag electro koffertjes
This commit is contained in:
parent
0e51b2ba6e
commit
fb89d5364d
11 changed files with 252 additions and 0 deletions
24
Koffertjes_opslag/case.scad
Normal file
24
Koffertjes_opslag/case.scad
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
include <dimensions.scad>
|
||||
|
||||
module case(){
|
||||
color("lightblue")
|
||||
translate([ -( lidwidth- casewidth)/2 , -casedepth, caseheight-lidheight]) {
|
||||
// draw the handle first, because of bad rendering in the difference function
|
||||
translate([(lidwidth-handlewidth)/2, -handledepth, -((102-15)/2)-handleheight/2]) {
|
||||
difference(){
|
||||
cube(size=[handlewidth, handledepth, handleheight], center=false);
|
||||
translate([gapoffset, handledepth-gapdepth, -10]) {
|
||||
cube(size=[handlewidth-(gapoffset*2), gapdepth+10, handleheight+20], center=false);
|
||||
}
|
||||
}
|
||||
}
|
||||
// now draw the lid
|
||||
cube(size=[lidwidth, casedepth, lidheight], center=false);
|
||||
// and draw the body
|
||||
translate([(lidwidth-casewidth)/2, 0, -caseheight+lidheight]) {
|
||||
cube(size=[casewidth, casedepth, caseheight-lidheight], center=false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
case();
|
||||
Loading…
Add table
Add a link
Reference in a new issue