3d-stuff/openscad/own/xaser3-lightpipe/xaser3-lightpipe.scad

31 lines
673 B
OpenSCAD
Raw Normal View History

2022-06-01 18:28:04 +02:00
// thermaltake xaser3-lightpipe
// by zeus - 2022-05-30
// ls=longstub, ss=shortstub, wa=waist
len_ls=10.85;
len_wa=2.5;
len_ss=4.75;
dia_ssa=3;
dia_ssb=2.8;
dia_lsa=2.3;
dia_lsb=2.15;
dia_wa=5;
$fn=100;
// model:
module shortstub(){
cylinder(h=len_ss,r1=dia_ssa/2,r2=dia_ssb/2,center=true);
};
module longstub(){
translate([0,0,dia_lsa/4])cylinder(h=len_ls-dia_lsb/2,r1=dia_lsb/2,r2=dia_lsa/2,center=true);
translate([0,0,-len_ls/2+dia_lsb/2])sphere(r=dia_lsb/2);
};
module waist(){
cylinder(h=len_wa,r=dia_wa/2,center=true);
};
translate([0,0,len_ss/2+len_wa/2])shortstub();
translate([0,0,0])waist();
translate([0,0,-(len_ls/2+len_wa/2)])longstub();