Skip to content

Instantly share code, notes, and snippets.

@bambuchaAdm
Created November 9, 2013 13:21
Show Gist options
  • Select an option

  • Save bambuchaAdm/7385368 to your computer and use it in GitHub Desktop.

Select an option

Save bambuchaAdm/7385368 to your computer and use it in GitHub Desktop.
Filtr cyklonowy - modelowane w scadzie
module stozek(h,r1,r2){
wall = 1;
difference() {
cylinder(h, r1, r2);
cylinder(h, r1-wall, r2-wall);
}
}
module profil(l,a,b,d) {
difference(){
cube([l,a,b]);
translate([0,1,1]) {
cube([l,a-2*d,b-2*d]);
}
}
}
module korpus(d,h,a,b){
wall = 1;
lenght = d + 10;
difference(){
union(){
cylinder(h,r=d);
translate([0,d-b,-1]) {
profil(lenght,b,a,wall);
}
}
cylinder(h,r=d-wall);
}
}
module wylot(d,de,i){
wall=1;
cylinder(1,r=d);
translate([-de,-de,i])
rotate([0,90,0]) profil(i,2*de,2*de,1);
}
module filtr_cyklonowy(D,H,h,De,a,I){
b = (D-De);
translate([0,0,-1]) wylot(D,De,I);
translate([0,0,h]) stozek(H,D,4,1);
%korpus(D,h,a,b);
}
filtr_cyklonowy(20,50,20,7,7,17);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment