Add drip ledge
This commit is contained in:
@@ -21,6 +21,8 @@ Model files:
|
|||||||
|
|
||||||

|

|
||||||

|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
|
|
||||||
@@ -35,6 +37,8 @@ Model files:
|
|||||||
* train_tracks_generator.scad
|
* train_tracks_generator.scad
|
||||||
* turntable.scad
|
* turntable.scad
|
||||||
* ascending_fireplace.scad
|
* ascending_fireplace.scad
|
||||||
|
* brio_tunnel.scad
|
||||||
|
* brio_tunnel_curve.scad
|
||||||
|
|
||||||
## brio-tunnel-block
|
## brio-tunnel-block
|
||||||
|
|
||||||
@@ -226,6 +230,14 @@ Model files:
|
|||||||
|
|
||||||
* pvc-drain-end.scad
|
* pvc-drain-end.scad
|
||||||
|
|
||||||
|
## rafter-drip-ledge
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Model files:
|
||||||
|
|
||||||
|
* rafter-drip-ledge.scad
|
||||||
|
|
||||||
## ring-sizer
|
## ring-sizer
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 72 KiB |
@@ -0,0 +1,150 @@
|
|||||||
|
/* https://github.com/BelfrySCAD/BOSL2 */
|
||||||
|
// ============================================================================
|
||||||
|
// Rafter drip ledge
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// A staple that grips a rafter: a band under the bottom face with a jaw up
|
||||||
|
// each side face, one deck screw through each jaw. Water running down the
|
||||||
|
// underside of the rafter reaches the band, crosses it and falls off its
|
||||||
|
// downhill edge, so it stops trailing along the timber.
|
||||||
|
//
|
||||||
|
// The band hangs `thickness` proud of the bottom face and its edge is square.
|
||||||
|
// That is far more than water can bridge (~3 mm), so the drip is reliable, and
|
||||||
|
// the band is `thickness` wide along the rafter, which gives the water a
|
||||||
|
// plateau to fall off rather than a corner to cling to.
|
||||||
|
//
|
||||||
|
// The jaws are bored from opposite sides at different heights - a quarter and
|
||||||
|
// three quarters along the jaw - which is what keeps two long deck screws from
|
||||||
|
// meeting in the middle of the rafter. With a 1.5" rafter and 1.5" screws the
|
||||||
|
// tips do overshoot the mid-plane (the echo below prints by how much), so that
|
||||||
|
// offset is doing real work: do not line the holes up.
|
||||||
|
//
|
||||||
|
// Built by sweeping a U, as before:
|
||||||
|
// x away from the rafter's bottom face; -x is up the side faces
|
||||||
|
// y across the rafter's width; the timber sits between the jaws
|
||||||
|
// z along the rafter's length; the band is `thickness` wide there
|
||||||
|
//
|
||||||
|
// PRINT LYING EXACTLY AS MODELLED (z up). The part is an extrusion of the U
|
||||||
|
// section, so every wall is vertical: no supports, no bridged roofs except the
|
||||||
|
// two screw holes, and the perimeters run all the way round the U, which is
|
||||||
|
// what carries the load. 54 x 70 mm footprint, 15.5 mm tall.
|
||||||
|
// ============================================================================
|
||||||
|
|
||||||
|
include <BOSL2/std.scad>
|
||||||
|
include <BOSL2/turtle3d.scad>
|
||||||
|
|
||||||
|
/* [Rafter] */
|
||||||
|
// Width of the face the jaws grip: 1.5" for a rafter stood on its edge
|
||||||
|
rafter_width = 38.1; // [30:0.1:60]
|
||||||
|
// How far the jaws run up the side faces (1.5")
|
||||||
|
jaw_height = 38.1; // [20:0.5:140]
|
||||||
|
// Band and jaw thickness. Also the radius of the swept outer corners.
|
||||||
|
thickness = 15; // [8:0.5:25]
|
||||||
|
// Slip clearance per gripping face - a printed saddle is never a press fit
|
||||||
|
clearance = 0.4; // [0:0.05:1.5]
|
||||||
|
|
||||||
|
/* [Screw] */
|
||||||
|
// Overall length of the deck screw (1.5" = 38.1)
|
||||||
|
screw_len = 38.1; // [25:0.5:90]
|
||||||
|
// Clearance hole through the jaws
|
||||||
|
hole_d = 6.5; // [4:0.1:9]
|
||||||
|
// Head diameter that has to bear on the jaw's outer face
|
||||||
|
head_d = 11; // [6:0.5:20]
|
||||||
|
|
||||||
|
/* [Preview] */
|
||||||
|
// Translucent rafter timber - context only, never part of the print
|
||||||
|
show_rafter = false;
|
||||||
|
// Depth of that preview timber up the side faces (5.5")
|
||||||
|
rafter_depth = 139.7; // [40:1:240]
|
||||||
|
|
||||||
|
$fn = 64; // 100 was overkill: only the holes and two small
|
||||||
|
// corner arcs are curved, and 64 facets is smooth
|
||||||
|
inset = 0.5; // bead inset of the swept mask, as before
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Geometry
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// The swept mask sits entirely outside the path, so the jaws' inner faces land
|
||||||
|
// exactly `gap` apart - measured off the exported mesh, not assumed. Asking for
|
||||||
|
// the rafter width plus clearance is therefore what you get.
|
||||||
|
gap = rafter_width + 2 * clearance;
|
||||||
|
wall = thickness + 2 * inset; // jaw thickness the screw passes
|
||||||
|
// through, measured 16.0
|
||||||
|
path = turtle3d(["move", jaw_height,
|
||||||
|
"arcright", inset, 90,
|
||||||
|
"move", gap,
|
||||||
|
"arcright", inset, 90,
|
||||||
|
"move", jaw_height]);
|
||||||
|
|
||||||
|
// Screws at a quarter and three quarters along the jaw, diagonally opposed.
|
||||||
|
hole_lo_x = 0.25 * jaw_height; // near the jaw tips
|
||||||
|
hole_hi_x = 0.75 * jaw_height;
|
||||||
|
stagger = hole_hi_x - hole_lo_x; // how far apart the two screws
|
||||||
|
// end up, up the side faces
|
||||||
|
hole_z = (thickness + 2 * inset) / 2; // mid band, not mid mask
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Does the screw actually work? Checked, not hoped.
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// The head bears on the jaw's outer face, so only screw_len - wall of the screw
|
||||||
|
// reaches the wood.
|
||||||
|
penetration = screw_len - wall;
|
||||||
|
tip_overshoot = penetration - rafter_width / 2; // past the rafter's mid-plane
|
||||||
|
edge_margin = hole_lo_x - hole_d / 2; // plastic outside the top hole
|
||||||
|
corner_margin = jaw_height - hole_hi_x - hole_d / 2;
|
||||||
|
|
||||||
|
assert(gap >= wall + 6,
|
||||||
|
"jaws too thin for this rafter: a screw hole would break into the far jaw");
|
||||||
|
assert(head_d >= hole_d + 3,
|
||||||
|
str("a ", head_d, " mm head has nothing to bear on around a ", hole_d,
|
||||||
|
" mm hole: needs at least 1.5 mm of bearing all round"));
|
||||||
|
assert(penetration >= 12,
|
||||||
|
"too little screw reaches the timber: raise screw_len or drop thickness");
|
||||||
|
assert(edge_margin >= 3 && corner_margin >= 3,
|
||||||
|
"the screw holes are too close to the jaw end or to the band: raise jaw_height");
|
||||||
|
assert(stagger >= hole_d + 4,
|
||||||
|
"the two holes are too close together: raise jaw_height so they can be staggered further");
|
||||||
|
assert(tip_overshoot <= -2 || stagger >= head_d + 4,
|
||||||
|
"the screws would meet in the middle: offset them further, or shorten them");
|
||||||
|
|
||||||
|
echo(str("fit: jaws ", fmt(gap), " mm apart for a ", fmt(rafter_width),
|
||||||
|
" mm rafter (", fmt(clearance), " mm per face), band ", fmt(wall),
|
||||||
|
" mm proud of the bottom face"));
|
||||||
|
echo(str("screw: ", fmt(screw_len), " mm length less the ", fmt(wall),
|
||||||
|
" mm jaw = ", fmt(penetration), " mm in the timber, tip ",
|
||||||
|
tip_overshoot > 0 ? str("overshoots the mid-plane by ", fmt(tip_overshoot))
|
||||||
|
: str(fmt(-tip_overshoot), " short of the mid-plane"),
|
||||||
|
", holes ", fmt(stagger), " mm apart vertically"));
|
||||||
|
echo(str("print: lying flat as modelled, ", fmt(jaw_height + wall), " x ",
|
||||||
|
fmt(gap + 2 * wall), " mm footprint x ", fmt(wall),
|
||||||
|
" mm tall, no supports; the two screw holes bridge ", fmt(wall), " mm"));
|
||||||
|
if (tip_overshoot > 0)
|
||||||
|
echo(str("NOTE: the screws pass each other's centreline - the ", fmt(stagger),
|
||||||
|
" mm vertical offset is what stops them meeting. Keep the jaws square ",
|
||||||
|
"to the timber when screwing on."));
|
||||||
|
|
||||||
|
function fmt(v) = round(v * 10) / 10;
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
// Part
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
difference() {
|
||||||
|
path_sweep(mask2d_roundover(r = thickness, inset = inset), path);
|
||||||
|
|
||||||
|
// Cutters long enough to leave nothing behind: an 0.5 mm skin of plastic
|
||||||
|
// left on the far side of a jaw stops the screw head seating.
|
||||||
|
// The swept mask sits entirely outside the path, so each jaw's material is
|
||||||
|
// on the far side of its path line, away from the timber (measured: jaw 1
|
||||||
|
// spans y -0.5..15.5 about a path at y = 0, jaw 2 spans -55.4..-39.4 about a
|
||||||
|
// path at y = -gap). Centring a cutter on the path, or running one right
|
||||||
|
// across the part, drills one jaw properly and only nicks the other - which
|
||||||
|
// is what the original did, leaving a blind hole.
|
||||||
|
for (j = [[hole_lo_x, 0, 1], // jaw, its path y, which way it grows
|
||||||
|
[hole_hi_x, -gap, -1]])
|
||||||
|
move([j[0], j[1] + j[2] * (wall / 2 - inset), hole_z])
|
||||||
|
ycyl(d = hole_d, h = wall + 4);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (show_rafter)
|
||||||
|
color("saddlebrown", 0.35)
|
||||||
|
move([jaw_height - inset - rafter_depth / 2, -gap / 2 - inset, hole_z])
|
||||||
|
cuboid([rafter_depth, rafter_width, 120]);
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user