This commit is contained in:
Sasza Stanczew 2026-01-01 12:35:31 +01:00
parent 877b5c10c0
commit 3257ede6a4
4 changed files with 33 additions and 8 deletions

View file

@ -2,7 +2,7 @@ include <BOSL2/std.scad>
include <BOSL2/screws.scad>
h = 190;
w = 50;
w = 35;
t = 10;
d = 100;
top_d = 150;
@ -30,13 +30,16 @@ up(bot_d/2) fwd(bot_d/2) down(h/2 - t/2) difference() {
}
// top
up(h/2 - t/2) up(top_d/(sqrt(2)*2)) difference() {
up(h/2 - t/2) up(top_d/(sqrt(2)*2))
yrot(180) up(h/2 + top_d/4 - t) // upside down
difference() {
union() {
yrot(90) fwd(top_d/3) cyl(d=top_d, h=w);
down(w) fwd(w/2) cuboid([w,w,w]);
down(w) fwd(w/2) cuboid([w,w*2,top_d]);
down(w/2) fwd(5) xrot(45) cuboid([w,w*2,w*2]);
}
yrot(90) fwd(top_d/3) cyl(d=top_d - t*2, h=w + 1);
up(top_d/5.6) cuboid([top_d*2,top_d*2,top_d]);
back(50) cuboid([w+1,100,h]);
down(top_d) cuboid([top_d*2,top_d*2,top_d]);// upside down
}

View file

@ -5,11 +5,13 @@ include <BOSL2/threading.scad>
// specify diameter 2-3mm smaller for clearance, length doesn't matter much
spectrum = [51, 65]; // in diam = 53
rosa_500g = [53, 45];
elegoo = [54, 65]; // in diam 56
t = 2;
//roll = spectrum;
roll = rosa_500g;
//roll = rosa_500g;
roll = elegoo;
grid_const = 100;
grid = 18;

View file

@ -20,10 +20,11 @@ test = 0; // 1 for exploded view
$fn=36*5;
// overall dimensions
len = 200;
len = 220;
out_d = 22;
t = 2;
bullet_hole = 7.5; // for .22lr 5.6mm + some spare
bullet_hole_1 = 6.5; // for .22lr 5.6mm + some spare
bullet_hole_2 = 8.5; // for .22lr 5.6mm + some spare
// threaded portion
th_len = 20;
@ -66,14 +67,14 @@ module baffles() {
up(i) baffle();
}
// hole for bullet
cyl(d=bullet_hole, h=len);
cyl(d2=bullet_hole_1, d1=bullet_hole_2, h=len);
}
}
module cap() {
down(len/2) difference() {
cyl(d=out_d, h=t);
cyl(d=bullet_hole, h=t+1);
cyl(d=bullet_hole_2, h=t+1);
}
}

View file

@ -0,0 +1,19 @@
include <BOSL2/std.scad>
down(7.3) left(20) back(0.35) import("/home/sasza/Pobrane/1.stl", center=true);
t = 1.5;
frame_dist = 0.4;
thumb_size = [12,14,t];
thumb_fwd = 20;
thumb_up = 2;
chain_hull() {
cyl(d=8.5, h=2.22, anchor=TOP, $fn=36);
down(t - frame_dist) right(thumb_fwd) fwd(thumb_up) zrot(180+45)
cuboid([t,thumb_size[1],t], anchor=LEFT+BOTTOM, rounding=t/2);
}
right(thumb_fwd) fwd(thumb_up) zrot(180+45) down(t - frame_dist) yrot(-90) down(t)
cuboid(thumb_size, anchor=LEFT+BOTTOM, rounding=t/2);