From 85858069e91d4fa1262d930e651c46a9fe4559e0 Mon Sep 17 00:00:00 2001 From: sasza Date: Sat, 21 Jun 2025 13:31:19 +0200 Subject: [PATCH] =?UTF-8?q?Dodanie=20kapturka=20na=20podstawk=C4=99=20oraz?= =?UTF-8?q?=20zmiana=20podstawki=20dovetail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jan/podstawka_żyłki.scad | 21 ++++++++++++--------- Jan/spławik.scad | 13 +++++++++---- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/Jan/podstawka_żyłki.scad b/Jan/podstawka_żyłki.scad index 4526289..ed79913 100644 --- a/Jan/podstawka_żyłki.scad +++ b/Jan/podstawka_żyłki.scad @@ -21,20 +21,23 @@ difference() { dovetail_cutsom(); } -difference() { - union(){ - cylinder(h=base_thickness, d=base_size); - translate([0,0,base_thickness]) cylinder(h=peg_length, d=peg_size); - } - dovetail_cutsom(); -} - right(50) union() { dovetail_cutsom(); rotate([0,0,180]) translate([0,base_size, 0]) dovetail_cutsom(); } right(80) difference() { - translate([0,0,2.5]) cube([20,60,3.5], center=true); + // translate([0,0,2.5]) cube([20,60,3.5], center=true); + translate([0,0,1.5]) cube([20,50,6], center=true); dovetail_cutsom(); +} + +cap_h = 10; +cap_d = 20; + +hole_tolerance = 0.5; + +right(110) difference() { + cylinder(d=cap_d, h=cap_h); + translate([0,0,cap_h/2]) cylinder(d=peg_size + hole_tolerance, h=cap_h, $fn=8); } \ No newline at end of file diff --git a/Jan/spławik.scad b/Jan/spławik.scad index 724cb3d..a169cd9 100644 --- a/Jan/spławik.scad +++ b/Jan/spławik.scad @@ -7,11 +7,16 @@ peg_width = 2; how_many_pegs = 16.0; peg_height = 12; -union(){ - cube([length, width, height-peg_height]); +p_dist = (length-peg_width)/how_many_pegs; + +include + +difference(){ + cube([length, width, height]); for ( i = [0:how_many_pegs] ) { - translate([i*(length-peg_width)/how_many_pegs, 0, height - peg_height]) - cube([peg_width, width, peg_height]); + translate([i*p_dist + peg_width, -4, height - peg_height]) + translate([(p_dist-peg_width)/2, (width+8)/2, (peg_height + 5)/2]) + cuboid([p_dist-peg_width, width + 8, peg_height + 5], rounding=2.5); } }