Dodanie kapturka na podstawkę oraz zmiana podstawki dovetail

This commit is contained in:
sasza 2025-06-21 13:31:19 +02:00
parent 0567c0e92e
commit 85858069e9
2 changed files with 21 additions and 13 deletions

View file

@ -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);
}

View file

@ -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 <BOSL2/std.scad>
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);
}
}