This commit is contained in:
sasza 2025-08-22 11:08:13 +02:00
parent f4a68d1949
commit 6f01744b0f
6 changed files with 23 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View file

@ -2,7 +2,7 @@ wall_h = 35;
wall_t = 5;
t = 5;
doniczka_d = 120;
doniczka_d = 90;
wall_w = doniczka_d+2*t;
dystans=20;
@ -11,6 +11,7 @@ katownik_w = 16 + 1;
katownik_t = 2;
katownik_wciecie = 4.5;
tab = (doniczka_d > 170)?((doniczka_d>240)?[-1, -0.334, 0.334, 1]:[-1,0,1]):[-1,1];
difference() {
union() {
@ -21,7 +22,7 @@ difference() {
translate([wall_w/2 + dystans,0, 0]) cylinder(d=wall_w, h=t, $fn=100);
}
// cutout for metal piece on wall portion
for(i = (doniczka_d > 170)?[-1,0,1]:[-1,1]) {
for(i = tab) {
translate([-wall_t-0.1, -katownik_w/2 + (i * wall_w/3)])
union() {
cube([katownik_t, katownik_w, katownik_h]);

View file

@ -4,7 +4,7 @@ palik_d = 30;
palik_h = 165;
t=2.5;
conn_clear=0.3; // clearance
conn_clear=0.15; // clearance
connect_h=15;
// model 2 - podstawka
@ -19,7 +19,7 @@ gora_h = 15;
dz_ile_kw = 3;
dz_ile_kol = 1;
dz_t = 2;
dz_t = 3;
module column_hex(ile_h, ile_d, size, h, angle) {
for(i=[0:ile_h]) {
@ -31,12 +31,18 @@ module column_hex(ile_h, ile_d, size, h, angle) {
}
}
smallhex = [11,6,14,13.5,90];
bighex = [8,4,20,18,90];
hugehex = [5,3,25,24,90];
tab = hugehex;
union() {
// palik z dziurami
difference() {
cylinder(d=palik_d, h=palik_h, $fn=360);
down(0.1) cylinder(d=palik_d-2*t, h=palik_h+0.2, $fn=360);
up(8) column_hex(10, 6, 15, 14, 90);
up(tab[2]/2) column_hex(tab[0],tab[1],tab[2],tab[3],tab[4]);
}
// cienszy element do łączenia
rotate([0,180,0]) difference() {

11
Oliwka/palik_tri.scad Normal file
View file

@ -0,0 +1,11 @@
size=20;
t=2;
for(i=[0,1,2]) {
rotate([0, 0, i*120]) translate([size,0,0]) cylinder(h=100, d=2);
for(j=[0:20:100]) {
rotate([0, 0, i*120]) translate([size,0,j]) rotate([90,0,-60]) cylinder(h=size*sqrt(3));
}
}