Brunnendeckel/Sensorbox.scad

31 lines
834 B
OpenSCAD

// Distanzmessergehäuse
// Parameter
res=200; // Auflösung
//-------------------
$fn=res;
// Grundplatte mit Bohrlöcher
difference() {
translate([-20,-20,0])cube([40,40,5]);
translate([15.5,15.5,-0.05])cylinder(d=5,h=5.1);
translate([-15.5,15.5,-0.05])cylinder(d=5,h=5.1);
translate([-15.5,-15.5,-0.05])cylinder(d=5,h=5.1);
translate([15.5,-15.5,-0.05])cylinder(d=5,h=5.1);
translate([-13,-7.5,1.5])cube([26,15,5]);
translate([-2.5,2.5,-0.1])cube([5,3,5]);
translate([0,0,4])difference() {
cylinder(d=39,h=1.1);
translate([0,0,-0.1])cylinder(d=30,h=2);
}
}
translate([0,0,4])difference() {
cylinder(d=30.001,h=1.0);
translate([0,0,-0.1])cylinder(d=27,h=2);
}
// Loch Laserplatine
translate([-10,2,0.1]) cylinder(h=4.9,d=3);
translate([+10,2,0.1]) cylinder(h=4.9,d=3);