From: Ian Jackson Date: Sat, 14 Jun 2025 15:52:24 +0000 (+0100) Subject: toolbox-inserts: bits: for experimentation X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=HEAD toolbox-inserts: bits: for experimentation Signed-off-by: Ian Jackson --- diff --git a/toolbox-inserts.scad b/toolbox-inserts.scad index 5c7b748..c5dff05 100644 --- a/toolbox-inserts.scad +++ b/toolbox-inserts.scad @@ -69,7 +69,7 @@ $shaftextender_fixings_nx = 6; bit_pitch_x = 25.4 * 2 / 5; bit_pitch_y = 13.125; -bit_n_x = 10; +bit_n_x = 11; bit_n_y = 4; bit_mag_d = 6 + 0.5; bit_bit_d = 7.2 + 0.4; @@ -643,7 +643,7 @@ module BitFixingsHolesPlan(){ module BitAtFixings() { dist = fixing_pitch * ( - floor(bit_pitch_x * (bit_n_x-1) / fixing_pitch) + ceil(bit_pitch_x * (bit_n_x-1) / fixing_pitch) + bit_holder_fixings_dn ); for (x = [-1,+1] * dist/2) { @@ -810,16 +810,22 @@ module MagnetHolderTest(){ ////toplevel } } module BitHolderPlanDemo(){ ////toplevel + offset = concat(bit_holder_offset, [0]); + color("grey") BitMagnetHolderPlan(); color("blue") translate([0,0,10]) BitBitsPlan(); color("red") translate([0,0,20]) BitFixingsHolesPlan(); - color("black") translate([0, fixing_pitch * -3.5, -10]) + color("black") translate([0, fixing_pitch * -2, -10] + offset) AtPlateFixings() circle(r=fixing_nom_d/2); color("white") for (x= [-20: 20]) for (y= [-10: 10]) - translate(fixing_pitch * [x + 0.5, y + 0.5, 0] + [0,0, -15]) + translate( + fixing_pitch * [x + 0.5, y, 0] + + [0,0, -15] + + offset + ) circle(r=fixing_nom_d/2); }