//translate([-85,-60,0])rotate([90,0,0])import("Player Stand.stl"); $fn=256; Kist=1; Deksel=0; Matje=0; Standaard1=0; Standaard2=0; Plaat1=0; // Na 0.6 mm even stoppen en sticker er in doen Plaat2=0; Tekst1="Rustige"; Tekst2="Muziek"; Pin=0; Arm1a=0; Arm1b=0; Arm2=0;//Print deze in 2 kleuren, zwart met streepje aluminium i.h. midden if(Plaat2) translate([0,0,10]) { color("white")difference() { cylinder(d=43.9,h=1); translate([0,0,-1])cylinder(d=5.1,h=10); } color("blue")translate([0,12,1]) linear_extrude(height=0.6) text(Tekst1,halign="center",valign="center",size=4,font="Anwb Uu:style=Regular"); color("blue")translate([0,7,1]) linear_extrude(height=0.6) text(Tekst2,halign="center",valign="center",size=4,font="Anwb Uu:style=Regular"); color("blue")translate([0,-11,1]) linear_extrude(height=0.6) text("♫",halign="center",valign="center",size=9,font="DejaVu Sans:style=Bold"); } if(Plaat1) { difference() { cylinder(d=134,h=2); translate([0,0,1])cylinder(d=44,h=10); translate([0,0,-1])cylinder(d=5.1,h=10); translate([13,13,0.4])cylinder(d=26,h=0.6); } } if(Arm1a) { difference() { translate([157.6,4,13.5]) rotate([0,0,60])Cube(32,18,10); translate([165,152-2,18.5])rotate([90,0,0])cylinder(d=7,h=118); } } if(Arm1b) { translate([165,152-2,20])rotate([90,0,0])cylinder(d=7,h=118); } if(Arm2) { translate([165,172,20]) difference() { rotate([90,0,0])cylinder(d=20,h=10); translate([0,-5,0])rotate([90,0,0])cylinder(d=7.1,h=10); } } if(Pin) translate([75,75,4]) { cylinder(d=12,h=1.2); hull() { cylinder(d=5,h=10); translate([0,0,10])sphere(d=5); } } if(Standaard1) color("#777") { translate([160,50,4]) difference() { union() { Cube(10,4,20); translate([-1,-1,0])Cube(12,6,4); } translate([5,5,19.8])rotate([90,0,0]) cylinder(d=7,h=10); } } if(Standaard2) translate([165,130,4]) color("#777") { difference() { cylinder(d=24,h=19); translate([0,20,19.8])rotate([90,0,0]) cylinder(d=7,h=40); } } if(Matje) color("#444") { // Rubber matje translate([75,75,8]) difference() { cylinder(d=134,h=2); translate([0,0,1])ring(3,100,60); translate([0,0,1])cylinder(d=16,h=10); translate([0,0,-1])cylinder(d=5,h=10); } } if(Kist) { difference() { union() { difference() { Cube(191+4,151+4,20,20); translate([2,2,2])Cube(191,151,20,20); } translate([0,0,2])difference() { Cube(191+4,151+4,16,20); translate([4,4,2])Cube(191-4,151-4,18,20); } }//union // USB hull() { translate([20,164,20]) rotate([90,0,0])cylinder(d=5,h=20); translate([20,164,16]) rotate([90,0,0])cylinder(d=5,h=20); } }//diff } if(Deksel) { difference() { // Base plate color("silver")hull() { Cube(190,150,2,20); translate([2,2,2])Cube(190-4,150-4,2,20); } // Ruimte voor reader-printje translate([75-45/2,75-45/2,-1]) cube([45,45,10]); // Stadnaard1 uithol translate([160,50,3])translate([-1,-1,0])Cube(12,6,4); }// diff // Draaitafel color("#777") difference() { translate([75,75,2])cylinder(d1=143,d2=140,h=6); // Ruimte voor reader-printje translate([75-45/2,75-45/2,-1]) cube([45,45,8]); translate([75,75,8])translate([0,0,-2])cylinder(d=5,h=10); } translate([146,86,4]) color("#999")difference() { union() { Cube(40,60,1.2,20); translate([0,33,0])Cube(20,27,1.2); translate([20,0,0])Cube(20,27,1.2); } translate([-58,-8,-2])cylinder(d=134,h=10); // Standaarden uitholling translate([165-146,130-86,1])cylinder(d=24,h=18); } } module ring( h=1, od = 10, id = 5, de = 0.1 ) { difference() { cylinder(h=h, r=od/2); translate([0, 0, -de]) cylinder(h=h+2*de, r=id/2); } } module Cube(xdim ,ydim ,zdim,rdim=1) { hull(){ translate([rdim,rdim,0])cylinder(h=zdim,r=rdim); translate([xdim-rdim,rdim,0])cylinder(h=zdim,r=rdim); translate([rdim,ydim-rdim,0])cylinder(h=zdim,r=rdim); translate([xdim-rdim,ydim-rdim,0])cylinder(h=zdim,r=rdim); } }