70 lines
1.8 KiB
OpenSCAD
70 lines
1.8 KiB
OpenSCAD
// License: cc-by-sa-4.0 Author: holm / Christian Müller (https://mueller.network)
|
|
|
|
// Definitions
|
|
// *********************
|
|
//
|
|
detailgrad = 25;
|
|
wandstaerke = 2.5;
|
|
deckelstaerke = 2;
|
|
rundung = 2;
|
|
vollebreite = 100;
|
|
vollelaenge = 55;
|
|
vollehoehe = 20;
|
|
|
|
// Prozessvariablen
|
|
{
|
|
wall = wandstaerke;
|
|
$fn = detailgrad;
|
|
sphere = rundung;
|
|
breite = vollebreite-2*sphere;
|
|
laenge = vollelaenge-2*sphere;
|
|
hoehe = vollehoehe-sphere;
|
|
}
|
|
|
|
include <modules/mod_Deckel.scad>;
|
|
include <modules/mod_Tools.scad>;
|
|
include <modules/mod_Box.scad>;
|
|
|
|
difference() {
|
|
Box();
|
|
Deckel(ausschnitt=1,versatz=5);
|
|
translate([vollebreite-5,vollelaenge-13,vollehoehe/2-deckelstaerke]) color("magenta")
|
|
rotate([0,90,0])
|
|
cylinder(h=10,r=5.5);
|
|
translate([vollebreite-9,vollelaenge-10.5,0]) color("yellow")
|
|
cube([5,2.5,wandstaerke+2],true);
|
|
translate([vollebreite-9,vollelaenge-15.5,0]) color("yellow")
|
|
cube([5,2.5,wandstaerke+2],true);
|
|
translate([vollebreite-17,vollelaenge-10.5,0]) color("yellow")
|
|
cube([5,2.5,wandstaerke+2],true);
|
|
translate([vollebreite-17,vollelaenge-15.5,0]) color("yellow")
|
|
cube([5,2.5,wandstaerke+2],true);
|
|
translate([0,vollelaenge/2+12,vollehoehe/2-deckelstaerke])
|
|
Connector();
|
|
translate([0,vollelaenge/2-12,vollehoehe/2-deckelstaerke])
|
|
Connector();
|
|
}
|
|
|
|
translate([vollebreite/5*3,vollelaenge/4,1])
|
|
Pfosten();
|
|
translate([vollebreite/5*3,vollelaenge/4*3,1])
|
|
Pfosten();
|
|
translate([vollebreite/5*4,vollelaenge/2,1])
|
|
Pfosten();
|
|
translate([vollebreite/5*2,vollelaenge/2,1])
|
|
Pfosten();
|
|
|
|
scale([1,0.999,0.999])
|
|
translate([0, vollelaenge+10,-vollehoehe+rundung/3+0.2]) {
|
|
Deckel(griff=true,spiegel=true,kante=false);
|
|
}
|
|
|
|
module Pfosten() {
|
|
cylinder(h=vollehoehe-deckelstaerke-wandstaerke-1,r1=2.5, r2=4.5);
|
|
}
|
|
|
|
module Connector() {
|
|
rotate([0,90,0])
|
|
//translate([0,0,-14.7])
|
|
cube([9.4,13.5,29.2],true);
|
|
} |