blog: Scope lens cap

OpenSCAD script:

$fn=360;

hight = 16;
strength = 3;
widthEye = 5;
depthEye = 16;

module eye(){
    difference() {
        cube([widthEye, depthEye, hight], true);
        cube([0.35*widthEye, 0.5*depthEye, hight], true);
    }
}
module cap(innerDiameter) {
    rotate([180, 0, 0])
        translate([0, 0, -hight]) {
            difference() {
                cylinder(h = hight, d = innerDiameter+strength);
                cylinder(h = hight-strength, d = innerDiameter);
            }
            translate([0.5*innerDiameter+0.5*widthEye, 0, 0.5*hight])
                eye();
            translate([-(0.5*innerDiameter+0.5*widthEye), 0, 0.5*hight])
                eye();
        }    
}

// unit: mm
cap(innerDiameter = 57);

[Update 20190616:]

printed with black polyflex filament, seems to work just fine - estimated cost 2,10 €

Posted in hunting weapons rifles
2019-06-12 23:26