23 lines
681 B
OpenSCAD
23 lines
681 B
OpenSCAD
|
include <2BangerCommon.scad>
|
||
|
|
||
|
module cap(length = 10) {
|
||
|
module solid_cap(cap_taper = 1) {
|
||
|
hull() {
|
||
|
minkowski($fn = mink_fn) {
|
||
|
sphere(cap_taper, $fn = mink_fn);
|
||
|
translate([0,0,cap_taper]) linear_extrude(0.01) offset(-1) cap_outline();
|
||
|
}
|
||
|
linear_extrude(0.01) offset(-1) cap_outline();
|
||
|
translate([0,0,cap_taper]) linear_extrude(length-cap_taper) cap_outline();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
difference() {
|
||
|
solid_cap();
|
||
|
translate([0,0,Cap_Thick]) linear_extrude(length) T_hole();
|
||
|
tapered_T_hole(z0 = length-1, z1 = length, o0 = 0, o1 = 1);
|
||
|
translate([-10,10,length-0.5]) linear_extrude(1) text("04²", size=5, halign="center", valign="center", font="Noto Sans");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
cap();
|