Skip to content
Snippets Groups Projects
Commit 776bdc96 authored by Manuel Schmidt's avatar Manuel Schmidt
Browse files

Modul Screwcylinder erstellt

parent a3dd4cd4
Branches
No related tags found
No related merge requests found
......@@ -75,16 +75,26 @@ module raspberryPi(off_x, off_y, off_z) {
}
module screwcylinder(x, y, z, visibility) {
echo("Schraubzylinder erstellen");
difference(){
translate([x, y, z]) color([0.4, 0.4, 0.4], visibility) rotate([0, 0, 0]) cylinder(5, 3, 3, $fn=50, true);
translate([x, y, z]) rotate([0, 0, 0]) cylinder(6, 1.5, 1.5, $fn=50, true);
}
}
module case(visibility){
difference() {
union(){
// Groundplate
translate([0, 0, 0]) color([0.4, 0.4, 0.4], visibility) cube([95, 62, 2]);
// Screwcylinders
translate([10.5, 6, 3]) color([0.4, 0.4, 0.4], visibility) rotate([0, 0, 0]) cylinder(5, 3, 3, $fn =50, true);
translate([68.5, 6, 3]) color([0.4, 0.4, 0.4], visibility) rotate([0, 0, 0]) cylinder(5, 3, 3, $fn =50, true);
translate([68.5, 55, 3]) color([0.4, 0.4, 0.4], visibility) rotate([0, 0, 0]) cylinder(5, 3, 3, $fn =50, true);
translate([10.5, 55, 3]) color([0.4, 0.4, 0.4], visibility) rotate([0, 0, 0]) cylinder(5, 3, 3, $fn =50, true);
screwcylinder(10.5, 6, 3, visibility);
screwcylinder(68.5, 6, 3, 1);
screwcylinder(68.5, 55, 3, 1);
screwcylinder(10.5, 55, 3, 1);
// Side front
translate([0, 0, 2]) color([0.4, 0.4, 0.4], visibility) cube([95, 2, 40]);
......@@ -116,8 +126,8 @@ module case(visibility){
}
}
raspberryPi(7, 2.5, 5);
//raspberryPi(7, 2.5, 5);
case(0.9);
//translate([20, 0, 10]) rotate([0, 90, 90]) cylinder([20, 3.6, 3.6], $fn=50, true);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment