lepsi pozice diry
[mirrors/Designs.git] / openscad / train-usb.scad
1 //Z kostky by melo koukat 5-6mm konektoru!
2
3 $fn=32;
4
5
6 difference() {
7 hull() {
8 intersection() {
9 translate([-4,-3/2,0]) cube([26,27,33.9]);
10 translate([7,12,0]) cylinder(d=30, h=33.9, $fn=100);
11 }
12 translate([9,23.5/2,-8]) cylinder(d=20, h=7);
13 }
14 union() {
15 cube([2,24,34]); //PCB
16 intersection() {
17 translate([2,2,0]) cube([18,20,34]);
18 translate([7,12,0]) cylinder(d=26, h=33.9, $fn=100);
19 }
20 translate([-2,2,0]) cube([2,20,34]);
21 translate([7+3.5,24/2,-20]) cylinder(d=10.2, h=100); //same
22
23 difference() {
24 translate([20,6.5,30]) rotate([90,90,90])
25 linear_extrude(3) text("USB");
26 translate([7,12,0]) cylinder(d=29.6, h=33.9, $fn=100);
27 }
28 }
29 }
30
31 difference() {
32 translate([7+3.5,24/2,0]) cylinder(d=15, h=2);
33 translate([7+3.5,24/2,-20]) cylinder(d=10.2, h=100); //same
34 }
This page took 0.307169 seconds and 4 git commands to generate.