X-Git-Url: http://git.harvie.cz/?p=mirrors%2FDesigns.git;a=blobdiff_plain;f=openscad%2Ftrain-usb.scad;fp=openscad%2Ftrain-usb.scad;h=5d86e7f005f870f02ef501c5e6d2931216beb79f;hp=0000000000000000000000000000000000000000;hb=318ed4bf1dc22bcf23e66cc5c7749eb3c193c051;hpb=e355c3f52b7e54381c4f2635076b82469b32ba5e diff --git a/openscad/train-usb.scad b/openscad/train-usb.scad new file mode 100644 index 0000000..5d86e7f --- /dev/null +++ b/openscad/train-usb.scad @@ -0,0 +1,34 @@ +//Z kostky by melo koukat 5-6mm konektoru! + +$fn=32; + + +difference() { + hull() { + intersection() { + translate([-4,-3/2,0]) cube([26,27,33.9]); + translate([7,12,0]) cylinder(d=30, h=33.9, $fn=100); + } + translate([9,23.5/2,-7]) cylinder(d=20, h=7); + } + union() { + cube([2,24,34]); + intersection() { + translate([2,2,0]) cube([18,20,34]); + translate([7,12,0]) cylinder(d=26, h=33.9, $fn=100); + } + translate([-2,2,0]) cube([2,20,34]); + translate([7+4,24/2,-20]) cylinder(d=10.2, h=100); //same + + difference() { + translate([20,6.5,30]) rotate([90,90,90]) + linear_extrude(3) text("USB"); + translate([7,12,0]) cylinder(d=29.6, h=33.9, $fn=100); + } + } +} + +difference() { + translate([7+4,24/2,0]) cylinder(d=15, h=2); + translate([7+4,24/2,-20]) cylinder(d=10.2, h=100); //same +}