CP210x: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Alex (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „CP210x USB to UART Bridge <gallery widths=300px heights=200px perrow=3 > Datei:Alex lotta 01 .ser.jpeg </gallery> [http://cp210x-program.sourceforge.net/ EEPR…“) |
Alex (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 4: | Zeile 4: | ||
<gallery widths=300px heights=200px perrow=3 > | <gallery widths=300px heights=200px perrow=3 > | ||
Datei:Alex lotta 01 .ser.jpeg | Datei:Alex lotta 01 .ser.jpeg | ||
Datei:Alex lotta 01 .usbser.png | |||
</gallery> | </gallery> | ||
[http://cp210x-program.sourceforge.net/ EEPROM Programmer] | [http://cp210x-program.sourceforge.net/ EEPROM Programmer] | ||
<pre> | |||
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=[24,36,12]); | |||
} | |||
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(); | |||
}} | |||
</pre> | |||
[[Kategorie:3D Model]] |
Aktuelle Version vom 24. November 2012, 21:07 Uhr
CP210x USB to UART Bridge
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=[24,36,12]); } 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(); }}