Proxmark/Gehäuse

Aus Wiki CCC Göttingen
Wechseln zu: Navigation, Suche

<highlightSyntax language="c">

module board() { x=52.5; y=81.5; cube(size=[x,y,2]); translate(v = [(x/2)-(45/2),0, -2]) cube(size =[45,y,2]); translate(v = [(x/2)-(49/2),0, 2]) cube(size =[49,y,11]); translate(v = [0,y, -2]) cube(size=[x,5,15]); translate(v = [8-(15/2),-10, 0]) cube(size=[15,10,10]); translate(v = [28-(15/2),-10, 0]) cube(size=[15,10,10]);

   }


module stick() { cube(size=[17.5,34,3]); translate(v = [((17.5-13.5)/2),34, -.5]) cube(size =[13.5, 15.5, 6]); translate(v = [((17.5-16)/2),2, 0]) cube(size =[16,3,6.5]);


translate(v = [((17.5-16)/2+1),-7, 5.7]) cube(size =[1,10,1]); translate(v = [((17.5-16)/2+1)+2.56,-7, 5.7]) cube(size =[1,10,1]); translate(v = [((17.5-16)/2)+1+(2.56*2),-7, 5.7]) cube(size =[1,10,1]); translate(v = [((17.5-16)/2)+1+(2.56*3),-7, 5.7]) cube(size =[1,10,1]); translate(v = [((17.5-16)/2)+1+(2.56*4),-7, 5.7]) cube(size =[1,10,1]); translate(v = [((17.5-16)/2)+1+(2.56*5),-7, 5.7]) cube(size =[1,10,1]);


color([ 55, 55, 0 ]) { translate(v = [((17.5-16)/2),0, -1.3]) cube(size=[16,34,1.3]); translate(v = [((17.5-14.7)/2),5, -.55]) cube(size =[14.7,30.5,6.7]); translate(v = [((17.5-16)/2),-2, 0]) cube(size =[16,8,8.5]); } }


module box() { cube(size=[57,88,20]); }

module box2() { cube(size=[57,5,20]); }

module rm() { difference(){ cube(size=[10,45,10]); rotate(a=[270,0,0])translate(v = [ 10,0,- 1]) cylinder (h = 50, r=4, $fn=100); } }

//rotate(a=[90,180,0]) //difference(){ //box1(); //translate(v = [ ((24-17.5)/2),0, 3.5 ]) stick(); //}

//box1();

//module box1(){ //difference(){ //box(); // 24 12 //translate(v = [ 24 + 6, 0, 4]) rotate(a=[0,180,0]) rm(); //translate(v = [ 24 - 4, 0, 18]) rotate(a=[0,90,0]) rm(); //translate(v = [ 24 - 20, 0, -6]) rotate(a=[0,270,0]) rm(); //translate(v = [ 24 - 30, 0, 8]) rotate(a=[0,0,0]) rm(); // //translate(v = [ -6,4,-8]) rotate(a=[90,0,0]) rm(); //translate(v = [ 20,-6,-8]) rotate(a=[90,0,90]) rm();


//}}


//rotate(a=[90,0,0]) //difference() //{ //box(); //#translate(v = [((57)/2)-(52.2/2),3, 4.5]) board(); //} //box(); rotate(a=[90,0,0]) { cube(size=[57,5,20]); translate(v = [(57/2)-(51.5/2),5,(20/2)-(14/2)]) cube(size=[51.5,3,14]); translate(v = [(57/2)-(51.5/2)+5,5,(20/2)-(14/2)]) cube(size=[10,10,2]); translate(v = [(57/2)-(51.5/2)+51.5-10-5,5,(20/2)-(14/2)]) cube(size=[10,10,2]); translate(v = [(57/2)-(51.5/2)+5,5,(20/2)-(14/2)+14-2]) cube(size=[10,10,2]);

}


</highlightSyntax>