STL regenerated, centered and Fixed spool holder

STL files are generated again, properly rotated and centered.
Spool holder is now generating both parts at once .
dev
michalprusa 2016-05-05 15:30:06 +02:00
parent 96b118e3dd
commit c002bd0fb5
26 changed files with 38 additions and 15 deletions

View File

@ -4,14 +4,19 @@ difference(){
union(){ union(){
cube([32,10,17]); // Main cube cube([32,10,17]); // Main cube
translate([30,5,0])cylinder(r=5.8,h = 17, $fn=6); translate([30,5,0])cylinder(r=5.8,h = 17, $fn=6);
translate([-3,0,-6]) cube([3,10,23]);
//#translate([-2,5,0])cylinder(r=5.8,h = 17, $fn=6);
} }
// Mounting screw // Mounting screw
translate([30,5,-1])cylinder(r=3.2/2,h = 14.5-0.2, $fn=15); // Screw cut translate([30,5,-10])cylinder(r=3.2/2,h = 24.5-0.2, $fn=15); // Screw cut
translate([30,5,17-3.5])cylinder(r=3.1,h = 20, $fn=15); // head cut translate([30,5,17-3.5])cylinder(r=3.1,h = 20, $fn=15); // head cut
//#translate([-2,5,-10])cylinder(r=3.2/2,h = 24.5-0.2, $fn=15); // Screw cut
//#translate([-2,5,17-3.5])cylinder(r=3.1,h = 20, $fn=15); // head cut
// Fan entry hole // Fan entry hole
translate([1,10-1.5,-1])cube([20,3,16.5]); translate([1,10-1.5,-1])cube([20,3,16.5]);
translate([-1,10-1.5,-1-5])cube([20,3,16.5]); translate([1,10-1.5,-1-5])cube([18,3,16.5]);
// Airway cutout // Airway cutout
difference(){ difference(){
@ -21,7 +26,7 @@ translate([-1,-10,-1])rotate([0,0,45])cube([10,8,30]);
translate([20,0,16])rotate([0,20,0])cube([10,20,10]); translate([20,0,16])rotate([0,20,0])cube([10,20,10]);
} }
translate([2,-1,-4.5])cube([24,3,5]); translate([2,-1,-4.5])cube([24,3,5]);
translate([-1,-1,-2])rotate([0,45,0])cube([5,4,5]); //#translate([-2,-1,-2])rotate([0,45,0])cube([5,10,5]);
translate([22,-1,-2])rotate([0,45,0])cube([5,10,5]); translate([22,-1,-2])rotate([0,45,0])cube([5,10,5]);
} }
@ -29,23 +34,34 @@ translate([22,-1,-2])rotate([0,45,0])cube([5,10,5]);
// Air director // Air director
translate([18,0,7])rotate([0,0,30])cube([1,9,10]); translate([18,0,7])rotate([0,0,30])cube([1,9,10]);
} }
module fancy_corners(){ module fancy_corners(){
translate([-3,-10.5,13])rotate([-20,0,0])cube([40,10,15]); translate([-10,-10.5,13])rotate([-20,0,0])cube([50,10,15]);
translate([-13,-10.5,17.5])rotate([0,45,0])cube([10,30,15]); translate([-16,-10.5,17.5])rotate([0,45,0])cube([10,30,15]);
translate([46.5,-10.5,15])rotate([0,-45,30])cube([10,30,15]); translate([46.5,-10.5,15])rotate([0,-45,30])cube([10,30,15]);
translate([28.62,-10.5,15])rotate([0,-45,-30])cube([10,30,15]); translate([28.62,-10.5,15])rotate([0,-45,-30])cube([10,30,15]);
translate([-5,-1,-7])rotate([0,0,0]) cube([10,6,7]);
translate([-0.5,-1,-7])rotate([0,0,0]) cube([1,15,7]);
translate([-5,4,-11])rotate([45,0,0]) cube([10,5,5]);
//left cut
translate([-6.5,-8,-5])rotate([0,0,45])cube([10,10,45]);
translate([-7,-5,12])rotate([0,-45,0])cube([10,30,15]);
translate([-7,5,-10])rotate([0,0,45])cube([10,10,35]);
} }
module fan_n(){
difference(){ difference(){
fan_nozzle(); fan_nozzle();
fancy_corners(); fancy_corners();
translate([2,3.5,16.5])linear_extrude(height = 0.6) {text("! HOT !", size = 5, font = "Helvetica Neue:style=Bold");}
translate([3,3.5,16.5])linear_extrude(height = 0.6) {text("! HOT !", size = 5, font = "Helvetica Neue");}
} }
}
fan_n();

View File

@ -1,6 +1,13 @@
module dxf_holder(){
linear_extrude(height = 8, center = true, convexity = 5) linear_extrude(height = 8, center = true, convexity = 5)
import (file = "spool holdahMK3.dxf", layer = "0"); import (file = "spool holdahMK3.dxf", layer = "0");
translate([51.53-3.5,123-5-3.5,3.9])cylinder(h = 10, r=8); }
//translate([51.5,123,31])cylinder(h = 6, r1=8, r2=12.5); module spool_holder_left(){
//translate([51.5,123,37])cylinder(h = 2, r=12.5); dxf_holder();
translate([51.53-3.5,123-5-3.5,3.9])cylinder(h = 10, r=8);
}
module spool_holder_right(){
mirror([1,0,0])spool_holder_left();
}
translate([8,100,0])rotate([0,0,139])spool_holder_right();
spool_holder_left();

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.