From 0983abe6f46d2117c6048ca97010ae467eb6f4c9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 28 Apr 2025 00:27:49 +0100 Subject: [PATCH] toolbox-inserts: rails, wip Signed-off-by: Ian Jackson --- toolbox-inserts.scad | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/toolbox-inserts.scad b/toolbox-inserts.scad index daac5a8..99b45ee 100644 --- a/toolbox-inserts.scad +++ b/toolbox-inserts.scad @@ -15,6 +15,10 @@ fixing_head_th = 2.6; fixing_head_d = 7.82 + 0.25; plane_min_th = 2; +rail_mount_nom_width = 16; +rail_mount_side_nom_r_w = 2.5; +rail_mount_mid_nom_r_w = 5.0; + fixing_pitch = 12.7; fixing_depth = 5.0; fixing_nom_d = 4; @@ -198,6 +202,19 @@ module BoxBottomModel() { ////toplevel } } +//---------- rail ends ---------- + +module RailMountCutoutElevation() { + square([ rail_mount_nom_width, 20 ], center=true); +} +module RailMountPositiveElevation() { + for (xs = [-1,+1]) { + translate([ xs * rail_mount_nom_width/2, -below_plane_z/2 ]) + scale([ rail_mount_side_nom_r_w / below_plane_z, 1 ]) + circle(below_plane_z/2); + } +} + //---------- plates and the fixing holes ---------- @@ -331,6 +348,11 @@ module WellSurroundGapElevationDemo() { ////toplevel WellSurroundGapElevation(well_stiffening_height, 20, 50, [0, 50]); } +module RailMountElevationDemo() { ////toplevel + color("yellow") translate([0,0, -5]) RailMountCutoutElevation(); + color("purple") translate([0,0, -5]) RailMountPositiveElevation(); +} + module OdAt(x,y) { translate(fixing_pitch * [x,y,0]) children(0); -- 2.30.2