| 1 | $fn = 100; |
| 2 | |
| 3 | module fan() { |
| 4 | hull() { |
| 5 | for (a =[0,90,180,270]) rotate([0,0,a+22.5]) translate([16.1,16.1,0]) cylinder(60,4,4); |
| 6 | } |
| 7 | } |
| 8 | |
| 9 | module spindle() { |
| 10 | cylinder(3,31,31); |
| 11 | cylinder(7,25,25); |
| 12 | //translate([0,0,37]) cube([40.2,40.4,60], center=true); |
| 13 | fan(); |
| 14 | for (a =[0,90,180,270]) rotate([0,0,a]) translate([28.5,0,0]) cylinder(25,1.5,1.5); |
| 15 | rotate([0,0,45]) translate([28,0,0]) cylinder(20,3,3); |
| 16 | rotate([0,0,45]) translate([25,0,0]) cylinder(7,3,3); |
| 17 | } |
| 18 | |
| 19 | module aviation_plug() { |
| 20 | cylinder(9,11.5,11.5); //venek |
| 21 | translate([0,0,-8]) cylinder(10,9.5,9.5); //prostup |
| 22 | translate([0,0,-18]) cylinder(15,15,15); //matka |
| 23 | hull() { |
| 24 | translate([0,10,-29]) cylinder(26,15,15); |
| 25 | translate([0,-10,-29]) cylinder(26,15,15); |
| 26 | } |
| 27 | translate([-10,10,-23]) cylinder(20,10,10); |
| 28 | } |
| 29 | |
| 30 | module zaklad() { |
| 31 | hull() { |
| 32 | translate([0,0,2.999]) cylinder(21.9,31,31); |
| 33 | //%rotate([0,0,22.5]) translate([20,0,14]) cube([40,62,21.9],center=true); |
| 34 | rotate([0,0,22.5]) translate([35,0,2.999]) cylinder(21.9,31,31); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | module holder() { |
| 39 | difference() { |
| 40 | zaklad(); |
| 41 | spindle(); |
| 42 | //fan(); |
| 43 | rotate([0,0,22.5]) translate([45,0,25]) aviation_plug(); |
| 44 | } |
| 45 | //rotate([0,90,22.5]) translate([-10,0,40]) aviation_plug(); |
| 46 | |
| 47 | } |
| 48 | |
| 49 | //aviation_plug(); |
| 50 | //fan(); |
| 51 | //spindle(); |
| 52 | //zaklad(); |
| 53 | translate([30,0,0]) rotate([180,0,22]) translate([0,0,-24.9]) holder(); |